This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.policyinsights.listRemediationDeploymentsAtSubscription
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Gets all deployments for a remediation at subscription scope. Azure REST API version: 2021-10-01.
Other available API versions: 2018-07-01-preview.
Using listRemediationDeploymentsAtSubscription
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 listRemediationDeploymentsAtSubscription(args: ListRemediationDeploymentsAtSubscriptionArgs, opts?: InvokeOptions): Promise<ListRemediationDeploymentsAtSubscriptionResult>
function listRemediationDeploymentsAtSubscriptionOutput(args: ListRemediationDeploymentsAtSubscriptionOutputArgs, opts?: InvokeOptions): Output<ListRemediationDeploymentsAtSubscriptionResult>
def list_remediation_deployments_at_subscription(remediation_name: Optional[str] = None,
top: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> ListRemediationDeploymentsAtSubscriptionResult
def list_remediation_deployments_at_subscription_output(remediation_name: Optional[pulumi.Input[str]] = None,
top: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListRemediationDeploymentsAtSubscriptionResult]
func ListRemediationDeploymentsAtSubscription(ctx *Context, args *ListRemediationDeploymentsAtSubscriptionArgs, opts ...InvokeOption) (*ListRemediationDeploymentsAtSubscriptionResult, error)
func ListRemediationDeploymentsAtSubscriptionOutput(ctx *Context, args *ListRemediationDeploymentsAtSubscriptionOutputArgs, opts ...InvokeOption) ListRemediationDeploymentsAtSubscriptionResultOutput
> Note: This function is named ListRemediationDeploymentsAtSubscription
in the Go SDK.
public static class ListRemediationDeploymentsAtSubscription
{
public static Task<ListRemediationDeploymentsAtSubscriptionResult> InvokeAsync(ListRemediationDeploymentsAtSubscriptionArgs args, InvokeOptions? opts = null)
public static Output<ListRemediationDeploymentsAtSubscriptionResult> Invoke(ListRemediationDeploymentsAtSubscriptionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListRemediationDeploymentsAtSubscriptionResult> listRemediationDeploymentsAtSubscription(ListRemediationDeploymentsAtSubscriptionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:policyinsights:listRemediationDeploymentsAtSubscription
arguments:
# arguments dictionary
The following arguments are supported:
- Remediation
Name string - The name of the remediation.
- Top int
- Maximum number of records to return.
- Remediation
Name string - The name of the remediation.
- Top int
- Maximum number of records to return.
- remediation
Name String - The name of the remediation.
- top Integer
- Maximum number of records to return.
- remediation
Name string - The name of the remediation.
- top number
- Maximum number of records to return.
- remediation_
name str - The name of the remediation.
- top int
- Maximum number of records to return.
- remediation
Name String - The name of the remediation.
- top Number
- Maximum number of records to return.
listRemediationDeploymentsAtSubscription 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 List<Pulumi.Azure Native. Policy Insights. Inputs. Typed Error Info Response> - Additional scenario specific error details.
- Code string
- Service specific error code which serves as the substatus for the HTTP error code.
- Details
List<Pulumi.
Azure Native. Policy Insights. Inputs. Error Definition Response> - Internal error details.
- Message string
- Description of the error.
- Target string
- The target of the error.
- Additional
Info []TypedError Info Response - Additional scenario specific error details.
- Code string
- Service specific error code which serves as the substatus for the HTTP error code.
- Details
[]Error
Definition Response - Internal error details.
- Message string
- Description of the error.
- Target string
- The target of the error.
- additional
Info List<TypedError Info Response> - Additional scenario specific error details.
- code String
- Service specific error code which serves as the substatus for the HTTP error code.
- details
List<Error
Definition Response> - Internal error details.
- message String
- Description of the error.
- target String
- The target of the error.
- additional
Info TypedError Info Response[] - Additional scenario specific error details.
- code string
- Service specific error code which serves as the substatus for the HTTP error code.
- details
Error
Definition Response[] - Internal error details.
- message string
- Description of the error.
- target string
- The target of the error.
- additional_
info Sequence[TypedError Info Response] - Additional scenario specific error details.
- code str
- Service specific error code which serves as the substatus for the HTTP error code.
- details
Sequence[Error
Definition Response] - Internal error details.
- message str
- Description of the error.
- target str
- The target of the error.
- additional
Info List<Property Map> - Additional scenario specific error details.
- code String
- Service specific error code which serves as the substatus for the HTTP error code.
- details List<Property Map>
- Internal error details.
- message String
- Description of the error.
- target String
- The target of the error.
RemediationDeploymentResponse
- Created
On string - The time at which the remediation was created.
- Deployment
Id string - Resource ID of the template deployment that will remediate the resource.
- Error
Pulumi.
Azure Native. Policy Insights. Inputs. Error Definition Response - Error encountered while remediated the resource.
- Last
Updated stringOn - The time at which the remediation deployment was last updated.
- Remediated
Resource stringId - Resource ID of the resource that is being remediated by the deployment.
- Resource
Location string - Location of the resource that is being remediated.
- Status string
- Status of the remediation deployment.
- Created
On string - The time at which the remediation was created.
- Deployment
Id string - Resource ID of the template deployment that will remediate the resource.
- Error
Error
Definition Response - Error encountered while remediated the resource.
- Last
Updated stringOn - The time at which the remediation deployment was last updated.
- Remediated
Resource stringId - Resource ID of the resource that is being remediated by the deployment.
- Resource
Location string - Location of the resource that is being remediated.
- Status string
- Status of the remediation deployment.
- created
On String - The time at which the remediation was created.
- deployment
Id String - Resource ID of the template deployment that will remediate the resource.
- error
Error
Definition Response - Error encountered while remediated the resource.
- last
Updated StringOn - The time at which the remediation deployment was last updated.
- remediated
Resource StringId - Resource ID of the resource that is being remediated by the deployment.
- resource
Location String - Location of the resource that is being remediated.
- status String
- Status of the remediation deployment.
- created
On string - The time at which the remediation was created.
- deployment
Id string - Resource ID of the template deployment that will remediate the resource.
- error
Error
Definition Response - Error encountered while remediated the resource.
- last
Updated stringOn - The time at which the remediation deployment was last updated.
- remediated
Resource stringId - Resource ID of the resource that is being remediated by the deployment.
- resource
Location string - Location of the resource that is being remediated.
- status string
- Status of the remediation deployment.
- created_
on str - The time at which the remediation was created.
- deployment_
id str - Resource ID of the template deployment that will remediate the resource.
- error
Error
Definition Response - Error encountered while remediated the resource.
- last_
updated_ stron - The time at which the remediation deployment was last updated.
- remediated_
resource_ strid - Resource ID of the resource that is being remediated by the deployment.
- resource_
location str - Location of the resource that is being remediated.
- status str
- Status of the remediation deployment.
- created
On String - The time at which the remediation was created.
- deployment
Id String - Resource ID of the template deployment that will remediate the resource.
- error Property Map
- Error encountered while remediated the resource.
- last
Updated StringOn - The time at which the remediation deployment was last updated.
- remediated
Resource StringId - Resource ID of the resource that is being remediated by the deployment.
- resource
Location String - Location of the resource that is being remediated.
- status String
- Status of the remediation deployment.
TypedErrorInfoResponse
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 v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi