Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Publish private branch 'daorozcoABACGA' #19937

Merged
merged 25 commits into from
Jul 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,249 @@
{
"swagger": "2.0",
"info": {
"title": "AuthorizationManagementClient",
"version": "2022-04-01",
"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": "../../../../../common-types/resource-management/v2/types.json#/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"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"List provider operations metadata for resource provider": {
"$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": "../../../../../common-types/resource-management/v2/types.json#/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"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"List provider operations metadata for all resource providers": {
"$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"
},
"x-ms-identifiers": [],
"description": "The resource type operations."
}
},
"type": "object",
"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."
}
},
"type": "object",
"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"
},
"x-ms-identifiers": [
"name"
],
"description": "The provider resource types"
},
"operations": {
"type": "array",
"items": {
"$ref": "#/definitions/ProviderOperation"
},
"x-ms-identifiers": [],
"description": "The provider operations."
}
},
"type": "object",
"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."
}
},
"type": "object",
"description": "Provider operations metadata list"
}
},
"parameters": {
"ResourceProviderNamespaceParameter": {
"name": "resourceProviderNamespace",
"in": "path",
"required": true,
"type": "string",
"description": "The namespace of the resource provider.",
"x-ms-skip-url-encoding": true,
"x-ms-parameter-location": "method"
}
}
}
Loading