Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,249 @@
{
"swagger": "2.0",
"info": {
"title": "AuthorizationManagementClient",
"version": "2018-01-01-preview",
"description": "Role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These calls handle provider operations."
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {
"/providers/Microsoft.Authorization/providerOperations/{resourceProviderNamespace}": {
"get": {
"tags": [
"ProviderOperationsMetadata"
],
"operationId": "ProviderOperationsMetadata_Get",
"description": "Gets provider operations metadata for the specified resource provider.",
"parameters": [
{
"$ref": "#/parameters/ResourceProviderNamespaceParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"default": "resourceTypes",
"description": "Specifies whether to expand the values."
}
],
"responses": {
"200": {
"description": "OK - Returns the operations metadata.",
"schema": {
"$ref": "#/definitions/ProviderOperationsMetadata"
}
}
},
"x-ms-examples": {
"GetConfigurations": {
"$ref": "./examples/GetProviderOperationsRP.json"
}
}
}
},
"/providers/Microsoft.Authorization/providerOperations": {
"get": {
"tags": [
"ProviderOperationsMetadata"
],
"operationId": "ProviderOperationsMetadata_List",
"description": "Gets provider operations metadata for all resource providers.",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"name": "$expand",
"in": "query",
"required": false,
"type": "string",
"default": "resourceTypes",
"description": "Specifies whether to expand the values."
}
],
"responses": {
"200": {
"description": "OK - Returns an array of the operations metadata.",
"schema": {
"$ref": "#/definitions/ProviderOperationsMetadataListResult"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"GetConfigurations": {
"$ref": "./examples/GetAllProviderOperations.json"
}
}
}
}
},
"definitions": {
"ResourceType": {
"properties": {
"name": {
"type": "string",
"description": "The resource type name."
},
"displayName": {
"type": "string",
"description": "The resource type display name."
},
"operations": {
"type": "array",
"items": {
"$ref": "#/definitions/ProviderOperation"
},
"description": "The resource type operations."
}
},
"description": "Resource Type"
},
"ProviderOperation": {
"properties": {
"name": {
"type": "string",
"description": "The operation name."
},
"displayName": {
"type": "string",
"description": "The operation display name."
},
"description": {
"type": "string",
"description": "The operation description."
},
"origin": {
"type": "string",
"description": "The operation origin."
},
"properties": {
"type": "object",
"x-ms-client-flatten": true,
"description": "The operation properties."
},
"isDataAction": {
"type": "boolean",
"description": "The dataAction flag to specify the operation type."
}
},
"description": "Operation"
},
"ProviderOperationsMetadata": {
"properties": {
"id": {
"type": "string",
"description": "The provider id."
},
"name": {
"type": "string",
"description": "The provider name."
},
"type": {
"type": "string",
"description": "The provider type."
},
"displayName": {
"type": "string",
"description": "The provider display name."
},
"resourceTypes": {
"type": "array",
"items": {
"$ref": "#/definitions/ResourceType"
},
"description": "The provider resource types"
},
"operations": {
"type": "array",
"items": {
"$ref": "#/definitions/ProviderOperation"
},
"description": "The provider operations."
}
},
"description": "Provider Operations metadata"
},
"ProviderOperationsMetadataListResult": {
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/ProviderOperationsMetadata"
},
"description": "The list of providers."
},
"nextLink": {
"type": "string",
"description": "The URL to use for getting the next set of results."
}
},
"description": "Provider operations metadata list"
}
},
"parameters": {
"SubscriptionIdParameter": {
"name": "subscriptionId",
"in": "path",
"required": true,
"type": "string",
"description": "The ID of the target subscription."
},
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
"required": true,
"type": "string",
"description": "The API version to use for this operation."
},
"ResourceGroupNameParameter": {
"name": "resourceGroupName",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group.",
"x-ms-parameter-location": "method"
},
"ResourceProviderNamespaceParameter": {
"name": "resourceProviderNamespace",
"in": "path",
"required": true,
"type": "string",
"description": "The namespace of the resource provider.",
"x-ms-parameter-location": "method"
}
}
}
Loading