Documentation
¶
Overview ¶
A Pulumi package for creating and managing xyz cloud resources.
Index ¶
- type GetDataSourceArgs
- type GetDataSourceOutputArgs
- type GetDataSourceResult
- type GetDataSourceResultOutput
- func (GetDataSourceResultOutput) ElementType() reflect.Type
- func (o GetDataSourceResultOutput) Id() pulumi.StringOutput
- func (o GetDataSourceResultOutput) SampleAttribute() pulumi.StringOutput
- func (o GetDataSourceResultOutput) ToGetDataSourceResultOutput() GetDataSourceResultOutput
- func (o GetDataSourceResultOutput) ToGetDataSourceResultOutputWithContext(ctx context.Context) GetDataSourceResultOutput
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- type Resource
- type ResourceArgs
- type ResourceArray
- type ResourceArrayInput
- type ResourceArrayOutput
- type ResourceInput
- type ResourceMap
- type ResourceMapInput
- type ResourceMapOutput
- type ResourceOutput
- type ResourceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetDataSourceArgs ¶
type GetDataSourceArgs struct {
SampleAttribute string `pulumi:"sampleAttribute"`
}
A collection of arguments for invoking getDataSource.
type GetDataSourceOutputArgs ¶
type GetDataSourceOutputArgs struct {
SampleAttribute pulumi.StringInput `pulumi:"sampleAttribute"`
}
A collection of arguments for invoking getDataSource.
func (GetDataSourceOutputArgs) ElementType ¶
func (GetDataSourceOutputArgs) ElementType() reflect.Type
type GetDataSourceResult ¶
type GetDataSourceResult struct {
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
SampleAttribute string `pulumi:"sampleAttribute"`
}
A collection of values returned by getDataSource.
func GetDataSource ¶
func GetDataSource(ctx *pulumi.Context, args *GetDataSourceArgs, opts ...pulumi.InvokeOption) (*GetDataSourceResult, error)
type GetDataSourceResultOutput ¶
type GetDataSourceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDataSource.
func GetDataSourceOutput ¶
func GetDataSourceOutput(ctx *pulumi.Context, args GetDataSourceOutputArgs, opts ...pulumi.InvokeOption) GetDataSourceResultOutput
func (GetDataSourceResultOutput) ElementType ¶
func (GetDataSourceResultOutput) ElementType() reflect.Type
func (GetDataSourceResultOutput) Id ¶
func (o GetDataSourceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDataSourceResultOutput) SampleAttribute ¶
func (o GetDataSourceResultOutput) SampleAttribute() pulumi.StringOutput
func (GetDataSourceResultOutput) ToGetDataSourceResultOutput ¶
func (o GetDataSourceResultOutput) ToGetDataSourceResultOutput() GetDataSourceResultOutput
func (GetDataSourceResultOutput) ToGetDataSourceResultOutputWithContext ¶
func (o GetDataSourceResultOutput) ToGetDataSourceResultOutputWithContext(ctx context.Context) GetDataSourceResultOutput
type Provider ¶
type Provider struct {
pulumi.ProviderResourceState
}
The provider type for the xyz package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct {
// A region which should be used.
Region region.RegionPtrInput
}
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface {
pulumi.Input
ToProviderOutput() ProviderOutput
ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type Resource ¶
type Resource struct {
pulumi.CustomResourceState
// Sample attribute.
SampleAttribute pulumi.StringPtrOutput `pulumi:"sampleAttribute"`
}
func GetResource ¶
func GetResource(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceState, opts ...pulumi.ResourceOption) (*Resource, error)
GetResource gets an existing Resource 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 NewResource ¶
func NewResource(ctx *pulumi.Context, name string, args *ResourceArgs, opts ...pulumi.ResourceOption) (*Resource, error)
NewResource registers a new resource with the given unique name, arguments, and options.
func (*Resource) ElementType ¶
func (*Resource) ToResourceOutput ¶
func (i *Resource) ToResourceOutput() ResourceOutput
func (*Resource) ToResourceOutputWithContext ¶
func (i *Resource) ToResourceOutputWithContext(ctx context.Context) ResourceOutput
type ResourceArgs ¶
type ResourceArgs struct {
// Sample attribute.
SampleAttribute pulumi.StringPtrInput
}
The set of arguments for constructing a Resource resource.
func (ResourceArgs) ElementType ¶
func (ResourceArgs) ElementType() reflect.Type
type ResourceArray ¶
type ResourceArray []ResourceInput
func (ResourceArray) ElementType ¶
func (ResourceArray) ElementType() reflect.Type
func (ResourceArray) ToResourceArrayOutput ¶
func (i ResourceArray) ToResourceArrayOutput() ResourceArrayOutput
func (ResourceArray) ToResourceArrayOutputWithContext ¶
func (i ResourceArray) ToResourceArrayOutputWithContext(ctx context.Context) ResourceArrayOutput
type ResourceArrayInput ¶
type ResourceArrayInput interface {
pulumi.Input
ToResourceArrayOutput() ResourceArrayOutput
ToResourceArrayOutputWithContext(context.Context) ResourceArrayOutput
}
ResourceArrayInput is an input type that accepts ResourceArray and ResourceArrayOutput values. You can construct a concrete instance of `ResourceArrayInput` via:
ResourceArray{ ResourceArgs{...} }
type ResourceArrayOutput ¶
type ResourceArrayOutput struct{ *pulumi.OutputState }
func (ResourceArrayOutput) ElementType ¶
func (ResourceArrayOutput) ElementType() reflect.Type
func (ResourceArrayOutput) Index ¶
func (o ResourceArrayOutput) Index(i pulumi.IntInput) ResourceOutput
func (ResourceArrayOutput) ToResourceArrayOutput ¶
func (o ResourceArrayOutput) ToResourceArrayOutput() ResourceArrayOutput
func (ResourceArrayOutput) ToResourceArrayOutputWithContext ¶
func (o ResourceArrayOutput) ToResourceArrayOutputWithContext(ctx context.Context) ResourceArrayOutput
type ResourceInput ¶
type ResourceInput interface {
pulumi.Input
ToResourceOutput() ResourceOutput
ToResourceOutputWithContext(ctx context.Context) ResourceOutput
}
type ResourceMap ¶
type ResourceMap map[string]ResourceInput
func (ResourceMap) ElementType ¶
func (ResourceMap) ElementType() reflect.Type
func (ResourceMap) ToResourceMapOutput ¶
func (i ResourceMap) ToResourceMapOutput() ResourceMapOutput
func (ResourceMap) ToResourceMapOutputWithContext ¶
func (i ResourceMap) ToResourceMapOutputWithContext(ctx context.Context) ResourceMapOutput
type ResourceMapInput ¶
type ResourceMapInput interface {
pulumi.Input
ToResourceMapOutput() ResourceMapOutput
ToResourceMapOutputWithContext(context.Context) ResourceMapOutput
}
ResourceMapInput is an input type that accepts ResourceMap and ResourceMapOutput values. You can construct a concrete instance of `ResourceMapInput` via:
ResourceMap{ "key": ResourceArgs{...} }
type ResourceMapOutput ¶
type ResourceMapOutput struct{ *pulumi.OutputState }
func (ResourceMapOutput) ElementType ¶
func (ResourceMapOutput) ElementType() reflect.Type
func (ResourceMapOutput) MapIndex ¶
func (o ResourceMapOutput) MapIndex(k pulumi.StringInput) ResourceOutput
func (ResourceMapOutput) ToResourceMapOutput ¶
func (o ResourceMapOutput) ToResourceMapOutput() ResourceMapOutput
func (ResourceMapOutput) ToResourceMapOutputWithContext ¶
func (o ResourceMapOutput) ToResourceMapOutputWithContext(ctx context.Context) ResourceMapOutput
type ResourceOutput ¶
type ResourceOutput struct{ *pulumi.OutputState }
func (ResourceOutput) ElementType ¶
func (ResourceOutput) ElementType() reflect.Type
func (ResourceOutput) SampleAttribute ¶
func (o ResourceOutput) SampleAttribute() pulumi.StringPtrOutput
Sample attribute.
func (ResourceOutput) ToResourceOutput ¶
func (o ResourceOutput) ToResourceOutput() ResourceOutput
func (ResourceOutput) ToResourceOutputWithContext ¶
func (o ResourceOutput) ToResourceOutputWithContext(ctx context.Context) ResourceOutput
type ResourceState ¶
type ResourceState struct {
// Sample attribute.
SampleAttribute pulumi.StringPtrInput
}
func (ResourceState) ElementType ¶
func (ResourceState) ElementType() reflect.Type