get Workspace Policy
Get the policy configuration at the API level. Azure REST API version: 2022-09-01-preview. Other available API versions: 2023-03-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.
See also
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.
suspend fun getWorkspacePolicy(argument: suspend GetWorkspacePolicyPlainArgsBuilder.() -> Unit): GetWorkspacePolicyResult
Return
Policy Contract details.
See also
Parameters
argument
Builder for com.pulumi.azurenative.apimanagement.kotlin.inputs.GetWorkspacePolicyPlainArgs.