{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-resources-policysetdefinitions","description":"PolicyClient","version":"2019-06-01","base_url":"https://management.azure.com","endpoints":10,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api PolicyClient\n@base https://management.azure.com\n@version 2019-06-01\n@auth OAuth2\n@common_fields {api-version: any # The API version to use for the operation.}\n@endpoints 10\n@toc subscriptions(4), providers(6)\n\n@group subscriptions\n@endpoint PUT /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}\n@desc Creates or updates a policy set definition.\n@required {policySetDefinitionName: any # The name of the policy set definition to create., parameters: any # The policy set definition properties., subscriptionId: any # The ID of the target subscription.}\n@returns(200) OK - Returns information about the policy set definition.\n@returns(201) Created - Returns information about the policy set definition.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}\n@desc Deletes a policy set definition.\n@required {policySetDefinitionName: any # The name of the policy set definition to delete., subscriptionId: any # The ID of the target subscription.}\n@returns(200) OK\n@returns(204) No Content - the policy set definition doesn't exist in the subscription.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}\n@desc Retrieves a policy set definition.\n@required {policySetDefinitionName: any # The name of the policy set definition to get., subscriptionId: any # The ID of the target subscription.}\n@returns(200) OK - Returns information about the policy set definition.\n\n@endgroup\n\n@group providers\n@endpoint GET /providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}\n@desc Retrieves a built in policy set definition.\n@required {policySetDefinitionName: any # The name of the policy set definition to get.}\n@returns(200) OK - Returns information about the built in policy set definition.\n\n@endgroup\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions\n@desc Retrieves the policy set definitions for a subscription.\n@required {subscriptionId: any # The ID of the target subscription.}\n@returns(200) OK - Returns an array of policy set definitions.\n\n@endgroup\n\n@group providers\n@endpoint GET /providers/Microsoft.Authorization/policySetDefinitions\n@desc Retrieves built-in policy set definitions.\n@returns(200) OK - Returns an array of built in policy set definitions.\n\n@endpoint PUT /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}\n@desc Creates or updates a policy set definition.\n@required {policySetDefinitionName: any # The name of the policy set definition to create., parameters: any # The policy set definition properties., managementGroupId: any # The ID of the management group.}\n@returns(200) OK - Returns information about the policy set definition.\n@returns(201) Created - Returns information about the policy set definition.\n\n@endpoint DELETE /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}\n@desc Deletes a policy set definition.\n@required {policySetDefinitionName: any # The name of the policy set definition to delete., managementGroupId: any # The ID of the management group.}\n@returns(200) OK\n@returns(204) No Content - the policy set definition doesn't exist in the subscription.\n\n@endpoint GET /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}\n@desc Retrieves a policy set definition.\n@required {policySetDefinitionName: any # The name of the policy set definition to get., managementGroupId: any # The ID of the management group.}\n@returns(200) OK - Returns information about the policy set definition.\n\n@endpoint GET /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions\n@desc Retrieves all policy set definitions in management group.\n@required {managementGroupId: any # The ID of the management group.}\n@returns(200) OK - Returns an array of policy set definitions.\n\n@endgroup\n\n@end\n"}