PolicyinsightsFunctions

Functions

Link copied to clipboard

Gets an existing attestation at resource scope. Uses Azure REST API version 2022-09-01. Other available API versions: 2024-10-01.

suspend fun getAttestationAtResource(attestationName: String, resourceId: String): GetAttestationAtResourceResult
Link copied to clipboard

Gets an existing attestation at resource group scope. Uses Azure REST API version 2022-09-01. Other available API versions: 2024-10-01.

suspend fun getAttestationAtResourceGroup(attestationName: String, resourceGroupName: String): GetAttestationAtResourceGroupResult
Link copied to clipboard

Gets an existing attestation at subscription scope. Uses Azure REST API version 2022-09-01. Other available API versions: 2024-10-01.

Link copied to clipboard

Gets an existing remediation at management group scope. Uses Azure REST API version 2021-10-01. Other available API versions: 2024-10-01.

suspend fun getRemediationAtManagementGroup(managementGroupId: String, managementGroupsNamespace: String, remediationName: String): GetRemediationAtManagementGroupResult
Link copied to clipboard

Gets an existing remediation at resource scope. Uses Azure REST API version 2021-10-01. Other available API versions: 2024-10-01.

suspend fun getRemediationAtResource(remediationName: String, resourceId: String): GetRemediationAtResourceResult
Link copied to clipboard

Gets an existing remediation at resource group scope. Uses Azure REST API version 2021-10-01. Other available API versions: 2024-10-01.

suspend fun getRemediationAtResourceGroup(remediationName: String, resourceGroupName: String): GetRemediationAtResourceGroupResult
Link copied to clipboard

Gets an existing remediation at subscription scope. Uses Azure REST API version 2021-10-01. Other available API versions: 2024-10-01.

Gets all deployments for a remediation at management group scope. Uses Azure REST API version 2021-10-01. Other available API versions: 2024-10-01.

suspend fun listRemediationDeploymentsAtManagementGroup(managementGroupId: String, managementGroupsNamespace: String, remediationName: String, top: Int? = null): ListRemediationDeploymentsAtManagementGroupResult
Link copied to clipboard

Gets all deployments for a remediation at resource scope. Uses Azure REST API version 2021-10-01. Other available API versions: 2024-10-01.

suspend fun listRemediationDeploymentsAtResource(remediationName: String, resourceId: String, top: Int? = null): ListRemediationDeploymentsAtResourceResult

Gets all deployments for a remediation at resource group scope. Uses Azure REST API version 2021-10-01. Other available API versions: 2024-10-01.

suspend fun listRemediationDeploymentsAtResourceGroup(remediationName: String, resourceGroupName: String, top: Int? = null): ListRemediationDeploymentsAtResourceGroupResult
Link copied to clipboard

Gets all deployments for a remediation at subscription scope. Uses Azure REST API version 2021-10-01. Other available API versions: 2024-10-01.