sdk/python/pulumi_azure_nextgen/policyinsights/latest/list_remediation_deployments_at_management_group.py
def list_remediation_deployments_at_management_group(management_group_id: Optional[str] = None,
                                                     management_groups_namespace: Optional[str] = None,
                                                     remediation_name: Optional[str] = None,
                                                     top: Optional[int] = None,
                                                     opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListRemediationDeploymentsAtManagementGroupResult:
    """
    List of deployments for a remediation.
    Latest API Version: 2019-07-01.


    :param str management_group_id: Management group ID.
    :param str management_groups_namespace: The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
    :param str remediation_name: The name of the remediation.
    :param int top: Maximum number of records to return.
    """
    pulumi.log.warn("list_remediation_deployments_at_management_group is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:policyinsights:listRemediationDeploymentsAtManagementGroup'.")
    __args__ = dict()
    __args__['managementGroupId'] = management_group_id
    __args__['managementGroupsNamespace'] = management_groups_namespace
    __args__['remediationName'] = remediation_name
    __args__['top'] = top
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-nextgen:policyinsights/latest:listRemediationDeploymentsAtManagementGroup', __args__, opts=opts, typ=ListRemediationDeploymentsAtManagementGroupResult).value

    return AwaitableListRemediationDeploymentsAtManagementGroupResult(
        next_link=__ret__.next_link,
        value=__ret__.value)

    List of deployments for a remediation.
    Latest API Version: 2019-07-01.


    :param str management_group_id: Management group ID.
    :param str management_groups_namespace: The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
    :param str remediation_name: The name of the remediation.
    :param int top: Maximum number of records to return.
    
List of deployments for a remediation.
List of deployments for a remediation .
def list_remediation_deployments_at_management_group(management_group_id: Optional[str] = None,
                                                     management_groups_namespace: Optional[str] = None,
                                                     remediation_name: Optional[str] = None,
                                                     top: Optional[int] = None,
                                                     opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListRemediationDeploymentsAtManagementGroupResult:
    pulumi.log.warn("list_remediation_deployments_at_management_group is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:policyinsights:listRemediationDeploymentsAtManagementGroup'.")
    __args__ = dict()
    __args__['managementGroupId'] = management_group_id
    __args__['managementGroupsNamespace'] = management_groups_namespace
    __args__['remediationName'] = remediation_name
    __args__['top'] = top
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-nextgen:policyinsights/latest:listRemediationDeploymentsAtManagementGroup', __args__, opts=opts, typ=ListRemediationDeploymentsAtManagementGroupResult).value
    return AwaitableListRemediationDeploymentsAtManagementGroupResult(
        next_link=__ret__.next_link,
        value=__ret__.value)
def list_remediation_deployments_at_management_group ( management_group_id : Optional [ str ] = None , management_groups_namespace : Optional [ str ] = None , remediation_name : Optional [ str ] = None , top : Optional [ int ] = None , opts : Optional [ pulumi . InvokeOptions ] = None ) -> AwaitableListRemediationDeploymentsAtManagementGroupResult : pulumi . log . warn ( "list_remediation_deployments_at_management_group is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:policyinsights:listRemediationDeploymentsAtManagementGroup'." ) __args__ = dict ( ) __args__ [ 'managementGroupId' ] = management_group_id __args__ [ 'managementGroupsNamespace' ] = management_groups_namespace __args__ [ 'remediationName' ] = remediation_name __args__ [ 'top' ] = top if opts is None : opts = pulumi . InvokeOptions ( ) if opts . version is None : opts . version = _utilities . get_version ( ) __ret__ = pulumi . runtime . invoke ( 'azure-nextgen:policyinsights/latest:listRemediationDeploymentsAtManagementGroup' , __args__ , opts = opts , typ = ListRemediationDeploymentsAtManagementGroupResult ) . value return AwaitableListRemediationDeploymentsAtManagementGroupResult ( next_link = __ret__ . next_link , value = __ret__ . value )
List of deployments for a remediation.
List of deployments for a remediation .
"""
    List of deployments for a remediation.
    Latest API Version: 2019-07-01.


    :param str management_group_id: Management group ID.
    :param str management_groups_namespace: The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
    :param str remediation_name: The name of the remediation.
    :param int top: Maximum number of records to return.
    """
management_group_id
Optional[str]
Management group ID.
Management group ID .
management_groups_namespace
Optional[str]
The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
The namespace for Microsoft Management RP ; only " Microsoft . Management " is allowed .
remediation_name
Optional[str]
The name of the remediation.
The name of the remediation .
top
Optional[int]
Maximum number of records to return.
Maximum number of records to return .
opts
Optional[pulumi.InvokeOptions]