azure-native.policyinsights.listRemediationDeploymentsAtManagementGroup
Explore with Pulumi AI
Gets all deployments for a remediation at management group scope.
Uses Azure REST API version 2024-10-01.
Other available API versions: 2021-10-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native policyinsights [ApiVersion]
. See the version guide for details.
Using listRemediationDeploymentsAtManagementGroup
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 listRemediationDeploymentsAtManagementGroup(args: ListRemediationDeploymentsAtManagementGroupArgs, opts?: InvokeOptions): Promise<ListRemediationDeploymentsAtManagementGroupResult>
function listRemediationDeploymentsAtManagementGroupOutput(args: ListRemediationDeploymentsAtManagementGroupOutputArgs, opts?: InvokeOptions): Output<ListRemediationDeploymentsAtManagementGroupResult>
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[InvokeOptions] = None) -> ListRemediationDeploymentsAtManagementGroupResult
def list_remediation_deployments_at_management_group_output(management_group_id: Optional[pulumi.Input[str]] = None,
management_groups_namespace: Optional[pulumi.Input[str]] = None,
remediation_name: Optional[pulumi.Input[str]] = None,
top: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListRemediationDeploymentsAtManagementGroupResult]
func ListRemediationDeploymentsAtManagementGroup(ctx *Context, args *ListRemediationDeploymentsAtManagementGroupArgs, opts ...InvokeOption) (*ListRemediationDeploymentsAtManagementGroupResult, error)
func ListRemediationDeploymentsAtManagementGroupOutput(ctx *Context, args *ListRemediationDeploymentsAtManagementGroupOutputArgs, opts ...InvokeOption) ListRemediationDeploymentsAtManagementGroupResultOutput
> Note: This function is named ListRemediationDeploymentsAtManagementGroup
in the Go SDK.
public static class ListRemediationDeploymentsAtManagementGroup
{
public static Task<ListRemediationDeploymentsAtManagementGroupResult> InvokeAsync(ListRemediationDeploymentsAtManagementGroupArgs args, InvokeOptions? opts = null)
public static Output<ListRemediationDeploymentsAtManagementGroupResult> Invoke(ListRemediationDeploymentsAtManagementGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListRemediationDeploymentsAtManagementGroupResult> listRemediationDeploymentsAtManagementGroup(ListRemediationDeploymentsAtManagementGroupArgs args, InvokeOptions options)
public static Output<ListRemediationDeploymentsAtManagementGroupResult> listRemediationDeploymentsAtManagementGroup(ListRemediationDeploymentsAtManagementGroupArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:policyinsights:listRemediationDeploymentsAtManagementGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Management
Group Id This property is required. Changes to this property will trigger replacement.
- Management group ID.
- Management
Groups Namespace This property is required. Changes to this property will trigger replacement.
- The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
- Remediation
Name This property is required. Changes to this property will trigger replacement.
- The name of the remediation.
- Top int
- Maximum number of records to return.
- Management
Group Id This property is required. Changes to this property will trigger replacement.
- Management group ID.
- Management
Groups Namespace This property is required. Changes to this property will trigger replacement.
- The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
- Remediation
Name This property is required. Changes to this property will trigger replacement.
- The name of the remediation.
- Top int
- Maximum number of records to return.
- management
Group Id This property is required. Changes to this property will trigger replacement.
- Management group ID.
- management
Groups Namespace This property is required. Changes to this property will trigger replacement.
- The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
- remediation
Name This property is required. Changes to this property will trigger replacement.
- The name of the remediation.
- top Integer
- Maximum number of records to return.
- management
Group Id This property is required. Changes to this property will trigger replacement.
- Management group ID.
- management
Groups Namespace This property is required. Changes to this property will trigger replacement.
- The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
- remediation
Name This property is required. Changes to this property will trigger replacement.
- The name of the remediation.
- top number
- Maximum number of records to return.
- management_
group_ id This property is required. Changes to this property will trigger replacement.
- Management group ID.
- management_
groups_ namespace This property is required. Changes to this property will trigger replacement.
- The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
- remediation_
name This property is required. Changes to this property will trigger replacement.
- The name of the remediation.
- top int
- Maximum number of records to return.
- management
Group Id This property is required. Changes to this property will trigger replacement.
- Management group ID.
- management
Groups Namespace This property is required. Changes to this property will trigger replacement.
- The namespace for Microsoft Management RP; only "Microsoft.Management" is allowed.
- remediation
Name This property is required. Changes to this property will trigger replacement.
- The name of the remediation.
- top Number
- Maximum number of records to return.
listRemediationDeploymentsAtManagementGroup Result
The following output properties are available:
- Next
Link string - The URL to get the next set of results.
- Value
List<Pulumi.
Azure Native. Policy Insights. Outputs. Remediation Deployment Response> - Array of deployments for the remediation.
- Next
Link string - The URL to get the next set of results.
- Value
[]Remediation
Deployment Response - Array of deployments for the remediation.
- next
Link String - The URL to get the next set of results.
- value
List<Remediation
Deployment Response> - Array of deployments for the remediation.
- next
Link string - The URL to get the next set of results.
- value
Remediation
Deployment Response[] - Array of deployments for the remediation.
- next_
link str - The URL to get the next set of results.
- value
Sequence[Remediation
Deployment Response] - Array of deployments for the remediation.
- next
Link String - The URL to get the next set of results.
- value List<Property Map>
- Array of deployments for the remediation.
Supporting Types
ErrorDefinitionResponse
- Additional
Info This property is required. List<Pulumi.Azure Native. Policy Insights. Inputs. Typed Error Info Response> - Additional scenario specific error details.
- Code
This property is required. string - Service specific error code which serves as the substatus for the HTTP error code.
- Details
This property is required. List<Pulumi.Azure Native. Policy Insights. Inputs. Error Definition Response> - Internal error details.
- Message
This property is required. string - Description of the error.
- Target
This property is required. string - The target of the error.
- Additional
Info This property is required. []TypedError Info Response - Additional scenario specific error details.
- Code
This property is required. string - Service specific error code which serves as the substatus for the HTTP error code.
- Details
This property is required. []ErrorDefinition Response - Internal error details.
- Message
This property is required. string - Description of the error.
- Target
This property is required. string - The target of the error.
- additional
Info This property is required. List<TypedError Info Response> - Additional scenario specific error details.
- code
This property is required. String - Service specific error code which serves as the substatus for the HTTP error code.
- details
This property is required. List<ErrorDefinition Response> - Internal error details.
- message
This property is required. String - Description of the error.
- target
This property is required. String - The target of the error.
- additional
Info This property is required. TypedError Info Response[] - Additional scenario specific error details.
- code
This property is required. string - Service specific error code which serves as the substatus for the HTTP error code.
- details
This property is required. ErrorDefinition Response[] - Internal error details.
- message
This property is required. string - Description of the error.
- target
This property is required. string - The target of the error.
- additional_
info This property is required. Sequence[TypedError Info Response] - Additional scenario specific error details.
- code
This property is required. str - Service specific error code which serves as the substatus for the HTTP error code.
- details
This property is required. Sequence[ErrorDefinition Response] - Internal error details.
- message
This property is required. str - Description of the error.
- target
This property is required. str - The target of the error.
- additional
Info This property is required. List<Property Map> - Additional scenario specific error details.
- code
This property is required. String - Service specific error code which serves as the substatus for the HTTP error code.
- details
This property is required. List<Property Map> - Internal error details.
- message
This property is required. String - Description of the error.
- target
This property is required. String - The target of the error.
RemediationDeploymentResponse
- Created
On This property is required. string - The time at which the remediation was created.
- Deployment
Id This property is required. string - Resource ID of the template deployment that will remediate the resource.
- Error
This property is required. Pulumi.Azure Native. Policy Insights. Inputs. Error Definition Response - Error encountered while remediated the resource.
- Last
Updated On This property is required. string - The time at which the remediation deployment was last updated.
- Remediated
Resource Id This property is required. string - Resource ID of the resource that is being remediated by the deployment.
- Resource
Location This property is required. string - Location of the resource that is being remediated.
- Status
This property is required. string - Status of the remediation deployment.
- Created
On This property is required. string - The time at which the remediation was created.
- Deployment
Id This property is required. string - Resource ID of the template deployment that will remediate the resource.
- Error
This property is required. ErrorDefinition Response - Error encountered while remediated the resource.
- Last
Updated On This property is required. string - The time at which the remediation deployment was last updated.
- Remediated
Resource Id This property is required. string - Resource ID of the resource that is being remediated by the deployment.
- Resource
Location This property is required. string - Location of the resource that is being remediated.
- Status
This property is required. string - Status of the remediation deployment.
- created
On This property is required. String - The time at which the remediation was created.
- deployment
Id This property is required. String - Resource ID of the template deployment that will remediate the resource.
- error
This property is required. ErrorDefinition Response - Error encountered while remediated the resource.
- last
Updated On This property is required. String - The time at which the remediation deployment was last updated.
- remediated
Resource Id This property is required. String - Resource ID of the resource that is being remediated by the deployment.
- resource
Location This property is required. String - Location of the resource that is being remediated.
- status
This property is required. String - Status of the remediation deployment.
- created
On This property is required. string - The time at which the remediation was created.
- deployment
Id This property is required. string - Resource ID of the template deployment that will remediate the resource.
- error
This property is required. ErrorDefinition Response - Error encountered while remediated the resource.
- last
Updated On This property is required. string - The time at which the remediation deployment was last updated.
- remediated
Resource Id This property is required. string - Resource ID of the resource that is being remediated by the deployment.
- resource
Location This property is required. string - Location of the resource that is being remediated.
- status
This property is required. string - Status of the remediation deployment.
- created_
on This property is required. str - The time at which the remediation was created.
- deployment_
id This property is required. str - Resource ID of the template deployment that will remediate the resource.
- error
This property is required. ErrorDefinition Response - Error encountered while remediated the resource.
- last_
updated_ on This property is required. str - The time at which the remediation deployment was last updated.
- remediated_
resource_ id This property is required. str - Resource ID of the resource that is being remediated by the deployment.
- resource_
location This property is required. str - Location of the resource that is being remediated.
- status
This property is required. str - Status of the remediation deployment.
- created
On This property is required. String - The time at which the remediation was created.
- deployment
Id This property is required. String - Resource ID of the template deployment that will remediate the resource.
- error
This property is required. Property Map - Error encountered while remediated the resource.
- last
Updated On This property is required. String - The time at which the remediation deployment was last updated.
- remediated
Resource Id This property is required. String - Resource ID of the resource that is being remediated by the deployment.
- resource
Location This property is required. String - Location of the resource that is being remediated.
- status
This property is required. String - Status of the remediation deployment.
TypedErrorInfoResponse
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0