Documentation ¶
Overview ¶
A Pulumi package for creating and managing xyz cloud resources.
Index ¶
- type DataSourceArgs
- type DataSourceOutputArgs
- type DataSourceResult
- type DataSourceResultOutput
- func (DataSourceResultOutput) ElementType() reflect.Type
- func (o DataSourceResultOutput) Id() pulumi.StringOutput
- func (o DataSourceResultOutput) SampleAttribute() pulumi.StringOutput
- func (o DataSourceResultOutput) ToDataSourceResultOutput() DataSourceResultOutput
- func (o DataSourceResultOutput) ToDataSourceResultOutputWithContext(ctx context.Context) DataSourceResultOutput
- 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 DataSourceArgs ¶
type DataSourceArgs struct {
SampleAttribute string `pulumi:"sampleAttribute"`
}
A collection of arguments for invoking DataSource.
type DataSourceOutputArgs ¶
type DataSourceOutputArgs struct {
SampleAttribute pulumi.StringInput `pulumi:"sampleAttribute"`
}
A collection of arguments for invoking DataSource.
func (DataSourceOutputArgs) ElementType ¶
func (DataSourceOutputArgs) ElementType() reflect.Type
type DataSourceResult ¶
type DataSourceResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` SampleAttribute string `pulumi:"sampleAttribute"` }
A collection of values returned by DataSource.
func DataSource ¶
func DataSource(ctx *pulumi.Context, args *DataSourceArgs, opts ...pulumi.InvokeOption) (*DataSourceResult, error)
type DataSourceResultOutput ¶
type DataSourceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by DataSource.
func DataSourceOutput ¶
func DataSourceOutput(ctx *pulumi.Context, args DataSourceOutputArgs, opts ...pulumi.InvokeOption) DataSourceResultOutput
func (DataSourceResultOutput) ElementType ¶
func (DataSourceResultOutput) ElementType() reflect.Type
func (DataSourceResultOutput) Id ¶
func (o DataSourceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (DataSourceResultOutput) SampleAttribute ¶
func (o DataSourceResultOutput) SampleAttribute() pulumi.StringOutput
func (DataSourceResultOutput) ToDataSourceResultOutput ¶
func (o DataSourceResultOutput) ToDataSourceResultOutput() DataSourceResultOutput
func (DataSourceResultOutput) ToDataSourceResultOutputWithContext ¶
func (o DataSourceResultOutput) ToDataSourceResultOutputWithContext(ctx context.Context) DataSourceResultOutput
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 { }
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