azure-native.maintenance.getConfigurationAssignment
Explore with Pulumi AI
Get configuration assignment for resource..
Uses Azure REST API version 2023-10-01-preview.
Other available API versions: 2022-11-01-preview, 2023-04-01, 2023-09-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native maintenance [ApiVersion]. See the version guide for details.
Using getConfigurationAssignment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConfigurationAssignment(args: GetConfigurationAssignmentArgs, opts?: InvokeOptions): Promise<GetConfigurationAssignmentResult>
function getConfigurationAssignmentOutput(args: GetConfigurationAssignmentOutputArgs, opts?: InvokeOptions): Output<GetConfigurationAssignmentResult>def get_configuration_assignment(configuration_assignment_name: Optional[str] = None,
                                 provider_name: Optional[str] = None,
                                 resource_group_name: Optional[str] = None,
                                 resource_name: Optional[str] = None,
                                 resource_type: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetConfigurationAssignmentResult
def get_configuration_assignment_output(configuration_assignment_name: Optional[pulumi.Input[str]] = None,
                                 provider_name: Optional[pulumi.Input[str]] = None,
                                 resource_group_name: Optional[pulumi.Input[str]] = None,
                                 resource_name: Optional[pulumi.Input[str]] = None,
                                 resource_type: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetConfigurationAssignmentResult]func LookupConfigurationAssignment(ctx *Context, args *LookupConfigurationAssignmentArgs, opts ...InvokeOption) (*LookupConfigurationAssignmentResult, error)
func LookupConfigurationAssignmentOutput(ctx *Context, args *LookupConfigurationAssignmentOutputArgs, opts ...InvokeOption) LookupConfigurationAssignmentResultOutput> Note: This function is named LookupConfigurationAssignment in the Go SDK.
public static class GetConfigurationAssignment 
{
    public static Task<GetConfigurationAssignmentResult> InvokeAsync(GetConfigurationAssignmentArgs args, InvokeOptions? opts = null)
    public static Output<GetConfigurationAssignmentResult> Invoke(GetConfigurationAssignmentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetConfigurationAssignmentResult> getConfigurationAssignment(GetConfigurationAssignmentArgs args, InvokeOptions options)
public static Output<GetConfigurationAssignmentResult> getConfigurationAssignment(GetConfigurationAssignmentArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:maintenance:getConfigurationAssignment
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Configuration
Assignment stringName  - Configuration assignment name
 - Provider
Name string - Resource provider name
 - Resource
Group stringName  - Resource group name
 - Resource
Name string - Resource identifier
 - Resource
Type string - Resource type
 
- Configuration
Assignment stringName  - Configuration assignment name
 - Provider
Name string - Resource provider name
 - Resource
Group stringName  - Resource group name
 - Resource
Name string - Resource identifier
 - Resource
Type string - Resource type
 
- configuration
Assignment StringName  - Configuration assignment name
 - provider
Name String - Resource provider name
 - resource
Group StringName  - Resource group name
 - resource
Name String - Resource identifier
 - resource
Type String - Resource type
 
- configuration
Assignment stringName  - Configuration assignment name
 - provider
Name string - Resource provider name
 - resource
Group stringName  - Resource group name
 - resource
Name string - Resource identifier
 - resource
Type string - Resource type
 
- configuration_
assignment_ strname  - Configuration assignment name
 - provider_
name str - Resource provider name
 - resource_
group_ strname  - Resource group name
 - resource_
name str - Resource identifier
 - resource_
type str - Resource type
 
- configuration
Assignment StringName  - Configuration assignment name
 - provider
Name String - Resource provider name
 - resource
Group StringName  - Resource group name
 - resource
Name String - Resource identifier
 - resource
Type String - Resource type
 
getConfigurationAssignment Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - Fully qualified identifier of the resource
 - Name string
 - Name of the resource
 - System
Data Pulumi.Azure Native. Maintenance. Outputs. System Data Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - Type string
 - Type of the resource
 - Filter
Pulumi.
Azure Native. Maintenance. Outputs. Configuration Assignment Filter Properties Response  - Properties of the configuration assignment
 - Location string
 - Location of the resource
 - Maintenance
Configuration stringId  - The maintenance configuration Id
 - Resource
Id string - The unique resourceId
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - Fully qualified identifier of the resource
 - Name string
 - Name of the resource
 - System
Data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - Type string
 - Type of the resource
 - Filter
Configuration
Assignment Filter Properties Response  - Properties of the configuration assignment
 - Location string
 - Location of the resource
 - Maintenance
Configuration stringId  - The maintenance configuration Id
 - Resource
Id string - The unique resourceId
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - Fully qualified identifier of the resource
 - name String
 - Name of the resource
 - system
Data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type String
 - Type of the resource
 - filter
Configuration
Assignment Filter Properties Response  - Properties of the configuration assignment
 - location String
 - Location of the resource
 - maintenance
Configuration StringId  - The maintenance configuration Id
 - resource
Id String - The unique resourceId
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - id string
 - Fully qualified identifier of the resource
 - name string
 - Name of the resource
 - system
Data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type string
 - Type of the resource
 - filter
Configuration
Assignment Filter Properties Response  - Properties of the configuration assignment
 - location string
 - Location of the resource
 - maintenance
Configuration stringId  - The maintenance configuration Id
 - resource
Id string - The unique resourceId
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - id str
 - Fully qualified identifier of the resource
 - name str
 - Name of the resource
 - system_
data SystemData Response  - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type str
 - Type of the resource
 - filter
Configuration
Assignment Filter Properties Response  - Properties of the configuration assignment
 - location str
 - Location of the resource
 - maintenance_
configuration_ strid  - The maintenance configuration Id
 - resource_
id str - The unique resourceId
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - Fully qualified identifier of the resource
 - name String
 - Name of the resource
 - system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
 - type String
 - Type of the resource
 - filter Property Map
 - Properties of the configuration assignment
 - location String
 - Location of the resource
 - maintenance
Configuration StringId  - The maintenance configuration Id
 - resource
Id String - The unique resourceId
 
Supporting Types
ConfigurationAssignmentFilterPropertiesResponse    
- Locations List<string>
 - List of locations to scope the query to.
 - Os
Types List<string> - List of allowed operating systems.
 - Resource
Groups List<string> - List of allowed resource groups.
 - Resource
Types List<string> - List of allowed resources.
 - 
Pulumi.
Azure Native. Maintenance. Inputs. Tag Settings Properties Response  - Tag settings for the VM.
 
- Locations []string
 - List of locations to scope the query to.
 - Os
Types []string - List of allowed operating systems.
 - Resource
Groups []string - List of allowed resource groups.
 - Resource
Types []string - List of allowed resources.
 - 
Tag
Settings Properties Response  - Tag settings for the VM.
 
- locations List<String>
 - List of locations to scope the query to.
 - os
Types List<String> - List of allowed operating systems.
 - resource
Groups List<String> - List of allowed resource groups.
 - resource
Types List<String> - List of allowed resources.
 - 
Tag
Settings Properties Response  - Tag settings for the VM.
 
- locations string[]
 - List of locations to scope the query to.
 - os
Types string[] - List of allowed operating systems.
 - resource
Groups string[] - List of allowed resource groups.
 - resource
Types string[] - List of allowed resources.
 - 
Tag
Settings Properties Response  - Tag settings for the VM.
 
- locations Sequence[str]
 - List of locations to scope the query to.
 - os_
types Sequence[str] - List of allowed operating systems.
 - resource_
groups Sequence[str] - List of allowed resource groups.
 - resource_
types Sequence[str] - List of allowed resources.
 - tag_
settings TagSettings Properties Response  - Tag settings for the VM.
 
- locations List<String>
 - List of locations to scope the query to.
 - os
Types List<String> - List of allowed operating systems.
 - resource
Groups List<String> - List of allowed resource groups.
 - resource
Types List<String> - List of allowed resources.
 - Property Map
 - Tag settings for the VM.
 
SystemDataResponse  
- Created
At string - The timestamp of resource creation (UTC).
 - Created
By string - The identity that created the resource.
 - Created
By stringType  - The type of identity that created the resource.
 - Last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - Last
Modified stringBy  - The identity that last modified the resource.
 - Last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- Created
At string - The timestamp of resource creation (UTC).
 - Created
By string - The identity that created the resource.
 - Created
By stringType  - The type of identity that created the resource.
 - Last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - Last
Modified stringBy  - The identity that last modified the resource.
 - Last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- created
At String - The timestamp of resource creation (UTC).
 - created
By String - The identity that created the resource.
 - created
By StringType  - The type of identity that created the resource.
 - last
Modified StringAt  - The timestamp of resource last modification (UTC)
 - last
Modified StringBy  - The identity that last modified the resource.
 - last
Modified StringBy Type  - The type of identity that last modified the resource.
 
- created
At string - The timestamp of resource creation (UTC).
 - created
By string - The identity that created the resource.
 - created
By stringType  - The type of identity that created the resource.
 - last
Modified stringAt  - The timestamp of resource last modification (UTC)
 - last
Modified stringBy  - The identity that last modified the resource.
 - last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- created_
at str - The timestamp of resource creation (UTC).
 - created_
by str - The identity that created the resource.
 - created_
by_ strtype  - The type of identity that created the resource.
 - last_
modified_ strat  - The timestamp of resource last modification (UTC)
 - last_
modified_ strby  - The identity that last modified the resource.
 - last_
modified_ strby_ type  - The type of identity that last modified the resource.
 
- created
At String - The timestamp of resource creation (UTC).
 - created
By String - The identity that created the resource.
 - created
By StringType  - The type of identity that created the resource.
 - last
Modified StringAt  - The timestamp of resource last modification (UTC)
 - last
Modified StringBy  - The identity that last modified the resource.
 - last
Modified StringBy Type  - The type of identity that last modified the resource.
 
TagSettingsPropertiesResponse   
- Filter
Operator string - Filter VMs by Any or All specified tags.
 - 
Dictionary<string, Immutable
Array<string>>  - Dictionary of tags with its list of values.
 
- Filter
Operator string - Filter VMs by Any or All specified tags.
 - map[string][]string
 - Dictionary of tags with its list of values.
 
- filter
Operator String - Filter VMs by Any or All specified tags.
 - Map<String,List<String>>
 - Dictionary of tags with its list of values.
 
- filter
Operator string - Filter VMs by Any or All specified tags.
 - {[key: string]: string[]}
 - Dictionary of tags with its list of values.
 
- filter_
operator str - Filter VMs by Any or All specified tags.
 - Mapping[str, Sequence[str]]
 - Dictionary of tags with its list of values.
 
- filter
Operator String - Filter VMs by Any or All specified tags.
 - Map<List<String>>
 - Dictionary of tags with its list of values.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0