1. Packages
  2. Azure Native v2
  3. API Docs
  4. maintenance
  5. getConfigurationAssignmentsForResourceGroup
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 by Pulumi

azure-native-v2.maintenance.getConfigurationAssignmentsForResourceGroup

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 by Pulumi

Get configuration assignment for resource.. Azure REST API version: 2023-04-01.

Other available API versions: 2023-09-01-preview, 2023-10-01-preview.

Using getConfigurationAssignmentsForResourceGroup

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 getConfigurationAssignmentsForResourceGroup(args: GetConfigurationAssignmentsForResourceGroupArgs, opts?: InvokeOptions): Promise<GetConfigurationAssignmentsForResourceGroupResult>
function getConfigurationAssignmentsForResourceGroupOutput(args: GetConfigurationAssignmentsForResourceGroupOutputArgs, opts?: InvokeOptions): Output<GetConfigurationAssignmentsForResourceGroupResult>
Copy
def get_configuration_assignments_for_resource_group(configuration_assignment_name: Optional[str] = None,
                                                     resource_group_name: Optional[str] = None,
                                                     opts: Optional[InvokeOptions] = None) -> GetConfigurationAssignmentsForResourceGroupResult
def get_configuration_assignments_for_resource_group_output(configuration_assignment_name: Optional[pulumi.Input[str]] = None,
                                                     resource_group_name: Optional[pulumi.Input[str]] = None,
                                                     opts: Optional[InvokeOptions] = None) -> Output[GetConfigurationAssignmentsForResourceGroupResult]
Copy
func LookupConfigurationAssignmentsForResourceGroup(ctx *Context, args *LookupConfigurationAssignmentsForResourceGroupArgs, opts ...InvokeOption) (*LookupConfigurationAssignmentsForResourceGroupResult, error)
func LookupConfigurationAssignmentsForResourceGroupOutput(ctx *Context, args *LookupConfigurationAssignmentsForResourceGroupOutputArgs, opts ...InvokeOption) LookupConfigurationAssignmentsForResourceGroupResultOutput
Copy

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

public static class GetConfigurationAssignmentsForResourceGroup 
{
    public static Task<GetConfigurationAssignmentsForResourceGroupResult> InvokeAsync(GetConfigurationAssignmentsForResourceGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetConfigurationAssignmentsForResourceGroupResult> Invoke(GetConfigurationAssignmentsForResourceGroupInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetConfigurationAssignmentsForResourceGroupResult> getConfigurationAssignmentsForResourceGroup(GetConfigurationAssignmentsForResourceGroupArgs args, InvokeOptions options)
public static Output<GetConfigurationAssignmentsForResourceGroupResult> getConfigurationAssignmentsForResourceGroup(GetConfigurationAssignmentsForResourceGroupArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:maintenance:getConfigurationAssignmentsForResourceGroup
  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
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Resource group name
ConfigurationAssignmentName
This property is required.
Changes to this property will trigger replacement.
string
Configuration assignment name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Resource group name
configurationAssignmentName
This property is required.
Changes to this property will trigger replacement.
String
Configuration assignment name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Resource group name
configurationAssignmentName
This property is required.
Changes to this property will trigger replacement.
string
Configuration assignment name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Resource group name
configuration_assignment_name
This property is required.
Changes to this property will trigger replacement.
str
Configuration assignment name
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Resource group name
configurationAssignmentName
This property is required.
Changes to this property will trigger replacement.
String
Configuration assignment name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Resource group name

getConfigurationAssignmentsForResourceGroup Result

The following output properties are available:

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
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
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
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
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
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-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.82.0 published on Friday, Jan 10, 2025 by Pulumi