cloud

package
v0.43.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetProjectArgs

type GetProjectArgs struct {
	// The ID of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName string `pulumi:"serviceName"`
}

A collection of arguments for invoking getProject.

type GetProjectIam

type GetProjectIam struct {
	// Resource display name
	DisplayName string `pulumi:"displayName"`
	// Unique identifier of the resource in the IAM
	Id string `pulumi:"id"`
	// Resource tags. Tags that were internally computed are prefixed with `ovh:`
	Tags map[string]string `pulumi:"tags"`
	// URN of the private database, used when writing IAM policies
	Urn string `pulumi:"urn"`
}

type GetProjectIamArgs

type GetProjectIamArgs struct {
	// Resource display name
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// Unique identifier of the resource in the IAM
	Id pulumi.StringInput `pulumi:"id"`
	// Resource tags. Tags that were internally computed are prefixed with `ovh:`
	Tags pulumi.StringMapInput `pulumi:"tags"`
	// URN of the private database, used when writing IAM policies
	Urn pulumi.StringInput `pulumi:"urn"`
}

func (GetProjectIamArgs) ElementType

func (GetProjectIamArgs) ElementType() reflect.Type

func (GetProjectIamArgs) ToGetProjectIamOutput

func (i GetProjectIamArgs) ToGetProjectIamOutput() GetProjectIamOutput

func (GetProjectIamArgs) ToGetProjectIamOutputWithContext

func (i GetProjectIamArgs) ToGetProjectIamOutputWithContext(ctx context.Context) GetProjectIamOutput

type GetProjectIamInput

type GetProjectIamInput interface {
	pulumi.Input

	ToGetProjectIamOutput() GetProjectIamOutput
	ToGetProjectIamOutputWithContext(context.Context) GetProjectIamOutput
}

GetProjectIamInput is an input type that accepts GetProjectIamArgs and GetProjectIamOutput values. You can construct a concrete instance of `GetProjectIamInput` via:

GetProjectIamArgs{...}

type GetProjectIamOutput

type GetProjectIamOutput struct{ *pulumi.OutputState }

func (GetProjectIamOutput) DisplayName

func (o GetProjectIamOutput) DisplayName() pulumi.StringOutput

Resource display name

func (GetProjectIamOutput) ElementType

func (GetProjectIamOutput) ElementType() reflect.Type

func (GetProjectIamOutput) Id

Unique identifier of the resource in the IAM

func (GetProjectIamOutput) Tags

Resource tags. Tags that were internally computed are prefixed with `ovh:`

func (GetProjectIamOutput) ToGetProjectIamOutput

func (o GetProjectIamOutput) ToGetProjectIamOutput() GetProjectIamOutput

func (GetProjectIamOutput) ToGetProjectIamOutputWithContext

func (o GetProjectIamOutput) ToGetProjectIamOutputWithContext(ctx context.Context) GetProjectIamOutput

func (GetProjectIamOutput) Urn

URN of the private database, used when writing IAM policies

type GetProjectOutputArgs

type GetProjectOutputArgs struct {
	// The ID of the public cloud project. If omitted,
	// the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

A collection of arguments for invoking getProject.

func (GetProjectOutputArgs) ElementType

func (GetProjectOutputArgs) ElementType() reflect.Type

type GetProjectResult

type GetProjectResult struct {
	// Project access
	Access string `pulumi:"access"`
	// Project creation date
	CreationDate string `pulumi:"creationDate"`
	// Description of your project
	Description string `pulumi:"description"`
	// Expiration date of your project. After this date, your project will be deleted
	Expiration string `pulumi:"expiration"`
	// IAM resource information
	Iam GetProjectIam `pulumi:"iam"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Manual quota prevent automatic quota upgrade
	ManualQuota bool `pulumi:"manualQuota"`
	// Project order ID
	OrderId float64 `pulumi:"orderId"`
	// Order plan code
	PlanCode string `pulumi:"planCode"`
	// Project ID
	ProjectId string `pulumi:"projectId"`
	// Project name
	ProjectName string `pulumi:"projectName"`
	// ID of the public cloud project
	ServiceName string `pulumi:"serviceName"`
	// Current status
	Status string `pulumi:"status"`
	// Project unleashed
	Unleash bool `pulumi:"unleash"`
}

A collection of values returned by getProject.

func GetProject

func GetProject(ctx *pulumi.Context, args *GetProjectArgs, opts ...pulumi.InvokeOption) (*GetProjectResult, error)

Get the details of a public cloud project.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/ovh/pulumi-ovh/sdk/go/ovh/Cloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Cloud.GetProject(ctx, &cloud.GetProjectArgs{
			ServiceName: "XXX",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetProjectResultOutput

type GetProjectResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProject.

func (GetProjectResultOutput) Access

Project access

func (GetProjectResultOutput) CreationDate

func (o GetProjectResultOutput) CreationDate() pulumi.StringOutput

Project creation date

func (GetProjectResultOutput) Description

func (o GetProjectResultOutput) Description() pulumi.StringOutput

Description of your project

func (GetProjectResultOutput) ElementType

func (GetProjectResultOutput) ElementType() reflect.Type

func (GetProjectResultOutput) Expiration

Expiration date of your project. After this date, your project will be deleted

func (GetProjectResultOutput) Iam

IAM resource information

func (GetProjectResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetProjectResultOutput) ManualQuota

func (o GetProjectResultOutput) ManualQuota() pulumi.BoolOutput

Manual quota prevent automatic quota upgrade

func (GetProjectResultOutput) OrderId

Project order ID

func (GetProjectResultOutput) PlanCode

Order plan code

func (GetProjectResultOutput) ProjectId

Project ID

func (GetProjectResultOutput) ProjectName

func (o GetProjectResultOutput) ProjectName() pulumi.StringOutput

Project name

func (GetProjectResultOutput) ServiceName

func (o GetProjectResultOutput) ServiceName() pulumi.StringOutput

ID of the public cloud project

func (GetProjectResultOutput) Status

Current status

func (GetProjectResultOutput) ToGetProjectResultOutput

func (o GetProjectResultOutput) ToGetProjectResultOutput() GetProjectResultOutput

func (GetProjectResultOutput) ToGetProjectResultOutputWithContext

func (o GetProjectResultOutput) ToGetProjectResultOutputWithContext(ctx context.Context) GetProjectResultOutput

func (GetProjectResultOutput) Unleash

Project unleashed

type GetProjectsProject

type GetProjectsProject struct {
	// Project access
	Access string `pulumi:"access"`
	// Project creation date
	CreationDate string `pulumi:"creationDate"`
	// Description of your project
	Description string `pulumi:"description"`
	// Expiration date of your project. After this date, your project will be deleted
	Expiration string `pulumi:"expiration"`
	// IAM resource information
	Iam GetProjectsProjectIam `pulumi:"iam"`
	// Manual quota prevent automatic quota upgrade
	ManualQuota bool `pulumi:"manualQuota"`
	// Project order ID
	OrderId float64 `pulumi:"orderId"`
	// Order plan code
	PlanCode string `pulumi:"planCode"`
	// Project ID
	ProjectId string `pulumi:"projectId"`
	// Project name
	ProjectName string `pulumi:"projectName"`
	// ID of the public cloud project
	ServiceName string `pulumi:"serviceName"`
	// Current status
	Status string `pulumi:"status"`
	// Project unleashed
	Unleash bool `pulumi:"unleash"`
}

type GetProjectsProjectArgs

type GetProjectsProjectArgs struct {
	// Project access
	Access pulumi.StringInput `pulumi:"access"`
	// Project creation date
	CreationDate pulumi.StringInput `pulumi:"creationDate"`
	// Description of your project
	Description pulumi.StringInput `pulumi:"description"`
	// Expiration date of your project. After this date, your project will be deleted
	Expiration pulumi.StringInput `pulumi:"expiration"`
	// IAM resource information
	Iam GetProjectsProjectIamInput `pulumi:"iam"`
	// Manual quota prevent automatic quota upgrade
	ManualQuota pulumi.BoolInput `pulumi:"manualQuota"`
	// Project order ID
	OrderId pulumi.Float64Input `pulumi:"orderId"`
	// Order plan code
	PlanCode pulumi.StringInput `pulumi:"planCode"`
	// Project ID
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	// Project name
	ProjectName pulumi.StringInput `pulumi:"projectName"`
	// ID of the public cloud project
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
	// Current status
	Status pulumi.StringInput `pulumi:"status"`
	// Project unleashed
	Unleash pulumi.BoolInput `pulumi:"unleash"`
}

func (GetProjectsProjectArgs) ElementType

func (GetProjectsProjectArgs) ElementType() reflect.Type

func (GetProjectsProjectArgs) ToGetProjectsProjectOutput

func (i GetProjectsProjectArgs) ToGetProjectsProjectOutput() GetProjectsProjectOutput

func (GetProjectsProjectArgs) ToGetProjectsProjectOutputWithContext

func (i GetProjectsProjectArgs) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput

type GetProjectsProjectArray

type GetProjectsProjectArray []GetProjectsProjectInput

func (GetProjectsProjectArray) ElementType

func (GetProjectsProjectArray) ElementType() reflect.Type

func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutput

func (i GetProjectsProjectArray) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput

func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutputWithContext

func (i GetProjectsProjectArray) ToGetProjectsProjectArrayOutputWithContext(ctx context.Context) GetProjectsProjectArrayOutput

type GetProjectsProjectArrayInput

type GetProjectsProjectArrayInput interface {
	pulumi.Input

	ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput
	ToGetProjectsProjectArrayOutputWithContext(context.Context) GetProjectsProjectArrayOutput
}

GetProjectsProjectArrayInput is an input type that accepts GetProjectsProjectArray and GetProjectsProjectArrayOutput values. You can construct a concrete instance of `GetProjectsProjectArrayInput` via:

GetProjectsProjectArray{ GetProjectsProjectArgs{...} }

type GetProjectsProjectArrayOutput

type GetProjectsProjectArrayOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectArrayOutput) ElementType

func (GetProjectsProjectArrayOutput) Index

func (GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput

func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput

func (GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutputWithContext

func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutputWithContext(ctx context.Context) GetProjectsProjectArrayOutput

type GetProjectsProjectIam

type GetProjectsProjectIam struct {
	// Resource display name
	DisplayName string `pulumi:"displayName"`
	// Unique identifier of the resource in the IAM
	Id string `pulumi:"id"`
	// Resource tags. Tags that were internally computed are prefixed with `ovh:`
	Tags map[string]string `pulumi:"tags"`
	// URN of the private database, used when writing IAM policies
	Urn string `pulumi:"urn"`
}

type GetProjectsProjectIamArgs

type GetProjectsProjectIamArgs struct {
	// Resource display name
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// Unique identifier of the resource in the IAM
	Id pulumi.StringInput `pulumi:"id"`
	// Resource tags. Tags that were internally computed are prefixed with `ovh:`
	Tags pulumi.StringMapInput `pulumi:"tags"`
	// URN of the private database, used when writing IAM policies
	Urn pulumi.StringInput `pulumi:"urn"`
}

func (GetProjectsProjectIamArgs) ElementType

func (GetProjectsProjectIamArgs) ElementType() reflect.Type

func (GetProjectsProjectIamArgs) ToGetProjectsProjectIamOutput

func (i GetProjectsProjectIamArgs) ToGetProjectsProjectIamOutput() GetProjectsProjectIamOutput

func (GetProjectsProjectIamArgs) ToGetProjectsProjectIamOutputWithContext

func (i GetProjectsProjectIamArgs) ToGetProjectsProjectIamOutputWithContext(ctx context.Context) GetProjectsProjectIamOutput

type GetProjectsProjectIamInput

type GetProjectsProjectIamInput interface {
	pulumi.Input

	ToGetProjectsProjectIamOutput() GetProjectsProjectIamOutput
	ToGetProjectsProjectIamOutputWithContext(context.Context) GetProjectsProjectIamOutput
}

GetProjectsProjectIamInput is an input type that accepts GetProjectsProjectIamArgs and GetProjectsProjectIamOutput values. You can construct a concrete instance of `GetProjectsProjectIamInput` via:

GetProjectsProjectIamArgs{...}

type GetProjectsProjectIamOutput

type GetProjectsProjectIamOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectIamOutput) DisplayName

Resource display name

func (GetProjectsProjectIamOutput) ElementType

func (GetProjectsProjectIamOutput) Id

Unique identifier of the resource in the IAM

func (GetProjectsProjectIamOutput) Tags

Resource tags. Tags that were internally computed are prefixed with `ovh:`

func (GetProjectsProjectIamOutput) ToGetProjectsProjectIamOutput

func (o GetProjectsProjectIamOutput) ToGetProjectsProjectIamOutput() GetProjectsProjectIamOutput

func (GetProjectsProjectIamOutput) ToGetProjectsProjectIamOutputWithContext

func (o GetProjectsProjectIamOutput) ToGetProjectsProjectIamOutputWithContext(ctx context.Context) GetProjectsProjectIamOutput

func (GetProjectsProjectIamOutput) Urn

URN of the private database, used when writing IAM policies

type GetProjectsProjectInput

type GetProjectsProjectInput interface {
	pulumi.Input

	ToGetProjectsProjectOutput() GetProjectsProjectOutput
	ToGetProjectsProjectOutputWithContext(context.Context) GetProjectsProjectOutput
}

GetProjectsProjectInput is an input type that accepts GetProjectsProjectArgs and GetProjectsProjectOutput values. You can construct a concrete instance of `GetProjectsProjectInput` via:

GetProjectsProjectArgs{...}

type GetProjectsProjectOutput

type GetProjectsProjectOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectOutput) Access

Project access

func (GetProjectsProjectOutput) CreationDate

func (o GetProjectsProjectOutput) CreationDate() pulumi.StringOutput

Project creation date

func (GetProjectsProjectOutput) Description

Description of your project

func (GetProjectsProjectOutput) ElementType

func (GetProjectsProjectOutput) ElementType() reflect.Type

func (GetProjectsProjectOutput) Expiration

Expiration date of your project. After this date, your project will be deleted

func (GetProjectsProjectOutput) Iam

IAM resource information

func (GetProjectsProjectOutput) ManualQuota

func (o GetProjectsProjectOutput) ManualQuota() pulumi.BoolOutput

Manual quota prevent automatic quota upgrade

func (GetProjectsProjectOutput) OrderId

Project order ID

func (GetProjectsProjectOutput) PlanCode

Order plan code

func (GetProjectsProjectOutput) ProjectId

Project ID

func (GetProjectsProjectOutput) ProjectName

Project name

func (GetProjectsProjectOutput) ServiceName

ID of the public cloud project

func (GetProjectsProjectOutput) Status

Current status

func (GetProjectsProjectOutput) ToGetProjectsProjectOutput

func (o GetProjectsProjectOutput) ToGetProjectsProjectOutput() GetProjectsProjectOutput

func (GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext

func (o GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput

func (GetProjectsProjectOutput) Unleash

Project unleashed

type GetProjectsResult

type GetProjectsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id       string               `pulumi:"id"`
	Projects []GetProjectsProject `pulumi:"projects"`
}

A collection of values returned by getProjects.

func GetProjects

func GetProjects(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetProjectsResult, error)

Get the details of your public cloud projects.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/ovh/pulumi-ovh/sdk/go/ovh/Cloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Cloud.GetProjects(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type GetProjectsResultOutput

type GetProjectsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjects.

func GetProjectsOutput

func GetProjectsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetProjectsResultOutput

func (GetProjectsResultOutput) ElementType

func (GetProjectsResultOutput) ElementType() reflect.Type

func (GetProjectsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetProjectsResultOutput) Projects

func (GetProjectsResultOutput) ToGetProjectsResultOutput

func (o GetProjectsResultOutput) ToGetProjectsResultOutput() GetProjectsResultOutput

func (GetProjectsResultOutput) ToGetProjectsResultOutputWithContext

func (o GetProjectsResultOutput) ToGetProjectsResultOutputWithContext(ctx context.Context) GetProjectsResultOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL