get Workspace Api Policy
suspend fun getWorkspaceApiPolicy(argument: GetWorkspaceApiPolicyPlainArgs): GetWorkspaceApiPolicyResult
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 getWorkspaceApiPolicy(apiId: String, format: String? = null, policyId: String, resourceGroupName: String, serviceName: String, workspaceId: String): GetWorkspaceApiPolicyResult
Return
Policy Contract details.
See also
Parameters
api Id
API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.
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 getWorkspaceApiPolicy(argument: suspend GetWorkspaceApiPolicyPlainArgsBuilder.() -> Unit): GetWorkspaceApiPolicyResult
Return
Policy Contract details.
See also
Parameters
argument
Builder for com.pulumi.azurenative.apimanagement.kotlin.inputs.GetWorkspaceApiPolicyPlainArgs.