Documentation
¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type Profile
- type ProfileArgs
- type ProfileArray
- type ProfileArrayInput
- type ProfileArrayOutput
- type ProfileFlavorMapping
- type ProfileFlavorMappingArgs
- type ProfileFlavorMappingArray
- type ProfileFlavorMappingArrayInput
- type ProfileFlavorMappingArrayOutput
- func (ProfileFlavorMappingArrayOutput) ElementType() reflect.Type
- func (o ProfileFlavorMappingArrayOutput) Index(i pulumi.IntInput) ProfileFlavorMappingOutput
- func (o ProfileFlavorMappingArrayOutput) ToProfileFlavorMappingArrayOutput() ProfileFlavorMappingArrayOutput
- func (o ProfileFlavorMappingArrayOutput) ToProfileFlavorMappingArrayOutputWithContext(ctx context.Context) ProfileFlavorMappingArrayOutput
- type ProfileFlavorMappingInput
- type ProfileFlavorMappingOutput
- func (o ProfileFlavorMappingOutput) CpuCount() pulumi.IntPtrOutput
- func (ProfileFlavorMappingOutput) ElementType() reflect.Type
- func (o ProfileFlavorMappingOutput) InstanceType() pulumi.StringPtrOutput
- func (o ProfileFlavorMappingOutput) Memory() pulumi.IntPtrOutput
- func (o ProfileFlavorMappingOutput) Name() pulumi.StringOutput
- func (o ProfileFlavorMappingOutput) ToProfileFlavorMappingOutput() ProfileFlavorMappingOutput
- func (o ProfileFlavorMappingOutput) ToProfileFlavorMappingOutputWithContext(ctx context.Context) ProfileFlavorMappingOutput
- type ProfileInput
- type ProfileLink
- type ProfileLinkArgs
- type ProfileLinkArray
- type ProfileLinkArrayInput
- type ProfileLinkArrayOutput
- func (ProfileLinkArrayOutput) ElementType() reflect.Type
- func (o ProfileLinkArrayOutput) Index(i pulumi.IntInput) ProfileLinkOutput
- func (o ProfileLinkArrayOutput) ToProfileLinkArrayOutput() ProfileLinkArrayOutput
- func (o ProfileLinkArrayOutput) ToProfileLinkArrayOutputWithContext(ctx context.Context) ProfileLinkArrayOutput
- type ProfileLinkInput
- type ProfileLinkOutput
- func (ProfileLinkOutput) ElementType() reflect.Type
- func (o ProfileLinkOutput) Href() pulumi.StringPtrOutput
- func (o ProfileLinkOutput) Hrefs() pulumi.StringArrayOutput
- func (o ProfileLinkOutput) Rel() pulumi.StringOutput
- func (o ProfileLinkOutput) ToProfileLinkOutput() ProfileLinkOutput
- func (o ProfileLinkOutput) ToProfileLinkOutputWithContext(ctx context.Context) ProfileLinkOutput
- type ProfileMap
- type ProfileMapInput
- type ProfileMapOutput
- type ProfileOutput
- func (o ProfileOutput) CloudAccountId() pulumi.StringOutput
- func (o ProfileOutput) CreatedAt() pulumi.StringOutput
- func (o ProfileOutput) Description() pulumi.StringPtrOutput
- func (ProfileOutput) ElementType() reflect.Type
- func (o ProfileOutput) ExternalRegionId() pulumi.StringOutput
- func (o ProfileOutput) FlavorMappings() ProfileFlavorMappingArrayOutput
- func (o ProfileOutput) Links() ProfileLinkArrayOutput
- func (o ProfileOutput) Name() pulumi.StringOutput
- func (o ProfileOutput) OrgId() pulumi.StringOutput
- func (o ProfileOutput) Owner() pulumi.StringOutput
- func (o ProfileOutput) RegionId() pulumi.StringOutput
- func (o ProfileOutput) ToProfileOutput() ProfileOutput
- func (o ProfileOutput) ToProfileOutputWithContext(ctx context.Context) ProfileOutput
- func (o ProfileOutput) UpdatedAt() pulumi.StringOutput
- type ProfileState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶
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 Profile ¶
type Profile struct { pulumi.CustomResourceState // The ID of the cloud account this entity belongs to. CloudAccountId pulumi.StringOutput `pulumi:"cloudAccountId"` // Date when entity was created. Date and time format is ISO 8601 and UTC. CreatedAt pulumi.StringOutput `pulumi:"createdAt"` // A human-friendly description. Description pulumi.StringPtrOutput `pulumi:"description"` // The ID of the external region that is associated with the flavor profile. ExternalRegionId pulumi.StringOutput `pulumi:"externalRegionId"` // Map between global fabric flavor keys and fabric flavor descriptions. FlavorMappings ProfileFlavorMappingArrayOutput `pulumi:"flavorMappings"` // HATEOAS of entity. Links ProfileLinkArrayOutput `pulumi:"links"` // A human-friendly name used as an identifier in APIs that support this option. Name pulumi.StringOutput `pulumi:"name"` // ID of organization that entity belongs to. OrgId pulumi.StringOutput `pulumi:"orgId"` // Email of entity owner. Owner pulumi.StringOutput `pulumi:"owner"` // The id of the region for which this profile is defined as in vRealize Automation(vRA). RegionId pulumi.StringOutput `pulumi:"regionId"` // Date when the entity was last updated. Date and time format is ISO 8601 and UTC. UpdatedAt pulumi.StringOutput `pulumi:"updatedAt"` }
## Example Usage ### S This is an example of how to create a flavor profile resource.
**Flavor profile:**
```go package main
import (
"github.com/pulumi/pulumi-vra/sdk/go/vra/flavor" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-vra/sdk/go/vra/flavor"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := flavor.NewProfile(ctx, "my-flavor-profile", &flavor.ProfileArgs{ Description: pulumi.String("my flavor"), FlavorMappings: flavor.ProfileFlavorMappingArray{ &flavor.ProfileFlavorMappingArgs{ InstanceType: pulumi.String("t2.small"), Name: pulumi.String("small"), }, &flavor.ProfileFlavorMappingArgs{ InstanceType: pulumi.String("t2.medium"), Name: pulumi.String("medium"), }, }, RegionId: pulumi.Any(data.Vra_region.Us - east - 1 - region.Id), }) if err != nil { return err } return nil }) }
```
An flavor profile resource supports the following arguments:
func GetProfile ¶
func GetProfile(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProfileState, opts ...pulumi.ResourceOption) (*Profile, error)
GetProfile gets an existing Profile 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 NewProfile ¶
func NewProfile(ctx *pulumi.Context, name string, args *ProfileArgs, opts ...pulumi.ResourceOption) (*Profile, error)
NewProfile registers a new resource with the given unique name, arguments, and options.
func (*Profile) ElementType ¶
func (*Profile) ToProfileOutput ¶
func (i *Profile) ToProfileOutput() ProfileOutput
func (*Profile) ToProfileOutputWithContext ¶
func (i *Profile) ToProfileOutputWithContext(ctx context.Context) ProfileOutput
type ProfileArgs ¶
type ProfileArgs struct { // A human-friendly description. Description pulumi.StringPtrInput // Map between global fabric flavor keys and fabric flavor descriptions. FlavorMappings ProfileFlavorMappingArrayInput // A human-friendly name used as an identifier in APIs that support this option. Name pulumi.StringPtrInput // The id of the region for which this profile is defined as in vRealize Automation(vRA). RegionId pulumi.StringInput }
The set of arguments for constructing a Profile resource.
func (ProfileArgs) ElementType ¶
func (ProfileArgs) ElementType() reflect.Type
type ProfileArray ¶
type ProfileArray []ProfileInput
func (ProfileArray) ElementType ¶
func (ProfileArray) ElementType() reflect.Type
func (ProfileArray) ToProfileArrayOutput ¶
func (i ProfileArray) ToProfileArrayOutput() ProfileArrayOutput
func (ProfileArray) ToProfileArrayOutputWithContext ¶
func (i ProfileArray) ToProfileArrayOutputWithContext(ctx context.Context) ProfileArrayOutput
type ProfileArrayInput ¶
type ProfileArrayInput interface { pulumi.Input ToProfileArrayOutput() ProfileArrayOutput ToProfileArrayOutputWithContext(context.Context) ProfileArrayOutput }
ProfileArrayInput is an input type that accepts ProfileArray and ProfileArrayOutput values. You can construct a concrete instance of `ProfileArrayInput` via:
ProfileArray{ ProfileArgs{...} }
type ProfileArrayOutput ¶
type ProfileArrayOutput struct{ *pulumi.OutputState }
func (ProfileArrayOutput) ElementType ¶
func (ProfileArrayOutput) ElementType() reflect.Type
func (ProfileArrayOutput) Index ¶
func (o ProfileArrayOutput) Index(i pulumi.IntInput) ProfileOutput
func (ProfileArrayOutput) ToProfileArrayOutput ¶
func (o ProfileArrayOutput) ToProfileArrayOutput() ProfileArrayOutput
func (ProfileArrayOutput) ToProfileArrayOutputWithContext ¶
func (o ProfileArrayOutput) ToProfileArrayOutputWithContext(ctx context.Context) ProfileArrayOutput
type ProfileFlavorMapping ¶
type ProfileFlavorMappingArgs ¶
type ProfileFlavorMappingArgs struct { CpuCount pulumi.IntPtrInput `pulumi:"cpuCount"` InstanceType pulumi.StringPtrInput `pulumi:"instanceType"` Memory pulumi.IntPtrInput `pulumi:"memory"` // A human-friendly name used as an identifier in APIs that support this option. Name pulumi.StringInput `pulumi:"name"` }
func (ProfileFlavorMappingArgs) ElementType ¶
func (ProfileFlavorMappingArgs) ElementType() reflect.Type
func (ProfileFlavorMappingArgs) ToProfileFlavorMappingOutput ¶
func (i ProfileFlavorMappingArgs) ToProfileFlavorMappingOutput() ProfileFlavorMappingOutput
func (ProfileFlavorMappingArgs) ToProfileFlavorMappingOutputWithContext ¶
func (i ProfileFlavorMappingArgs) ToProfileFlavorMappingOutputWithContext(ctx context.Context) ProfileFlavorMappingOutput
type ProfileFlavorMappingArray ¶
type ProfileFlavorMappingArray []ProfileFlavorMappingInput
func (ProfileFlavorMappingArray) ElementType ¶
func (ProfileFlavorMappingArray) ElementType() reflect.Type
func (ProfileFlavorMappingArray) ToProfileFlavorMappingArrayOutput ¶
func (i ProfileFlavorMappingArray) ToProfileFlavorMappingArrayOutput() ProfileFlavorMappingArrayOutput
func (ProfileFlavorMappingArray) ToProfileFlavorMappingArrayOutputWithContext ¶
func (i ProfileFlavorMappingArray) ToProfileFlavorMappingArrayOutputWithContext(ctx context.Context) ProfileFlavorMappingArrayOutput
type ProfileFlavorMappingArrayInput ¶
type ProfileFlavorMappingArrayInput interface { pulumi.Input ToProfileFlavorMappingArrayOutput() ProfileFlavorMappingArrayOutput ToProfileFlavorMappingArrayOutputWithContext(context.Context) ProfileFlavorMappingArrayOutput }
ProfileFlavorMappingArrayInput is an input type that accepts ProfileFlavorMappingArray and ProfileFlavorMappingArrayOutput values. You can construct a concrete instance of `ProfileFlavorMappingArrayInput` via:
ProfileFlavorMappingArray{ ProfileFlavorMappingArgs{...} }
type ProfileFlavorMappingArrayOutput ¶
type ProfileFlavorMappingArrayOutput struct{ *pulumi.OutputState }
func (ProfileFlavorMappingArrayOutput) ElementType ¶
func (ProfileFlavorMappingArrayOutput) ElementType() reflect.Type
func (ProfileFlavorMappingArrayOutput) Index ¶
func (o ProfileFlavorMappingArrayOutput) Index(i pulumi.IntInput) ProfileFlavorMappingOutput
func (ProfileFlavorMappingArrayOutput) ToProfileFlavorMappingArrayOutput ¶
func (o ProfileFlavorMappingArrayOutput) ToProfileFlavorMappingArrayOutput() ProfileFlavorMappingArrayOutput
func (ProfileFlavorMappingArrayOutput) ToProfileFlavorMappingArrayOutputWithContext ¶
func (o ProfileFlavorMappingArrayOutput) ToProfileFlavorMappingArrayOutputWithContext(ctx context.Context) ProfileFlavorMappingArrayOutput
type ProfileFlavorMappingInput ¶
type ProfileFlavorMappingInput interface { pulumi.Input ToProfileFlavorMappingOutput() ProfileFlavorMappingOutput ToProfileFlavorMappingOutputWithContext(context.Context) ProfileFlavorMappingOutput }
ProfileFlavorMappingInput is an input type that accepts ProfileFlavorMappingArgs and ProfileFlavorMappingOutput values. You can construct a concrete instance of `ProfileFlavorMappingInput` via:
ProfileFlavorMappingArgs{...}
type ProfileFlavorMappingOutput ¶
type ProfileFlavorMappingOutput struct{ *pulumi.OutputState }
func (ProfileFlavorMappingOutput) CpuCount ¶
func (o ProfileFlavorMappingOutput) CpuCount() pulumi.IntPtrOutput
func (ProfileFlavorMappingOutput) ElementType ¶
func (ProfileFlavorMappingOutput) ElementType() reflect.Type
func (ProfileFlavorMappingOutput) InstanceType ¶
func (o ProfileFlavorMappingOutput) InstanceType() pulumi.StringPtrOutput
func (ProfileFlavorMappingOutput) Memory ¶
func (o ProfileFlavorMappingOutput) Memory() pulumi.IntPtrOutput
func (ProfileFlavorMappingOutput) Name ¶
func (o ProfileFlavorMappingOutput) Name() pulumi.StringOutput
A human-friendly name used as an identifier in APIs that support this option.
func (ProfileFlavorMappingOutput) ToProfileFlavorMappingOutput ¶
func (o ProfileFlavorMappingOutput) ToProfileFlavorMappingOutput() ProfileFlavorMappingOutput
func (ProfileFlavorMappingOutput) ToProfileFlavorMappingOutputWithContext ¶
func (o ProfileFlavorMappingOutput) ToProfileFlavorMappingOutputWithContext(ctx context.Context) ProfileFlavorMappingOutput
type ProfileInput ¶
type ProfileInput interface { pulumi.Input ToProfileOutput() ProfileOutput ToProfileOutputWithContext(ctx context.Context) ProfileOutput }
type ProfileLink ¶
type ProfileLinkArgs ¶
type ProfileLinkArgs struct { Href pulumi.StringPtrInput `pulumi:"href"` Hrefs pulumi.StringArrayInput `pulumi:"hrefs"` Rel pulumi.StringInput `pulumi:"rel"` }
func (ProfileLinkArgs) ElementType ¶
func (ProfileLinkArgs) ElementType() reflect.Type
func (ProfileLinkArgs) ToProfileLinkOutput ¶
func (i ProfileLinkArgs) ToProfileLinkOutput() ProfileLinkOutput
func (ProfileLinkArgs) ToProfileLinkOutputWithContext ¶
func (i ProfileLinkArgs) ToProfileLinkOutputWithContext(ctx context.Context) ProfileLinkOutput
type ProfileLinkArray ¶
type ProfileLinkArray []ProfileLinkInput
func (ProfileLinkArray) ElementType ¶
func (ProfileLinkArray) ElementType() reflect.Type
func (ProfileLinkArray) ToProfileLinkArrayOutput ¶
func (i ProfileLinkArray) ToProfileLinkArrayOutput() ProfileLinkArrayOutput
func (ProfileLinkArray) ToProfileLinkArrayOutputWithContext ¶
func (i ProfileLinkArray) ToProfileLinkArrayOutputWithContext(ctx context.Context) ProfileLinkArrayOutput
type ProfileLinkArrayInput ¶
type ProfileLinkArrayInput interface { pulumi.Input ToProfileLinkArrayOutput() ProfileLinkArrayOutput ToProfileLinkArrayOutputWithContext(context.Context) ProfileLinkArrayOutput }
ProfileLinkArrayInput is an input type that accepts ProfileLinkArray and ProfileLinkArrayOutput values. You can construct a concrete instance of `ProfileLinkArrayInput` via:
ProfileLinkArray{ ProfileLinkArgs{...} }
type ProfileLinkArrayOutput ¶
type ProfileLinkArrayOutput struct{ *pulumi.OutputState }
func (ProfileLinkArrayOutput) ElementType ¶
func (ProfileLinkArrayOutput) ElementType() reflect.Type
func (ProfileLinkArrayOutput) Index ¶
func (o ProfileLinkArrayOutput) Index(i pulumi.IntInput) ProfileLinkOutput
func (ProfileLinkArrayOutput) ToProfileLinkArrayOutput ¶
func (o ProfileLinkArrayOutput) ToProfileLinkArrayOutput() ProfileLinkArrayOutput
func (ProfileLinkArrayOutput) ToProfileLinkArrayOutputWithContext ¶
func (o ProfileLinkArrayOutput) ToProfileLinkArrayOutputWithContext(ctx context.Context) ProfileLinkArrayOutput
type ProfileLinkInput ¶
type ProfileLinkInput interface { pulumi.Input ToProfileLinkOutput() ProfileLinkOutput ToProfileLinkOutputWithContext(context.Context) ProfileLinkOutput }
ProfileLinkInput is an input type that accepts ProfileLinkArgs and ProfileLinkOutput values. You can construct a concrete instance of `ProfileLinkInput` via:
ProfileLinkArgs{...}
type ProfileLinkOutput ¶
type ProfileLinkOutput struct{ *pulumi.OutputState }
func (ProfileLinkOutput) ElementType ¶
func (ProfileLinkOutput) ElementType() reflect.Type
func (ProfileLinkOutput) Href ¶
func (o ProfileLinkOutput) Href() pulumi.StringPtrOutput
func (ProfileLinkOutput) Hrefs ¶
func (o ProfileLinkOutput) Hrefs() pulumi.StringArrayOutput
func (ProfileLinkOutput) Rel ¶
func (o ProfileLinkOutput) Rel() pulumi.StringOutput
func (ProfileLinkOutput) ToProfileLinkOutput ¶
func (o ProfileLinkOutput) ToProfileLinkOutput() ProfileLinkOutput
func (ProfileLinkOutput) ToProfileLinkOutputWithContext ¶
func (o ProfileLinkOutput) ToProfileLinkOutputWithContext(ctx context.Context) ProfileLinkOutput
type ProfileMap ¶
type ProfileMap map[string]ProfileInput
func (ProfileMap) ElementType ¶
func (ProfileMap) ElementType() reflect.Type
func (ProfileMap) ToProfileMapOutput ¶
func (i ProfileMap) ToProfileMapOutput() ProfileMapOutput
func (ProfileMap) ToProfileMapOutputWithContext ¶
func (i ProfileMap) ToProfileMapOutputWithContext(ctx context.Context) ProfileMapOutput
type ProfileMapInput ¶
type ProfileMapInput interface { pulumi.Input ToProfileMapOutput() ProfileMapOutput ToProfileMapOutputWithContext(context.Context) ProfileMapOutput }
ProfileMapInput is an input type that accepts ProfileMap and ProfileMapOutput values. You can construct a concrete instance of `ProfileMapInput` via:
ProfileMap{ "key": ProfileArgs{...} }
type ProfileMapOutput ¶
type ProfileMapOutput struct{ *pulumi.OutputState }
func (ProfileMapOutput) ElementType ¶
func (ProfileMapOutput) ElementType() reflect.Type
func (ProfileMapOutput) MapIndex ¶
func (o ProfileMapOutput) MapIndex(k pulumi.StringInput) ProfileOutput
func (ProfileMapOutput) ToProfileMapOutput ¶
func (o ProfileMapOutput) ToProfileMapOutput() ProfileMapOutput
func (ProfileMapOutput) ToProfileMapOutputWithContext ¶
func (o ProfileMapOutput) ToProfileMapOutputWithContext(ctx context.Context) ProfileMapOutput
type ProfileOutput ¶
type ProfileOutput struct{ *pulumi.OutputState }
func (ProfileOutput) CloudAccountId ¶
func (o ProfileOutput) CloudAccountId() pulumi.StringOutput
The ID of the cloud account this entity belongs to.
func (ProfileOutput) CreatedAt ¶
func (o ProfileOutput) CreatedAt() pulumi.StringOutput
Date when entity was created. Date and time format is ISO 8601 and UTC.
func (ProfileOutput) Description ¶
func (o ProfileOutput) Description() pulumi.StringPtrOutput
A human-friendly description.
func (ProfileOutput) ElementType ¶
func (ProfileOutput) ElementType() reflect.Type
func (ProfileOutput) ExternalRegionId ¶
func (o ProfileOutput) ExternalRegionId() pulumi.StringOutput
The ID of the external region that is associated with the flavor profile.
func (ProfileOutput) FlavorMappings ¶
func (o ProfileOutput) FlavorMappings() ProfileFlavorMappingArrayOutput
Map between global fabric flavor keys and fabric flavor descriptions.
func (ProfileOutput) Links ¶
func (o ProfileOutput) Links() ProfileLinkArrayOutput
HATEOAS of entity.
func (ProfileOutput) Name ¶
func (o ProfileOutput) Name() pulumi.StringOutput
A human-friendly name used as an identifier in APIs that support this option.
func (ProfileOutput) OrgId ¶
func (o ProfileOutput) OrgId() pulumi.StringOutput
ID of organization that entity belongs to.
func (ProfileOutput) Owner ¶
func (o ProfileOutput) Owner() pulumi.StringOutput
Email of entity owner.
func (ProfileOutput) RegionId ¶
func (o ProfileOutput) RegionId() pulumi.StringOutput
The id of the region for which this profile is defined as in vRealize Automation(vRA).
func (ProfileOutput) ToProfileOutput ¶
func (o ProfileOutput) ToProfileOutput() ProfileOutput
func (ProfileOutput) ToProfileOutputWithContext ¶
func (o ProfileOutput) ToProfileOutputWithContext(ctx context.Context) ProfileOutput
func (ProfileOutput) UpdatedAt ¶
func (o ProfileOutput) UpdatedAt() pulumi.StringOutput
Date when the entity was last updated. Date and time format is ISO 8601 and UTC.
type ProfileState ¶
type ProfileState struct { // The ID of the cloud account this entity belongs to. CloudAccountId pulumi.StringPtrInput // Date when entity was created. Date and time format is ISO 8601 and UTC. CreatedAt pulumi.StringPtrInput // A human-friendly description. Description pulumi.StringPtrInput // The ID of the external region that is associated with the flavor profile. ExternalRegionId pulumi.StringPtrInput // Map between global fabric flavor keys and fabric flavor descriptions. FlavorMappings ProfileFlavorMappingArrayInput // HATEOAS of entity. Links ProfileLinkArrayInput // A human-friendly name used as an identifier in APIs that support this option. Name pulumi.StringPtrInput // ID of organization that entity belongs to. OrgId pulumi.StringPtrInput // Email of entity owner. Owner pulumi.StringPtrInput // The id of the region for which this profile is defined as in vRealize Automation(vRA). RegionId pulumi.StringPtrInput // Date when the entity was last updated. Date and time format is ISO 8601 and UTC. UpdatedAt pulumi.StringPtrInput }
func (ProfileState) ElementType ¶
func (ProfileState) ElementType() reflect.Type