get Workspace Policy
Get the policy configuration at the API level. Uses Azure REST API version 2022-09-01-preview. Other available API versions: 2023-03-01-preview, 2023-05-01-preview, 2023-09-01-preview, 2024-05-01, 2024-06-01-preview.
Return
Policy Contract details.
Parameters
argument
null
suspend fun getWorkspacePolicy(format: String? = null, policyId: String, resourceGroupName: String, serviceName: String, workspaceId: String): GetWorkspacePolicyResult
Return
Policy Contract details.
Parameters
format
Policy Export Format.
policy Id
The identifier of the Policy.
resource Group Name
The name of the resource group. The name is case insensitive.
service Name
The name of the API Management service.
workspace Id
Workspace identifier. Must be unique in the current API Management service instance.
See also
suspend fun getWorkspacePolicy(argument: suspend GetWorkspacePolicyPlainArgsBuilder.() -> Unit): GetWorkspacePolicyResult
Return
Policy Contract details.
Parameters
argument
Builder for com.pulumi.azurenative.apimanagement.kotlin.inputs.GetWorkspacePolicyPlainArgs.