zone

package
v0.0.0-...-81f5abf Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type GetZoneLink struct {
	Href  *string  `pulumi:"href"`
	Hrefs []string `pulumi:"hrefs"`
	Rel   string   `pulumi:"rel"`
}

type GetZoneLinkArgs

type GetZoneLinkArgs struct {
	Href  pulumi.StringPtrInput   `pulumi:"href"`
	Hrefs pulumi.StringArrayInput `pulumi:"hrefs"`
	Rel   pulumi.StringInput      `pulumi:"rel"`
}

func (GetZoneLinkArgs) ElementType

func (GetZoneLinkArgs) ElementType() reflect.Type

func (GetZoneLinkArgs) ToGetZoneLinkOutput

func (i GetZoneLinkArgs) ToGetZoneLinkOutput() GetZoneLinkOutput

func (GetZoneLinkArgs) ToGetZoneLinkOutputWithContext

func (i GetZoneLinkArgs) ToGetZoneLinkOutputWithContext(ctx context.Context) GetZoneLinkOutput

type GetZoneLinkArray

type GetZoneLinkArray []GetZoneLinkInput

func (GetZoneLinkArray) ElementType

func (GetZoneLinkArray) ElementType() reflect.Type

func (GetZoneLinkArray) ToGetZoneLinkArrayOutput

func (i GetZoneLinkArray) ToGetZoneLinkArrayOutput() GetZoneLinkArrayOutput

func (GetZoneLinkArray) ToGetZoneLinkArrayOutputWithContext

func (i GetZoneLinkArray) ToGetZoneLinkArrayOutputWithContext(ctx context.Context) GetZoneLinkArrayOutput

type GetZoneLinkArrayInput

type GetZoneLinkArrayInput interface {
	pulumi.Input

	ToGetZoneLinkArrayOutput() GetZoneLinkArrayOutput
	ToGetZoneLinkArrayOutputWithContext(context.Context) GetZoneLinkArrayOutput
}

GetZoneLinkArrayInput is an input type that accepts GetZoneLinkArray and GetZoneLinkArrayOutput values. You can construct a concrete instance of `GetZoneLinkArrayInput` via:

GetZoneLinkArray{ GetZoneLinkArgs{...} }

type GetZoneLinkArrayOutput

type GetZoneLinkArrayOutput struct{ *pulumi.OutputState }

func (GetZoneLinkArrayOutput) ElementType

func (GetZoneLinkArrayOutput) ElementType() reflect.Type

func (GetZoneLinkArrayOutput) Index

func (GetZoneLinkArrayOutput) ToGetZoneLinkArrayOutput

func (o GetZoneLinkArrayOutput) ToGetZoneLinkArrayOutput() GetZoneLinkArrayOutput

func (GetZoneLinkArrayOutput) ToGetZoneLinkArrayOutputWithContext

func (o GetZoneLinkArrayOutput) ToGetZoneLinkArrayOutputWithContext(ctx context.Context) GetZoneLinkArrayOutput

type GetZoneLinkInput

type GetZoneLinkInput interface {
	pulumi.Input

	ToGetZoneLinkOutput() GetZoneLinkOutput
	ToGetZoneLinkOutputWithContext(context.Context) GetZoneLinkOutput
}

GetZoneLinkInput is an input type that accepts GetZoneLinkArgs and GetZoneLinkOutput values. You can construct a concrete instance of `GetZoneLinkInput` via:

GetZoneLinkArgs{...}

type GetZoneLinkOutput

type GetZoneLinkOutput struct{ *pulumi.OutputState }

func (GetZoneLinkOutput) ElementType

func (GetZoneLinkOutput) ElementType() reflect.Type

func (GetZoneLinkOutput) Href

func (GetZoneLinkOutput) Hrefs

func (GetZoneLinkOutput) Rel

func (GetZoneLinkOutput) ToGetZoneLinkOutput

func (o GetZoneLinkOutput) ToGetZoneLinkOutput() GetZoneLinkOutput

func (GetZoneLinkOutput) ToGetZoneLinkOutputWithContext

func (o GetZoneLinkOutput) ToGetZoneLinkOutputWithContext(ctx context.Context) GetZoneLinkOutput

type GetZoneTag

type GetZoneTag struct {
	// Tag’s key.
	Key string `pulumi:"key"`
	// Tag’s value.
	Value string `pulumi:"value"`
}

type GetZoneTagArgs

