Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { pulumi.CustomResourceState // Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the Maintenance Configuration. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the Resource Group where the Maintenance Configuration should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The scope of the Maintenance Configuration. Possible values are `All`, `Host`, `Resource` or `InResource`. Default to `All`. Scope pulumi.StringPtrOutput `pulumi:"scope"` // A mapping of tags to assign to the resource. The key could not contain upper case letter. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a maintenance configuration.
func GetConfiguration ¶
func GetConfiguration(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConfigurationState, opts ...pulumi.ResourceOption) (*Configuration, error)
GetConfiguration gets an existing Configuration 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 NewConfiguration ¶
func NewConfiguration(ctx *pulumi.Context, name string, args *ConfigurationArgs, opts ...pulumi.ResourceOption) (*Configuration, error)
NewConfiguration registers a new resource with the given unique name, arguments, and options.
type ConfigurationArgs ¶
type ConfigurationArgs struct { // Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Maintenance Configuration. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Maintenance Configuration should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // The scope of the Maintenance Configuration. Possible values are `All`, `Host`, `Resource` or `InResource`. Default to `All`. Scope pulumi.StringPtrInput // A mapping of tags to assign to the resource. The key could not contain upper case letter. Tags pulumi.StringMapInput }
The set of arguments for constructing a Configuration resource.
func (ConfigurationArgs) ElementType ¶
func (ConfigurationArgs) ElementType() reflect.Type
type ConfigurationState ¶
type ConfigurationState struct { // Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the Maintenance Configuration. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Maintenance Configuration should exist. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The scope of the Maintenance Configuration. Possible values are `All`, `Host`, `Resource` or `InResource`. Default to `All`. Scope pulumi.StringPtrInput // A mapping of tags to assign to the resource. The key could not contain upper case letter. Tags pulumi.StringMapInput }
func (ConfigurationState) ElementType ¶
func (ConfigurationState) ElementType() reflect.Type
type LookupConfigurationArgs ¶ added in v3.4.0
type LookupConfigurationArgs struct { // Specifies the name of the Maintenance Configuration. Name string `pulumi:"name"` // Specifies the name of the Resource Group where this Maintenance Configuration exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getConfiguration.
type LookupConfigurationResult ¶ added in v3.4.0
type LookupConfigurationResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure location where the resource exists. Location string `pulumi:"location"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // The scope of the Maintenance Configuration. Scope string `pulumi:"scope"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getConfiguration.
func LookupConfiguration ¶ added in v3.4.0
func LookupConfiguration(ctx *pulumi.Context, args *LookupConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupConfigurationResult, error)
Use this data source to access information about an existing Maintenance Configuration.
Click to show internal directories.
Click to hide internal directories.