Documentation
¶
Overview ¶
A Pulumi package for creating and managing registry cloud resources.
Index ¶
- func PkgVersion() (semver.Version, error)
- type LookupRegistryResourceResult
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (o ProviderOutput) AzureClientId() pulumi.StringOutput
- func (o ProviderOutput) AzureClientSecret() pulumi.StringOutput
- func (o ProviderOutput) AzureTenantId() pulumi.StringOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) RegistryBaseUrl() pulumi.StringOutput
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- type RegistryResource
- type RegistryResourceArgs
- type RegistryResourceArray
- type RegistryResourceArrayInput
- type RegistryResourceArrayOutput
- func (RegistryResourceArrayOutput) ElementType() reflect.Type
- func (o RegistryResourceArrayOutput) Index(i pulumi.IntInput) RegistryResourceOutput
- func (o RegistryResourceArrayOutput) ToRegistryResourceArrayOutput() RegistryResourceArrayOutput
- func (o RegistryResourceArrayOutput) ToRegistryResourceArrayOutputWithContext(ctx context.Context) RegistryResourceArrayOutput
- type RegistryResourceInput
- type RegistryResourceMap
- type RegistryResourceMapInput
- type RegistryResourceMapOutput
- func (RegistryResourceMapOutput) ElementType() reflect.Type
- func (o RegistryResourceMapOutput) MapIndex(k pulumi.StringInput) RegistryResourceOutput
- func (o RegistryResourceMapOutput) ToRegistryResourceMapOutput() RegistryResourceMapOutput
- func (o RegistryResourceMapOutput) ToRegistryResourceMapOutputWithContext(ctx context.Context) RegistryResourceMapOutput
- type RegistryResourceOutput
- func (RegistryResourceOutput) ElementType() reflect.Type
- func (o RegistryResourceOutput) Name() pulumi.StringOutput
- func (o RegistryResourceOutput) ToRegistryResourceOutput() RegistryResourceOutput
- func (o RegistryResourceOutput) ToRegistryResourceOutputWithContext(ctx context.Context) RegistryResourceOutput
- type RegistryResourceState
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 LookupRegistryResourceResult ¶
A collection of values returned by GetRegistryResource.
func LookupRegistryResource ¶
func LookupRegistryResource(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*LookupRegistryResourceResult, error)
type Provider ¶
type Provider struct { pulumi.ProviderResourceState AzureClientId pulumi.StringOutput `pulumi:"azureClientId"` AzureClientSecret pulumi.StringOutput `pulumi:"azureClientSecret"` AzureTenantId pulumi.StringOutput `pulumi:"azureTenantId"` RegistryBaseUrl pulumi.StringOutput `pulumi:"registryBaseUrl"` }
The provider type for the registry 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 { AzureClientId pulumi.StringInput AzureClientSecret pulumi.StringInput AzureTenantId pulumi.StringInput RegistryBaseUrl pulumi.StringInput }
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) AzureClientId ¶
func (o ProviderOutput) AzureClientId() pulumi.StringOutput
func (ProviderOutput) AzureClientSecret ¶
func (o ProviderOutput) AzureClientSecret() pulumi.StringOutput
func (ProviderOutput) AzureTenantId ¶
func (o ProviderOutput) AzureTenantId() pulumi.StringOutput
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) RegistryBaseUrl ¶
func (o ProviderOutput) RegistryBaseUrl() pulumi.StringOutput
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type RegistryResource ¶
type RegistryResource struct { pulumi.CustomResourceState Name pulumi.StringOutput `pulumi:"name"` }
func GetRegistryResource ¶
func GetRegistryResource(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RegistryResourceState, opts ...pulumi.ResourceOption) (*RegistryResource, error)
GetRegistryResource gets an existing RegistryResource 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 NewRegistryResource ¶
func NewRegistryResource(ctx *pulumi.Context, name string, args *RegistryResourceArgs, opts ...pulumi.ResourceOption) (*RegistryResource, error)
NewRegistryResource registers a new resource with the given unique name, arguments, and options.
func (*RegistryResource) ElementType ¶
func (*RegistryResource) ElementType() reflect.Type
func (*RegistryResource) ToRegistryResourceOutput ¶
func (i *RegistryResource) ToRegistryResourceOutput() RegistryResourceOutput
func (*RegistryResource) ToRegistryResourceOutputWithContext ¶
func (i *RegistryResource) ToRegistryResourceOutputWithContext(ctx context.Context) RegistryResourceOutput
type RegistryResourceArgs ¶
type RegistryResourceArgs struct {
Name pulumi.StringInput
}
The set of arguments for constructing a RegistryResource resource.
func (RegistryResourceArgs) ElementType ¶
func (RegistryResourceArgs) ElementType() reflect.Type
type RegistryResourceArray ¶
type RegistryResourceArray []RegistryResourceInput
func (RegistryResourceArray) ElementType ¶
func (RegistryResourceArray) ElementType() reflect.Type
func (RegistryResourceArray) ToRegistryResourceArrayOutput ¶
func (i RegistryResourceArray) ToRegistryResourceArrayOutput() RegistryResourceArrayOutput
func (RegistryResourceArray) ToRegistryResourceArrayOutputWithContext ¶
func (i RegistryResourceArray) ToRegistryResourceArrayOutputWithContext(ctx context.Context) RegistryResourceArrayOutput
type RegistryResourceArrayInput ¶
type RegistryResourceArrayInput interface { pulumi.Input ToRegistryResourceArrayOutput() RegistryResourceArrayOutput ToRegistryResourceArrayOutputWithContext(context.Context) RegistryResourceArrayOutput }
RegistryResourceArrayInput is an input type that accepts RegistryResourceArray and RegistryResourceArrayOutput values. You can construct a concrete instance of `RegistryResourceArrayInput` via:
RegistryResourceArray{ RegistryResourceArgs{...} }
type RegistryResourceArrayOutput ¶
type RegistryResourceArrayOutput struct{ *pulumi.OutputState }
func (RegistryResourceArrayOutput) ElementType ¶
func (RegistryResourceArrayOutput) ElementType() reflect.Type
func (RegistryResourceArrayOutput) Index ¶
func (o RegistryResourceArrayOutput) Index(i pulumi.IntInput) RegistryResourceOutput
func (RegistryResourceArrayOutput) ToRegistryResourceArrayOutput ¶
func (o RegistryResourceArrayOutput) ToRegistryResourceArrayOutput() RegistryResourceArrayOutput
func (RegistryResourceArrayOutput) ToRegistryResourceArrayOutputWithContext ¶
func (o RegistryResourceArrayOutput) ToRegistryResourceArrayOutputWithContext(ctx context.Context) RegistryResourceArrayOutput
type RegistryResourceInput ¶
type RegistryResourceInput interface { pulumi.Input ToRegistryResourceOutput() RegistryResourceOutput ToRegistryResourceOutputWithContext(ctx context.Context) RegistryResourceOutput }
type RegistryResourceMap ¶
type RegistryResourceMap map[string]RegistryResourceInput
func (RegistryResourceMap) ElementType ¶
func (RegistryResourceMap) ElementType() reflect.Type
func (RegistryResourceMap) ToRegistryResourceMapOutput ¶
func (i RegistryResourceMap) ToRegistryResourceMapOutput() RegistryResourceMapOutput
func (RegistryResourceMap) ToRegistryResourceMapOutputWithContext ¶
func (i RegistryResourceMap) ToRegistryResourceMapOutputWithContext(ctx context.Context) RegistryResourceMapOutput
type RegistryResourceMapInput ¶
type RegistryResourceMapInput interface { pulumi.Input ToRegistryResourceMapOutput() RegistryResourceMapOutput ToRegistryResourceMapOutputWithContext(context.Context) RegistryResourceMapOutput }
RegistryResourceMapInput is an input type that accepts RegistryResourceMap and RegistryResourceMapOutput values. You can construct a concrete instance of `RegistryResourceMapInput` via:
RegistryResourceMap{ "key": RegistryResourceArgs{...} }
type RegistryResourceMapOutput ¶
type RegistryResourceMapOutput struct{ *pulumi.OutputState }
func (RegistryResourceMapOutput) ElementType ¶
func (RegistryResourceMapOutput) ElementType() reflect.Type
func (RegistryResourceMapOutput) MapIndex ¶
func (o RegistryResourceMapOutput) MapIndex(k pulumi.StringInput) RegistryResourceOutput
func (RegistryResourceMapOutput) ToRegistryResourceMapOutput ¶
func (o RegistryResourceMapOutput) ToRegistryResourceMapOutput() RegistryResourceMapOutput
func (RegistryResourceMapOutput) ToRegistryResourceMapOutputWithContext ¶
func (o RegistryResourceMapOutput) ToRegistryResourceMapOutputWithContext(ctx context.Context) RegistryResourceMapOutput
type RegistryResourceOutput ¶
type RegistryResourceOutput struct{ *pulumi.OutputState }
func (RegistryResourceOutput) ElementType ¶
func (RegistryResourceOutput) ElementType() reflect.Type
func (RegistryResourceOutput) Name ¶
func (o RegistryResourceOutput) Name() pulumi.StringOutput
func (RegistryResourceOutput) ToRegistryResourceOutput ¶
func (o RegistryResourceOutput) ToRegistryResourceOutput() RegistryResourceOutput
func (RegistryResourceOutput) ToRegistryResourceOutputWithContext ¶
func (o RegistryResourceOutput) ToRegistryResourceOutputWithContext(ctx context.Context) RegistryResourceOutput
type RegistryResourceState ¶
type RegistryResourceState struct {
Name pulumi.StringPtrInput
}
func (RegistryResourceState) ElementType ¶
func (RegistryResourceState) ElementType() reflect.Type