type GetZoneTagArgs struct {
	// Tag’s key.
	Key pulumi.StringInput `pulumi:"key"`
	// Tag’s value.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetZoneTagArgs) ElementType

func (GetZoneTagArgs) ElementType() reflect.Type

func (GetZoneTagArgs) ToGetZoneTagOutput

func (i GetZoneTagArgs) ToGetZoneTagOutput() GetZoneTagOutput

func (GetZoneTagArgs) ToGetZoneTagOutputWithContext

func (i GetZoneTagArgs) ToGetZoneTagOutputWithContext(ctx context.Context) GetZoneTagOutput

type GetZoneTagArray

type GetZoneTagArray []GetZoneTagInput

func (GetZoneTagArray) ElementType

func (GetZoneTagArray) ElementType() reflect.Type

func (GetZoneTagArray) ToGetZoneTagArrayOutput

func (i GetZoneTagArray) ToGetZoneTagArrayOutput() GetZoneTagArrayOutput

func (GetZoneTagArray) ToGetZoneTagArrayOutputWithContext

func (i GetZoneTagArray) ToGetZoneTagArrayOutputWithContext(ctx context.Context) GetZoneTagArrayOutput

type GetZoneTagArrayInput

type GetZoneTagArrayInput interface {
	pulumi.Input

	ToGetZoneTagArrayOutput() GetZoneTagArrayOutput
	ToGetZoneTagArrayOutputWithContext(context.Context) GetZoneTagArrayOutput
}

GetZoneTagArrayInput is an input type that accepts GetZoneTagArray and GetZoneTagArrayOutput values. You can construct a concrete instance of `GetZoneTagArrayInput` via:

GetZoneTagArray{ GetZoneTagArgs{...} }

type GetZoneTagArrayOutput

type GetZoneTagArrayOutput struct{ *pulumi.OutputState }

func (GetZoneTagArrayOutput) ElementType

func (GetZoneTagArrayOutput) ElementType() reflect.Type

func (GetZoneTagArrayOutput) Index

func (GetZoneTagArrayOutput) ToGetZoneTagArrayOutput

func (o GetZoneTagArrayOutput) ToGetZoneTagArrayOutput() GetZoneTagArrayOutput

func (GetZoneTagArrayOutput) ToGetZoneTagArrayOutputWithContext

func (o GetZoneTagArrayOutput) ToGetZoneTagArrayOutputWithContext(ctx context.Context) GetZoneTagArrayOutput

type GetZoneTagInput

type GetZoneTagInput interface {
	pulumi.Input

	ToGetZoneTagOutput() GetZoneTagOutput
	ToGetZoneTagOutputWithContext(context.Context) GetZoneTagOutput
}

GetZoneTagInput is an input type that accepts GetZoneTagArgs and GetZoneTagOutput values. You can construct a concrete instance of `GetZoneTagInput` via:

GetZoneTagArgs{...}

type GetZoneTagOutput

type GetZoneTagOutput struct{ *pulumi.OutputState }

func (GetZoneTagOutput) ElementType

func (GetZoneTagOutput) ElementType() reflect.Type

func (GetZoneTagOutput) Key

Tag’s key.

func (GetZoneTagOutput) ToGetZoneTagOutput

func (o GetZoneTagOutput) ToGetZoneTagOutput() GetZoneTagOutput

func (GetZoneTagOutput) ToGetZoneTagOutputWithContext

func (o GetZoneTagOutput) ToGetZoneTagOutputWithContext(ctx context.Context) GetZoneTagOutput

func (GetZoneTagOutput) Value

Tag’s value.

type GetZoneTagsToMatch

type GetZoneTagsToMatch struct {
	// Tag’s key.
	Key string `pulumi:"key"`
	// Tag’s value.
	Value string `pulumi:"value"`
}

type GetZoneTagsToMatchArgs

type GetZoneTagsToMatchArgs struct {
	// Tag’s key.
	Key pulumi.StringInput `pulumi:"key"`
	// Tag’s value.
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetZoneTagsToMatchArgs) ElementType

func (GetZoneTagsToMatchArgs) ElementType() reflect.Type

func (GetZoneTagsToMatchArgs) ToGetZoneTagsToMatchOutput

func (i GetZoneTagsToMatchArgs) ToGetZoneTagsToMatchOutput() GetZoneTagsToMatchOutput

func (GetZoneTagsToMatchArgs) ToGetZoneTagsToMatchOutputWithContext

func (i GetZoneTagsToMatchArgs) ToGetZoneTagsToMatchOutputWithContext(ctx context.Context) GetZoneTagsToMatchOutput

type GetZoneTagsToMatchArray

type GetZoneTagsToMatchArray []GetZoneTagsToMatchInput

func (GetZoneTagsToMatchArray) ElementType

func (GetZoneTagsToMatchArray) ElementType() reflect.Type

func (GetZoneTagsToMatchArray) ToGetZoneTagsToMatchArrayOutput

func (i GetZoneTagsToMatchArray) ToGetZoneTagsToMatchArrayOutput() GetZoneTagsToMatchArrayOutput

func (GetZoneTagsToMatchArray) ToGetZoneTagsToMatchArrayOutputWithContext

func (i GetZoneTagsToMatchArray) ToGetZoneTagsToMatchArrayOutputWithContext(ctx context.Context) GetZoneTagsToMatchArrayOutput

type GetZoneTagsToMatchArrayInput

type GetZoneTagsToMatchArrayInput interface {
	pulumi.Input

	ToGetZoneTagsToMatchArrayOutput() GetZoneTagsToMatchArrayOutput
	ToGetZoneTagsToMatchArrayOutputWithContext(context.Context) GetZoneTagsToMatchArrayOutput
}

GetZoneTagsToMatchArrayInput is an input type that accepts GetZoneTagsToMatchArray and GetZoneTagsToMatchArrayOutput values. You can construct a concrete instance of `GetZoneTagsToMatchArrayInput` via:

GetZoneTagsToMatchArray{ GetZoneTagsToMatchArgs{...} }

type GetZoneTagsToMatchArrayOutput

type GetZoneTagsToMatchArrayOutput struct{ *pulumi.OutputState }

func (GetZoneTagsToMatchArrayOutput) ElementType

func (GetZoneTagsToMatchArrayOutput) Index

func (GetZoneTagsToMatchArrayOutput) ToGetZoneTagsToMatchArrayOutput

func (o GetZoneTagsToMatchArrayOutput) ToGetZoneTagsToMatchArrayOutput() GetZoneTagsToMatchArrayOutput

func (GetZoneTagsToMatchArrayOutput) ToGetZoneTagsToMatchArrayOutputWithContext

func (o GetZoneTagsToMatchArrayOutput) ToGetZoneTagsToMatchArrayOutputWithContext(ctx context.Context) GetZoneTagsToMatchArrayOutput

type GetZoneTagsToMatchInput

type GetZoneTagsToMatchInput interface {
	pulumi.Input

	ToGetZoneTagsToMatchOutput() GetZoneTagsToMatchOutput
	ToGetZoneTagsToMatchOutputWithContext(context.Context) GetZoneTagsToMatchOutput
}

GetZoneTagsToMatchInput is an input type that accepts GetZoneTagsToMatchArgs and GetZoneTagsToMatchOutput values. You can construct a concrete instance of `GetZoneTagsToMatchInput` via:

GetZoneTagsToMatchArgs{...}

type GetZoneTagsToMatchOutput

type GetZoneTagsToMatchOutput struct{ *pulumi.OutputState }

func (GetZoneTagsToMatchOutput) ElementType

func (GetZoneTagsToMatchOutput) ElementType() reflect.Type

func (GetZoneTagsToMatchOutput) Key

Tag’s key.

func (GetZoneTagsToMatchOutput) ToGetZoneTagsToMatchOutput

func (o GetZoneTagsToMatchOutput) ToGetZoneTagsToMatchOutput() GetZoneTagsToMatchOutput

func (GetZoneTagsToMatchOutput) ToGetZoneTagsToMatchOutputWithContext

func (o GetZoneTagsToMatchOutput) ToGetZoneTagsToMatchOutputWithContext(ctx context.Context) GetZoneTagsToMatchOutput

func (GetZoneTagsToMatchOutput) Value

Tag’s value.

type LookupZoneArgs

type LookupZoneArgs struct {
	// The id of the zone resource instance.
	Id *string `pulumi:"id"`
	// A human-friendly name used as an identifier for the zone resource instance.
	Name *string `pulumi:"name"`
	// A set of tag keys and optional values that were set on this resource:
	Tags []GetZoneTag `pulumi:"tags"`
	// A set of tag keys and optional values for compute resource filtering:
	TagsToMatches []GetZoneTagsToMatch `pulumi:"tagsToMatches"`
}

A collection of arguments for invoking getZone.

type LookupZoneOutputArgs

type LookupZoneOutputArgs struct {
	// The id of the zone resource instance.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A human-friendly name used as an identifier for the zone resource instance.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// A set of tag keys and optional values that were set on this resource:
	Tags GetZoneTagArrayInput `pulumi:"tags"`
	// A set of tag keys and optional values for compute resource filtering:
	TagsToMatches GetZoneTagsToMatchArrayInput `pulumi:"tagsToMatches"`
}

A collection of arguments for invoking getZone.

func (LookupZoneOutputArgs) ElementType

func (LookupZoneOutputArgs) ElementType() reflect.Type

type LookupZoneResult

type LookupZoneResult struct {
	// The ID of the cloud account this zone belongs to.
	CloudAccountId string `pulumi:"cloudAccountId"`
	// The ids of the compute resources that has been explicitly assigned to this zone.
	ComputeIds []string `pulumi:"computeIds"`
	// Date when the entity was created. The date is in ISO 8601 and UTC.
	CreatedAt string `pulumi:"createdAt"`
	// A list of key value pair of properties that will be used.
	CustomProperties map[string]interface{} `pulumi:"customProperties"`
	// A human-friendly description.
	Description string `pulumi:"description"`
	// The id of the region for which this zone is defined.
	ExternalRegionId string `pulumi:"externalRegionId"`
	// The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
	Folder string `pulumi:"folder"`
	Id     string `pulumi:"id"`
	// HATEOAS of the entity.
	Links []GetZoneLink `pulumi:"links"`
	Name  string        `pulumi:"name"`
	// The id of the organization this entity belongs to.
	OrgId string `pulumi:"orgId"`
	// Email of the user that owns the entity.
	Owner string `pulumi:"owner"`
	// The placement policy for the zone. One of `DEFAULT`, `SPREAD` or `BINPACK`.
	PlacementPolicy string `pulumi:"placementPolicy"`
	// A set of tag keys and optional values that were set on this resource:
	Tags []GetZoneTag `pulumi:"tags"`
	// A set of tag keys and optional values for compute resource filtering:
	TagsToMatches []GetZoneTagsToMatch `pulumi:"tagsToMatches"`
	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	UpdatedAt string `pulumi:"updatedAt"`
}

A collection of values returned by getZone.

func LookupZone

func LookupZone(ctx *pulumi.Context, args *LookupZoneArgs, opts ...pulumi.InvokeOption) (*LookupZoneResult, error)

## Example Usage ### S

This is an example of how to read a zone data source.

```go package main

import (

"github.com/pulumi/pulumi-vra/sdk/go/vra/zone"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vra/sdk/go/vra/zone"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := zone.LookupZone(ctx, &zone.LookupZoneArgs{
			Name: pulumi.StringRef(_var.Zone_name),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

A zone data source supports the following arguments:

type LookupZoneResultOutput

type LookupZoneResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getZone.

func (LookupZoneResultOutput) CloudAccountId

func (o LookupZoneResultOutput) CloudAccountId() pulumi.StringOutput

The ID of the cloud account this zone belongs to.

func (LookupZoneResultOutput) ComputeIds

The ids of the compute resources that has been explicitly assigned to this zone.

func (LookupZoneResultOutput) CreatedAt

Date when the entity was created. The date is in ISO 8601 and UTC.

func (LookupZoneResultOutput) CustomProperties

func (o LookupZoneResultOutput) CustomProperties() pulumi.MapOutput

A list of key value pair of properties that will be used.

func (LookupZoneResultOutput) Description

func (o LookupZoneResultOutput) Description() pulumi.StringOutput

A human-friendly description.

func (LookupZoneResultOutput) ElementType

func (LookupZoneResultOutput) ElementType() reflect.Type

func (LookupZoneResultOutput) ExternalRegionId

func (o LookupZoneResultOutput) ExternalRegionId() pulumi.StringOutput

The id of the region for which this zone is defined.

func (LookupZoneResultOutput) Folder

The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).

func (LookupZoneResultOutput) Id

HATEOAS of the entity.

func (LookupZoneResultOutput) Name

func (LookupZoneResultOutput) OrgId

The id of the organization this entity belongs to.

func (LookupZoneResultOutput) Owner

Email of the user that owns the entity.

func (LookupZoneResultOutput) PlacementPolicy

func (o LookupZoneResultOutput) PlacementPolicy() pulumi.StringOutput

The placement policy for the zone. One of `DEFAULT`, `SPREAD` or `BINPACK`.

func (LookupZoneResultOutput) Tags

A set of tag keys and optional values that were set on this resource:

func (LookupZoneResultOutput) TagsToMatches

A set of tag keys and optional values for compute resource filtering:

func (LookupZoneResultOutput) ToLookupZoneResultOutput

func (o LookupZoneResultOutput) ToLookupZoneResultOutput() LookupZoneResultOutput

func (LookupZoneResultOutput) ToLookupZoneResultOutputWithContext

func (o LookupZoneResultOutput) ToLookupZoneResultOutputWithContext(ctx context.Context) LookupZoneResultOutput

func (LookupZoneResultOutput) UpdatedAt

Date when the entity was last updated. The date is ISO 8601 and UTC.

type Zone

type Zone struct {
	pulumi.CustomResourceState

	// The ID of the cloud account this zone belongs to.
	CloudAccountId pulumi.StringOutput `pulumi:"cloudAccountId"`
	// The ids of the compute resources that will be explicitly assigned to this zone.
	ComputeIds pulumi.StringArrayOutput `pulumi:"computeIds"`
	// Date when the entity was created. The date is in ISO 8601 and UTC.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// A list of key value pair of properties that will be used.
	CustomProperties pulumi.MapOutput `pulumi:"customProperties"`
	// A human-friendly description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The id of the region for which this zone is defined.
	ExternalRegionId pulumi.StringOutput `pulumi:"externalRegionId"`
	// The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
	Folder pulumi.StringPtrOutput `pulumi:"folder"`
	// HATEOAS of entity.
	Links ZoneLinkArrayOutput `pulumi:"links"`
	// A human-friendly name used as an identifier for the zone resource instance.
	Name pulumi.StringOutput `pulumi:"name"`
	// The id of the organization this entity belongs to.
	OrgId pulumi.StringOutput `pulumi:"orgId"`
	// Email of the user that owns the entity.
	Owner pulumi.StringOutput `pulumi:"owner"`
	// The placement policy for the zone. One of `DEFAULT`, `SPREAD` or `BINPACK`. Default is `DEFAULT`.
	PlacementPolicy pulumi.StringPtrOutput `pulumi:"placementPolicy"`
	// The id of the region for which this zone is created.
	RegionId pulumi.StringOutput `pulumi:"regionId"`
	// A set of tag keys and optional values that were set on this resource:
	Tags ZoneTagArrayOutput `pulumi:"tags"`
	// A set of tag keys and optional values for compute resource filtering:
	TagsToMatches ZoneTagsToMatchArrayOutput `pulumi:"tagsToMatches"`
	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"`
}

## Example Usage ### S

This is an example of how to create a zone resource.

```go package main

import (

"github.com/pulumi/pulumi-vra/sdk/go/vra/zone"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vra/sdk/go/vra/zone"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := zone.NewZone(ctx, "this", &zone.ZoneArgs{
			Description: pulumi.String("my terraform test cloud zone"),
			RegionId:    pulumi.Any(data.Vra_region.This.Id),
			Tags: zone.ZoneTagArray{
				&zone.ZoneTagArgs{
					Key:   pulumi.String("my-tf-key"),
					Value: pulumi.String("my-tf-value"),
				},
				&zone.ZoneTagArgs{
					Key:   pulumi.String("tf-foo"),
					Value: pulumi.String("tf-bar"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

A zone resource supports the following arguments:

func GetZone

func GetZone(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ZoneState, opts ...pulumi.ResourceOption) (*Zone, error)

GetZone gets an existing Zone resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewZone

func NewZone(ctx *pulumi.Context,
	name string, args *ZoneArgs, opts ...pulumi.ResourceOption) (*Zone, error)

NewZone registers a new resource with the given unique name, arguments, and options.

func (*Zone) ElementType

func (*Zone) ElementType() reflect.Type

func (*Zone) ToZoneOutput

func (i *Zone) ToZoneOutput() ZoneOutput

func (*Zone) ToZoneOutputWithContext

func (i *Zone) ToZoneOutputWithContext(ctx context.Context) ZoneOutput

type ZoneArgs

type ZoneArgs struct {
	// The ids of the compute resources that will be explicitly assigned to this zone.
	ComputeIds pulumi.StringArrayInput
	// A list of key value pair of properties that will be used.
	CustomProperties pulumi.MapInput
	// A human-friendly description.
	Description pulumi.StringPtrInput
	// The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
	Folder pulumi.StringPtrInput
	// A human-friendly name used as an identifier for the zone resource instance.
	Name pulumi.StringPtrInput
	// The placement policy for the zone. One of `DEFAULT`, `SPREAD` or `BINPACK`. Default is `DEFAULT`.
	PlacementPolicy pulumi.StringPtrInput
	// The id of the region for which this zone is created.
	RegionId pulumi.StringInput
	// A set of tag keys and optional values that were set on this resource:
	Tags ZoneTagArrayInput
	// A set of tag keys and optional values for compute resource filtering:
	TagsToMatches ZoneTagsToMatchArrayInput
}

The set of arguments for constructing a Zone resource.

func (ZoneArgs) ElementType

func (ZoneArgs) ElementType() reflect.Type

type ZoneArray

type ZoneArray []ZoneInput

func (ZoneArray) ElementType

func (ZoneArray) ElementType() reflect.Type

func (ZoneArray) ToZoneArrayOutput

func (i ZoneArray) ToZoneArrayOutput() ZoneArrayOutput

func (ZoneArray) ToZoneArrayOutputWithContext

func (i ZoneArray) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput

type ZoneArrayInput

type ZoneArrayInput interface {
	pulumi.Input

	ToZoneArrayOutput() ZoneArrayOutput
	ToZoneArrayOutputWithContext(context.Context) ZoneArrayOutput
}

ZoneArrayInput is an input type that accepts ZoneArray and ZoneArrayOutput values. You can construct a concrete instance of `ZoneArrayInput` via:

ZoneArray{ ZoneArgs{...} }

type ZoneArrayOutput

type ZoneArrayOutput struct{ *pulumi.OutputState }

func (ZoneArrayOutput) ElementType

func (ZoneArrayOutput) ElementType() reflect.Type

func (ZoneArrayOutput) Index

func (ZoneArrayOutput) ToZoneArrayOutput

func (o ZoneArrayOutput) ToZoneArrayOutput() ZoneArrayOutput

func (ZoneArrayOutput) ToZoneArrayOutputWithContext

func (o ZoneArrayOutput) ToZoneArrayOutputWithContext(ctx context.Context) ZoneArrayOutput

type ZoneInput

type ZoneInput interface {
	pulumi.Input

	ToZoneOutput() ZoneOutput
	ToZoneOutputWithContext(ctx context.Context) ZoneOutput
}
type ZoneLink struct {
	Href  *string  `pulumi:"href"`
	Hrefs []string `pulumi:"hrefs"`
	Rel   string   `pulumi:"rel"`
}

type ZoneLinkArgs

type ZoneLinkArgs struct {
	Href  pulumi.StringPtrInput   `pulumi:"href"`
	Hrefs pulumi.StringArrayInput `pulumi:"hrefs"`
	Rel   pulumi.StringInput      `pulumi:"rel"`
}

func (ZoneLinkArgs) ElementType

func (ZoneLinkArgs) ElementType() reflect.Type

func (ZoneLinkArgs) ToZoneLinkOutput

func (i ZoneLinkArgs) ToZoneLinkOutput() ZoneLinkOutput

func (ZoneLinkArgs) ToZoneLinkOutputWithContext

func (i ZoneLinkArgs) ToZoneLinkOutputWithContext(ctx context.Context) ZoneLinkOutput

type ZoneLinkArray

type ZoneLinkArray []ZoneLinkInput

func (ZoneLinkArray) ElementType

func (ZoneLinkArray) ElementType() reflect.Type

func (ZoneLinkArray) ToZoneLinkArrayOutput

func (i ZoneLinkArray) ToZoneLinkArrayOutput() ZoneLinkArrayOutput

func (ZoneLinkArray) ToZoneLinkArrayOutputWithContext

func (i ZoneLinkArray) ToZoneLinkArrayOutputWithContext(ctx context.Context) ZoneLinkArrayOutput

type ZoneLinkArrayInput

type ZoneLinkArrayInput interface {
	pulumi.Input

	ToZoneLinkArrayOutput() ZoneLinkArrayOutput
	ToZoneLinkArrayOutputWithContext(context.Context) ZoneLinkArrayOutput
}

ZoneLinkArrayInput is an input type that accepts ZoneLinkArray and ZoneLinkArrayOutput values. You can construct a concrete instance of `ZoneLinkArrayInput` via:

ZoneLinkArray{ ZoneLinkArgs{...} }

type ZoneLinkArrayOutput

type ZoneLinkArrayOutput struct{ *pulumi.OutputState }

func (ZoneLinkArrayOutput) ElementType

func (ZoneLinkArrayOutput) ElementType() reflect.Type

func (ZoneLinkArrayOutput) Index

func (ZoneLinkArrayOutput) ToZoneLinkArrayOutput

func (o ZoneLinkArrayOutput) ToZoneLinkArrayOutput() ZoneLinkArrayOutput

func (ZoneLinkArrayOutput) ToZoneLinkArrayOutputWithContext

func (o ZoneLinkArrayOutput) ToZoneLinkArrayOutputWithContext(ctx context.Context) ZoneLinkArrayOutput

type ZoneLinkInput

type ZoneLinkInput interface {
	pulumi.Input

	ToZoneLinkOutput() ZoneLinkOutput
	ToZoneLinkOutputWithContext(context.Context) ZoneLinkOutput
}

ZoneLinkInput is an input type that accepts ZoneLinkArgs and ZoneLinkOutput values. You can construct a concrete instance of `ZoneLinkInput` via:

ZoneLinkArgs{...}

type ZoneLinkOutput

type ZoneLinkOutput struct{ *pulumi.OutputState }

func (ZoneLinkOutput) ElementType

func (ZoneLinkOutput) ElementType() reflect.Type

func (ZoneLinkOutput) Href

func (ZoneLinkOutput) Hrefs

func (ZoneLinkOutput) Rel

func (ZoneLinkOutput) ToZoneLinkOutput

func (o ZoneLinkOutput) ToZoneLinkOutput() ZoneLinkOutput

func (ZoneLinkOutput) ToZoneLinkOutputWithContext

func (o ZoneLinkOutput) ToZoneLinkOutputWithContext(ctx context.Context) ZoneLinkOutput

type ZoneMap

type ZoneMap map[string]ZoneInput

func (ZoneMap) ElementType

func (ZoneMap) ElementType() reflect.Type

func (ZoneMap) ToZoneMapOutput

func (i ZoneMap) ToZoneMapOutput() ZoneMapOutput

func (ZoneMap) ToZoneMapOutputWithContext

func (i ZoneMap) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput

type ZoneMapInput

type ZoneMapInput interface {
	pulumi.Input

	ToZoneMapOutput() ZoneMapOutput
	ToZoneMapOutputWithContext(context.Context) ZoneMapOutput
}

ZoneMapInput is an input type that accepts ZoneMap and ZoneMapOutput values. You can construct a concrete instance of `ZoneMapInput` via:

ZoneMap{ "key": ZoneArgs{...} }

type ZoneMapOutput

type ZoneMapOutput struct{ *pulumi.OutputState }

func (ZoneMapOutput) ElementType

func (ZoneMapOutput) ElementType() reflect.Type

func (ZoneMapOutput) MapIndex

func (ZoneMapOutput) ToZoneMapOutput

func (o ZoneMapOutput) ToZoneMapOutput() ZoneMapOutput

func (ZoneMapOutput) ToZoneMapOutputWithContext

func (o ZoneMapOutput) ToZoneMapOutputWithContext(ctx context.Context) ZoneMapOutput

type ZoneOutput

type ZoneOutput struct{ *pulumi.OutputState }

func (ZoneOutput) CloudAccountId

func (o ZoneOutput) CloudAccountId() pulumi.StringOutput

The ID of the cloud account this zone belongs to.

func (ZoneOutput) ComputeIds

func (o ZoneOutput) ComputeIds() pulumi.StringArrayOutput

The ids of the compute resources that will be explicitly assigned to this zone.

func (ZoneOutput) CreatedAt

func (o ZoneOutput) CreatedAt() pulumi.StringOutput

Date when the entity was created. The date is in ISO 8601 and UTC.

func (ZoneOutput) CustomProperties

func (o ZoneOutput) CustomProperties() pulumi.MapOutput

A list of key value pair of properties that will be used.

func (ZoneOutput) Description

func (o ZoneOutput) Description() pulumi.StringPtrOutput

A human-friendly description.

func (ZoneOutput) ElementType

func (ZoneOutput) ElementType() reflect.Type

func (ZoneOutput) ExternalRegionId

func (o ZoneOutput) ExternalRegionId() pulumi.StringOutput

The id of the region for which this zone is defined.

func (ZoneOutput) Folder

func (o ZoneOutput) Folder() pulumi.StringPtrOutput

The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).

func (o ZoneOutput) Links() ZoneLinkArrayOutput

HATEOAS of entity.

func (ZoneOutput) Name

func (o ZoneOutput) Name() pulumi.StringOutput

A human-friendly name used as an identifier for the zone resource instance.

func (ZoneOutput) OrgId

func (o ZoneOutput) OrgId() pulumi.StringOutput

The id of the organization this entity belongs to.

func (ZoneOutput) Owner

func (o ZoneOutput) Owner() pulumi.StringOutput

Email of the user that owns the entity.

func (ZoneOutput) PlacementPolicy

func (o ZoneOutput) PlacementPolicy() pulumi.StringPtrOutput

The placement policy for the zone. One of `DEFAULT`, `SPREAD` or `BINPACK`. Default is `DEFAULT`.

func (ZoneOutput) RegionId

func (o ZoneOutput) RegionId() pulumi.StringOutput

The id of the region for which this zone is created.

func (ZoneOutput) Tags

func (o ZoneOutput) Tags() ZoneTagArrayOutput

A set of tag keys and optional values that were set on this resource:

func (ZoneOutput) TagsToMatches

func (o ZoneOutput) TagsToMatches() ZoneTagsToMatchArrayOutput

A set of tag keys and optional values for compute resource filtering:

func (ZoneOutput) ToZoneOutput

func (o ZoneOutput) ToZoneOutput() ZoneOutput

func (ZoneOutput) ToZoneOutputWithContext

func (o ZoneOutput) ToZoneOutputWithContext(ctx context.Context) ZoneOutput

func (ZoneOutput) UpdatedAt

func (o ZoneOutput) UpdatedAt() pulumi.StringOutput

Date when the entity was last updated. The date is ISO 8601 and UTC.

type ZoneState

type ZoneState struct {
	// The ID of the cloud account this zone belongs to.
	CloudAccountId pulumi.StringPtrInput
	// The ids of the compute resources that will be explicitly assigned to this zone.
	ComputeIds pulumi.StringArrayInput
	// Date when the entity was created. The date is in ISO 8601 and UTC.
	CreatedAt pulumi.StringPtrInput
	// A list of key value pair of properties that will be used.
	CustomProperties pulumi.MapInput
	// A human-friendly description.
	Description pulumi.StringPtrInput
	// The id of the region for which this zone is defined.
	ExternalRegionId pulumi.StringPtrInput
	// The folder relative path to the datacenter where resources are deployed to (only applicable for vSphere cloud zones).
	Folder pulumi.StringPtrInput
	// HATEOAS of entity.
	Links ZoneLinkArrayInput
	// A human-friendly name used as an identifier for the zone resource instance.
	Name pulumi.StringPtrInput
	// The id of the organization this entity belongs to.
	OrgId pulumi.StringPtrInput
	// Email of the user that owns the entity.
	Owner pulumi.StringPtrInput
	// The placement policy for the zone. One of `DEFAULT`, `SPREAD` or `BINPACK`. Default is `DEFAULT`.
	PlacementPolicy pulumi.StringPtrInput
	// The id of the region for which this zone is created.
	RegionId pulumi.StringPtrInput
	// A set of tag keys and optional values that were set on this resource:
	Tags ZoneTagArrayInput
	// A set of tag keys and optional values for compute resource filtering:
	TagsToMatches ZoneTagsToMatchArrayInput
	// Date when the entity was last updated. The date is ISO 8601 and UTC.
	UpdatedAt pulumi.StringPtrInput
}

func (ZoneState) ElementType

func (ZoneState) ElementType() reflect.Type

type ZoneTag

type ZoneTag struct {
	// Tag’s key.
	Key string `pulumi:"key"`
	// Tag’s value.
	Value string `pulumi:"value"`
}

type ZoneTagArgs

type ZoneTagArgs struct {
	// Tag’s key.
	Key pulumi.StringInput `pulumi:"key"`
	// Tag’s value.
	Value pulumi.StringInput `pulumi:"value"`
}

func (ZoneTagArgs) ElementType

func (ZoneTagArgs) ElementType() reflect.Type

func (ZoneTagArgs) ToZoneTagOutput

func (i ZoneTagArgs) ToZoneTagOutput() ZoneTagOutput

func (ZoneTagArgs) ToZoneTagOutputWithContext

func (i ZoneTagArgs) ToZoneTagOutputWithContext(ctx context.Context) ZoneTagOutput

type ZoneTagArray

type ZoneTagArray []ZoneTagInput

func (ZoneTagArray) ElementType

func (ZoneTagArray) ElementType() reflect.Type

func (ZoneTagArray) ToZoneTagArrayOutput

func (i ZoneTagArray) ToZoneTagArrayOutput() ZoneTagArrayOutput

func (ZoneTagArray) ToZoneTagArrayOutputWithContext

func (i ZoneTagArray) ToZoneTagArrayOutputWithContext(ctx context.Context) ZoneTagArrayOutput

type ZoneTagArrayInput

type ZoneTagArrayInput interface {
	pulumi.Input

	ToZoneTagArrayOutput() ZoneTagArrayOutput
	ToZoneTagArrayOutputWithContext(context.Context) ZoneTagArrayOutput
}

ZoneTagArrayInput is an input type that accepts ZoneTagArray and ZoneTagArrayOutput values. You can construct a concrete instance of `ZoneTagArrayInput` via:

ZoneTagArray{ ZoneTagArgs{...} }

type ZoneTagArrayOutput

type ZoneTagArrayOutput struct{ *pulumi.OutputState }

func (ZoneTagArrayOutput) ElementType

func (ZoneTagArrayOutput) ElementType() reflect.Type

func (ZoneTagArrayOutput) Index

func (ZoneTagArrayOutput) ToZoneTagArrayOutput

func (o ZoneTagArrayOutput) ToZoneTagArrayOutput() ZoneTagArrayOutput

func (ZoneTagArrayOutput) ToZoneTagArrayOutputWithContext

func (o ZoneTagArrayOutput) ToZoneTagArrayOutputWithContext(ctx context.Context) ZoneTagArrayOutput

type ZoneTagInput

type ZoneTagInput interface {
	pulumi.Input

	ToZoneTagOutput() ZoneTagOutput
	ToZoneTagOutputWithContext(context.Context) ZoneTagOutput
}

ZoneTagInput is an input type that accepts ZoneTagArgs and ZoneTagOutput values. You can construct a concrete instance of `ZoneTagInput` via:

ZoneTagArgs{...}

type ZoneTagOutput

type ZoneTagOutput struct{ *pulumi.OutputState }

func (ZoneTagOutput) ElementType

func (ZoneTagOutput) ElementType() reflect.Type

func (ZoneTagOutput) Key

Tag’s key.

func (ZoneTagOutput) ToZoneTagOutput

func (o ZoneTagOutput) ToZoneTagOutput() ZoneTagOutput

func (ZoneTagOutput) ToZoneTagOutputWithContext

func (o ZoneTagOutput) ToZoneTagOutputWithContext(ctx context.Context) ZoneTagOutput

func (ZoneTagOutput) Value

func (o ZoneTagOutput) Value() pulumi.StringOutput

Tag’s value.

type ZoneTagsToMatch

type ZoneTagsToMatch struct {
	// Tag’s key.
	Key string `pulumi:"key"`
	// Tag’s value.
	Value string `pulumi:"value"`
}

type ZoneTagsToMatchArgs

type ZoneTagsToMatchArgs struct {
	// Tag’s key.
	Key pulumi.StringInput `pulumi:"key"`
	// Tag’s value.
	Value pulumi.StringInput `pulumi:"value"`
}

func (ZoneTagsToMatchArgs) ElementType

func (ZoneTagsToMatchArgs) ElementType() reflect.Type

func (ZoneTagsToMatchArgs) ToZoneTagsToMatchOutput

func (i ZoneTagsToMatchArgs) ToZoneTagsToMatchOutput() ZoneTagsToMatchOutput

func (ZoneTagsToMatchArgs) ToZoneTagsToMatchOutputWithContext

func (i ZoneTagsToMatchArgs) ToZoneTagsToMatchOutputWithContext(ctx context.Context) ZoneTagsToMatchOutput

type ZoneTagsToMatchArray

type ZoneTagsToMatchArray []ZoneTagsToMatchInput

func (ZoneTagsToMatchArray) ElementType

func (ZoneTagsToMatchArray) ElementType() reflect.Type

func (ZoneTagsToMatchArray) ToZoneTagsToMatchArrayOutput

func (i ZoneTagsToMatchArray) ToZoneTagsToMatchArrayOutput() ZoneTagsToMatchArrayOutput

func (ZoneTagsToMatchArray) ToZoneTagsToMatchArrayOutputWithContext

func (i ZoneTagsToMatchArray) ToZoneTagsToMatchArrayOutputWithContext(ctx context.Context) ZoneTagsToMatchArrayOutput

type ZoneTagsToMatchArrayInput

type ZoneTagsToMatchArrayInput interface {
	pulumi.Input

	ToZoneTagsToMatchArrayOutput() ZoneTagsToMatchArrayOutput
	ToZoneTagsToMatchArrayOutputWithContext(context.Context) ZoneTagsToMatchArrayOutput
}

ZoneTagsToMatchArrayInput is an input type that accepts ZoneTagsToMatchArray and ZoneTagsToMatchArrayOutput values. You can construct a concrete instance of `ZoneTagsToMatchArrayInput` via:

ZoneTagsToMatchArray{ ZoneTagsToMatchArgs{...} }

type ZoneTagsToMatchArrayOutput

type ZoneTagsToMatchArrayOutput struct{ *pulumi.OutputState }

func (ZoneTagsToMatchArrayOutput) ElementType

func (ZoneTagsToMatchArrayOutput) ElementType() reflect.Type

func (ZoneTagsToMatchArrayOutput) Index

func (ZoneTagsToMatchArrayOutput) ToZoneTagsToMatchArrayOutput

func (o ZoneTagsToMatchArrayOutput) ToZoneTagsToMatchArrayOutput() ZoneTagsToMatchArrayOutput

func (ZoneTagsToMatchArrayOutput) ToZoneTagsToMatchArrayOutputWithContext

func (o ZoneTagsToMatchArrayOutput) ToZoneTagsToMatchArrayOutputWithContext(ctx context.Context) ZoneTagsToMatchArrayOutput

type ZoneTagsToMatchInput

type ZoneTagsToMatchInput interface {
	pulumi.Input

	ToZoneTagsToMatchOutput() ZoneTagsToMatchOutput
	ToZoneTagsToMatchOutputWithContext(context.Context) ZoneTagsToMatchOutput
}

ZoneTagsToMatchInput is an input type that accepts ZoneTagsToMatchArgs and ZoneTagsToMatchOutput values. You can construct a concrete instance of `ZoneTagsToMatchInput` via:

ZoneTagsToMatchArgs{...}

type ZoneTagsToMatchOutput

type ZoneTagsToMatchOutput struct{ *pulumi.OutputState }

func (ZoneTagsToMatchOutput) ElementType

func (ZoneTagsToMatchOutput) ElementType() reflect.Type

func (ZoneTagsToMatchOutput) Key

Tag’s key.

func (ZoneTagsToMatchOutput) ToZoneTagsToMatchOutput

func (o ZoneTagsToMatchOutput) ToZoneTagsToMatchOutput() ZoneTagsToMatchOutput

func (ZoneTagsToMatchOutput) ToZoneTagsToMatchOutputWithContext

func (o ZoneTagsToMatchOutput) ToZoneTagsToMatchOutputWithContext(ctx context.Context) ZoneTagsToMatchOutput

func (ZoneTagsToMatchOutput) Value

Tag’s value.

Jump to

Keyboard shortcuts

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