1. Packages
  2. Azure Native
  3. API Docs
  4. maintenance
  5. getConfigurationAssignmentsForSubscription
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.maintenance.getConfigurationAssignmentsForSubscription

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Get configuration assignment for resource.

Uses Azure REST API version 2023-10-01-preview.

Other available API versions: 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 getConfigurationAssignmentsForSubscription

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 getConfigurationAssignmentsForSubscription(args: GetConfigurationAssignmentsForSubscriptionArgs, opts?: InvokeOptions): Promise<GetConfigurationAssignmentsForSubscriptionResult>
function getConfigurationAssignmentsForSubscriptionOutput(args: GetConfigurationAssignmentsForSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetConfigurationAssignmentsForSubscriptionResult>
Copy
def get_configuration_assignments_for_subscription(configuration_assignment_name: Optional[str] = None,
                                                   opts: Optional[InvokeOptions] = None) -> GetConfigurationAssignmentsForSubscriptionResult
def get_configuration_assignments_for_subscription_output(configuration_assignment_name: Optional[pulumi.Input[str]] = None,
                                                   opts: Optional[InvokeOptions] = None) -> Output[GetConfigurationAssignmentsForSubscriptionResult]
Copy
func LookupConfigurationAssignmentsForSubscription(ctx *Context, args *LookupConfigurationAssignmentsForSubscriptionArgs, opts ...InvokeOption) (*LookupConfigurationAssignmentsForSubscriptionResult, error)
func LookupConfigurationAssignmentsForSubscriptionOutput(ctx *Context, args *LookupConfigurationAssignmentsForSubscriptionOutputArgs, opts ...InvokeOption) LookupConfigurationAssignmentsForSubscriptionResultOutput
Copy

> Note: This function is named LookupConfigurationAssignmentsForSubscription in the Go SDK.

public static class GetConfigurationAssignmentsForSubscription 
{
    public static Task<GetConfigurationAssignmentsForSubscriptionResult> InvokeAsync(GetConfigurationAssignmentsForSubscriptionArgs args, InvokeOptions? opts = null)
    public static Output<GetConfigurationAssignmentsForSubscriptionResult> Invoke(GetConfigurationAssignmentsForSubscriptionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetConfigurationAssignmentsForSubscriptionResult> getConfigurationAssignmentsForSubscription(GetConfigurationAssignmentsForSubscriptionArgs args, InvokeOptions options)
public static Output<GetConfigurationAssignmentsForSubscriptionResult> getConfigurationAssignmentsForSubscription(GetConfigurationAssignmentsForSubscriptionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:maintenance:getConfigurationAssignmentsForSubscription
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ConfigurationAssignmentName
This property is required.
Changes to this property will trigger replacement.
string
Configuration assignment name
ConfigurationAssignmentName
This property is required.
Changes to this property will trigger replacement.
string
Configuration assignment name
configurationAssignmentName
This property is required.
Changes to this property will trigger replacement.
String
Configuration assignment name
configurationAssignmentName
This property is required.
Changes to this property will trigger replacement.
string
Configuration assignment name
configuration_assignment_name
This property is required.
Changes to this property will trigger replacement.
str
Configuration assignment name
configurationAssignmentName
This property is required.
Changes to this property will trigger replacement.
String
Configuration assignment name

getConfigurationAssignmentsForSubscription Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Id string
Fully qualified identifier of the resource
Name string
Name of the resource
SystemData Pulumi.AzureNative.Maintenance.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
Type of the resource
Filter Pulumi.AzureNative.Maintenance.Outputs.ConfigurationAssignmentFilterPropertiesResponse
Properties of the configuration assignment
Location string
Location of the resource
MaintenanceConfigurationId string
The maintenance configuration Id
ResourceId string
The unique resourceId
AzureApiVersion string
The Azure API version of the resource.
Id string
Fully qualified identifier of the resource
Name string
Name of the resource
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
Type of the resource
Filter ConfigurationAssignmentFilterPropertiesResponse
Properties of the configuration assignment
Location string
Location of the resource
MaintenanceConfigurationId string
The maintenance configuration Id
ResourceId string
The unique resourceId
azureApiVersion String
The Azure API version of the resource.
id String
Fully qualified identifier of the resource
name String
Name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
Type of the resource
filter ConfigurationAssignmentFilterPropertiesResponse
Properties of the configuration assignment
location String
Location of the resource
maintenanceConfigurationId String
The maintenance configuration Id
resourceId String
The unique resourceId
azureApiVersion string
The Azure API version of the resource.
id string
Fully qualified identifier of the resource
name string
Name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
Type of the resource
filter ConfigurationAssignmentFilterPropertiesResponse
Properties of the configuration assignment
location string
Location of the resource
maintenanceConfigurationId string
The maintenance configuration Id
resourceId string
The unique resourceId
azure_api_version str
The Azure API version of the resource.
id str
Fully qualified identifier of the resource
name str
Name of the resource
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
Type of the resource
filter ConfigurationAssignmentFilterPropertiesResponse
Properties of the configuration assignment
location str
Location of the resource
maintenance_configuration_id str
The maintenance configuration Id
resource_id str
The unique resourceId
azureApiVersion String
The Azure API version of the resource.
id String
Fully qualified identifier of the resource
name String
Name of the resource
systemData 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
maintenanceConfigurationId String
The maintenance configuration Id
resourceId String
The unique resourceId

Supporting Types

ConfigurationAssignmentFilterPropertiesResponse

Locations List<string>
List of locations to scope the query to.
OsTypes List<string>
List of allowed operating systems.
ResourceGroups List<string>
List of allowed resource groups.
ResourceTypes List<string>
List of allowed resources.
TagSettings Pulumi.AzureNative.Maintenance.Inputs.TagSettingsPropertiesResponse
Tag settings for the VM.
Locations []string
List of locations to scope the query to.
OsTypes []string
List of allowed operating systems.
ResourceGroups []string
List of allowed resource groups.
ResourceTypes []string
List of allowed resources.
TagSettings TagSettingsPropertiesResponse
Tag settings for the VM.
locations List<String>
List of locations to scope the query to.
osTypes List<String>
List of allowed operating systems.
resourceGroups List<String>
List of allowed resource groups.
resourceTypes List<String>
List of allowed resources.
tagSettings TagSettingsPropertiesResponse
Tag settings for the VM.
locations string[]
List of locations to scope the query to.
osTypes string[]
List of allowed operating systems.
resourceGroups string[]
List of allowed resource groups.
resourceTypes string[]
List of allowed resources.
tagSettings TagSettingsPropertiesResponse
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 TagSettingsPropertiesResponse
Tag settings for the VM.
locations List<String>
List of locations to scope the query to.
osTypes List<String>
List of allowed operating systems.
resourceGroups List<String>
List of allowed resource groups.
resourceTypes List<String>
List of allowed resources.
tagSettings Property Map
Tag settings for the VM.

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
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_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

TagSettingsPropertiesResponse

FilterOperator string
Filter VMs by Any or All specified tags.
Tags Dictionary<string, ImmutableArray<string>>
Dictionary of tags with its list of values.
FilterOperator string
Filter VMs by Any or All specified tags.
Tags map[string][]string
Dictionary of tags with its list of values.
filterOperator String
Filter VMs by Any or All specified tags.
tags Map<String,List<String>>
Dictionary of tags with its list of values.
filterOperator string
Filter VMs by Any or All specified tags.
tags {[key: string]: string[]}
Dictionary of tags with its list of values.
filter_operator str
Filter VMs by Any or All specified tags.
tags Mapping[str, Sequence[str]]
Dictionary of tags with its list of values.
filterOperator String
Filter VMs by Any or All specified tags.
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
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi