diff --git a/.gitignore b/.gitignore
index 9ec00d3de5f0..d207c334e7e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -44,10 +44,6 @@ Icon
# Thumbnails
._*
-# Ignore repo files
-/scripts/stostools/restoredPackages
-/scripts/stostools/restoredpackages
-
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
diff --git a/.travis.yml b/.travis.yml
index 4d9c410fa6c6..2131da6736f1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,12 @@ env:
matrix:
- MODE=branchStrategy
- MODE=syntax CHECK_NAME="Syntax Validator"
+ - MODE=python CHECK_NAME="SDK Generation - Python"
+ - MODE=node CHECK_NAME="SDK Generation - Node"
+ - MODE=typescript CHECK_NAME="SDK Generation - TypeScript"
+ - MODE=ruby CHECK_NAME="SDK Generation - Ruby"
+ - MODE=java CHECK_NAME="SDK Generation - Java"
+ - MODE=go CHECK_NAME="SDK Generation - Go"
- MODE=semantic PR_ONLY=true CHECK_NAME="Semantic Validator"
- MODE=semantic PR_ONLY=false
- MODE=model PR_ONLY=true CHECK_NAME="Model Validator"
@@ -16,12 +22,41 @@ env:
matrix:
fast_finish: true
allow_failures:
+ - env: MODE=node CHECK_NAME="SDK Generation - Node"
+ - env: MODE=typescript CHECK_NAME="SDK Generation - TypeScript"
+ - env: MODE=ruby CHECK_NAME="SDK Generation - Ruby"
+ - env: MODE=java CHECK_NAME="SDK Generation - Java"
+ - env: MODE=go CHECK_NAME="SDK Generation - Go"
- env: MODE=semantic PR_ONLY=false
- env: MODE=model PR_ONLY=false
- env: MODE=model PR_ONLY=true CHECK_NAME="Model Validator"
- env: MODE=BreakingChange PR_ONLY=true CHECK_NAME="Breaking Changes"
install: true
script:
+ - >-
+ if [[ $MODE == 'python' ]]; then
+ travis_wait 30 scripts/swagger-to-sdk.sh Azure/azure-sdk-for-python -v
+ fi
+ - >-
+ if [[ $MODE == 'node' ]]; then
+ travis_wait 30 scripts/swagger-to-sdk.sh Azure/azure-sdk-for-node -v
+ fi
+ - >-
+ if [[ $MODE == 'typescript' ]]; then
+ travis_wait 30 scripts/swagger-to-sdk.sh Azure/azure-sdk-for-js -v
+ fi
+ - >-
+ if [[ $MODE == 'ruby' ]]; then
+ travis_wait 30 scripts/swagger-to-sdk.sh Azure/azure-sdk-for-ruby -v
+ fi
+ - >-
+ if [[ $MODE == 'go' ]]; then
+ travis_wait 30 scripts/swagger-to-sdk.sh Azure/azure-sdk-for-go -o latest -v
+ fi
+ - >-
+ if [[ $MODE == 'java' ]]; then
+ travis_wait 30 scripts/swagger-to-sdk.sh Azure/azure-sdk-for-java -v
+ fi
- >-
if [[ $MODE == 'branchStrategy' ]]; then
# Check to ensure CI is not executing for a PR against the master branch in the private repository
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 1730048a9262..04b77da908e6 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -56,7 +56,6 @@ jobs:
displayName: 'Model Validation'
- job: "BreakingChange"
- condition: "not(variables['PRIVATE'])"
pool:
vmImage: 'Ubuntu 16.04'
steps:
@@ -70,7 +69,6 @@ jobs:
displayName: 'Breaking Changes'
- job: "LintDiff"
- condition: "not(variables['PRIVATE'])"
variables:
NODE_OPTIONS: '--max-old-space-size=8192'
pool:
diff --git a/package.json b/package.json
index 0b20617cdb24..fbc3783ec923 100644
--- a/package.json
+++ b/package.json
@@ -13,21 +13,21 @@
"@microsoft.azure/async-io": "^1.0.21",
"@microsoft.azure/literate": "^1.0.21",
"@microsoft.azure/polyfill": "^1.0.17",
- "@ts-common/commonmark-to-markdown": "^1.1.10",
+ "@ts-common/commonmark-to-markdown": "^1.1.9",
"@ts-common/fs": "0.1.0",
"@types/js-yaml": "^3.12.0",
"fs-extra": "^3.0.1",
"glob": "^5.0.14",
- "js-yaml": "^3.12.2",
+ "js-yaml": "^3.8.2",
"json-schema-ref-parser": "^3.1.2",
"mocha": "*",
- "@azure/oad": "0.2.0",
- "oav": "^0.14.5",
+ "oad": "0.1.12",
+ "oav": "^0.13.4",
"request": "^2.61.0",
"request-promise-native": "^1.0.5",
"typescript": "^3.2.4",
- "z-schema": "^3.25.1",
- "ts-node": "^8.0.3"
+ "z-schema": "^3.25.0",
+ "ts-node": "^8.0.1"
},
"dependencies": {
"@octokit/rest": "^15.2.6"
diff --git a/scripts/breaking-change.js b/scripts/breaking-change.js
index 08fea52dfa30..e6f9ff6b161d 100644
--- a/scripts/breaking-change.js
+++ b/scripts/breaking-change.js
@@ -7,7 +7,7 @@ const utils = require('../test/util/utils'),
fs = require('fs-extra'),
os = require('os'),
exec = require('util').promisify(require('child_process').exec),
- oad = require('@azure/oad');
+ oad = require('oad');
// This map is used to store the mapping between files resolved and stored location
var resolvedMapForNewSpecs = {};
diff --git a/scripts/momentOfTruth.js b/scripts/momentOfTruth.js
index 754e26a9e38e..3d0c36bdf071 100644
--- a/scripts/momentOfTruth.js
+++ b/scripts/momentOfTruth.js
@@ -64,7 +64,11 @@ async function getLinterResult(swaggerPath) {
throw new Error("AutoRest failed");
}
- let resultString = stdout + stderr;
+ if (stderr !== "") {
+ console.error(`Error: ${stderr}`)
+ process.exit(1)
+ }
+ let resultString = stdout;
if (resultString.indexOf('{') !== -1) {
resultString = resultString.replace(/Processing batch task - {.*} \.\n/g, "");
resultString = "[" + resultString.substring(resultString.indexOf('{')).trim().replace(/\}\n\{/g, "},\n{") + "]";
diff --git a/scripts/stostools/Directory.Build.props b/scripts/stostools/Directory.Build.props
deleted file mode 100644
index 72ce43bc9d3e..000000000000
--- a/scripts/stostools/Directory.Build.props
+++ /dev/null
@@ -1,132 +0,0 @@
-
-
- $(MSBuildThisFileDirectory)
- .\
- $([System.IO.Path]::GetFullPath($(CurrentDir)).Trim('\'))
-
-
- $(RepoRootAbspath)
- $(RepoRoot)\src
- $(RepoRoot)\tools
- $(RepoRoot)\eng
- $(RepoToolsDir)\LocalNugetFeed
- $(RepoEngDir)\alias
- $(RepoToolsDir)\NugetExe
- $(RepoSrcDir)\NugetToolsPackage
- $(RepoRoot)\restoredPackages
-
-
-
- false
-
-
-
- $(RepoSrcDir)\CI
- $(RepoCISrcDir)\CI.Common
- $(RepoCISrcDir)\CI.BuildTasks
- $(NugPkgSrcDir)\CI.Tools.Package
- $(CINugPkgSrcDir)\build\tasks
- $(CIBuildOutputDir)\netstandard2.0
-
-
-
- $(RepoSrcDir)\SwaggerToSdk
- $(RepoSToSSrcDir)\Common\SToS.Common
- $(RepoSToSSrcDir)\BuildTasks\SToS.BuildTasks
- $(NugPkgSrcDir)\SwaggerToSdk.Tools.Package
- $(SToSNugPkgSrcRootDir)\build
- $(SToSNugPkgSrcDir)\Sdk
- $(SToSNugPkgSrcDir)\tasks
- $(SToSBuildOutputDir)\netstandard2.0
- $(SToSBuildOutputDir)\net461
-
-
-
- Debug
- AnyCPU
-
-
-
-
- $(MSBuildRuntimeType)
- netstandard2.0
- net461
-
-
- true
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- true
- true
- true
- false
-
-
-
-
- currentUser.props
- $(LocalDevUserBootstrapDirPath)\$(DefaultCurrentUserPropsFileName)
- $(RepoDeveloperDir)\$(UserName)\$(DefaultCurrentUserPropsFileName)
-
-
-
-
- $(UserName)
- $(LocalDevUser).bootStrap.targets
- $(RepoDeveloperDir)\$(LocalDevUser)\$(DefaultCurrentUserPropsFileName)
-
-
-
- $(RepoDeveloperDir)\$(LocalDevUser)
- $(LocalDevUserTargetsDir)\$(DefaultCurrentuserTargetsFileName)
- $(LocalDevUserBootstrapDirPath)\currentUser.props
-
- $(SToSNugPkgSdkDir)\SToS.props
-
-
-
-
-
- true
- true
- true
- false
- false
-
-
\ No newline at end of file
diff --git a/scripts/stostools/LaunchSToS.bat b/scripts/stostools/LaunchSToS.bat
deleted file mode 100644
index 27b6263a8a05..000000000000
--- a/scripts/stostools/LaunchSToS.bat
+++ /dev/null
@@ -1,31 +0,0 @@
-@echo OFF
-
-set StartupProj=%1
-set PrNumber=%2
-set LastGithubCommitId=%3
-set GitHubUrl=%4
-set TriggerComment=%5
-set DebugMode=%6
-set LogVerbosity=%7
-
-if "%VSWHERE%"=="" set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
-
-for /f "usebackq tokens=*" %%i in (`"%VSWHERE%" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
- set InstallDir=%%i
-)
-
-CALL "%InstallDir%\Common7\Tools\VsDevCmd.bat"
-
-echo StartupProj: %StartupProj%
-echo Pr#: %PrNumber%
-echo Last Commit Id: %LastGithubCommitId%
-echo GitHub Url: %GitHubUrl%
-echo Trigger Comment: %TriggerComment%
-echo DebugMode: %DebugMode%
-echo Log Verbosity: %LogVerbosity%
-
-dotnet msbuild %startupProj% /t:StartNetSdkCodeGeneration /v:%LogVerbosity% /p:githubprnumber=%PrNumber% /p:githubcommitid=%LastGithubCommitId% /p:giturl=%GitHubUrl% /p:DebugMode=%DebugMode% /p:triggercomment=%TriggerComment%
-
-REM dotnet msbuild stos.proj /t:StartNetSdkCodeGeneration /v:N /p:githubprnumber=63 /p:githubcommitid=b5ee45302838515adc14857ed45c44ed99a1e517 /p:giturl=https://github.com/Azure/AzSwaggerSpecsTestClone /p:DebugMode=false /p:triggercomment=startbuild
-REM LaunchSToS.bat stos.proj 63 b5ee45302838515adc14857ed45c44ed99a1e517 https://github.com/Azure/AzSwaggerSpecsTestClone startbuild false D
-REM stostools\LaunchSToS.bat SToS.proj %ghprbPullId% %ghprbActualCommit% %GIT_URL% %ghprbCommentBody% false n
diff --git a/scripts/stostools/nuget.config b/scripts/stostools/nuget.config
deleted file mode 100644
index f475a9c957d1..000000000000
--- a/scripts/stostools/nuget.config
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/scripts/stostools/stos.proj b/scripts/stostools/stos.proj
deleted file mode 100644
index ef96abcd6920..000000000000
--- a/scripts/stostools/stos.proj
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
- $(MSBuildRuntimeType)
- netstandard2.0
- net461
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/specification/EnterpriseKnowledgeGraph/resource-manager/readme.md b/specification/EnterpriseKnowledgeGraph/resource-manager/readme.md
index e2c979a5e36d..27a8d40dd344 100644
--- a/specification/EnterpriseKnowledgeGraph/resource-manager/readme.md
+++ b/specification/EnterpriseKnowledgeGraph/resource-manager/readme.md
@@ -22,8 +22,8 @@ Please also specify `--azure-libraries-for-java=?]+$",
- "x-ms-parameter-location": "method"
- },
- "ApiIdRevParameter": {
- "name": "apiId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "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.",
- "minLength": 1,
- "maxLength": 256,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
@@ -188,363 +613,6 @@
"type": "string",
"description": "Version of the API to be used with the client request."
},
- "ApiVersionSetIdParameter": {
- "name": "versionSetId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Api Version Set identifier. Must be unique in the current API Management service instance.",
- "minLength": 1,
- "maxLength": 80,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
- "AttachmentIdParameter": {
- "name": "attachmentId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Attachment identifier within an Issue. Must be unique in the current Issue.",
- "minLength": 1,
- "maxLength": 256,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
- "AuthenticationServerIdParameter": {
- "name": "authsid",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Identifier of the authorization server.",
- "minLength": 1,
- "maxLength": 80,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
- "BackendIdParameter": {
- "name": "backendId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Identifier of the Backend entity. Must be unique in the current API Management service instance.",
- "minLength": 1,
- "maxLength": 80,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
- "CacheIdParameter": {
- "name": "cacheId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Identifier of the Cache entity. Cache identifier (should be either 'default' or valid Azure region identifier).",
- "minLength": 1,
- "maxLength": 80,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
- "CertificateIdParameter": {
- "name": "certificateId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Identifier of the certificate entity. Must be unique in the current API Management service instance.",
- "minLength": 1,
- "maxLength": 80,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
- "CommentIdParameter": {
- "name": "commentId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Comment identifier within an Issue. Must be unique in the current Issue.",
- "minLength": 1,
- "maxLength": 256,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
- "ConfigurationParameter": {
- "name": "configurationName",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "configuration"
- ],
- "x-ms-enum": {
- "modelAsString": true,
- "name": "configurationIdName"
- },
- "description": "The identifier of the Git Configuration Operation.",
- "x-ms-parameter-location": "method"
- },
- "DiagnosticIdParameter": {
- "name": "diagnosticId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Diagnostic identifier. Must be unique in the current API Management service instance.",
- "minLength": 1,
- "maxLength": 80,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
- "EmailParameter": {
- "name": "email",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Email identifier.",
- "x-ms-parameter-location": "method"
- },
- "GroupIdParameter": {
- "name": "groupId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Group identifier. Must be unique in the current API Management service instance.",
- "minLength": 1,
- "maxLength": 256,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
- "IdentityProviderNameParameter": {
- "name": "identityProviderName",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "facebook",
- "google",
- "microsoft",
- "twitter",
- "aad",
- "aadB2C"
- ],
- "x-ms-enum": {
- "name": "IdentityProviderType",
- "modelAsString": true,
- "values": [
- {
- "value": "facebook",
- "description": "Facebook as Identity provider."
- },
- {
- "value": "google",
- "description": "Google as Identity provider."
- },
- {
- "value": "microsoft",
- "description": "Microsoft Live as Identity provider."
- },
- {
- "value": "twitter",
- "description": "Twitter as Identity provider."
- },
- {
- "value": "aad",
- "description": "Azure Active Directory as Identity provider."
- },
- {
- "value": "aadB2C",
- "description": "Azure Active Directory B2C as Identity provider."
- }
- ]
- },
- "description": "Identity Provider Type identifier.",
- "x-ms-parameter-location": "method"
- },
- "IfMatchOptionalParameter": {
- "name": "If-Match",
- "in": "header",
- "required": false,
- "description": "ETag of the Entity. Not required when creating an entity, but required when updating an entity.",
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "IfMatchRequiredParameter": {
- "name": "If-Match",
- "in": "header",
- "required": true,
- "description": "ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.",
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "IssueIdParameter": {
- "name": "issueId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Issue identifier. Must be unique in the current API Management service instance.",
- "minLength": 1,
- "maxLength": 256,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
- "LocationNameParameter": {
- "name": "locationName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Location in which the API Management service is deployed. This is one of the Azure Regions like West US, East US, South Central US.",
- "minLength": 1,
- "x-ms-parameter-location": "method"
- },
- "LoggerIdParameter": {
- "name": "loggerId",
- "in": "path",
- "required": true,
- "type": "string",
- "maxLength": 256,
- "pattern": "^[^*#&+:<>?]+$",
- "description": "Logger identifier. Must be unique in the API Management service instance.",
- "x-ms-parameter-location": "method"
- },
- "NotificationNameParameter": {
- "name": "notificationName",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "RequestPublisherNotificationMessage",
- "PurchasePublisherNotificationMessage",
- "NewApplicationNotificationMessage",
- "BCC",
- "NewIssuePublisherNotificationMessage",
- "AccountClosedPublisher",
- "QuotaLimitApproachingPublisherNotificationMessage"
- ],
- "x-ms-enum": {
- "name": "NotificationName",
- "modelAsString": true,
- "values": [
- {
- "value": "RequestPublisherNotificationMessage",
- "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval."
- },
- {
- "value": "PurchasePublisherNotificationMessage",
- "description": "The following email recipients and users will receive email notifications about new API product subscriptions."
- },
- {
- "value": "NewApplicationNotificationMessage",
- "description": "The following email recipients and users will receive email notifications when new applications are submitted to the application gallery."
- },
- {
- "value": "BCC",
- "description": "The following recipients will receive blind carbon copies of all emails sent to developers."
- },
- {
- "value": "NewIssuePublisherNotificationMessage",
- "description": "The following email recipients and users will receive email notifications when a new issue or comment is submitted on the developer portal."
- },
- {
- "value": "AccountClosedPublisher",
- "description": "The following email recipients and users will receive email notifications when developer closes his account."
- },
- {
- "value": "QuotaLimitApproachingPublisherNotificationMessage",
- "description": "The following email recipients and users will receive email notifications when subscription usage gets close to usage quota."
- }
- ]
- },
- "description": "Notification Name Identifier.",
- "x-ms-parameter-location": "method"
- },
- "NotifySubscriptionStateChangeParameter": {
- "name": "notify",
- "in": "query",
- "required": false,
- "type": "boolean",
- "description": "Notify change in Subscription State. \n - If false, do not send any email notification for change of state of subscription \n - If true, send email notification of change of state of subscription ",
- "x-ms-parameter-location": "method"
- },
- "OpenIdConnectIdParameter": {
- "name": "opid",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Identifier of the OpenID Connect Provider.",
- "maxLength": 256,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
- "OperationIdParameter": {
- "name": "operationId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Operation identifier within an API. Must be unique in the current API Management service instance.",
- "minLength": 1,
- "maxLength": 80,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
- "PolicyIdParameter": {
- "name": "policyId",
- "in": "path",
- "required": true,
- "type": "string",
- "enum": [
- "policy"
- ],
- "description": "The identifier of the Policy.",
- "x-ms-enum": {
- "modelAsString": true,
- "name": "PolicyIdName"
- },
- "x-ms-parameter-location": "method"
- },
- "ProductIdParameter": {
- "name": "productId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Product identifier. Must be unique in the current API Management service instance.",
- "minLength": 1,
- "maxLength": 256,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
- "PropertyIdParameter": {
- "name": "propId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Identifier of the property.",
- "maxLength": 256,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
- "QuotaCounterKeyParameter": {
- "name": "quotaCounterKey",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Quota counter key identifier.This is the result of expression defined in counter-key attribute of the quota-by-key policy.For Example, if you specify counter-key=\"boo\" in the policy, then it’s accessible by \"boo\" counter key. But if it’s defined as counter-key=\"@(\"b\"+\"a\")\" then it will be accessible by \"ba\" key",
- "x-ms-parameter-location": "method"
- },
- "QuotaPeriodKeyParameter": {
- "name": "quotaPeriodKey",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Quota period key identifier.",
- "x-ms-parameter-location": "method"
- },
- "ReleaseIdParameter": {
- "name": "releaseId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Release identifier within an API. Must be unique in the current API Management service instance.",
- "minLength": 1,
- "maxLength": 80,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
"ResourceGroupNameParameter": {
"name": "resourceGroupName",
"in": "path",
@@ -553,17 +621,6 @@
"description": "The name of the resource group.",
"x-ms-parameter-location": "method"
},
- "SchemaIdParameter": {
- "name": "schemaId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Schema identifier within an API. Must be unique in the current API Management service instance.",
- "minLength": 1,
- "maxLength": 80,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
"ServiceNameParameter": {
"name": "serviceName",
"in": "path",
@@ -585,16 +642,6 @@
"minimum": 0,
"x-ms-parameter-location": "method"
},
- "SubscriptionEntityIdParameter": {
- "name": "sid",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Subscription entity Identifier. The entity represents the association between a user and a product in API Management.",
- "maxLength": 256,
- "pattern": "^[^*#&+:<>?]+$",
- "x-ms-parameter-location": "method"
- },
"SubscriptionIdParameter": {
"name": "subscriptionId",
"in": "path",
@@ -602,64 +649,45 @@
"type": "string",
"description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
},
- "TagIdParameter": {
- "name": "tagId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Tag identifier. Must be unique in the current API Management service instance.",
- "minLength": 1,
- "maxLength": 80,
- "pattern": "^[^*#&+:<>?]+$",
+ "TopQueryParameter": {
+ "name": "$top",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "description": "Number of records to return.",
+ "minimum": 1,
"x-ms-parameter-location": "method"
},
- "TemplateNameParameter": {
- "name": "templateName",
+ "PolicyIdParameter": {
+ "name": "policyId",
"in": "path",
"required": true,
"type": "string",
"enum": [
- "applicationApprovedNotificationMessage",
- "accountClosedDeveloper",
- "quotaLimitApproachingDeveloperNotificationMessage",
- "newDeveloperNotificationMessage",
- "emailChangeIdentityDefault",
- "inviteUserNotificationMessage",
- "newCommentNotificationMessage",
- "confirmSignUpIdentityDefault",
- "newIssueNotificationMessage",
- "purchaseDeveloperNotificationMessage",
- "passwordResetIdentityDefault",
- "passwordResetByAdminNotificationMessage",
- "rejectDeveloperNotificationMessage",
- "requestDeveloperNotificationMessage"
+ "policy"
],
+ "description": "The identifier of the Policy.",
"x-ms-enum": {
- "name": "TemplateName",
- "modelAsString": true
+ "modelAsString": true,
+ "name": "PolicyIdName"
},
- "description": "Email Template Name Identifier.",
"x-ms-parameter-location": "method"
},
- "TopQueryParameter": {
- "name": "$top",
- "in": "query",
- "required": false,
- "type": "integer",
- "format": "int32",
- "description": "Number of records to return.",
- "minimum": 1,
+ "IfMatchRequiredParameter": {
+ "name": "If-Match",
+ "in": "header",
+ "required": true,
+ "description": "ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.",
+ "type": "string",
"x-ms-parameter-location": "method"
},
- "UserIdParameter": {
- "name": "userId",
- "in": "path",
- "required": true,
+ "IfMatchOptionalParameter": {
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "description": "ETag of the Entity. Not required when creating an entity, but required when updating an entity.",
"type": "string",
- "description": "User identifier. Must be unique in the current API Management service instance.",
- "minLength": 1,
- "maxLength": 80,
- "pattern": "^[^*#&+:<>?]+$",
"x-ms-parameter-location": "method"
}
}
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapis.json
index a3a79ea8a71f..a4d0066e0a17 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapis.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapis.json
@@ -37,7 +37,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis": {
"get": {
"tags": [
- "Api"
+ "Apis"
],
"operationId": "Api_ListByService",
"description": "Lists all APIs of the API Management service instance.",
@@ -61,7 +61,7 @@
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|path | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |\n| description | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |\n| serviceUrl | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |\n| path | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -70,24 +70,18 @@
"$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
},
{
- "name": "tags",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Include tags in the response."
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
"name": "expandApiVersionSet",
"in": "query",
- "required": false,
"type": "boolean",
+ "required": false,
+ "default": false,
"description": "Include full ApiVersionSet resource in response"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -113,7 +107,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}": {
"head": {
"tags": [
- "Api"
+ "Apis"
],
"operationId": "Api_GetEntityTag",
"description": "Gets the entity state (Etag) version of the API specified by its identifier.",
@@ -130,7 +124,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -159,7 +153,7 @@
},
"get": {
"tags": [
- "Api"
+ "Apis"
],
"operationId": "Api_Get",
"description": "Gets the details of the API specified by its identifier.",
@@ -187,7 +181,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -219,7 +213,7 @@
},
"put": {
"tags": [
- "Api"
+ "Apis"
],
"operationId": "Api_CreateOrUpdate",
"description": "Creates new or updates existing specified API of the API Management service instance.",
@@ -265,7 +259,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
"name": "parameters",
@@ -299,9 +293,6 @@
}
}
},
- "202": {
- "description": "Request to create or update API was accepted."
- },
"200": {
"description": "API was successfully updated.",
"schema": {
@@ -320,17 +311,16 @@
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
- },
- "x-ms-long-running-operation": true
+ }
},
"patch": {
"tags": [
- "Api"
+ "Apis"
],
"operationId": "Api_Update",
"description": "Updates the specified API of the API Management service instance.",
"x-ms-examples": {
- "ApiManagementUpdateApi": {
+ "ApiManagementUpdateApi.json": {
"$ref": "./examples/ApiManagementUpdateApi.json"
}
},
@@ -342,7 +332,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
"name": "parameters",
@@ -377,12 +367,12 @@
},
"delete": {
"tags": [
- "Api"
+ "Apis"
],
"operationId": "Api_Delete",
"description": "Deletes the specified API of the API Management service instance.",
"x-ms-examples": {
- "ApiManagementDeleteApi": {
+ "ApiManagementDeleteApi.json": {
"$ref": "./examples/ApiManagementDeleteApi.json"
}
},
@@ -394,7 +384,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
"name": "deleteRevisions",
@@ -432,7 +422,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/revisions": {
"get": {
"tags": [
- "ApiRevision"
+ "Revisions"
],
"operationId": "ApiRevisions_List",
"description": "Lists all revisions of an API.",
@@ -449,7 +439,13 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiIdParameter"
},
{
"name": "$filter",
@@ -463,12 +459,6 @@
},
{
"$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -494,7 +484,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases": {
"get": {
"tags": [
- "ApiRelease"
+ "Releases"
],
"operationId": "ApiRelease_List",
"description": "Lists all releases of an API. An API release is created when making an API Revision current. Releases are also used to rollback to previous revisions. Results will be paged and can be constrained by the $top and $skip parameters.",
@@ -511,26 +501,26 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
+ "$ref": "#/parameters/ApiIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
"name": "$filter",
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|notes | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------|------------------------|---------------------------------------------|\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n|notes|ge le eq ne gt lt|substringof contains startswith endswith|"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -556,7 +546,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}": {
"head": {
"tags": [
- "ApiRelease"
+ "Releases"
],
"operationId": "ApiRelease_GetEntityTag",
"description": "Returns the etag of an API release.",
@@ -573,21 +563,21 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ReleaseIdParameter"
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ "$ref": "#/parameters/ApiIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ "$ref": "#/parameters/ReleaseIdParameter"
}
],
"responses": {
"200": {
- "description": "Gets the entity state (Etag) version of the api release as specified by its identifier.",
+ "description": "The operation returns the details of an API Release.",
"headers": {
"ETag": {
"description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
@@ -605,7 +595,7 @@
},
"get": {
"tags": [
- "ApiRelease"
+ "Releases"
],
"operationId": "ApiRelease_Get",
"description": "Returns the details of an API release.",
@@ -622,16 +612,16 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ReleaseIdParameter"
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ "$ref": "#/parameters/ApiIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ "$ref": "#/parameters/ReleaseIdParameter"
}
],
"responses": {
@@ -639,12 +629,6 @@
"description": "The operation returns the details of an API Release.",
"schema": {
"$ref": "#/definitions/ApiReleaseContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
}
},
"default": {
@@ -657,7 +641,7 @@
},
"put": {
"tags": [
- "ApiRelease"
+ "Releases"
],
"operationId": "ApiRelease_Create",
"description": "Creates a new Release for the API.",
@@ -674,10 +658,16 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ReleaseIdParameter"
+ "$ref": "#/parameters/ReleaseIdParameter"
},
{
"name": "parameters",
@@ -687,15 +677,6 @@
"$ref": "#/definitions/ApiReleaseContract"
},
"description": "Create parameters."
- },
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -703,28 +684,16 @@
"description": "Release was successfully created.",
"schema": {
"$ref": "#/definitions/ApiReleaseContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
}
},
"200": {
"description": "Release was successfully updated.",
"schema": {
"$ref": "#/definitions/ApiReleaseContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
}
},
"default": {
- "description": "Error response describing why the operation failed.",
+ "description": "Error response describing why the release failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
@@ -733,7 +702,7 @@
},
"patch": {
"tags": [
- "ApiRelease"
+ "Releases"
],
"operationId": "ApiRelease_Update",
"description": "Updates the details of the release of the API specified by its identifier.",
@@ -750,10 +719,16 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ReleaseIdParameter"
+ "$ref": "#/parameters/ReleaseIdParameter"
},
{
"name": "parameters",
@@ -766,17 +741,11 @@
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"204": {
- "description": "Release successfully updated"
+ "description": "The operation was successfully updated."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -788,7 +757,7 @@
},
"delete": {
"tags": [
- "ApiRelease"
+ "Releases"
],
"operationId": "ApiRelease_Delete",
"description": "Deletes the specified release in the API.",
@@ -805,27 +774,27 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ReleaseIdParameter"
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
+ "$ref": "#/parameters/ApiIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ "$ref": "#/parameters/ReleaseIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
}
],
"responses": {
"200": {
- "description": "API release successfully removed"
+ "description": "The release was successfully deleted."
},
"204": {
- "description": "API release successfully removed by previous request or does not exist"
+ "description": "The release was successfully deleted."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -839,7 +808,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations": {
"get": {
"tags": [
- "ApiOperation"
+ "Operations"
],
"operationId": "ApiOperation_ListByApi",
"description": "Lists a collection of the operations for the specified API.",
@@ -856,14 +825,14 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
"name": "$filter",
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|method | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|urlTemplate | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n| name | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |\n| method | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |\n| description | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |\n| urlTemplate | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -871,12 +840,6 @@
{
"$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
},
- {
- "name": "tags",
- "in": "query",
- "required": false,
- "type": "string"
- },
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
@@ -907,7 +870,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}": {
"head": {
"tags": [
- "ApiOperation"
+ "Operations"
],
"operationId": "ApiOperation_GetEntityTag",
"description": "Gets the entity state (Etag) version of the API operation specified by its identifier.",
@@ -924,10 +887,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/OperationIdParameter"
+ "$ref": "#/parameters/OperationIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -956,7 +919,7 @@
},
"get": {
"tags": [
- "ApiOperation"
+ "Operations"
],
"operationId": "ApiOperation_Get",
"description": "Gets the details of the API Operation specified by its identifier.",
@@ -976,10 +939,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/OperationIdParameter"
+ "$ref": "#/parameters/OperationIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -1011,7 +974,7 @@
},
"put": {
"tags": [
- "ApiOperation"
+ "Operations"
],
"operationId": "ApiOperation_CreateOrUpdate",
"description": "Creates a new operation in the API or updates an existing one.",
@@ -1028,10 +991,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/OperationIdParameter"
+ "$ref": "#/parameters/OperationIdParameter"
},
{
"name": "parameters",
@@ -1057,24 +1020,12 @@
"description": "Operation was successfully created.",
"schema": {
"$ref": "#/definitions/OperationContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
}
},
"200": {
"description": "Operation was successfully updated.",
"schema": {
"$ref": "#/definitions/OperationContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
}
},
"default": {
@@ -1087,7 +1038,7 @@
},
"patch": {
"tags": [
- "ApiOperation"
+ "Operations"
],
"operationId": "ApiOperation_Update",
"description": "Updates the details of the operation in the API specified by its identifier.",
@@ -1104,10 +1055,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/OperationIdParameter"
+ "$ref": "#/parameters/OperationIdParameter"
},
{
"name": "parameters",
@@ -1142,7 +1093,7 @@
},
"delete": {
"tags": [
- "ApiOperation"
+ "Operations"
],
"operationId": "ApiOperation_Delete",
"description": "Deletes the specified operation in the API.",
@@ -1159,10 +1110,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/OperationIdParameter"
+ "$ref": "#/parameters/OperationIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
@@ -1176,10 +1127,10 @@
],
"responses": {
"200": {
- "description": "API operation successfully removed"
+ "description": "The operation was successfully deleted."
},
"204": {
- "description": "API operation successfully removed by previous request or does not exist"
+ "description": "The operation was successfully deleted."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -1193,7 +1144,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies": {
"get": {
"tags": [
- "ApiOperationPolicy"
+ "ApiOperationPolicies"
],
"operationId": "ApiOperationPolicy_ListByOperation",
"description": "Get the list of policy configuration at the API Operation level.",
@@ -1210,10 +1161,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/OperationIdParameter"
+ "$ref": "#/parameters/OperationIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -1226,7 +1177,7 @@
"200": {
"description": "Api Operations Policy Collection.",
"schema": {
- "$ref": "./apimpolicies.json#/definitions/PolicyCollection"
+ "$ref": "./apimanagement.json#/definitions/PolicyCollection"
}
},
"default": {
@@ -1241,7 +1192,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies/{policyId}": {
"head": {
"tags": [
- "ApiOperationPolicy"
+ "ApiOperationPolicies"
],
"operationId": "ApiOperationPolicy_GetEntityTag",
"description": "Gets the entity state (Etag) version of the API operation policy specified by its identifier.",
@@ -1258,10 +1209,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/OperationIdParameter"
+ "$ref": "#/parameters/OperationIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
@@ -1293,7 +1244,7 @@
},
"get": {
"tags": [
- "ApiOperationPolicy"
+ "ApiOperationPolicies"
],
"operationId": "ApiOperationPolicy_Get",
"description": "Get the policy configuration at the API Operation level.",
@@ -1310,10 +1261,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/OperationIdParameter"
+ "$ref": "#/parameters/OperationIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
@@ -1329,7 +1280,7 @@
"200": {
"description": "Api Operation Policy information.",
"schema": {
- "$ref": "./apimpolicies.json#/definitions/PolicyContract"
+ "$ref": "./apimanagement.json#/definitions/PolicyContract"
},
"headers": {
"ETag": {
@@ -1348,7 +1299,7 @@
},
"put": {
"tags": [
- "ApiOperationPolicy"
+ "ApiOperationPolicies"
],
"operationId": "ApiOperationPolicy_CreateOrUpdate",
"description": "Creates or updates policy configuration for the API Operation level.",
@@ -1365,10 +1316,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/OperationIdParameter"
+ "$ref": "#/parameters/OperationIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
@@ -1376,10 +1327,10 @@
{
"name": "parameters",
"in": "body",
- "required": true,
"schema": {
- "$ref": "./apimpolicies.json#/definitions/PolicyContract"
+ "$ref": "./apimanagement.json#/definitions/PolicyContract"
},
+ "required": true,
"description": "The policy contents to apply."
},
{
@@ -1396,25 +1347,13 @@
"201": {
"description": "Api Operation policy configuration was successfully created.",
"schema": {
- "$ref": "./apimpolicies.json#/definitions/PolicyContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "$ref": "./apimanagement.json#/definitions/PolicyContract"
}
},
"200": {
"description": "Api Operation policy configuration of the tenant was successfully updated.",
"schema": {
- "$ref": "./apimpolicies.json#/definitions/PolicyContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "$ref": "./apimanagement.json#/definitions/PolicyContract"
}
},
"default": {
@@ -1427,13 +1366,13 @@
},
"delete": {
"tags": [
- "ApiOperationPolicy"
+ "ApiOperationPolicies"
],
"operationId": "ApiOperationPolicy_Delete",
"description": "Deletes the policy configuration at the Api Operation.",
"x-ms-examples": {
- "ApiManagementDeleteApiOperationPolicy": {
- "$ref": "./examples/ApiManagementDeleteApiOperationPolicy.json"
+ "ApiManagementDeleteOperationPolicy": {
+ "$ref": "./examples/ApiManagementDeleteOperationPolicy.json"
}
},
"parameters": [
@@ -1444,16 +1383,16 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/OperationIdParameter"
+ "$ref": "#/parameters/OperationIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
+ "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
+ "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -1464,10 +1403,10 @@
],
"responses": {
"200": {
- "description": "Policy successfully removed"
+ "description": "Successfully deleted the policy configuration at the API Operation level."
},
"204": {
- "description": "Policy successfully removed by previous request or does not exist"
+ "description": "Successfully deleted the policy configuration at the API Operation level."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -1478,16 +1417,16 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/products": {
"get": {
"tags": [
- "ApiOperationTag"
+ "ApiProduct"
],
- "operationId": "Tag_ListByOperation",
- "description": "Lists all Tags associated with the Operation.",
+ "operationId": "ApiProduct_ListByApis",
+ "description": "Lists all Products, which the API is part of.",
"x-ms-examples": {
- "ApiManagementListApiOperationTags": {
- "$ref": "./examples/ApiManagementListApiOperationTags.json"
+ "ApiManagementGetProductsForApi": {
+ "$ref": "./examples/ApiManagementGetProductsForApi.json"
}
},
"parameters": [
@@ -1498,17 +1437,14 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/OperationIdParameter"
+ "$ref": "#/parameters/ApiIdParameter"
},
{
"name": "$filter",
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------|------------------------|---------------------------------------------|\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -1525,9 +1461,9 @@
],
"responses": {
"200": {
- "description": "The operation returns a collection of tags associated with the Operation entity.",
+ "description": "The operation returns a collection of products which have the Api entity.",
"schema": {
- "$ref": "./apimtags.json#/definitions/TagCollection"
+ "$ref": "./apimproducts.json#/definitions/ProductCollection"
}
},
"default": {
@@ -1540,19 +1476,19 @@
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
- "x-ms-odata": "./apimtags.json#/definitions/TagContract"
+ "x-ms-odata": "./apimproducts.json#/definitions/ProductContract"
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}": {
- "head": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies": {
+ "get": {
"tags": [
- "ApiOperationTag"
+ "ApiPolicy"
],
- "operationId": "Tag_GetEntityStateByOperation",
- "description": "Gets the entity state version of the tag specified by its identifier.",
+ "operationId": "ApiPolicy_ListByApi",
+ "description": "Get the policy configuration at the API level.",
"x-ms-examples": {
- "ApiManagementHeadApiOperationTag": {
- "$ref": "./examples/ApiManagementHeadApiOperationTag.json"
+ "ApiManagementListApiPolicies": {
+ "$ref": "./examples/ApiManagementListApiPolicies.json"
}
},
"parameters": [
@@ -1563,13 +1499,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/OperationIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -1580,7 +1510,10 @@
],
"responses": {
"200": {
- "description": "Empty response body, ETag header entity state version.",
+ "description": "Apis Policy Collection.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/PolicyCollection"
+ },
"headers": {
"ETag": {
"description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
@@ -1595,16 +1528,18 @@
}
}
}
- },
- "get": {
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies/{policyId}": {
+ "head": {
"tags": [
- "ApiOperationTag"
+ "ApiPolicy"
],
- "operationId": "Tag_GetByOperation",
- "description": "Get tag associated with the Operation.",
+ "operationId": "ApiPolicy_GetEntityTag",
+ "description": "Gets the entity state (Etag) version of the API policy specified by its identifier.",
"x-ms-examples": {
- "ApiManagementGetApiOperationTag": {
- "$ref": "./examples/ApiManagementGetApiOperationTag.json"
+ "ApiManagementHeadApiPolicy": {
+ "$ref": "./examples/ApiManagementHeadApiPolicy.json"
}
},
"parameters": [
@@ -1615,13 +1550,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/OperationIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
+ "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -1632,10 +1564,7 @@
],
"responses": {
"200": {
- "description": "Gets the details of the tag specified by its identifier.",
- "schema": {
- "$ref": "./apimtags.json#/definitions/TagContract"
- },
+ "description": "Specified API Policy entity exists and current entity state version is present in the ETag header.",
"headers": {
"ETag": {
"description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
@@ -1651,17 +1580,22 @@
}
}
},
- "put": {
+ "get": {
"tags": [
- "ApiOperationTag"
+ "ApiPolicy"
],
- "operationId": "Tag_AssignToOperation",
- "description": "Assign tag to the Operation.",
+ "operationId": "ApiPolicy_Get",
+ "description": "Get the policy configuration at the API level.",
"x-ms-examples": {
- "ApiManagementCreateApiOperationTag": {
- "$ref": "./examples/ApiManagementCreateApiOperationTag.json"
+ "ApiManagementGetApiPolicy": {
+ "$ref": "./examples/ApiManagementGetApiPolicy.json"
}
},
+ "produces": [
+ "application/json",
+ "application/vnd.ms-azure-apim.policy+xml",
+ "application/vnd.ms-azure-apim.policy.raw+xml"
+ ],
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
@@ -1670,13 +1604,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/OperationIdParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
+ "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -1686,16 +1617,16 @@
}
],
"responses": {
- "201": {
- "description": "Tag was assigned to the Operation.",
- "schema": {
- "$ref": "./apimtags.json#/definitions/TagContract"
- }
- },
"200": {
- "description": "Tag is already assigned to the Operation.",
+ "description": "Api Policy information.",
"schema": {
- "$ref": "./apimtags.json#/definitions/TagContract"
+ "$ref": "./apimanagement.json#/definitions/PolicyContract"
+ },
+ "headers": {
+ "ETag": {
+ "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
+ "type": "string"
+ }
}
},
"default": {
@@ -1706,17 +1637,25 @@
}
}
},
- "delete": {
+ "put": {
"tags": [
- "ApiOperationTag"
+ "ApiPolicy"
],
- "operationId": "Tag_DetachFromOperation",
- "description": "Detach the tag from the Operation.",
+ "operationId": "ApiPolicy_CreateOrUpdate",
+ "description": "Creates or updates policy configuration for the API.",
"x-ms-examples": {
- "ApiManagementDeleteApiOperationTag": {
- "$ref": "./examples/ApiManagementDeleteApiOperationTag.json"
+ "ApiManagementCreateApiPolicy": {
+ "$ref": "./examples/ApiManagementCreateApiPolicy.json"
+ },
+ "ApiManagementCreateApiPolicyNonXmlEncoded": {
+ "$ref": "./examples/ApiManagementCreateApiPolicyNonXmlEncoded.json"
}
},
+ "consumes": [
+ "application/json",
+ "application/vnd.ms-azure-apim.policy+xml",
+ "application/vnd.ms-azure-apim.policy.raw+xml"
+ ],
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
@@ -1725,13 +1664,22 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/OperationIdParameter"
+ "name": "parameters",
+ "in": "body",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/PolicyContract"
+ },
+ "required": true,
+ "description": "The policy contents to apply."
},
{
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
+ "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -1741,11 +1689,17 @@
}
],
"responses": {
- "200": {
- "description": "Tag was successfully removed from Operation"
+ "201": {
+ "description": "Api policy configuration was successfully created.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/PolicyContract"
+ }
},
- "204": {
- "description": "Tag successfully removed by previous request or does not exist in Operation"
+ "200": {
+ "description": "Api policy configuration of the tenant was successfully updated.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/PolicyContract"
+ }
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -1754,18 +1708,16 @@
}
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/products": {
- "get": {
+ },
+ "delete": {
"tags": [
- "ApiProduct"
+ "ApiPolicy"
],
- "operationId": "ApiProduct_ListByApis",
- "description": "Lists all Products, which the API is part of.",
+ "operationId": "ApiPolicy_Delete",
+ "description": "Deletes the policy configuration at the Api.",
"x-ms-examples": {
- "ApiManagementListApiProducts": {
- "$ref": "./examples/ApiManagementListApiProducts.json"
+ "ApiManagementDeleteApiPolicy": {
+ "$ref": "./examples/ApiManagementDeleteApiPolicy.json"
}
},
"parameters": [
@@ -1776,20 +1728,13 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
+ "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
+ "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -1800,10 +1745,10 @@
],
"responses": {
"200": {
- "description": "The operation returns a collection of products which have the Api entity.",
- "schema": {
- "$ref": "./apimproducts.json#/definitions/ProductCollection"
- }
+ "description": "Successfully deleted the policy configuration at the API level."
+ },
+ "204": {
+ "description": "Successfully deleted the policy configuration at the API level."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -1811,23 +1756,19 @@
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "./apimproducts.json#/definitions/ProductContract"
+ }
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas": {
"get": {
"tags": [
- "ApiPolicy"
+ "ApiSchema"
],
- "operationId": "ApiPolicy_ListByApi",
- "description": "Get the policy configuration at the API level.",
+ "operationId": "ApiSchema_ListByApi",
+ "description": "Get the schema configuration at the API level.",
"x-ms-examples": {
- "ApiManagementListApiPolicies": {
- "$ref": "./examples/ApiManagementListApiPolicies.json"
+ "ApiManagementListApiSchemas": {
+ "$ref": "./examples/ApiManagementListApiSchemas.json"
}
},
"parameters": [
@@ -1838,7 +1779,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -1849,9 +1790,15 @@
],
"responses": {
"200": {
- "description": "Apis Policy Collection.",
+ "description": "Apis Schema Collection.",
"schema": {
- "$ref": "./apimpolicies.json#/definitions/PolicyCollection"
+ "$ref": "#/definitions/SchemaCollection"
+ },
+ "headers": {
+ "ETag": {
+ "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
+ "type": "string"
+ }
}
},
"default": {
@@ -1860,19 +1807,22 @@
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies/{policyId}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}": {
"head": {
"tags": [
- "ApiPolicy"
+ "ApiSchema"
],
- "operationId": "ApiPolicy_GetEntityTag",
- "description": "Gets the entity state (Etag) version of the API policy specified by its identifier.",
+ "operationId": "ApiSchema_GetEntityTag",
+ "description": "Gets the entity state (Etag) version of the schema specified by its identifier.",
"x-ms-examples": {
- "ApiManagementHeadApiPolicy": {
- "$ref": "./examples/ApiManagementHeadApiPolicy.json"
+ "ApiManagementHeadApiSchema": {
+ "$ref": "./examples/ApiManagementHeadApiSchema.json"
}
},
"parameters": [
@@ -1883,10 +1833,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
+ "$ref": "#/parameters/SchemaIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -1897,7 +1847,7 @@
],
"responses": {
"200": {
- "description": "Specified API Policy entity exists and current entity state version is present in the ETag header.",
+ "description": "Specified schema entity exists and current entity state version is present in the ETag header.",
"headers": {
"ETag": {
"description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
@@ -1915,20 +1865,15 @@
},
"get": {
"tags": [
- "ApiPolicy"
+ "ApiSchema"
],
- "operationId": "ApiPolicy_Get",
- "description": "Get the policy configuration at the API level.",
+ "operationId": "ApiSchema_Get",
+ "description": "Get the schema configuration at the API level.",
"x-ms-examples": {
- "ApiManagementGetApiPolicy": {
- "$ref": "./examples/ApiManagementGetApiPolicy.json"
+ "ApiManagementGetApiSchema": {
+ "$ref": "./examples/ApiManagementGetApiSchema.json"
}
},
- "produces": [
- "application/json",
- "application/vnd.ms-azure-apim.policy+xml",
- "application/vnd.ms-azure-apim.policy.raw+xml"
- ],
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
@@ -1937,10 +1882,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
+ "$ref": "#/parameters/SchemaIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -1951,9 +1896,9 @@
],
"responses": {
"200": {
- "description": "Api Policy information.",
+ "description": "Api Schema information.",
"schema": {
- "$ref": "./apimpolicies.json#/definitions/PolicyContract"
+ "$ref": "#/definitions/SchemaContract"
},
"headers": {
"ETag": {
@@ -1972,23 +1917,15 @@
},
"put": {
"tags": [
- "ApiPolicy"
+ "ApiSchema"
],
- "operationId": "ApiPolicy_CreateOrUpdate",
- "description": "Creates or updates policy configuration for the API.",
+ "operationId": "ApiSchema_CreateOrUpdate",
+ "description": "Creates or updates schema configuration for the API.",
"x-ms-examples": {
- "ApiManagementCreateApiPolicy": {
- "$ref": "./examples/ApiManagementCreateApiPolicy.json"
- },
- "ApiManagementCreateApiPolicyNonXmlEncoded": {
- "$ref": "./examples/ApiManagementCreateApiPolicyNonXmlEncoded.json"
+ "ApiManagementCreateApiSchema": {
+ "$ref": "./examples/ApiManagementCreateApiSchema.json"
}
},
- "consumes": [
- "application/json",
- "application/vnd.ms-azure-apim.policy+xml",
- "application/vnd.ms-azure-apim.policy.raw+xml"
- ],
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
@@ -1997,19 +1934,19 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
+ "$ref": "#/parameters/SchemaIdParameter"
},
{
"name": "parameters",
"in": "body",
- "required": true,
"schema": {
- "$ref": "./apimpolicies.json#/definitions/PolicyContract"
+ "$ref": "#/definitions/SchemaContract"
},
- "description": "The policy contents to apply."
+ "required": true,
+ "description": "The schema contents to apply."
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
@@ -2023,27 +1960,15 @@
],
"responses": {
"201": {
- "description": "Api policy configuration was successfully created.",
+ "description": "Api schema configuration was successfully created.",
"schema": {
- "$ref": "./apimpolicies.json#/definitions/PolicyContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "$ref": "#/definitions/SchemaContract"
}
},
"200": {
- "description": "Api policy configuration of the tenant was successfully updated.",
+ "description": "Api schema configuration of the tenant was successfully updated.",
"schema": {
- "$ref": "./apimpolicies.json#/definitions/PolicyContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "$ref": "#/definitions/SchemaContract"
}
},
"default": {
@@ -2056,13 +1981,13 @@
},
"delete": {
"tags": [
- "ApiPolicy"
+ "ApiSchema"
],
- "operationId": "ApiPolicy_Delete",
- "description": "Deletes the policy configuration at the Api.",
+ "operationId": "ApiSchema_Delete",
+ "description": "Deletes the schema configuration at the Api.",
"x-ms-examples": {
- "ApiManagementDeleteApiPolicy": {
- "$ref": "./examples/ApiManagementDeleteApiPolicy.json"
+ "ApiManagementDeleteApiSchema": {
+ "$ref": "./examples/ApiManagementDeleteApiSchema.json"
}
},
"parameters": [
@@ -2073,10 +1998,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
+ "$ref": "#/parameters/SchemaIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
@@ -2090,10 +2015,10 @@
],
"responses": {
"200": {
- "description": "Successfully deleted the policy configuration at the API level."
+ "description": "Successfully deleted the schema configuration at the API level."
},
"204": {
- "description": "Successfully deleted the policy configuration at the API level."
+ "description": "Successfully deleted the schema configuration at the API level."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -2104,16 +2029,16 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apisByTags": {
"get": {
"tags": [
- "ApiSchema"
+ "ApisByTags"
],
- "operationId": "ApiSchema_ListByApi",
- "description": "Get the schema configuration at the API level.",
+ "operationId": "Api_ListByTags",
+ "description": "Lists a collection of apis associated with tags.",
"x-ms-examples": {
- "ApiManagementListApiSchemas": {
- "$ref": "./examples/ApiManagementListApiSchemas.json"
+ "ApiManagementListApisByTags": {
+ "$ref": "./examples/ApiManagementListApisByTags.json"
}
},
"parameters": [
@@ -2123,15 +2048,12 @@
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
- {
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
- },
{
"name": "$filter",
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|contentType | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| aid | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| apiRevision | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| path | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| isCurrent | eq | substringof, contains, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -2144,13 +2066,77 @@
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "includeNotTaggedApis",
+ "in": "query",
+ "type": "boolean",
+ "required": false,
+ "default": false,
+ "description": "Include not tagged apis in response"
}
],
"responses": {
"200": {
- "description": "Apis Schema Collection.",
+ "description": "Lists a collection of TagResource entities.",
"schema": {
- "$ref": "#/definitions/SchemaCollection"
+ "$ref": "./apimtagresources.json#/definitions/TagResourceCollection"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "./apimtagresources.json#/definitions/TagResourceContract"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics": {
+ "get": {
+ "tags": [
+ "ApiDiagnostics"
+ ],
+ "operationId": "ApiDiagnostic_ListByService",
+ "description": "Lists all diagnostics of an API.",
+ "x-ms-examples": {
+ "ApiManagementListApiDiagnostics": {
+ "$ref": "./examples/ApiManagementListApiDiagnostics.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Paged Result response of diagnostics for an API.",
+ "schema": {
+ "$ref": "./apimdiagnostics.json#/definitions/DiagnosticCollection"
}
},
"default": {
@@ -2162,19 +2148,20 @@
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
- }
+ },
+ "x-ms-odata": "./apimdiagnostics.json#/definitions/DiagnosticContract"
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}": {
"head": {
"tags": [
- "ApiSchema"
+ "ApiDiagnostics"
],
- "operationId": "ApiSchema_GetEntityTag",
- "description": "Gets the entity state (Etag) version of the schema specified by its identifier.",
+ "operationId": "ApiDiagnostic_GetEntityTag",
+ "description": "Gets the entity state (Etag) version of the Diagnostic for an API specified by its identifier.",
"x-ms-examples": {
- "ApiManagementHeadApiSchema": {
- "$ref": "./examples/ApiManagementHeadApiSchema.json"
+ "ApiManagementHeadApiDiagnostic": {
+ "$ref": "./examples/ApiManagementHeadApiDiagnostic.json"
}
},
"parameters": [
@@ -2185,10 +2172,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SchemaIdParameter"
+ "$ref": "./apimdiagnostics.json#/parameters/DiagnosticIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -2199,7 +2186,7 @@
],
"responses": {
"200": {
- "description": "Specified schema entity exists and current entity state version is present in the ETag header.",
+ "description": "Operation completed successfully.",
"headers": {
"ETag": {
"description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
@@ -2217,13 +2204,13 @@
},
"get": {
"tags": [
- "ApiSchema"
+ "ApiDiagnostics"
],
- "operationId": "ApiSchema_Get",
- "description": "Get the schema configuration at the API level.",
+ "operationId": "ApiDiagnostic_Get",
+ "description": "Gets the details of the Diagnostic for an API specified by its identifier.",
"x-ms-examples": {
- "ApiManagementGetApiSchema": {
- "$ref": "./examples/ApiManagementGetApiSchema.json"
+ "ApiManagementGetApiDiagnostic": {
+ "$ref": "./examples/ApiManagementGetApiDiagnostic.json"
}
},
"parameters": [
@@ -2234,10 +2221,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SchemaIdParameter"
+ "$ref": "./apimdiagnostics.json#/parameters/DiagnosticIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -2248,9 +2235,9 @@
],
"responses": {
"200": {
- "description": "Api Schema information.",
+ "description": "The response body contains the specified Diagnostic entity.",
"schema": {
- "$ref": "#/definitions/SchemaContract"
+ "$ref": "./apimdiagnostics.json#/definitions/DiagnosticContract"
},
"headers": {
"ETag": {
@@ -2269,13 +2256,13 @@
},
"put": {
"tags": [
- "ApiSchema"
+ "ApiDiagnostics"
],
- "operationId": "ApiSchema_CreateOrUpdate",
- "description": "Creates or updates schema configuration for the API.",
+ "operationId": "ApiDiagnostic_CreateOrUpdate",
+ "description": "Creates a new Diagnostic for an API or updates an existing one.",
"x-ms-examples": {
- "ApiManagementCreateApiSchema": {
- "$ref": "./examples/ApiManagementCreateApiSchema.json"
+ "ApiManagementCreateApiDiagnostic": {
+ "$ref": "./examples/ApiManagementCreateApiDiagnostic.json"
}
},
"parameters": [
@@ -2286,19 +2273,19 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SchemaIdParameter"
+ "$ref": "./apimdiagnostics.json#/parameters/DiagnosticIdParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/SchemaContract"
+ "$ref": "./apimdiagnostics.json#/definitions/DiagnosticContract"
},
- "description": "The schema contents to apply."
+ "description": "Create parameters."
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
@@ -2312,27 +2299,15 @@
],
"responses": {
"201": {
- "description": "Api schema configuration was successfully created.",
+ "description": "Diagnostic was successfully created.",
"schema": {
- "$ref": "#/definitions/SchemaContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "$ref": "./apimdiagnostics.json#/definitions/DiagnosticContract"
}
},
"200": {
- "description": "Api schema configuration of the tenant was successfully updated.",
+ "description": "Diagnostic was successfully updated.",
"schema": {
- "$ref": "#/definitions/SchemaContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "$ref": "./apimdiagnostics.json#/definitions/DiagnosticContract"
}
},
"default": {
@@ -2343,15 +2318,15 @@
}
}
},
- "delete": {
+ "patch": {
"tags": [
- "ApiSchema"
+ "ApiDiagnostics"
],
- "operationId": "ApiSchema_Delete",
- "description": "Deletes the schema configuration at the Api.",
+ "operationId": "ApiDiagnostic_Update",
+ "description": "Updates the details of the Diagnostic for an API specified by its identifier.",
"x-ms-examples": {
- "ApiManagementDeleteApiSchema": {
- "$ref": "./examples/ApiManagementDeleteApiSchema.json"
+ "ApiManagementUpdateApiDiagnostic": {
+ "$ref": "./examples/ApiManagementUpdateApiDiagnostic.json"
}
},
"parameters": [
@@ -2362,17 +2337,19 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SchemaIdParameter"
+ "$ref": "./apimdiagnostics.json#/parameters/DiagnosticIdParameter"
},
{
- "name": "force",
- "in": "query",
- "required": false,
- "type": "boolean",
- "description": "If true removes all references to the schema before deleting it."
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "./apimdiagnostics.json#/definitions/DiagnosticContract"
+ },
+ "description": "Diagnostic Update parameters."
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
@@ -2385,11 +2362,8 @@
}
],
"responses": {
- "200": {
- "description": "Successfully deleted the schema configuration at the API level."
- },
"204": {
- "description": "Successfully deleted the schema configuration at the API level."
+ "description": "The Diagnostic was successfully updated."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -2398,18 +2372,16 @@
}
}
}
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics": {
- "get": {
+ },
+ "delete": {
"tags": [
- "ApiDiagnostic"
+ "ApiDiagnostics"
],
- "operationId": "ApiDiagnostic_ListByService",
- "description": "Lists all diagnostics of an API.",
+ "operationId": "ApiDiagnostic_Delete",
+ "description": "Deletes the specified Diagnostic from an API.",
"x-ms-examples": {
- "ApiManagementListApiDiagnostics": {
- "$ref": "./examples/ApiManagementListApiDiagnostics.json"
+ "ApiManagementDeleteApiDiagnostic": {
+ "$ref": "./examples/ApiManagementDeleteApiDiagnostic.json"
}
},
"parameters": [
@@ -2420,20 +2392,13 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "$ref": "#/parameters/ApiIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
+ "$ref": "./apimdiagnostics.json#/parameters/DiagnosticIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
+ "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -2444,10 +2409,10 @@
],
"responses": {
"200": {
- "description": "Paged Result response of diagnostics for an API.",
- "schema": {
- "$ref": "./apimdiagnostics.json#/definitions/DiagnosticCollection"
- }
+ "description": "The Diagnostic was successfully deleted."
+ },
+ "204": {
+ "description": "The Diagnostic was successfully deleted."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -2455,23 +2420,19 @@
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "./apimdiagnostics.json#/definitions/DiagnosticContract"
+ }
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}": {
- "head": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues": {
+ "get": {
"tags": [
- "ApiDiagnostic"
+ "ApiIssues"
],
- "operationId": "ApiDiagnostic_GetEntityTag",
- "description": "Gets the entity state (Etag) version of the Diagnostic for an API specified by its identifier.",
+ "operationId": "ApiIssue_ListByService",
+ "description": "Lists all issues associated with the specified API.",
"x-ms-examples": {
- "ApiManagementHeadApiDiagnostic": {
- "$ref": "./examples/ApiManagementHeadApiDiagnostic.json"
+ "ApiManagementListApiIssues": {
+ "$ref": "./examples/ApiManagementListApiIssues.json"
}
},
"parameters": [
@@ -2482,26 +2443,33 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/DiagnosticIdParameter"
+ "$ref": "#/parameters/ApiIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |\n| state | eq | |\n| userId | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
}
],
"responses": {
"200": {
- "description": "Operation completed successfully.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "description": "Paged Result response of issues for the API.",
+ "schema": {
+ "$ref": "#/definitions/IssueCollection"
}
},
"default": {
@@ -2510,17 +2478,23 @@
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
- }
- },
- "get": {
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/IssueContract"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}": {
+ "head": {
"tags": [
- "ApiDiagnostic"
+ "ApiIssues"
],
- "operationId": "ApiDiagnostic_Get",
- "description": "Gets the details of the Diagnostic for an API specified by its identifier.",
+ "operationId": "ApiIssue_GetEntityTag",
+ "description": "Gets the entity state (Etag) version of the Issue for an API specified by its identifier.",
"x-ms-examples": {
- "ApiManagementGetApiDiagnostic": {
- "$ref": "./examples/ApiManagementGetApiDiagnostic.json"
+ "ApiManagementHeadApiIssue": {
+ "$ref": "./examples/ApiManagementHeadApiIssue.json"
}
},
"parameters": [
@@ -2531,10 +2505,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
+ "$ref": "#/parameters/ApiIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/DiagnosticIdParameter"
+ "$ref": "#/parameters/IssueIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -2545,10 +2519,7 @@
],
"responses": {
"200": {
- "description": "The response body contains the specified Diagnostic entity.",
- "schema": {
- "$ref": "./apimdiagnostics.json#/definitions/DiagnosticContract"
- },
+ "description": "Operation completed successfully.",
"headers": {
"ETag": {
"description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
@@ -2564,15 +2535,15 @@
}
}
},
- "put": {
+ "get": {
"tags": [
- "ApiDiagnostic"
+ "ApiIssues"
],
- "operationId": "ApiDiagnostic_CreateOrUpdate",
- "description": "Creates a new Diagnostic for an API or updates an existing one.",
+ "operationId": "ApiIssue_Get",
+ "description": "Gets the details of the Issue for an API specified by its identifier.",
"x-ms-examples": {
- "ApiManagementCreateApiDiagnostic": {
- "$ref": "./examples/ApiManagementCreateApiDiagnostic.json"
+ "ApiManagementGetApiIssue": {
+ "$ref": "./examples/ApiManagementGetApiIssue.json"
}
},
"parameters": [
@@ -2583,22 +2554,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/DiagnosticIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "./apimdiagnostics.json#/definitions/DiagnosticContract"
- },
- "description": "Create parameters."
+ "$ref": "#/parameters/ApiIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
+ "$ref": "#/parameters/IssueIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -2608,22 +2567,10 @@
}
],
"responses": {
- "201": {
- "description": "Diagnostic was successfully created.",
- "schema": {
- "$ref": "./apimdiagnostics.json#/definitions/DiagnosticContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
"200": {
- "description": "Diagnostic was successfully updated.",
+ "description": "The response body contains the specified Issue entity.",
"schema": {
- "$ref": "./apimdiagnostics.json#/definitions/DiagnosticContract"
+ "$ref": "#/definitions/IssueContract"
},
"headers": {
"ETag": {
@@ -2640,15 +2587,15 @@
}
}
},
- "patch": {
+ "put": {
"tags": [
- "ApiDiagnostic"
+ "ApiIssues"
],
- "operationId": "ApiDiagnostic_Update",
- "description": "Updates the details of the Diagnostic for an API specified by its identifier.",
+ "operationId": "ApiIssue_CreateOrUpdate",
+ "description": "Creates a new Issue for an API or updates an existing one.",
"x-ms-examples": {
- "ApiManagementUpdateApiDiagnostic": {
- "$ref": "./examples/ApiManagementUpdateApiDiagnostic.json"
+ "ApiManagementCreateApiIssue": {
+ "$ref": "./examples/ApiManagementCreateApiIssue.json"
}
},
"parameters": [
@@ -2659,22 +2606,26 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
+ "$ref": "#/parameters/ApiIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/DiagnosticIdParameter"
+ "$ref": "#/parameters/IssueIdParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
- "$ref": "./apimdiagnostics.json#/definitions/DiagnosticContract"
+ "$ref": "#/definitions/IssueContract"
},
- "description": "Diagnostic Update parameters."
+ "description": "Create parameters."
},
{
- "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "description": "ETag of the Issue Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.",
+ "type": "string"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -2684,8 +2635,17 @@
}
],
"responses": {
- "204": {
- "description": "The Diagnostic was successfully updated."
+ "201": {
+ "description": "Issue was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/IssueContract"
+ }
+ },
+ "200": {
+ "description": "Issue was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/IssueContract"
+ }
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -2695,15 +2655,15 @@
}
}
},
- "delete": {
+ "patch": {
"tags": [
- "ApiDiagnostic"
+ "ApiIssues"
],
- "operationId": "ApiDiagnostic_Delete",
- "description": "Deletes the specified Diagnostic from an API.",
+ "operationId": "ApiIssue_Update",
+ "description": "Updates an existing issue for an API.",
"x-ms-examples": {
- "ApiManagementDeleteApiDiagnostic": {
- "$ref": "./examples/ApiManagementDeleteApiDiagnostic.json"
+ "ApiManagementUpdateApiIssue": {
+ "$ref": "./examples/ApiManagementUpdateApiIssue.json"
}
},
"parameters": [
@@ -2714,912 +2674,26 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/DiagnosticIdParameter"
+ "$ref": "#/parameters/ApiIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
+ "$ref": "#/parameters/IssueIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IssueUpdateContract"
+ },
+ "description": "Update parameters."
},
{
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Diagnostic successfully removed"
- },
- "204": {
- "description": "Diagnostic successfully removed by previous request or does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues": {
- "get": {
- "tags": [
- "ApiIssue"
- ],
- "operationId": "ApiIssue_ListByService",
- "description": "Lists all issues associated with the specified API.",
- "x-ms-examples": {
- "ApiManagementListApiIssues": {
- "$ref": "./examples/ApiManagementListApiIssues.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|userId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|state | eq | |\n"
- },
- {
- "name": "expandCommentsAttachments",
- "in": "query",
- "required": false,
- "type": "boolean",
- "description": "Expand the comment attachments. "
- },
- {
- "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Paged Result response of issues for the API.",
- "schema": {
- "$ref": "#/definitions/IssueCollection"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "#/definitions/IssueContract"
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}": {
- "head": {
- "tags": [
- "ApiIssue"
- ],
- "operationId": "ApiIssue_GetEntityTag",
- "description": "Gets the entity state (Etag) version of the Issue for an API specified by its identifier.",
- "x-ms-examples": {
- "ApiManagementHeadApiIssue": {
- "$ref": "./examples/ApiManagementHeadApiIssue.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IssueIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Operation completed successfully.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "tags": [
- "ApiIssue"
- ],
- "operationId": "ApiIssue_Get",
- "description": "Gets the details of the Issue for an API specified by its identifier.",
- "x-ms-examples": {
- "ApiManagementGetApiIssue": {
- "$ref": "./examples/ApiManagementGetApiIssue.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IssueIdParameter"
- },
- {
- "name": "expandCommentsAttachments",
- "in": "query",
- "required": false,
- "type": "boolean",
- "description": "Expand the comment attachments. "
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The response body contains the specified Issue entity.",
- "schema": {
- "$ref": "#/definitions/IssueContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "put": {
- "tags": [
- "ApiIssue"
- ],
- "operationId": "ApiIssue_CreateOrUpdate",
- "description": "Creates a new Issue for an API or updates an existing one.",
- "x-ms-examples": {
- "ApiManagementCreateApiIssue": {
- "$ref": "./examples/ApiManagementCreateApiIssue.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IssueIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/IssueContract"
- },
- "description": "Create parameters."
- },
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "201": {
- "description": "New api issue successfully added",
- "schema": {
- "$ref": "#/definitions/IssueContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "200": {
- "description": "Api issue successfully updated",
- "schema": {
- "$ref": "#/definitions/IssueContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "patch": {
- "tags": [
- "ApiIssue"
- ],
- "operationId": "ApiIssue_Update",
- "description": "Updates an existing issue for an API.",
- "x-ms-examples": {
- "ApiManagementUpdateApiIssue": {
- "$ref": "./examples/ApiManagementUpdateApiIssue.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IssueIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/IssueUpdateContract"
- },
- "description": "Update parameters."
- },
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "204": {
- "description": "Api issue updated successfully"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "ApiIssue"
- ],
- "operationId": "ApiIssue_Delete",
- "description": "Deletes the specified Issue from an API.",
- "x-ms-examples": {
- "ApiManagementDeleteApiIssue": {
- "$ref": "./examples/ApiManagementDeleteApiIssue.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IssueIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Issue successfully removed"
- },
- "204": {
- "description": "Issue successfully removed by previous request or does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments": {
- "get": {
- "tags": [
- "ApiIssueComment"
- ],
- "operationId": "ApiIssueComment_ListByService",
- "description": "Lists all comments for the Issue associated with the specified API.",
- "x-ms-examples": {
- "ApiManagementListApiIssueComments": {
- "$ref": "./examples/ApiManagementListApiIssueComments.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IssueIdParameter"
- },
- {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|userId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
- },
- {
- "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Paged Result response of issue comments for the API.",
- "schema": {
- "$ref": "#/definitions/IssueCommentCollection"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "#/definitions/IssueCommentContract"
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}": {
- "head": {
- "tags": [
- "ApiIssueComment"
- ],
- "operationId": "ApiIssueComment_GetEntityTag",
- "description": "Gets the entity state (Etag) version of the issue Comment for an API specified by its identifier.",
- "x-ms-examples": {
- "ApiManagementHeadApiIssueComment": {
- "$ref": "./examples/ApiManagementHeadApiIssueComment.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IssueIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/CommentIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Operation completed successfully.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "tags": [
- "ApiIssueComment"
- ],
- "operationId": "ApiIssueComment_Get",
- "description": "Gets the details of the issue Comment for an API specified by its identifier.",
- "x-ms-examples": {
- "ApiManagementGetApiIssueComment": {
- "$ref": "./examples/ApiManagementGetApiIssueComment.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IssueIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/CommentIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The response body contains the specified issue Comment entity.",
- "schema": {
- "$ref": "#/definitions/IssueCommentContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "put": {
- "tags": [
- "ApiIssueComment"
- ],
- "operationId": "ApiIssueComment_CreateOrUpdate",
- "description": "Creates a new Comment for the Issue in an API or updates an existing one.",
- "x-ms-examples": {
- "ApiManagementCreateApiIssueComment": {
- "$ref": "./examples/ApiManagementCreateApiIssueComment.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IssueIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/CommentIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/IssueCommentContract"
- },
- "description": "Create parameters."
- },
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "201": {
- "description": "New api issue comment successfully added",
- "schema": {
- "$ref": "#/definitions/IssueCommentContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "200": {
- "description": "Api issue comment successfully updated",
- "schema": {
- "$ref": "#/definitions/IssueCommentContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "ApiIssueComment"
- ],
- "operationId": "ApiIssueComment_Delete",
- "description": "Deletes the specified comment from an Issue.",
- "x-ms-examples": {
- "ApiManagementDeleteApiIssueComment": {
- "$ref": "./examples/ApiManagementDeleteApiIssueComment.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IssueIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/CommentIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Comment successfully removed"
- },
- "204": {
- "description": "Comment successfully removed by previous request or does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments": {
- "get": {
- "tags": [
- "ApiIssueAttachment"
- ],
- "operationId": "ApiIssueAttachment_ListByService",
- "description": "Lists all attachments for the Issue associated with the specified API.",
- "x-ms-examples": {
- "ApiManagementListApiIssueAttachments": {
- "$ref": "./examples/ApiManagementListApiIssueAttachments.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IssueIdParameter"
- },
- {
- "name": "$filter",
- "in": "query",
+ "name": "If-Match",
+ "in": "header",
"required": false,
- "type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|userId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
- },
- {
- "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Paged Result response of issue attachments for the API.",
- "schema": {
- "$ref": "#/definitions/IssueAttachmentCollection"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "#/definitions/IssueAttachmentContract"
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments/{attachmentId}": {
- "head": {
- "tags": [
- "ApiIssueAttachment"
- ],
- "operationId": "ApiIssueAttachment_GetEntityTag",
- "description": "Gets the entity state (Etag) version of the issue Attachment for an API specified by its identifier.",
- "x-ms-examples": {
- "ApiManagementHeadApiIssueAttachment": {
- "$ref": "./examples/ApiManagementHeadApiIssueAttachment.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IssueIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/AttachmentIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Operation completed successfully.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "tags": [
- "ApiIssueAttachment"
- ],
- "operationId": "ApiIssueAttachment_Get",
- "description": "Gets the details of the issue Attachment for an API specified by its identifier.",
- "x-ms-examples": {
- "ApiManagementGetApiIssueAttachment": {
- "$ref": "./examples/ApiManagementGetApiIssueAttachment.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IssueIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/AttachmentIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The response body contains the specified issue Attachment entity.",
- "schema": {
- "$ref": "#/definitions/IssueAttachmentContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "put": {
- "tags": [
- "ApiIssueAttachment"
- ],
- "operationId": "ApiIssueAttachment_CreateOrUpdate",
- "description": "Creates a new Attachment for the Issue in an API or updates an existing one.",
- "x-ms-examples": {
- "ApiManagementCreateApiIssueAttachment": {
- "$ref": "./examples/ApiManagementCreateApiIssueAttachment.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IssueIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/AttachmentIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/IssueAttachmentContract"
- },
- "description": "Create parameters."
- },
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
+ "description": "ETag of the Issue Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.",
+ "type": "string"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -3629,29 +2703,8 @@
}
],
"responses": {
- "201": {
- "description": "New api issue attachment successfully added",
- "schema": {
- "$ref": "#/definitions/IssueAttachmentContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "200": {
- "description": "Api issue attachment successfully updated",
- "schema": {
- "$ref": "#/definitions/IssueAttachmentContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
+ "204": {
+ "description": "The Issue was successfully updated."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -3663,13 +2716,13 @@
},
"delete": {
"tags": [
- "ApiIssueAttachment"
+ "ApiIssues"
],
- "operationId": "ApiIssueAttachment_Delete",
- "description": "Deletes the specified comment from an Issue.",
+ "operationId": "ApiIssue_Delete",
+ "description": "Deletes the specified Issue from an API.",
"x-ms-examples": {
- "ApiManagementDeleteApiIssueAttachment": {
- "$ref": "./examples/ApiManagementDeleteApiIssueAttachment.json"
+ "ApiManagementDeleteApiIssue": {
+ "$ref": "./examples/ApiManagementDeleteApiIssue.json"
}
},
"parameters": [
@@ -3680,16 +2733,17 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IssueIdParameter"
+ "$ref": "#/parameters/ApiIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/AttachmentIdParameter"
+ "$ref": "#/parameters/IssueIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
+ "name": "If-Match",
+ "in": "header",
+ "required": true,
+ "description": "ETag of the Issue Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.",
+ "type": "string"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -3700,10 +2754,10 @@
],
"responses": {
"200": {
- "description": "Attachment successfully removed"
+ "description": "The Issue was successfully deleted."
},
"204": {
- "description": "Attachment successfully removed by previous request or does not exist"
+ "description": "The Issue was successfully deleted."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -3714,16 +2768,16 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments": {
"get": {
"tags": [
- "ApiTagDescription"
+ "ApiIssueComments"
],
- "operationId": "TagDescription_ListByApi",
- "description": "Lists all Tags descriptions in scope of API. Model similar to swagger - tagDescription is defined on API level but tag may be assigned to the Operations",
+ "operationId": "ApiIssueComment_ListByService",
+ "description": "Lists all comments for the Issue associated with the specified API.",
"x-ms-examples": {
- "ApiManagementListApiTagDescriptions": {
- "$ref": "./examples/ApiManagementListApiTagDescriptions.json"
+ "ApiManagementListApiIssueComments": {
+ "$ref": "./examples/ApiManagementListApiIssueComments.json"
}
},
"parameters": [
@@ -3734,33 +2788,36 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/IssueIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
"name": "$filter",
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |\n| userId | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
- "description": "The operation returns a collection of tagDescriptions associated with the Api entity.",
+ "description": "Paged Result response of issue comments for the API.",
"schema": {
- "$ref": "./apimtags.json#/definitions/TagDescriptionCollection"
+ "$ref": "#/definitions/IssueCommentCollection"
}
},
"default": {
@@ -3773,19 +2830,19 @@
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
- "x-ms-odata": "./apimtags.json#/definitions/TagDescriptionContract"
+ "x-ms-odata": "#/definitions/IssueCommentContract"
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/comments/{commentId}": {
"head": {
"tags": [
- "ApiTagDescription"
+ "ApiIssueComments"
],
- "operationId": "TagDescription_GetEntityState",
- "description": "Gets the entity state version of the tag specified by its identifier.",
+ "operationId": "ApiIssueComment_GetEntityTag",
+ "description": "Gets the entity state (Etag) version of the issue Comment for an API specified by its identifier.",
"x-ms-examples": {
- "ApiManagementHeadApiTagDescription": {
- "$ref": "./examples/ApiManagementHeadApiTagDescription.json"
+ "ApiManagementHeadApiIssueComment": {
+ "$ref": "./examples/ApiManagementHeadApiIssueComment.json"
}
},
"parameters": [
@@ -3796,10 +2853,13 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IssueIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
+ "$ref": "#/parameters/CommentIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -3810,7 +2870,7 @@
],
"responses": {
"200": {
- "description": "Empty response body, ETag header entity state version.",
+ "description": "Operation completed successfully.",
"headers": {
"ETag": {
"description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
@@ -3828,13 +2888,13 @@
},
"get": {
"tags": [
- "ApiTagDescription"
+ "ApiIssueComments"
],
- "operationId": "TagDescription_Get",
- "description": "Get Tag description in scope of API",
+ "operationId": "ApiIssueComment_Get",
+ "description": "Gets the details of the issue Comment for an API specified by its identifier.",
"x-ms-examples": {
- "ApiManagementGetApiTagDescription": {
- "$ref": "./examples/ApiManagementGetApiTagDescription.json"
+ "ApiManagementGetApiIssueComment": {
+ "$ref": "./examples/ApiManagementGetApiIssueComment.json"
}
},
"parameters": [
@@ -3845,10 +2905,13 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IssueIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
+ "$ref": "#/parameters/CommentIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -3859,9 +2922,9 @@
],
"responses": {
"200": {
- "description": "Gets the description of the tag specified by its identifier in scope if the Api.",
+ "description": "The response body contains the specified issue Comment entity.",
"schema": {
- "$ref": "./apimtags.json#/definitions/TagDescriptionContract"
+ "$ref": "#/definitions/IssueCommentContract"
},
"headers": {
"ETag": {
@@ -3880,13 +2943,13 @@
},
"put": {
"tags": [
- "ApiTagDescription"
+ "ApiIssueComments"
],
- "operationId": "TagDescription_CreateOrUpdate",
- "description": "Create/Update tag description in scope of the Api.",
+ "operationId": "ApiIssueComment_CreateOrUpdate",
+ "description": "Creates a new Comment for the Issue in an API or updates an existing one.",
"x-ms-examples": {
- "ApiManagementCreateApiTagDescription": {
- "$ref": "./examples/ApiManagementCreateApiTagDescription.json"
+ "ApiManagementCreateApiIssueComment": {
+ "$ref": "./examples/ApiManagementCreateApiIssueComment.json"
}
},
"parameters": [
@@ -3897,22 +2960,29 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IssueIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
+ "$ref": "#/parameters/CommentIdParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
- "$ref": "./apimtags.json#/definitions/TagDescriptionCreateParameters"
+ "$ref": "#/definitions/IssueCommentContract"
},
"description": "Create parameters."
},
{
- "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "description": "ETag of the Issue Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.",
+ "type": "string"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -3923,27 +2993,15 @@
],
"responses": {
"201": {
- "description": "Tag Description was created for the Api.",
+ "description": "Issue Comment was successfully created.",
"schema": {
- "$ref": "./apimtags.json#/definitions/TagDescriptionContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "$ref": "#/definitions/IssueCommentContract"
}
},
"200": {
- "description": "Tag Description was updated for the Api.",
+ "description": "Issue Comment was successfully updated.",
"schema": {
- "$ref": "./apimtags.json#/definitions/TagDescriptionContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "$ref": "#/definitions/IssueCommentContract"
}
},
"default": {
@@ -3956,13 +3014,13 @@
},
"delete": {
"tags": [
- "ApiTagDescription"
+ "ApiIssueComments"
],
- "operationId": "TagDescription_Delete",
- "description": "Delete tag description for the Api.",
+ "operationId": "ApiIssueComment_Delete",
+ "description": "Deletes the specified comment from an Issue.",
"x-ms-examples": {
- "ApiManagementDeleteApiTagDescription": {
- "$ref": "./examples/ApiManagementDeleteApiTagDescription.json"
+ "ApiManagementDeleteApiIssueComment": {
+ "$ref": "./examples/ApiManagementDeleteApiIssueComment.json"
}
},
"parameters": [
@@ -3973,13 +3031,20 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
+ "$ref": "#/parameters/IssueIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
+ "$ref": "#/parameters/CommentIdParameter"
+ },
+ {
+ "name": "If-Match",
+ "in": "header",
+ "required": true,
+ "description": "ETag of the Issue Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.",
+ "type": "string"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -3990,10 +3055,10 @@
],
"responses": {
"200": {
- "description": "Tag description successfully removed"
+ "description": "The issue Comment was successfully deleted."
},
"204": {
- "description": "Tag description successfully removed by previous request or does not exist"
+ "description": "The issue Comment was successfully deleted."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -4004,16 +3069,16 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments": {
"get": {
"tags": [
- "ApiTag"
+ "ApiIssueAttachments"
],
- "operationId": "Tag_ListByApi",
- "description": "Lists all Tags associated with the API.",
+ "operationId": "ApiIssueAttachment_ListByService",
+ "description": "Lists all comments for the Issue associated with the specified API.",
"x-ms-examples": {
- "ApiManagementListApiTags": {
- "$ref": "./examples/ApiManagementListApiTags.json"
+ "ApiManagementListApiIssueAttachments": {
+ "$ref": "./examples/ApiManagementListApiIssueAttachments.json"
}
},
"parameters": [
@@ -4024,33 +3089,36 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/IssueIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
"name": "$filter",
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |\n| userId | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
- "description": "The operation returns a collection of tags associated with the Api entity.",
+ "description": "Paged Result response of issue comments for the API.",
"schema": {
- "$ref": "./apimtags.json#/definitions/TagCollection"
+ "$ref": "#/definitions/IssueAttachmentCollection"
}
},
"default": {
@@ -4063,19 +3131,19 @@
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
- "x-ms-odata": "./apimtags.json#/definitions/TagContract"
+ "x-ms-odata": "#/definitions/IssueAttachmentContract"
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/issues/{issueId}/attachments/{attachmentId}": {
"head": {
"tags": [
- "ApiTag"
+ "ApiIssueAttachments"
],
- "operationId": "Tag_GetEntityStateByApi",
- "description": "Gets the entity state version of the tag specified by its identifier.",
+ "operationId": "ApiIssueAttachment_GetEntityTag",
+ "description": "Gets the entity state (Etag) version of the issue Attachment for an API specified by its identifier.",
"x-ms-examples": {
- "ApiManagementHeadApiTag": {
- "$ref": "./examples/ApiManagementHeadApiTag.json"
+ "ApiManagementHeadApiIssueAttachment": {
+ "$ref": "./examples/ApiManagementHeadApiIssueAttachment.json"
}
},
"parameters": [
@@ -4086,10 +3154,13 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IssueIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
+ "$ref": "#/parameters/AttachmentIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -4100,7 +3171,7 @@
],
"responses": {
"200": {
- "description": "Empty response body, ETag header entity state version.",
+ "description": "Operation completed successfully.",
"headers": {
"ETag": {
"description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
@@ -4118,13 +3189,13 @@
},
"get": {
"tags": [
- "ApiTag"
+ "ApiIssueAttachments"
],
- "operationId": "Tag_GetByApi",
- "description": "Get tag associated with the API.",
+ "operationId": "ApiIssueAttachment_Get",
+ "description": "Gets the details of the issue Attachment for an API specified by its identifier.",
"x-ms-examples": {
- "ApiManagementGetApiTag": {
- "$ref": "./examples/ApiManagementGetApiTag.json"
+ "ApiManagementGetApiIssueAttachment": {
+ "$ref": "./examples/ApiManagementGetApiIssueAttachment.json"
}
},
"parameters": [
@@ -4135,10 +3206,13 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
+ "$ref": "#/parameters/IssueIdParameter"
+ },
+ {
+ "$ref": "#/parameters/AttachmentIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -4149,9 +3223,9 @@
],
"responses": {
"200": {
- "description": "Gets the details of the tag specified by its identifier.",
+ "description": "The response body contains the specified issue Attachment entity.",
"schema": {
- "$ref": "./apimtags.json#/definitions/TagContract"
+ "$ref": "#/definitions/IssueAttachmentContract"
},
"headers": {
"ETag": {
@@ -4170,13 +3244,13 @@
},
"put": {
"tags": [
- "ApiTag"
+ "ApiIssueAttachments"
],
- "operationId": "Tag_AssignToApi",
- "description": "Assign tag to the Api.",
+ "operationId": "ApiIssueAttachment_CreateOrUpdate",
+ "description": "Creates a new Attachment for the Issue in an API or updates an existing one.",
"x-ms-examples": {
- "ApiManagementCreateApiTag": {
- "$ref": "./examples/ApiManagementCreateApiTag.json"
+ "ApiManagementCreateApiIssueAttachment": {
+ "$ref": "./examples/ApiManagementCreateApiIssueAttachment.json"
}
},
"parameters": [
@@ -4187,10 +3261,29 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IssueIdParameter"
+ },
+ {
+ "$ref": "#/parameters/AttachmentIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IssueAttachmentContract"
+ },
+ "description": "Create parameters."
},
{
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
+ "name": "If-Match",
+ "in": "header",
+ "required": false,
+ "description": "ETag of the Issue Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.",
+ "type": "string"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -4201,27 +3294,15 @@
],
"responses": {
"201": {
- "description": "Tag was assigned to the Api.",
+ "description": "Issue Attachment was successfully created.",
"schema": {
- "$ref": "./apimtags.json#/definitions/TagContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "$ref": "#/definitions/IssueAttachmentContract"
}
},
"200": {
- "description": "Tag is already assigned to the Api.",
+ "description": "Issue Attachment was successfully updated.",
"schema": {
- "$ref": "./apimtags.json#/definitions/TagContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "$ref": "#/definitions/IssueAttachmentContract"
}
},
"default": {
@@ -4234,13 +3315,13 @@
},
"delete": {
"tags": [
- "ApiTag"
+ "ApiIssueAttachments"
],
- "operationId": "Tag_DetachFromApi",
- "description": "Detach the tag from the Api.",
+ "operationId": "ApiIssueAttachment_Delete",
+ "description": "Deletes the specified comment from an Issue.",
"x-ms-examples": {
- "ApiManagementDeleteApiTag": {
- "$ref": "./examples/ApiManagementDeleteApiTag.json"
+ "ApiManagementDeleteApiIssueAttachment": {
+ "$ref": "./examples/ApiManagementDeleteApiIssueAttachment.json"
}
},
"parameters": [
@@ -4251,10 +3332,20 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdParameter"
+ },
+ {
+ "$ref": "#/parameters/IssueIdParameter"
+ },
+ {
+ "$ref": "#/parameters/AttachmentIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
+ "name": "If-Match",
+ "in": "header",
+ "required": true,
+ "description": "ETag of the Issue Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.",
+ "type": "string"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -4265,10 +3356,10 @@
],
"responses": {
"200": {
- "description": "API/Tag association successfully removed"
+ "description": "The issue Attachment was successfully deleted."
},
"204": {
- "description": "API/Tag association successfully removed by previous request or does not exist"
+ "description": "The issue Attachment was successfully deleted."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -4278,69 +3369,6 @@
}
}
}
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operationsByTags": {
- "get": {
- "tags": [
- "ApiOperationsByTag"
- ],
- "operationId": "Operation_ListByTags",
- "description": "Lists a collection of operations associated with tags.",
- "x-ms-examples": {
- "ApiManagementListApiOperationsByTags": {
- "$ref": "./examples/ApiManagementListApiOperationsByTags.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
- },
- {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|apiName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|method | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|urlTemplate | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
- },
- {
- "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
- },
- {
- "name": "includeNotTaggedOperations",
- "in": "query",
- "required": false,
- "type": "boolean",
- "description": "Include not tagged Operations."
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Lists a collection of TagResource entities.",
- "schema": {
- "$ref": "./apimtagresources.json#/definitions/TagResourceCollection"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "./apimtagresources.json#/definitions/TagResourceContract"
- }
}
},
"x-ms-paths": {
@@ -4364,7 +3392,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "#/parameters/ApiIdRevParameter"
},
{
"name": "format",
@@ -5624,5 +4652,94 @@
"description": "Issue Attachment contract Properties."
}
},
- "parameters": { }
+ "parameters": {
+ "ApiIdParameter": {
+ "name": "apiId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "API identifier. Must be unique in the current API Management service instance.",
+ "minLength": 1,
+ "maxLength": 80,
+ "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiIdRevParameter": {
+ "name": "apiId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "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.",
+ "minLength": 1,
+ "maxLength": 256,
+ "pattern": "^[^*#&+:<>?]+$",
+ "x-ms-parameter-location": "method"
+ },
+ "OperationIdParameter": {
+ "name": "operationId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Operation identifier within an API. Must be unique in the current API Management service instance.",
+ "minLength": 1,
+ "maxLength": 80,
+ "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
+ "x-ms-parameter-location": "method"
+ },
+ "SchemaIdParameter": {
+ "name": "schemaId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Schema identifier within an API. Must be unique in the current API Management service instance.",
+ "minLength": 1,
+ "maxLength": 80,
+ "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
+ "x-ms-parameter-location": "method"
+ },
+ "ReleaseIdParameter": {
+ "name": "releaseId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Release identifier within an API. Must be unique in the current API Management service instance.",
+ "minLength": 1,
+ "maxLength": 80,
+ "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
+ "x-ms-parameter-location": "method"
+ },
+ "IssueIdParameter": {
+ "name": "issueId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Issue identifier. Must be unique in the current API Management service instance.",
+ "minLength": 1,
+ "maxLength": 256,
+ "pattern": "^[^*#&+:<>?]+$",
+ "x-ms-parameter-location": "method"
+ },
+ "CommentIdParameter": {
+ "name": "commentId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Comment identifier within an Issue. Must be unique in the current Issue.",
+ "minLength": 1,
+ "maxLength": 256,
+ "pattern": "^[^*#&+:<>?]+$",
+ "x-ms-parameter-location": "method"
+ },
+ "AttachmentIdParameter": {
+ "name": "attachmentId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Attachment identifier within an Issue. Must be unique in the current Issue.",
+ "minLength": 1,
+ "maxLength": 256,
+ "pattern": "^[^*#&+:<>?]+$",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapisByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapisByTags.json
deleted file mode 100644
index 0267b7243a38..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapisByTags.json
+++ /dev/null
@@ -1,106 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "ApiManagementClient",
- "description": "Use these REST APIs for performing retrieve a collection of Apis associated with a tag in Azure API Management deployment.",
- "version": "2018-06-01-preview"
- },
- "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": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apisByTags": {
- "get": {
- "tags": [
- "ApisByTags"
- ],
- "operationId": "Api_ListByTags",
- "description": "Lists a collection of apis associated with tags.",
- "x-ms-examples": {
- "ApiManagementListApisByTags": {
- "$ref": "./examples/ApiManagementListApisByTags.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|apiRevision | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|path | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|isCurrent | eq | |\n"
- },
- {
- "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
- },
- {
- "name": "includeNotTaggedApis",
- "in": "query",
- "required": false,
- "type": "boolean",
- "description": "Include not tagged APIs."
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Lists a collection of TagResource entities.",
- "schema": {
- "$ref": "./apimtagresources.json#/definitions/TagResourceCollection"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "./apimtagresources.json#/definitions/TagResourceContract"
- }
- }
- },
- "definitions": {},
- "parameters": {}
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapiversionsets.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapiversionsets.json
deleted file mode 100644
index a8cd4df082ec..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimapiversionsets.json
+++ /dev/null
@@ -1,521 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "ApiManagementClient",
- "description": "Use these REST APIs for performing operations on the ApiVersionSet entity associated with your Azure API Management deployment. Using this entity you create and manage API Version Sets that are used to group APIs for consistent versioning.",
- "version": "2018-06-01-preview"
- },
- "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": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets": {
- "get": {
- "tags": [
- "ApiVersionSets"
- ],
- "operationId": "ApiVersionSet_ListByService",
- "description": "Lists a collection of API Version Sets in the specified service instance.",
- "x-ms-examples": {
- "ApiManagementListApiVersionSets": {
- "$ref": "./examples/ApiManagementListApiVersionSets.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n"
- },
- {
- "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Lists a collection of Api Version Set entities.",
- "schema": {
- "$ref": "#/definitions/ApiVersionSetCollection"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "#/definitions/ApiVersionSetContract"
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}": {
- "head": {
- "tags": [
- "ApiVersionSets"
- ],
- "operationId": "ApiVersionSet_GetEntityTag",
- "description": "Gets the entity state (Etag) version of the Api Version Set specified by its identifier.",
- "x-ms-examples": {
- "ApiManagementHeadApiVersionSet": {
- "$ref": "./examples/ApiManagementHeadApiVersionSet.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionSetIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Specified Api Version Set entity exists and current entity state version is present in the ETag header.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "tags": [
- "ApiVersionSets"
- ],
- "operationId": "ApiVersionSet_Get",
- "description": "Gets the details of the Api Version Set specified by its identifier.",
- "x-ms-examples": {
- "ApiManagementGetApiVersionSet": {
- "$ref": "./examples/ApiManagementGetApiVersionSet.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionSetIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Gets the specified Api Version Set entity.",
- "schema": {
- "$ref": "#/definitions/ApiVersionSetContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "put": {
- "tags": [
- "ApiVersionSets"
- ],
- "operationId": "ApiVersionSet_CreateOrUpdate",
- "description": "Creates or Updates a Api Version Set.",
- "x-ms-examples": {
- "ApiManagementCreateApiVersionSet": {
- "$ref": "./examples/ApiManagementCreateApiVersionSet.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionSetIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ApiVersionSetContract"
- },
- "description": "Create or update parameters."
- },
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "201": {
- "description": "Api Version Set was successfully created.",
- "schema": {
- "$ref": "#/definitions/ApiVersionSetContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "200": {
- "description": "Api Version Set was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ApiVersionSetContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "patch": {
- "tags": [
- "ApiVersionSets"
- ],
- "operationId": "ApiVersionSet_Update",
- "description": "Updates the details of the Api VersionSet specified by its identifier.",
- "x-ms-examples": {
- "ApiManagementUpdateApiVersionSet": {
- "$ref": "./examples/ApiManagementUpdateApiVersionSet.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionSetIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ApiVersionSetUpdateParameters"
- },
- "description": "Update parameters."
- },
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "204": {
- "description": "The Api Version Set details were successfully updated."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "ApiVersionSets"
- ],
- "operationId": "ApiVersionSet_Delete",
- "description": "Deletes specific Api Version Set.",
- "x-ms-examples": {
- "ApiManagementDeleteApiVersionSet": {
- "$ref": "./examples/ApiManagementDeleteApiVersionSet.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionSetIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The ApiVersion Set details were successfully deleted."
- },
- "204": {
- "description": "The ApiVersion Set details were successfully deleted."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "ApiVersionSetCollection": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ApiVersionSetContract"
- },
- "description": "Page values."
- },
- "nextLink": {
- "type": "string",
- "description": "Next page link if any."
- }
- },
- "description": "Paged Api Version Set list representation."
- },
- "ApiVersionSetEntityBase": {
- "properties": {
- "description": {
- "type": "string",
- "description": "Description of API Version Set."
- },
- "versionQueryName": {
- "type": "string",
- "description": "Name of query parameter that indicates the API Version if versioningScheme is set to `query`.",
- "minLength": 1,
- "maxLength": 100
- },
- "versionHeaderName": {
- "type": "string",
- "description": "Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`.",
- "minLength": 1,
- "maxLength": 100
- }
- },
- "description": "Api Version set base parameters"
- },
- "ApiVersionSetContractProperties": {
- "properties": {
- "displayName": {
- "type": "string",
- "description": "Name of API Version Set",
- "minLength": 1,
- "maxLength": 100
- },
- "versioningScheme": {
- "type": "string",
- "description": "An value that determines where the API Version identifer will be located in a HTTP request.",
- "enum": [
- "Segment",
- "Query",
- "Header"
- ],
- "x-ms-enum": {
- "name": "versioningScheme",
- "modelAsString": true,
- "values": [
- {
- "value": "Segment",
- "description": "The API Version is passed in a path segment."
- },
- {
- "value": "Query",
- "description": "The API Version is passed in a query parameter."
- },
- {
- "value": "Header",
- "description": "The API Version is passed in a HTTP header."
- }
- ]
- }
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/ApiVersionSetEntityBase"
- }
- ],
- "required": [
- "displayName",
- "versioningScheme"
- ],
- "description": "Properties of an API Version Set."
- },
- "ApiVersionSetContract": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ApiVersionSetContractProperties",
- "description": "Api VersionSet contract properties."
- }
- },
- "allOf": [
- {
- "$ref": "./apimanagement.json#/definitions/Resource"
- }
- ],
- "description": "Api Version Set Contract details."
- },
- "ApiVersionSetUpdateParametersProperties": {
- "properties": {
- "displayName": {
- "type": "string",
- "description": "Name of API Version Set",
- "minLength": 1,
- "maxLength": 100
- },
- "versioningScheme": {
- "type": "string",
- "description": "An value that determines where the API Version identifer will be located in a HTTP request.",
- "enum": [
- "Segment",
- "Query",
- "Header"
- ],
- "x-ms-enum": {
- "name": "versioningScheme",
- "modelAsString": true,
- "values": [
- {
- "value": "Segment",
- "description": "The API Version is passed in a path segment."
- },
- {
- "value": "Query",
- "description": "The API Version is passed in a query parameter."
- },
- {
- "value": "Header",
- "description": "The API Version is passed in a HTTP header."
- }
- ]
- }
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/ApiVersionSetEntityBase"
- }
- ],
- "description": "Properties used to create or update an API Version Set."
- },
- "ApiVersionSetUpdateParameters": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ApiVersionSetUpdateParametersProperties",
- "description": "Parameters to update or create an Api Version Set Contract."
- }
- },
- "description": "Parameters to update or create an Api Version Set Contract."
- }
- },
- "parameters": {
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimauthorizationservers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimauthorizationservers.json
index 11eb281c9c7b..2693ed6cf265 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimauthorizationservers.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimauthorizationservers.json
@@ -37,7 +37,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers": {
"get": {
"tags": [
- "AuthorizationServer"
+ "AuthorizationServers"
],
"operationId": "AuthorizationServer_ListByService",
"description": "Lists a collection of authorization servers defined within a service instance.",
@@ -58,7 +58,7 @@
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -79,12 +79,6 @@
"schema": {
"$ref": "#/definitions/AuthorizationServerCollection"
}
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
}
},
"x-ms-pageable": {
@@ -96,7 +90,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}": {
"head": {
"tags": [
- "AuthorizationServer"
+ "AuthorizationServers"
],
"operationId": "AuthorizationServer_GetEntityTag",
"description": "Gets the entity state (Etag) version of the authorizationServer specified by its identifier.",
@@ -113,7 +107,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/AuthenticationServerIdParameter"
+ "$ref": "#/parameters/AuthenticationServerIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -142,7 +136,7 @@
},
"get": {
"tags": [
- "AuthorizationServer"
+ "AuthorizationServers"
],
"operationId": "AuthorizationServer_Get",
"description": "Gets the details of the authorization server specified by its identifier.",
@@ -159,7 +153,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/AuthenticationServerIdParameter"
+ "$ref": "#/parameters/AuthenticationServerIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -191,7 +185,7 @@
},
"put": {
"tags": [
- "AuthorizationServer"
+ "AuthorizationServers"
],
"operationId": "AuthorizationServer_CreateOrUpdate",
"description": "Creates new authorization server or updates an existing authorization server.",
@@ -208,7 +202,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/AuthenticationServerIdParameter"
+ "$ref": "#/parameters/AuthenticationServerIdParameter"
},
{
"name": "parameters",
@@ -232,24 +226,12 @@
"responses": {
"201": {
"description": "Authorization server was successfully registered.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
"schema": {
"$ref": "#/definitions/AuthorizationServerContract"
}
},
"200": {
"description": "Authorization server is already registered.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
"schema": {
"$ref": "#/definitions/AuthorizationServerContract"
}
@@ -264,7 +246,7 @@
},
"patch": {
"tags": [
- "AuthorizationServer"
+ "AuthorizationServers"
],
"operationId": "AuthorizationServer_Update",
"description": "Updates the details of the authorization server specified by its identifier.",
@@ -281,7 +263,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/AuthenticationServerIdParameter"
+ "$ref": "#/parameters/AuthenticationServerIdParameter"
},
{
"name": "parameters",
@@ -316,7 +298,7 @@
},
"delete": {
"tags": [
- "AuthorizationServer"
+ "AuthorizationServers"
],
"operationId": "AuthorizationServer_Delete",
"description": "Deletes specific authorization server instance.",
@@ -333,7 +315,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/AuthenticationServerIdParameter"
+ "$ref": "#/parameters/AuthenticationServerIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
@@ -684,5 +666,17 @@
"description": "OAuth acquire token request body parameter (www-url-form-encoded)."
}
},
- "parameters": { }
+ "parameters": {
+ "AuthenticationServerIdParameter": {
+ "name": "authsid",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Identifier of the authorization server.",
+ "minLength": 1,
+ "maxLength": 80,
+ "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimbackends.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimbackends.json
index c50da34da2bb..035ce4e7e2d8 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimbackends.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimbackends.json
@@ -37,7 +37,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends": {
"get": {
"tags": [
- "Backend"
+ "Backends"
],
"operationId": "Backend_ListByService",
"description": "Lists a collection of backends in the specified service instance.",
@@ -58,7 +58,7 @@
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|title | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|url | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| host | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -93,10 +93,10 @@
"x-ms-odata": "#/definitions/BackendContract"
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendId}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}": {
"head": {
"tags": [
- "Backend"
+ "Backends"
],
"operationId": "Backend_GetEntityTag",
"description": "Gets the entity state (Etag) version of the backend specified by its identifier.",
@@ -113,7 +113,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/BackendIdParameter"
+ "$ref": "#/parameters/BackendIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -142,7 +142,7 @@
},
"get": {
"tags": [
- "Backend"
+ "Backends"
],
"operationId": "Backend_Get",
"description": "Gets the details of the backend specified by its identifier.",
@@ -159,7 +159,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/BackendIdParameter"
+ "$ref": "#/parameters/BackendIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -191,7 +191,7 @@
},
"put": {
"tags": [
- "Backend"
+ "Backends"
],
"operationId": "Backend_CreateOrUpdate",
"description": "Creates or Updates a backend.",
@@ -211,7 +211,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/BackendIdParameter"
+ "$ref": "#/parameters/BackendIdParameter"
},
{
"name": "parameters",
@@ -235,24 +235,12 @@
"responses": {
"201": {
"description": "Backend was successfully created.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
"schema": {
"$ref": "#/definitions/BackendContract"
}
},
"200": {
"description": "The existing backend was successfully updated.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
"schema": {
"$ref": "#/definitions/BackendContract"
}
@@ -267,7 +255,7 @@
},
"patch": {
"tags": [
- "Backend"
+ "Backends"
],
"operationId": "Backend_Update",
"description": "Updates an existing backend.",
@@ -284,7 +272,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/BackendIdParameter"
+ "$ref": "#/parameters/BackendIdParameter"
},
{
"name": "parameters",
@@ -319,15 +307,15 @@
},
"delete": {
"tags": [
- "Backend"
+ "Backends"
],
"operationId": "Backend_Delete",
- "description": "Deletes the specified backend.",
"x-ms-examples": {
"ApiManagementDeleteBackend": {
"$ref": "./examples/ApiManagementDeleteBackend.json"
}
},
+ "description": "Deletes the specified backend.",
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
@@ -336,7 +324,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/BackendIdParameter"
+ "$ref": "#/parameters/BackendIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
@@ -364,10 +352,10 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendId}/reconnect": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}/reconnect": {
"post": {
"tags": [
- "BackendReconnect"
+ "Backends"
],
"operationId": "Backend_Reconnect",
"description": "Notifies the APIM proxy to create a new connection to the backend after the specified timeout. If no timeout was specified, timeout of 2 minutes is used.",
@@ -384,7 +372,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/BackendIdParameter"
+ "$ref": "#/parameters/BackendIdParameter"
},
{
"name": "parameters",
@@ -766,5 +754,17 @@
"description": "Properties to control reconnect requests."
}
},
- "parameters": { }
+ "parameters": {
+ "BackendIdParameter": {
+ "name": "backendid",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Identifier of the Backend entity. Must be unique in the current API Management service instance.",
+ "minLength": 1,
+ "maxLength": 80,
+ "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcaches.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcaches.json
deleted file mode 100644
index f3bd7bae16da..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcaches.json
+++ /dev/null
@@ -1,450 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "ApiManagementClient",
- "description": "Use these REST APIs for performing operations on Cache entity in your Azure API Management deployment. Azure API Management also allows for caching responses in an external Azure Cache for Redis. For more information refer to [External Redis Cache in ApiManagement](https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-cache-external).",
- "version": "2018-06-01-preview"
- },
- "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": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/caches": {
- "get": {
- "tags": [
- "Caches"
- ],
- "operationId": "Cache_ListByService",
- "description": "Lists a collection of all external Caches in the specified service instance.",
- "x-ms-examples": {
- "ApiManagementListCaches": {
- "$ref": "./examples/ApiManagementListCaches.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Returns a collection of Cache entity.",
- "schema": {
- "$ref": "#/definitions/CacheCollection"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "#/definitions/CacheContract"
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/caches/{cacheId}": {
- "head": {
- "tags": [
- "Caches"
- ],
- "operationId": "Cache_GetEntityTag",
- "description": "Gets the entity state (Etag) version of the Cache specified by its identifier.",
- "x-ms-examples": {
- "ApiManagementHeadCache": {
- "$ref": "./examples/ApiManagementHeadCache.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/CacheIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Specified Cache entity exists and current entity state version is present in the ETag header.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "tags": [
- "Caches"
- ],
- "operationId": "Cache_Get",
- "description": "Gets the details of the Cache specified by its identifier.",
- "x-ms-examples": {
- "ApiManagementGetCache": {
- "$ref": "./examples/ApiManagementGetCache.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/CacheIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The response body contains the specified Cache entity.",
- "schema": {
- "$ref": "#/definitions/CacheContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "put": {
- "tags": [
- "Caches"
- ],
- "operationId": "Cache_CreateOrUpdate",
- "description": "Creates or updates an External Cache to be used in Api Management instance.",
- "externalDocs": {
- "description": "Use an external cache in Azure API Management",
- "url": "https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-cache-external"
- },
- "x-ms-examples": {
- "ApiManagementCreateCache": {
- "$ref": "./examples/ApiManagementCreateCache.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/CacheIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/CacheContract"
- },
- "description": "Create or Update parameters."
- },
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "201": {
- "description": "The new Cache was successfully added.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
- "schema": {
- "$ref": "#/definitions/CacheContract"
- }
- },
- "200": {
- "description": "The Cache details were successfully updated.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
- "schema": {
- "$ref": "#/definitions/CacheContract"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "patch": {
- "tags": [
- "Caches"
- ],
- "operationId": "Cache_Update",
- "description": "Updates the details of the cache specified by its identifier.",
- "x-ms-examples": {
- "ApiManagementUpdateCache": {
- "$ref": "./examples/ApiManagementUpdateCache.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/CacheIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/CacheUpdateParameters"
- },
- "description": "Update parameters."
- },
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "204": {
- "description": "The cache details were successfully updated."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "Caches"
- ],
- "operationId": "Cache_Delete",
- "description": "Deletes specific Cache.",
- "x-ms-examples": {
- "ApiManagementDeleteCache": {
- "$ref": "./examples/ApiManagementDeleteCache.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/CacheIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The Cache was successfully deleted."
- },
- "204": {
- "description": "The Cache was successfully deleted."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "CacheCollection": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/CacheContract"
- },
- "description": "Page values."
- },
- "nextLink": {
- "type": "string",
- "description": "Next page link if any."
- }
- },
- "description": "Paged Caches list representation."
- },
- "CacheContract": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/CacheContractProperties",
- "description": "Cache properties details."
- }
- },
- "allOf": [
- {
- "$ref": "./apimanagement.json#/definitions/Resource"
- }
- ],
- "description": "Cache details."
- },
- "CacheContractProperties": {
- "properties": {
- "description": {
- "type": "string",
- "description": "Cache description",
- "maxLength": 2000
- },
- "connectionString": {
- "type": "string",
- "description": "Runtime connection string to cache",
- "maxLength": 300
- },
- "resourceId": {
- "type": "string",
- "description": "Original uri of entity in external system cache points to",
- "maxLength": 2000
- }
- },
- "required": [
- "connectionString"
- ],
- "description": "Properties of the Cache contract."
- },
- "CacheUpdateParameters": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/CacheUpdateProperties",
- "description": "Cache update properties details."
- }
- },
- "description": "Cache update details."
- },
- "CacheUpdateProperties": {
- "properties": {
- "description": {
- "type": "string",
- "description": "Cache description",
- "maxLength": 2000
- },
- "connectionString": {
- "type": "string",
- "description": "Runtime connection string to cache",
- "maxLength": 300
- },
- "resourceId": {
- "type": "string",
- "description": "Original uri of entity in external system cache points to",
- "maxLength": 2000
- }
- },
- "description": "Parameters supplied to the Update Cache operation."
- }
- },
- "parameters": {
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcertificates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcertificates.json
index 2afaabe353c0..f545727ba475 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcertificates.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimcertificates.json
@@ -37,7 +37,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates": {
"get": {
"tags": [
- "Certificate"
+ "Certificates"
],
"operationId": "Certificate_ListByService",
"description": "Lists a collection of all certificates in the specified service instance.",
@@ -58,7 +58,7 @@
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|subject | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|thumbprint | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|expirationDate | ge, le, eq, ne, gt, lt | |\n"
+ "description": "| Field | Supported operators | Supported functions |\n|----------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| subject | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| thumbprint | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| expirationDate | ge, le, eq, ne, gt, lt | N/A |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -96,7 +96,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}": {
"head": {
"tags": [
- "Certificate"
+ "Certificates"
],
"operationId": "Certificate_GetEntityTag",
"description": "Gets the entity state (Etag) version of the certificate specified by its identifier.",
@@ -113,7 +113,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/CertificateIdParameter"
+ "$ref": "#/parameters/CertificateIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -142,7 +142,7 @@
},
"get": {
"tags": [
- "Certificate"
+ "Certificates"
],
"operationId": "Certificate_Get",
"description": "Gets the details of the certificate specified by its identifier.",
@@ -159,7 +159,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/CertificateIdParameter"
+ "$ref": "#/parameters/CertificateIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -191,7 +191,7 @@
},
"put": {
"tags": [
- "Certificate"
+ "Certificates"
],
"operationId": "Certificate_CreateOrUpdate",
"description": "Creates or updates the certificate being used for authentication with the backend.",
@@ -212,7 +212,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/CertificateIdParameter"
+ "$ref": "#/parameters/CertificateIdParameter"
},
{
"name": "parameters",
@@ -236,24 +236,12 @@
"responses": {
"201": {
"description": "The new certificate was successfully added.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
"schema": {
"$ref": "#/definitions/CertificateContract"
}
},
"200": {
"description": "The certificate details were successfully updated.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
"schema": {
"$ref": "#/definitions/CertificateContract"
}
@@ -268,7 +256,7 @@
},
"delete": {
"tags": [
- "Certificate"
+ "Certificates"
],
"operationId": "Certificate_Delete",
"description": "Deletes specific certificate.",
@@ -285,7 +273,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/CertificateIdParameter"
+ "$ref": "#/parameters/CertificateIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
@@ -397,5 +385,17 @@
"description": "Parameters supplied to the CreateOrUpdate certificate operation."
}
},
- "parameters": { }
+ "parameters": {
+ "CertificateIdParameter": {
+ "name": "certificateId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Identifier of the certificate entity. Must be unique in the current API Management service instance.",
+ "minLength": 1,
+ "maxLength": 80,
+ "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimdeployment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimdeployment.json
index 07602c54efdc..fa3f95b7bf20 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimdeployment.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimdeployment.json
@@ -390,17 +390,10 @@
"200": {
"description": "Service was successfully deleted."
},
- "202": {
- "description": "The service delete request was Accepted.",
- "schema": {
- "$ref": "#/definitions/ApiManagementServiceResource"
- }
- },
"204": {
- "description": "The service does not exist."
+ "description": "Service is already deleted."
}
- },
- "x-ms-long-running-operation": true
+ }
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimdiagnostics.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimdiagnostics.json
index 2eff9e43f702..b89fc886120a 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimdiagnostics.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimdiagnostics.json
@@ -37,7 +37,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics": {
"get": {
"tags": [
- "Diagnostic"
+ "Diagnostics"
],
"operationId": "Diagnostic_ListByService",
"description": "Lists all diagnostics of the API Management service instance.",
@@ -53,24 +53,24 @@
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
{
"name": "$filter",
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -96,7 +96,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}": {
"head": {
"tags": [
- "Diagnostic"
+ "Diagnostics"
],
"operationId": "Diagnostic_GetEntityTag",
"description": "Gets the entity state (Etag) version of the Diagnostic specified by its identifier.",
@@ -113,7 +113,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/DiagnosticIdParameter"
+ "$ref": "#/parameters/DiagnosticIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -124,7 +124,7 @@
],
"responses": {
"200": {
- "description": "Gets the entity tag of the diagnostic",
+ "description": "Operation completed successfully.",
"headers": {
"ETag": {
"description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
@@ -142,7 +142,7 @@
},
"get": {
"tags": [
- "Diagnostic"
+ "Diagnostics"
],
"operationId": "Diagnostic_Get",
"description": "Gets the details of the Diagnostic specified by its identifier.",
@@ -159,7 +159,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/DiagnosticIdParameter"
+ "$ref": "#/parameters/DiagnosticIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -171,14 +171,14 @@
"responses": {
"200": {
"description": "The response body contains the specified Diagnostic entity.",
+ "schema": {
+ "$ref": "#/definitions/DiagnosticContract"
+ },
"headers": {
"ETag": {
"description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
"type": "string"
}
- },
- "schema": {
- "$ref": "#/definitions/DiagnosticContract"
}
},
"default": {
@@ -191,7 +191,7 @@
},
"put": {
"tags": [
- "Diagnostic"
+ "Diagnostics"
],
"operationId": "Diagnostic_CreateOrUpdate",
"description": "Creates a new Diagnostic or updates an existing one.",
@@ -208,7 +208,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/DiagnosticIdParameter"
+ "$ref": "#/parameters/DiagnosticIdParameter"
},
{
"name": "parameters",
@@ -232,24 +232,12 @@
"responses": {
"201": {
"description": "Diagnostic was successfully created.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
"schema": {
"$ref": "#/definitions/DiagnosticContract"
}
},
"200": {
- "description": "Diagnostic successfully updated",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
+ "description": "Diagnostic was successfully updated.",
"schema": {
"$ref": "#/definitions/DiagnosticContract"
}
@@ -264,7 +252,7 @@
},
"patch": {
"tags": [
- "Diagnostic"
+ "Diagnostics"
],
"operationId": "Diagnostic_Update",
"description": "Updates the details of the Diagnostic specified by its identifier.",
@@ -281,7 +269,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/DiagnosticIdParameter"
+ "$ref": "#/parameters/DiagnosticIdParameter"
},
{
"name": "parameters",
@@ -316,7 +304,7 @@
},
"delete": {
"tags": [
- "Diagnostic"
+ "Diagnostics"
],
"operationId": "Diagnostic_Delete",
"description": "Deletes the specified Diagnostic.",
@@ -333,7 +321,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/DiagnosticIdParameter"
+ "$ref": "#/parameters/DiagnosticIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
@@ -509,5 +497,17 @@
"description": "Diagnostic Entity Properties"
}
},
- "parameters": { }
+ "parameters": {
+ "DiagnosticIdParameter": {
+ "name": "diagnosticId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Diagnostic identifier. Must be unique in the current API Management service instance.",
+ "minLength": 1,
+ "maxLength": 80,
+ "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimemailtemplates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimemailtemplate.json
similarity index 91%
rename from specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimemailtemplates.json
rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimemailtemplate.json
index 43f937e0a87d..474c5fe667b6 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimemailtemplates.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimemailtemplate.json
@@ -53,13 +53,6 @@
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
- {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
- },
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
},
@@ -79,12 +72,6 @@
"schema": {
"$ref": "#/definitions/EmailTemplateCollection"
}
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
}
},
"x-ms-pageable": {
@@ -112,7 +99,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TemplateNameParameter"
+ "$ref": "#/parameters/TemplateNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -158,7 +145,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TemplateNameParameter"
+ "$ref": "#/parameters/TemplateNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -207,7 +194,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TemplateNameParameter"
+ "$ref": "#/parameters/TemplateNameParameter"
},
{
"name": "parameters",
@@ -268,7 +255,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TemplateNameParameter"
+ "$ref": "#/parameters/TemplateNameParameter"
},
{
"name": "parameters",
@@ -317,7 +304,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TemplateNameParameter"
+ "$ref": "#/parameters/TemplateNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
@@ -485,5 +472,34 @@
"description": "Email Template Parameter contract."
}
},
- "parameters": { }
+ "parameters": {
+ "TemplateNameParameter": {
+ "name": "templateName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "applicationApprovedNotificationMessage",
+ "accountClosedDeveloper",
+ "quotaLimitApproachingDeveloperNotificationMessage",
+ "newDeveloperNotificationMessage",
+ "emailChangeIdentityDefault",
+ "inviteUserNotificationMessage",
+ "newCommentNotificationMessage",
+ "confirmSignUpIdentityDefault",
+ "newIssueNotificationMessage",
+ "purchaseDeveloperNotificationMessage",
+ "passwordResetIdentityDefault",
+ "passwordResetByAdminNotificationMessage",
+ "rejectDeveloperNotificationMessage",
+ "requestDeveloperNotificationMessage"
+ ],
+ "x-ms-enum": {
+ "name": "TemplateName",
+ "modelAsString": true
+ },
+ "description": "Email Template Name Identifier.",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimgroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimgroups.json
index 1df4931e2051..a210fe8636d1 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimgroups.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimgroups.json
@@ -37,7 +37,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups": {
"get": {
"tags": [
- "Group"
+ "Groups"
],
"operationId": "Group_ListByService",
"description": "Lists a collection of groups defined within a service instance.",
@@ -61,7 +61,7 @@
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|aadObjectId | eq | |\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| type | eq, ne | N/A |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -82,12 +82,6 @@
"schema": {
"$ref": "#/definitions/GroupCollection"
}
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
}
},
"x-ms-pageable": {
@@ -99,7 +93,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}": {
"head": {
"tags": [
- "Group"
+ "Groups"
],
"operationId": "Group_GetEntityTag",
"description": "Gets the entity state (Etag) version of the group specified by its identifier.",
@@ -116,7 +110,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/GroupIdParameter"
+ "$ref": "#/parameters/GroupIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -145,7 +139,7 @@
},
"get": {
"tags": [
- "Group"
+ "Groups"
],
"operationId": "Group_Get",
"description": "Gets the details of the group specified by its identifier.",
@@ -162,7 +156,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/GroupIdParameter"
+ "$ref": "#/parameters/GroupIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -194,7 +188,7 @@
},
"put": {
"tags": [
- "Group"
+ "Groups"
],
"operationId": "Group_CreateOrUpdate",
"description": "Creates or Updates a group.",
@@ -214,7 +208,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/GroupIdParameter"
+ "$ref": "#/parameters/GroupIdParameter"
},
{
"name": "parameters",
@@ -240,24 +234,12 @@
"description": "Group was created successfully.",
"schema": {
"$ref": "#/definitions/GroupContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
}
},
"200": {
"description": "Group already exists.",
"schema": {
"$ref": "#/definitions/GroupContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
}
},
"default": {
@@ -270,7 +252,7 @@
},
"patch": {
"tags": [
- "Group"
+ "Groups"
],
"operationId": "Group_Update",
"description": "Updates the details of the group specified by its identifier.",
@@ -287,7 +269,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/GroupIdParameter"
+ "$ref": "#/parameters/GroupIdParameter"
},
{
"name": "parameters",
@@ -322,7 +304,7 @@
},
"delete": {
"tags": [
- "Group"
+ "Groups"
],
"operationId": "Group_Delete",
"description": "Deletes specific group of the API Management service instance.",
@@ -339,7 +321,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/GroupIdParameter"
+ "$ref": "#/parameters/GroupIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
@@ -370,10 +352,10 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users": {
"get": {
"tags": [
- "GroupUser"
+ "GroupUsers"
],
"operationId": "GroupUser_List",
- "description": "Lists a collection of user entities associated with the group.",
+ "description": "Lists a collection of the members of the group, specified by its identifier.",
"x-ms-examples": {
"ApiManagementListGroupUsers": {
"$ref": "./examples/ApiManagementListGroupUsers.json"
@@ -387,14 +369,14 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/GroupIdParameter"
+ "$ref": "#/parameters/GroupIdParameter"
},
{
"name": "$filter",
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|firstName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|lastName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|email | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|registrationDate | ge, le, eq, ne, gt, lt | |\n|note | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|------------------|------------------------|-----------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| firstName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| lastName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| email | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| state | eq | N/A |\n| registrationDate | ge, le, eq, ne, gt, lt | N/A |\n| note | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -429,10 +411,10 @@
"x-ms-odata": "./apimusers.json#/definitions/UserContract"
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{userId}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{uid}": {
"head": {
"tags": [
- "GroupUser"
+ "GroupUsers"
],
"operationId": "GroupUser_CheckEntityExists",
"description": "Checks that user entity specified by identifier is associated with the group entity.",
@@ -449,10 +431,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/GroupIdParameter"
+ "$ref": "#/parameters/GroupIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/UserIdParameter"
+ "$ref": "./apimusers.json#/parameters/UserIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -465,7 +447,7 @@
"204": {
"description": "Entity exists"
},
- "404": {
+ "404" : {
"description": "Entity does not exists."
},
"default": {
@@ -476,12 +458,12 @@
}
}
},
- "put": {
+ "put": {
"tags": [
- "GroupUser"
+ "GroupUsers"
],
"operationId": "GroupUser_Create",
- "description": "Add existing user to existing group",
+ "description": "Adds a user to the specified group.",
"x-ms-examples": {
"ApiManagementCreateGroupUser": {
"$ref": "./examples/ApiManagementCreateGroupUser.json"
@@ -495,10 +477,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/GroupIdParameter"
+ "$ref": "#/parameters/GroupIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/UserIdParameter"
+ "$ref": "./apimusers.json#/parameters/UserIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -530,7 +512,7 @@
},
"delete": {
"tags": [
- "GroupUser"
+ "GroupUsers"
],
"operationId": "GroupUser_Delete",
"description": "Remove existing user from existing group.",
@@ -547,10 +529,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/GroupIdParameter"
+ "$ref": "#/parameters/GroupIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/UserIdParameter"
+ "$ref": "./apimusers.json#/parameters/UserIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -737,5 +719,17 @@
"description": "Parameters supplied to the Update Group operation."
}
},
- "parameters": { }
+ "parameters": {
+ "GroupIdParameter": {
+ "name": "groupId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Group identifier. Must be unique in the current API Management service instance.",
+ "minLength": 1,
+ "maxLength": 80,
+ "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimidentityprovider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimidentityprovider.json
index 8fe405c2f213..65c6a9c7caf0 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimidentityprovider.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimidentityprovider.json
@@ -50,6 +50,9 @@
}
},
"parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
@@ -58,11 +61,11 @@
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
"responses": {
"200": {
"description": "Lists a collection of Identity Providers.",
@@ -76,9 +79,6 @@
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
}
},
@@ -95,6 +95,9 @@
}
},
"parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
@@ -102,23 +105,20 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/IdentityProviderNameParameter"
+ "$ref": "#/parameters/IdentityProviderNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Specified identity provider entity exists and current entity state version is present in the ETag header.",
"headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "ETag": {
+ "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
+ "type": "string"
+ }
}
},
"default": {
@@ -129,7 +129,7 @@
}
}
},
- "get": {
+ "get": {
"tags": [
"IdentityProvider"
],
@@ -141,6 +141,9 @@
}
},
"parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
@@ -148,13 +151,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/IdentityProviderNameParameter"
+ "$ref": "#/parameters/IdentityProviderNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -197,7 +197,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/IdentityProviderNameParameter"
+ "$ref": "#/parameters/IdentityProviderNameParameter"
},
{
"name": "parameters",
@@ -221,24 +221,12 @@
"responses": {
"201": {
"description": "IdentityProvider configuration were successfully created.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
"schema": {
"$ref": "#/definitions/IdentityProviderContract"
}
},
"200": {
"description": "The existing Identity Provider was successfully updated.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
"schema": {
"$ref": "#/definitions/IdentityProviderContract"
}
@@ -253,7 +241,7 @@
},
"patch": {
"tags": [
- "IdentityProvider"
+ "IdentityProviders"
],
"operationId": "IdentityProvider_Update",
"description": "Updates an existing IdentityProvider configuration.",
@@ -270,7 +258,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/IdentityProviderNameParameter"
+ "$ref": "#/parameters/IdentityProviderNameParameter"
},
{
"name": "parameters",
@@ -322,7 +310,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/IdentityProviderNameParameter"
+ "$ref": "#/parameters/IdentityProviderNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
@@ -489,10 +477,6 @@
"maxItems": 32,
"description": "List of Allowed Tenants when configuring Azure Active Directory login."
},
- "authority":{
- "type": "string",
- "description": "OpenID Connect discovery endpoint hostname for AAD or AAD B2C."
- },
"signupPolicyName": {
"type": "string",
"description": "Signup Policy Name. Only applies to AAD B2C Identity Provider.",
@@ -517,5 +501,52 @@
"description": "Identity Provider Base Parameter Properties."
}
},
- "parameters": { }
+ "parameters": {
+ "IdentityProviderNameParameter": {
+ "name": "identityProviderName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "facebook",
+ "google",
+ "microsoft",
+ "twitter",
+ "aad",
+ "aadB2C"
+ ],
+ "x-ms-enum": {
+ "name": "IdentityProviderType",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "facebook",
+ "description": "Facebook as Identity provider."
+ },
+ {
+ "value": "google",
+ "description": "Google as Identity provider."
+ },
+ {
+ "value": "microsoft",
+ "description": "Microsoft Live as Identity provider."
+ },
+ {
+ "value": "twitter",
+ "description": "Twitter as Identity provider."
+ },
+ {
+ "value": "aad",
+ "description": "Azure Active Directory as Identity provider."
+ },
+ {
+ "value": "aadB2C",
+ "description": "Azure Active Directory B2C as Identity provider."
+ }
+ ]
+ },
+ "description": "Identity Provider Type identifier.",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimissues.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimissues.json
index 8a03fe6a04e1..1d945725f8c0 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimissues.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimissues.json
@@ -37,12 +37,12 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/issues": {
"get": {
"tags": [
- "Issue"
+ "Issues"
],
"operationId": "Issue_ListByService",
"description": "Lists a collection of issues in the specified service instance.",
"x-ms-examples": {
- "ApiManagementListIssues": {
+ "ApiManagementListLoggers": {
"$ref": "./examples/ApiManagementListIssues.json"
}
},
@@ -58,7 +58,7 @@
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|apiId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|title | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|authorName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|state | eq | |\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |\n| state | eq | |\n| userId | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -92,59 +92,6 @@
},
"x-ms-odata": "./apimapis.json#/definitions/IssueContract"
}
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/issues/{issueId}": {
- "get": {
- "tags": [
- "Issue"
- ],
- "operationId": "Issue_Get",
- "description": "Gets API Management issue details",
- "x-ms-examples": {
- "ApiManagementGetIssue": {
- "$ref": "./examples/ApiManagementGetIssue.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IssueIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Get the details of the issue.",
- "schema": {
- "$ref": "./apimapis.json#/definitions/IssueContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- }
}
- },
- "definitions": {},
- "parameters": {}
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimloggers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimloggers.json
index 5ea7e2d338d5..260f0e4506d2 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimloggers.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimloggers.json
@@ -37,7 +37,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers": {
"get": {
"tags": [
- "Logger"
+ "Loggers"
],
"operationId": "Logger_ListByService",
"description": "Lists a collection of loggers in the specified service instance.",
@@ -61,7 +61,7 @@
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|loggerType | eq | |\n|resourceId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| type | eq | |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -96,10 +96,10 @@
"x-ms-odata": "#/definitions/LoggerContract"
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerId}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerid}": {
"head": {
"tags": [
- "Logger"
+ "Loggers"
],
"operationId": "Logger_GetEntityTag",
"description": "Gets the entity state (Etag) version of the logger specified by its identifier.",
@@ -116,7 +116,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/LoggerIdParameter"
+ "$ref": "#/parameters/LoggerIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -129,10 +129,10 @@
"200": {
"description": "Specified logger entity exists and current entity state version is present in the ETag header.",
"headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "ETag": {
+ "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
+ "type": "string"
+ }
}
},
"default": {
@@ -143,9 +143,9 @@
}
}
},
- "get": {
+ "get": {
"tags": [
- "Logger"
+ "Loggers"
],
"operationId": "Logger_Get",
"description": "Gets the details of the logger specified by its identifier.",
@@ -162,7 +162,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/LoggerIdParameter"
+ "$ref": "#/parameters/LoggerIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -194,7 +194,7 @@
},
"put": {
"tags": [
- "Logger"
+ "Loggers"
],
"operationId": "Logger_CreateOrUpdate",
"description": "Creates or Updates a logger.",
@@ -214,7 +214,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/LoggerIdParameter"
+ "$ref": "#/parameters/LoggerIdParameter"
},
{
"name": "parameters",
@@ -240,24 +240,12 @@
"description": "Logger was successfully created.",
"schema": {
"$ref": "#/definitions/LoggerContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
}
},
"200": {
"description": "The existing logger was successfully updated.",
"schema": {
"$ref": "#/definitions/LoggerContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
}
},
"default": {
@@ -270,7 +258,7 @@
},
"patch": {
"tags": [
- "Logger"
+ "Loggers"
],
"operationId": "Logger_Update",
"description": "Updates an existing logger.",
@@ -287,7 +275,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/LoggerIdParameter"
+ "$ref": "#/parameters/LoggerIdParameter"
},
{
"name": "parameters",
@@ -322,7 +310,7 @@
},
"delete": {
"tags": [
- "Logger"
+ "Loggers"
],
"operationId": "Logger_Delete",
"description": "Deletes the specified logger.",
@@ -339,18 +327,11 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/LoggerIdParameter"
+ "$ref": "#/parameters/LoggerIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
},
- {
- "name": "force",
- "in": "query",
- "required": false,
- "type": "boolean",
- "description": "Force deletion even if diagnostic is attached."
- },
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
@@ -520,5 +501,16 @@
"description": "Parameters supplied to the Update Logger operation."
}
},
- "parameters": { }
+ "parameters": {
+ "LoggerIdParameter": {
+ "name": "loggerid",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "maxLength": 80,
+ "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
+ "description": "Logger identifier. Must be unique in the API Management service instance.",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimnetworkstatus.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimnetworkstatus.json
index 5d04f28a46f4..7a5f342cfa43 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimnetworkstatus.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimnetworkstatus.json
@@ -103,7 +103,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/LocationNameParameter"
+ "$ref": "#/parameters/LocationNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -208,5 +208,15 @@
"description": "Network Status details."
}
},
- "parameters": { }
+ "parameters": {
+ "LocationNameParameter": {
+ "name": "locationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Location in which the API Management service is deployed. This is one of the Azure Regions like West US, East US, South Central US.",
+ "minLength": 1,
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimnotifications.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimnotifications.json
index 23de7e96bf19..62ae4c6dac5c 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimnotifications.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimnotifications.json
@@ -42,7 +42,7 @@
"operationId": "Notification_ListByService",
"description": "Lists a collection of properties defined within a service instance.",
"x-ms-examples": {
- "ApiManagementListNotifications": {
+ "ApiManagementListNotification": {
"$ref": "./examples/ApiManagementListNotifications.json"
}
},
@@ -72,12 +72,6 @@
"schema": {
"$ref": "#/definitions/NotificationCollection"
}
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
}
},
"x-ms-pageable": {
@@ -105,7 +99,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/NotificationNameParameter"
+ "$ref": "#/parameters/NotificationNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -134,10 +128,10 @@
"Notification"
],
"operationId": "Notification_CreateOrUpdate",
- "description": "Create or Update API Management publisher notification.",
+ "description": "Updates an Notification.",
"x-ms-examples": {
- "ApiManagementCreateNotification": {
- "$ref": "./examples/ApiManagementCreateNotification.json"
+ "ApiManagementGetNotification": {
+ "$ref": "./examples/ApiManagementGetNotification.json"
}
},
"parameters": [
@@ -148,7 +142,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/NotificationNameParameter"
+ "$ref": "#/parameters/NotificationNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
@@ -179,13 +173,13 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers": {
"get": {
"tags": [
- "NotificationRecipientUser"
+ "Notification"
],
"operationId": "NotificationRecipientUser_ListByNotification",
"description": "Gets the list of the Notification Recipient User subscribed to the notification.",
"x-ms-examples": {
- "ApiManagementListNotificationRecipientUsers": {
- "$ref": "./examples/ApiManagementListNotificationRecipientUsers.json"
+ "ApiManagementListNotificationRecipientUser": {
+ "$ref": "./examples/ApiManagementListNotificationRecipientUser.json"
}
},
"parameters": [
@@ -196,7 +190,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/NotificationNameParameter"
+ "$ref": "#/parameters/NotificationNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -221,7 +215,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers/{userId}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers/{uid}": {
"head": {
"tags": [
"NotificationRecipientUser"
@@ -241,10 +235,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/NotificationNameParameter"
+ "$ref": "#/parameters/NotificationNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/UserIdParameter"
+ "$ref": "./apimusers.json#/parameters/UserIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -257,6 +251,9 @@
"204": {
"description": "The User is subscribed to receive the notification."
},
+ "404" : {
+ "description": "Entity does not exists."
+ },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
@@ -272,8 +269,8 @@
"operationId": "NotificationRecipientUser_CreateOrUpdate",
"description": "Adds the API Management User to the list of Recipients for the Notification.",
"x-ms-examples": {
- "ApiManagementCreateNotificationRecipientUser": {
- "$ref": "./examples/ApiManagementCreateNotificationRecipientUser.json"
+ "ApiManagementCreateRecipientUser": {
+ "$ref": "./examples/ApiManagementCreateRecipientUser.json"
}
},
"parameters": [
@@ -284,10 +281,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/NotificationNameParameter"
+ "$ref": "#/parameters/NotificationNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/UserIdParameter"
+ "$ref": "./apimusers.json#/parameters/UserIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -336,10 +333,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/NotificationNameParameter"
+ "$ref": "#/parameters/NotificationNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/UserIdParameter"
+ "$ref": "./apimusers.json#/parameters/UserIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -372,8 +369,8 @@
"operationId": "NotificationRecipientEmail_ListByNotification",
"description": "Gets the list of the Notification Recipient Emails subscribed to a notification.",
"x-ms-examples": {
- "ApiManagementListNotificationRecipientEmails": {
- "$ref": "./examples/ApiManagementListNotificationRecipientEmails.json"
+ "ApiManagementListNotificationRecipientEmail": {
+ "$ref": "./examples/ApiManagementListNotificationRecipientEmail.json"
}
},
"parameters": [
@@ -384,7 +381,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/NotificationNameParameter"
+ "$ref": "#/parameters/NotificationNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -429,10 +426,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/NotificationNameParameter"
+ "$ref": "#/parameters/NotificationNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/EmailParameter"
+ "$ref": "#/parameters/EmailParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -445,6 +442,9 @@
"204": {
"description": "The Users is subscribed to receive the notification."
},
+ "404" : {
+ "description": "The Users is not subscribed to receive the notification."
+ },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
@@ -460,8 +460,8 @@
"operationId": "NotificationRecipientEmail_CreateOrUpdate",
"description": "Adds the Email address to the list of Recipients for the Notification.",
"x-ms-examples": {
- "ApiManagementCreateNotificationRecipientEmail": {
- "$ref": "./examples/ApiManagementCreateNotificationRecipientEmail.json"
+ "ApiManagementCreateRecipientEmail": {
+ "$ref": "./examples/ApiManagementCreateRecipientEmail.json"
}
},
"parameters": [
@@ -472,10 +472,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/NotificationNameParameter"
+ "$ref": "#/parameters/NotificationNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/EmailParameter"
+ "$ref": "#/parameters/EmailParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -524,10 +524,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/NotificationNameParameter"
+ "$ref": "#/parameters/NotificationNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/EmailParameter"
+ "$ref": "#/parameters/EmailParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -707,5 +707,65 @@
"description": "Recipient Email Contract Properties."
}
},
- "parameters": { }
+ "parameters": {
+ "NotificationNameParameter": {
+ "name": "notificationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "RequestPublisherNotificationMessage",
+ "PurchasePublisherNotificationMessage",
+ "NewApplicationNotificationMessage",
+ "BCC",
+ "NewIssuePublisherNotificationMessage",
+ "AccountClosedPublisher",
+ "QuotaLimitApproachingPublisherNotificationMessage"
+ ],
+ "x-ms-enum": {
+ "name": "NotificationName",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "RequestPublisherNotificationMessage",
+ "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval."
+ },
+ {
+ "value": "PurchasePublisherNotificationMessage",
+ "description": "The following email recipients and users will receive email notifications about new API product subscriptions."
+ },
+ {
+ "value": "NewApplicationNotificationMessage",
+ "description": "The following email recipients and users will receive email notifications when new applications are submitted to the application gallery."
+ },
+ {
+ "value": "BCC",
+ "description": "The following recipients will receive blind carbon copies of all emails sent to developers."
+ },
+ {
+ "value": "NewIssuePublisherNotificationMessage",
+ "description": "The following email recipients and users will receive email notifications when a new issue or comment is submitted on the developer portal."
+ },
+ {
+ "value": "AccountClosedPublisher",
+ "description": "The following email recipients and users will receive email notifications when developer closes his account."
+ },
+ {
+ "value": "QuotaLimitApproachingPublisherNotificationMessage",
+ "description": "The following email recipients and users will receive email notifications when subscription usage gets close to usage quota."
+ }
+ ]
+ },
+ "description": "Notification Name Identifier.",
+ "x-ms-parameter-location": "method"
+ },
+ "EmailParameter": {
+ "name": "email",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Email identifier.",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimopenidconnectproviders.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimopenidconnectproviders.json
index ff6e22207da7..3ac00661e497 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimopenidconnectproviders.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimopenidconnectproviders.json
@@ -37,10 +37,10 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders": {
"get": {
"tags": [
- "OpenidConnectProvider"
+ "OpenIdConnectProviders"
],
"operationId": "OpenIdConnectProvider_ListByService",
- "description": "Lists of all the OpenId Connect Providers.",
+ "description": "Lists all OpenID Connect Providers.",
"x-ms-examples": {
"ApiManagementListOpenIdConnectProviders": {
"$ref": "./examples/ApiManagementListOpenIdConnectProviders.json"
@@ -58,7 +58,7 @@
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -79,12 +79,6 @@
"schema": {
"$ref": "#/definitions/OpenIdConnectProviderCollection"
}
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
}
},
"x-ms-pageable": {
@@ -96,7 +90,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}": {
"head": {
"tags": [
- "OpenidConnectProvider"
+ "OpenIdConnectProviders"
],
"operationId": "OpenIdConnectProvider_GetEntityTag",
"description": "Gets the entity state (Etag) version of the openIdConnectProvider specified by its identifier.",
@@ -113,7 +107,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/OpenIdConnectIdParameter"
+ "$ref": "#/parameters/OpenIdConnectIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -126,10 +120,10 @@
"200": {
"description": "Specified openidConnectProvider entity exists and current entity state version is present in the ETag header.",
"headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "ETag": {
+ "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
+ "type": "string"
+ }
}
},
"default": {
@@ -140,9 +134,9 @@
}
}
},
- "get": {
+ "get": {
"tags": [
- "OpenidConnectProvider"
+ "OpenIdConnectProviders"
],
"operationId": "OpenIdConnectProvider_Get",
"description": "Gets specific OpenID Connect Provider.",
@@ -159,7 +153,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/OpenIdConnectIdParameter"
+ "$ref": "#/parameters/OpenIdConnectIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -191,7 +185,7 @@
},
"put": {
"tags": [
- "OpenidConnectProvider"
+ "OpenIdConnectProviders"
],
"operationId": "OpenIdConnectProvider_CreateOrUpdate",
"description": "Creates or updates the OpenID Connect Provider.",
@@ -208,7 +202,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/OpenIdConnectIdParameter"
+ "$ref": "#/parameters/OpenIdConnectIdParameter"
},
{
"name": "parameters",
@@ -232,24 +226,12 @@
"responses": {
"201": {
"description": "OpenIdConnect Provider was successfully created.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
"schema": {
"$ref": "#/definitions/OpenidConnectProviderContract"
}
},
"200": {
"description": "OpenIdConnect Provider was successfully updated.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
"schema": {
"$ref": "#/definitions/OpenidConnectProviderContract"
}
@@ -264,7 +246,7 @@
},
"patch": {
"tags": [
- "OpenidConnectProvider"
+ "OpenIdConnectProviders"
],
"operationId": "OpenIdConnectProvider_Update",
"description": "Updates the specific OpenID Connect Provider.",
@@ -281,7 +263,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/OpenIdConnectIdParameter"
+ "$ref": "#/parameters/OpenIdConnectIdParameter"
},
{
"name": "parameters",
@@ -316,7 +298,7 @@
},
"delete": {
"tags": [
- "OpenidConnectProvider"
+ "OpenIdConnectProviders"
],
"operationId": "OpenIdConnectProvider_Delete",
"description": "Deletes specific OpenID Connect Provider of the API Management service instance.",
@@ -333,7 +315,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/OpenIdConnectIdParameter"
+ "$ref": "#/parameters/OpenIdConnectIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
@@ -462,5 +444,16 @@
"description": "Parameters supplied to the Update OpenID Connect Provider operation."
}
},
- "parameters": { }
+ "parameters": {
+ "OpenIdConnectIdParameter": {
+ "name": "opid",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Identifier of the OpenID Connect Provider.",
+ "maxLength": 256,
+ "pattern": "^[^*#&+:<>?]+$",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimpolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimpolicies.json
deleted file mode 100644
index b75f16bfad9e..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimpolicies.json
+++ /dev/null
@@ -1,375 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "ApiManagementClient",
- "description": "Use these REST APIs for performing operations on Global Policies in Azure API Management deployment.",
- "version": "2018-06-01-preview"
- },
- "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": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies": {
- "get": {
- "tags": [
- "Policy"
- ],
- "operationId": "Policy_ListByService",
- "description": "Lists all the Global Policy definitions of the Api Management service.",
- "x-ms-examples": {
- "ApiManagementListPolicies": {
- "$ref": "./examples/ApiManagementListPolicies.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Returns an array of Policy Contracts.",
- "schema": {
- "$ref": "#/definitions/PolicyCollection"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}": {
- "head": {
- "tags": [
- "Policy"
- ],
- "operationId": "Policy_GetEntityTag",
- "description": "Gets the entity state (Etag) version of the Global policy definition in the Api Management service.",
- "x-ms-examples": {
- "ApiManagementHeadPolicy": {
- "$ref": "./examples/ApiManagementHeadPolicy.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The current entity state version is present in the ETag header.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "tags": [
- "Policy"
- ],
- "operationId": "Policy_Get",
- "description": "Get the Global policy definition of the Api Management service.",
- "x-ms-examples": {
- "ApiManagementGetPolicy": {
- "$ref": "./examples/ApiManagementGetPolicy.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Get the Global policy definition of the Api Management service.",
- "schema": {
- "$ref": "#/definitions/PolicyContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "put": {
- "tags": [
- "Policy"
- ],
- "operationId": "Policy_CreateOrUpdate",
- "description": "Creates or updates the global policy configuration of the Api Management service.",
- "x-ms-examples": {
- "ApiManagementCreatePolicy": {
- "$ref": "./examples/ApiManagementCreatePolicy.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/PolicyContract"
- },
- "description": "The policy contents to apply."
- },
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "201": {
- "description": "Global policy configuration was successfully created.",
- "schema": {
- "$ref": "#/definitions/PolicyContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "200": {
- "description": "Global policy configuration of the Api Management service was successfully updated.",
- "schema": {
- "$ref": "#/definitions/PolicyContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "Policy"
- ],
- "operationId": "Policy_Delete",
- "description": "Deletes the global policy configuration of the Api Management Service.",
- "x-ms-examples": {
- "ApiManagementDeletePolicy": {
- "$ref": "./examples/ApiManagementDeletePolicy.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Policy was successfully removed"
- },
- "204": {
- "description": "Policy successfully removed by previous request or does not exist"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "PolicyCollection": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicyContract"
- },
- "description": "Policy Contract value."
- },
- "nextLink": {
- "type": "string",
- "description": "Next page link if any."
- }
- },
- "description": "The response of the list policy operation."
- },
- "PolicyContract": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/PolicyContractProperties",
- "description": "Properties of the Policy."
- }
- },
- "allOf": [
- {
- "$ref": "./apimanagement.json#/definitions/Resource"
- }
- ],
- "description": "Policy Contract details."
- },
- "PolicyContractProperties": {
- "properties": {
- "policyContent": {
- "type": "string",
- "description": "Json escaped Xml Encoded contents of the Policy."
- },
- "contentFormat": {
- "type": "string",
- "description": "Format of the policyContent.",
- "enum": [
- "xml",
- "xml-link",
- "rawxml",
- "rawxml-link"
- ],
- "x-ms-enum": {
- "name": "PolicyContentFormat",
- "modelAsString": true,
- "values": [
- {
- "value": "xml",
- "description": "The contents are inline and Content type is an XML document."
- },
- {
- "value": "xml-link",
- "description": "The policy XML document is hosted on a http endpoint accessible from the API Management service."
- },
- {
- "value": "rawxml",
- "description": "The contents are inline and Content type is a non XML encoded policy document."
- },
- {
- "value": "rawxml-link",
- "description": "The policy document is not Xml encoded and is hosted on a http endpoint accessible from the API Management service."
- }
- ]
- },
- "default": "xml"
- }
- },
- "required": [
- "policyContent"
- ],
- "description": "Policy contract Properties."
- }
- },
- "parameters": { }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimpolicysnippets.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimpolicysnippets.json
deleted file mode 100644
index dd1a0dda82ce..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimpolicysnippets.json
+++ /dev/null
@@ -1,138 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "ApiManagementClient",
- "description": "Use these REST APIs for performing retrieving a collection of policy snippets available in Azure API Management deployment.",
- "version": "2018-06-01-preview"
- },
- "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": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policySnippets": {
- "get": {
- "tags": [
- "PolicySnippet"
- ],
- "operationId": "PolicySnippets_ListByService",
- "description": "Lists all policy snippets.",
- "x-ms-examples": {
- "ApiManagementListPolicySnippets": {
- "$ref": "./examples/ApiManagementListPolicySnippets.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "name": "scope",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Policy scope.",
- "enum": [
- "Tenant",
- "Product",
- "Api",
- "Operation",
- "All"
- ],
- "x-ms-enum": {
- "name": "PolicyScopeContract",
- "modelAsString": false
- }
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Returns an array of Policy Snippets.",
- "schema": {
- "$ref": "#/definitions/PolicySnippetsCollection"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "PolicySnippetsCollection": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PolicySnippetContract"
- },
- "description": "Policy snippet value."
- }
- },
- "description": "The response of the list policy snippets operation."
- },
- "PolicySnippetContract": {
- "properties": {
- "name": {
- "type": "string",
- "description": "Snippet name.",
- "readOnly": true
- },
- "content": {
- "type": "string",
- "description": "Snippet content.",
- "readOnly": true
- },
- "toolTip": {
- "type": "string",
- "description": "Snippet toolTip.",
- "readOnly": true
- },
- "scope": {
- "type": "integer",
- "description": "Binary OR value of the Snippet scope.",
- "readOnly": true
- }
- },
- "description": "Policy snippet."
- }
- },
- "parameters": {}
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimportalsettings.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimportalsettings.json
index efed60a92b38..eeeb2fd7b637 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimportalsettings.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimportalsettings.json
@@ -83,7 +83,7 @@
"SignInSettings"
],
"operationId": "SignInSettings_Get",
- "description": "Get Sign In Settings for the Portal",
+ "description": "Get Sign-In settings.",
"x-ms-examples": {
"ApiManagementPortalSettingsGetSignIn": {
"$ref": "./examples/ApiManagementPortalSettingsGetSignIn.json"
@@ -115,12 +115,6 @@
"type": "string"
}
}
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
}
}
},
@@ -200,9 +194,6 @@
},
"description": "Create or update parameters."
},
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
- },
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
@@ -275,7 +266,7 @@
"SignUpSettings"
],
"operationId": "SignUpSettings_Get",
- "description": "Get Sign Up Settings for the Portal",
+ "description": "Get Sign-Up settings.",
"x-ms-examples": {
"ApiManagementPortalSettingsGetSignUp": {
"$ref": "./examples/ApiManagementPortalSettingsGetSignUp.json"
@@ -307,12 +298,6 @@
"type": "string"
}
}
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
}
}
},
@@ -392,9 +377,6 @@
},
"description": "Create or update parameters."
},
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
- },
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
@@ -467,7 +449,7 @@
"DelegationSettings"
],
"operationId": "DelegationSettings_Get",
- "description": "Get Delegation Settings for the Portal.",
+ "description": "Get Delegation settings.",
"x-ms-examples": {
"ApiManagementPortalSettingsGetDelegation": {
"$ref": "./examples/ApiManagementPortalSettingsGetDelegation.json"
@@ -499,12 +481,6 @@
"type": "string"
}
}
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
}
}
},
@@ -584,9 +560,6 @@
},
"description": "Create or update parameters."
},
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
- },
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproducts.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproducts.json
index 7be672f95b6f..e09e8d0a7491 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproducts.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproducts.json
@@ -37,7 +37,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products": {
"get": {
"tags": [
- "Product"
+ "Products"
],
"operationId": "Product_ListByService",
"description": "Lists a collection of products in the specified service instance.",
@@ -58,7 +58,7 @@
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|terms | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|state | eq | |\n|groups | | |\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| terms | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| state | eq | |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -73,13 +73,6 @@
"type": "boolean",
"description": "When set to true, the response contains an array of groups that have visibility to the product. The default is false."
},
- {
- "name": "tags",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Products which are part of a specific tag."
- },
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
@@ -110,7 +103,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}": {
"head": {
"tags": [
- "Product"
+ "Products"
],
"operationId": "Product_GetEntityTag",
"description": "Gets the entity state (Etag) version of the product specified by its identifier.",
@@ -127,7 +120,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -156,7 +149,7 @@
},
"get": {
"tags": [
- "Product"
+ "Products"
],
"operationId": "Product_Get",
"description": "Gets the details of the product specified by its identifier.",
@@ -173,7 +166,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -205,13 +198,13 @@
},
"put": {
"tags": [
- "Product"
+ "Products"
],
"operationId": "Product_CreateOrUpdate",
"description": "Creates or Updates a product.",
"x-ms-examples": {
- "ApiManagementCreateProduct": {
- "$ref": "./examples/ApiManagementCreateProduct.json"
+ "ApiManagementCreateProductBasic": {
+ "$ref": "./examples/ApiManagementCreateProductBasic.json"
}
},
"parameters": [
@@ -222,7 +215,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
"name": "parameters",
@@ -248,24 +241,12 @@
"description": "Product was successfully created.",
"schema": {
"$ref": "#/definitions/ProductContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
}
},
"200": {
"description": "Product was successfully updated.",
"schema": {
"$ref": "#/definitions/ProductContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
}
},
"default": {
@@ -278,13 +259,13 @@
},
"patch": {
"tags": [
- "Product"
+ "Products"
],
"operationId": "Product_Update",
- "description": "Update existing product details.",
+ "description": "Update product.",
"x-ms-examples": {
- "ApiManagementUpdateProduct": {
- "$ref": "./examples/ApiManagementUpdateProduct.json"
+ "ApiManagementUpdateProductBasic": {
+ "$ref": "./examples/ApiManagementUpdateProductBasic.json"
}
},
"parameters": [
@@ -295,7 +276,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
"name": "parameters",
@@ -318,7 +299,7 @@
],
"responses": {
"204": {
- "description": "Product details was successfully updated."
+ "description": "No Content in case of Update Successful."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -330,7 +311,7 @@
},
"delete": {
"tags": [
- "Product"
+ "Products"
],
"operationId": "Product_Delete",
"description": "Delete product.",
@@ -347,10 +328,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
"name": "deleteSubscriptions",
@@ -359,6 +337,9 @@
"type": "boolean",
"description": "Delete existing subscriptions associated with the product or not."
},
+ {
+ "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
+ },
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
@@ -368,10 +349,10 @@
],
"responses": {
"200": {
- "description": "Product was successfully removed."
+ "description": "The product was successfully deleted."
},
"204": {
- "description": "Product was successfully removed by previous request or does not exist."
+ "description": "The product was successfully deleted."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -385,7 +366,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/apis": {
"get": {
"tags": [
- "ProductApi"
+ "ProductApis"
],
"operationId": "ProductApi_ListByProduct",
"description": "Lists a collection of the APIs associated with a product.",
@@ -402,14 +383,14 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
"name": "$filter",
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|path | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| path | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -447,7 +428,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/apis/{apiId}": {
"head": {
"tags": [
- "ProductApi"
+ "ProductApis"
],
"operationId": "ProductApi_CheckEntityExists",
"description": "Checks that API entity specified by identifier is associated with the Product entity.",
@@ -464,10 +445,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -480,6 +461,9 @@
"204": {
"description": "Entity exists"
},
+ "404": {
+ "description": "API is not associated with the product."
+ },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
@@ -490,7 +474,7 @@
},
"put": {
"tags": [
- "ProductApi"
+ "ProductApis"
],
"operationId": "ProductApi_CreateOrUpdate",
"description": "Adds an API to the specified product.",
@@ -507,10 +491,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -542,7 +526,7 @@
},
"delete": {
"tags": [
- "ProductApi"
+ "ProductApis"
],
"operationId": "ProductApi_Delete",
"description": "Deletes the specified API from the specified product.",
@@ -559,10 +543,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiIdRevParameter"
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -573,10 +557,10 @@
],
"responses": {
"200": {
- "description": "API was successfully removed from product"
+ "description": "The API was successfully removed from the product."
},
"204": {
- "description": "API successfully removed by previous request or does not exist in product"
+ "description": "The API was successfully removed from the product."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -590,7 +574,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/groups": {
"get": {
"tags": [
- "ProductGroup"
+ "ProductGroups"
],
"operationId": "ProductGroup_ListByProduct",
"description": "Lists the collection of developer groups associated with the specified product.",
@@ -607,14 +591,14 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
"name": "$filter",
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | |\n|displayName | eq, ne | |\n|description | eq, ne | |\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| type | eq, ne | N/A |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -652,7 +636,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/groups/{groupId}": {
"head": {
"tags": [
- "ProductGroup"
+ "ProductGroups"
],
"operationId": "ProductGroup_CheckEntityExists",
"description": "Checks that Group entity specified by identifier is associated with the Product entity.",
@@ -669,10 +653,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/GroupIdParameter"
+ "$ref": "./apimgroups.json#/parameters/GroupIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -685,6 +669,9 @@
"204": {
"description": "The Group is associated with the Product."
},
+ "404": {
+ "description": "The Group entity is not associated with the Product."
+ },
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
@@ -695,7 +682,7 @@
},
"put": {
"tags": [
- "ProductGroup"
+ "ProductGroups"
],
"operationId": "ProductGroup_CreateOrUpdate",
"description": "Adds the association between the specified developer group with the specified product.",
@@ -712,10 +699,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/GroupIdParameter"
+ "$ref": "./apimgroups.json#/parameters/GroupIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -747,7 +734,7 @@
},
"delete": {
"tags": [
- "ProductGroup"
+ "ProductGroups"
],
"operationId": "ProductGroup_Delete",
"description": "Deletes the association between the specified group and product.",
@@ -764,10 +751,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/GroupIdParameter"
+ "$ref": "./apimgroups.json#/parameters/GroupIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -795,7 +782,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/subscriptions": {
"get": {
"tags": [
- "ProductSubscription"
+ "ProductSubscriptions"
],
"operationId": "ProductSubscriptions_List",
"description": "Lists the collection of subscriptions to the specified product.",
@@ -812,14 +799,14 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
"name": "$filter",
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|stateComment | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|ownerId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|scope | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|userId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|productId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|state | eq | |\n|user | | |\n"
+ "description": "| Field | Supported operators | Supported functions |\n|--------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| stateComment | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| userId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| productId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| state | eq | |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -862,8 +849,8 @@
"operationId": "ProductPolicy_ListByProduct",
"description": "Get the policy configuration at the Product level.",
"x-ms-examples": {
- "ApiManagementListProductPolicies": {
- "$ref": "./examples/ApiManagementListProductPolicies.json"
+ "ApiManagementListProductPolicy": {
+ "$ref": "./examples/ApiManagementListProductPolicy.json"
}
},
"parameters": [
@@ -873,21 +860,27 @@
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
- {
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
- },
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ProductIdParameter"
}
],
"responses": {
"200": {
"description": "Product Policy information.",
"schema": {
- "$ref": "./apimpolicies.json#/definitions/PolicyCollection"
+ "$ref": "./apimanagement.json#/definitions/PolicyCollection"
+ },
+ "headers": {
+ "ETag": {
+ "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
+ "type": "string"
+ }
}
},
"default": {
@@ -919,16 +912,16 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
}
],
"responses": {
@@ -968,23 +961,23 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ "$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
}
],
"responses": {
"200": {
"description": "Product Policy information.",
"schema": {
- "$ref": "./apimpolicies.json#/definitions/PolicyContract"
+ "$ref": "./apimanagement.json#/definitions/PolicyContract"
},
"headers": {
"ETag": {
@@ -1020,7 +1013,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
@@ -1031,10 +1024,10 @@
{
"name": "parameters",
"in": "body",
- "required": true,
"schema": {
- "$ref": "./apimpolicies.json#/definitions/PolicyContract"
+ "$ref": "./apimanagement.json#/definitions/PolicyContract"
},
+ "required": true,
"description": "The policy contents to apply."
},
{
@@ -1048,25 +1041,13 @@
"201": {
"description": "Product policy configuration was successfully created.",
"schema": {
- "$ref": "./apimpolicies.json#/definitions/PolicyContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "$ref": "./apimanagement.json#/definitions/PolicyContract"
}
},
"200": {
"description": "Product policy configuration of the tenant was successfully updated.",
"schema": {
- "$ref": "./apimpolicies.json#/definitions/PolicyContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "$ref": "./apimanagement.json#/definitions/PolicyContract"
}
},
"default": {
@@ -1096,7 +1077,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
+ "$ref": "#/parameters/ProductIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/PolicyIdParameter"
@@ -1127,16 +1108,16 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/productsByTags": {
"get": {
"tags": [
- "ProductTag"
+ "ProductsByTags"
],
- "operationId": "Tag_ListByProduct",
- "description": "Lists all Tags associated with the Product.",
+ "operationId": "Product_ListByTags",
+ "description": "Lists a collection of products associated with tags.",
"x-ms-examples": {
- "ApiManagementListProductTags": {
- "$ref": "./examples/ApiManagementListProductTags.json"
+ "ApiManagementListProductsByTags": {
+ "$ref": "./examples/ApiManagementListProductsByTags.json"
}
},
"parameters": [
@@ -1146,15 +1127,12 @@
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
- {
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
- },
{
"name": "$filter",
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| terms | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| state | eq | substringof, contains, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -1167,227 +1145,28 @@
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The operation returns a collection of tags associated with the Product entity.",
- "schema": {
- "$ref": "./apimtags.json#/definitions/TagCollection"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "./apimtags.json#/definitions/TagContract"
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}": {
- "head": {
- "tags": [
- "ProductTag"
- ],
- "operationId": "Tag_GetEntityStateByProduct",
- "description": "Gets the entity state version of the tag specified by its identifier.",
- "x-ms-examples": {
- "ApiManagementHeadProductTag": {
- "$ref": "./examples/ApiManagementHeadProductTag.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Empty response body, ETag header entity state version.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "tags": [
- "ProductTag"
- ],
- "operationId": "Tag_GetByProduct",
- "description": "Get tag associated with the Product.",
- "x-ms-examples": {
- "ApiManagementGetProductTag": {
- "$ref": "./examples/ApiManagementGetProductTag.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ "name": "includeNotTaggedProducts",
+ "in": "query",
+ "type": "boolean",
+ "required": false,
+ "default": false,
+ "description": "Include not tagged products in response"
}
],
"responses": {
"200": {
- "description": "Gets the details of the tag specified by its identifier.",
- "schema": {
- "$ref": "./apimtags.json#/definitions/TagContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
+ "description": "Lists a collection of TagResource entities.",
"schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ "$ref": "./apimtagresources.json#/definitions/TagResourceCollection"
}
}
- }
- },
- "put": {
- "tags": [
- "ProductTag"
- ],
- "operationId": "Tag_AssignToProduct",
- "description": "Assign tag to the Product.",
- "x-ms-examples": {
- "ApiManagementCreateProductTag": {
- "$ref": "./examples/ApiManagementCreateProductTag.json"
- }
},
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "201": {
- "description": "Tag was assigned to the Product.",
- "schema": {
- "$ref": "./apimtags.json#/definitions/TagContract"
- }
- },
- "200": {
- "description": "Tag is already assigned to the Product.",
- "schema": {
- "$ref": "./apimtags.json#/definitions/TagContract"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "ProductTag"
- ],
- "operationId": "Tag_DetachFromProduct",
- "description": "Detach the tag from the Product.",
- "x-ms-examples": {
- "ApiManagementDeleteProductTag": {
- "$ref": "./examples/ApiManagementDeleteProductTag.json"
- }
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
},
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ProductIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully detached the tag from the Product."
- },
- "204": {
- "description": "Successfully detached the tag from the Product."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
+ "x-ms-odata": "./apimtagresources.json#/definitions/TagResourceContract"
}
}
},
@@ -1509,5 +1288,17 @@
"description": "Parameters supplied to the Update Product operation."
}
},
- "parameters": { }
+ "parameters": {
+ "ProductIdParameter": {
+ "name": "productId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Product identifier. Must be unique in the current API Management service instance.",
+ "minLength": 1,
+ "maxLength": 80,
+ "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproductsByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproductsByTags.json
deleted file mode 100644
index 007367ff9bdd..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproductsByTags.json
+++ /dev/null
@@ -1,106 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "ApiManagementClient",
- "description": "Use these REST APIs for performing operations to retrieve Products by Tags in Azure API Management deployment.",
- "version": "2018-06-01-preview"
- },
- "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": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/productsByTags": {
- "get": {
- "tags": [
- "ProductsByTag"
- ],
- "operationId": "Product_ListByTags",
- "description": "Lists a collection of products associated with tags.",
- "x-ms-examples": {
- "ApiManagementListProductsByTags": {
- "$ref": "./examples/ApiManagementListProductsByTags.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|terms | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|state | eq | substringof, contains, startswith, endswith|\n"
- },
- {
- "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
- },
- {
- "name": "includeNotTaggedProducts",
- "in": "query",
- "required": false,
- "type": "boolean",
- "description": "Include not tagged Products."
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Lists a collection of TagResource entities.",
- "schema": {
- "$ref": "./apimtagresources.json#/definitions/TagResourceCollection"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "./apimtagresources.json#/definitions/TagResourceContract"
- }
- }
- },
- "definitions": {},
- "parameters": {}
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproperties.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproperties.json
index 5cd10bb699a7..851f252c9340 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproperties.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimproperties.json
@@ -61,7 +61,7 @@
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|tags | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith, any, all|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------|------------------------|-------------------------------------------------------|\n| tags | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith, any, all |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -82,12 +82,6 @@
"schema": {
"$ref": "#/definitions/PropertyCollection"
}
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
}
},
"x-ms-pageable": {
@@ -116,7 +110,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/PropertyIdParameter"
+ "$ref": "#/parameters/PropertyIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -129,10 +123,10 @@
"200": {
"description": "Specified Property entity exists and current entity state version is present in the ETag header.",
"headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "ETag": {
+ "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
+ "type": "string"
+ }
}
},
"default": {
@@ -143,7 +137,7 @@
}
}
},
- "get": {
+ "get": {
"tags": [
"Property"
],
@@ -162,7 +156,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/PropertyIdParameter"
+ "$ref": "#/parameters/PropertyIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -211,7 +205,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/PropertyIdParameter"
+ "$ref": "#/parameters/PropertyIdParameter"
},
{
"name": "parameters",
@@ -237,24 +231,12 @@
"description": "Property was successfully created.",
"schema": {
"$ref": "#/definitions/PropertyContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
}
},
"200": {
"description": "Property was successfully updated.",
"schema": {
"$ref": "#/definitions/PropertyContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
}
},
"default": {
@@ -284,7 +266,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/PropertyIdParameter"
+ "$ref": "#/parameters/PropertyIdParameter"
},
{
"name": "parameters",
@@ -336,7 +318,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/PropertyIdParameter"
+ "$ref": "#/parameters/PropertyIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
@@ -475,5 +457,16 @@
"description": "Property Entity Base Parameters set."
}
},
- "parameters": {}
+ "parameters": {
+ "PropertyIdParameter": {
+ "name": "propId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Identifier of the property.",
+ "maxLength": 80,
+ "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimquotas.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimquotas.json
index c7b845017482..6eaa1bc25474 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimquotas.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimquotas.json
@@ -51,6 +51,9 @@
}
},
"parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
@@ -58,13 +61,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/QuotaCounterKeyParameter"
+ "$ref": "#/parameters/QuotaCounterKeyParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -101,7 +101,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/QuotaCounterKeyParameter"
+ "$ref": "#/parameters/QuotaCounterKeyParameter"
},
{
"name": "parameters",
@@ -149,6 +149,9 @@
}
},
"parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
@@ -156,16 +159,13 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/QuotaCounterKeyParameter"
+ "$ref": "#/parameters/QuotaCounterKeyParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/QuotaPeriodKeyParameter"
+ "$ref": "#/parameters/QuotaPeriodKeyParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
@@ -202,10 +202,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/QuotaCounterKeyParameter"
+ "$ref": "#/parameters/QuotaCounterKeyParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/QuotaPeriodKeyParameter"
+ "$ref": "#/parameters/QuotaPeriodKeyParameter"
},
{
"name": "parameters",
@@ -320,5 +320,22 @@
"description": "Quota counter value details."
}
},
- "parameters": { }
+ "parameters": {
+ "QuotaCounterKeyParameter": {
+ "name": "quotaCounterKey",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Quota counter key identifier.This is the result of expression defined in counter-key attribute of the quota-by-key policy.For Example, if you specify counter-key=\"boo\" in the policy, then it’s accessible by \"boo\" counter key. But if it’s defined as counter-key=\"@(\"b\"+\"a\")\" then it will be accessible by \"ba\" key",
+ "x-ms-parameter-location": "method"
+ },
+ "QuotaPeriodKeyParameter": {
+ "name": "quotaPeriodKey",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Quota period key identifier.",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimregions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimregions.json
deleted file mode 100644
index 6bcca3ca0b09..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimregions.json
+++ /dev/null
@@ -1,85 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "ApiManagementClient",
- "description": "Use these REST APIs for performing operations in Azure API Management deployment.",
- "version": "2018-06-01-preview"
- },
- "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": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/regions": {
- "get": {
- "tags": [
- "Region"
- ],
- "operationId": "Region_ListByService",
- "description": "Lists all azure regions in which the service exists.",
- "x-ms-examples": {
- "ApiManagementListRegions": {
- "$ref": "./examples/ApiManagementListRegions.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Lists of Regions in which the service is deployed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/RegionListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {},
- "parameters": {}
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimsubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimsubscriptions.json
index 79041ddeb69e..01e7e52edcc7 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimsubscriptions.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimsubscriptions.json
@@ -37,7 +37,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions": {
"get": {
"tags": [
- "Subscription"
+ "Subscriptions"
],
"operationId": "Subscription_List",
"description": "Lists all subscriptions of the API Management service instance.",
@@ -58,7 +58,7 @@
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|stateComment | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|ownerId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|scope | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|userId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|productId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|state | eq | |\n|user | | |\n"
+ "description": "| Field | Supported operators | Supported functions |\n|--------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| stateComment | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| ownerId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| scope | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| state | eq | |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -96,7 +96,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}": {
"head": {
"tags": [
- "Subscription"
+ "Subscriptions"
],
"operationId": "Subscription_GetEntityTag",
"description": "Gets the entity state (Etag) version of the apimanagement subscription specified by its identifier.",
@@ -113,7 +113,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SubscriptionEntityIdParameter"
+ "$ref": "#/parameters/SubscriptionEntityIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -142,7 +142,7 @@
},
"get": {
"tags": [
- "Subscription"
+ "Subscriptions"
],
"operationId": "Subscription_Get",
"description": "Gets the specified Subscription entity.",
@@ -159,7 +159,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SubscriptionEntityIdParameter"
+ "$ref": "#/parameters/SubscriptionEntityIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -191,7 +191,7 @@
},
"put": {
"tags": [
- "Subscription"
+ "Subscriptions"
],
"operationId": "Subscription_CreateOrUpdate",
"description": "Creates or updates the subscription of specified user to the specified product.",
@@ -208,7 +208,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SubscriptionEntityIdParameter"
+ "$ref": "#/parameters/SubscriptionEntityIdParameter"
},
{
"name": "parameters",
@@ -220,7 +220,7 @@
"description": "Create parameters."
},
{
- "$ref": "./apimanagement.json#/parameters/NotifySubscriptionStateChangeParameter"
+ "$ref": "#/parameters/NotifySubscriptionStateChangeParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
@@ -235,24 +235,12 @@
"responses": {
"201": {
"description": "The user was successfully subscribed to the product.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
"schema": {
"$ref": "#/definitions/SubscriptionContract"
}
},
"200": {
"description": "The user already subscribed to the product.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
"schema": {
"$ref": "#/definitions/SubscriptionContract"
}
@@ -267,7 +255,7 @@
},
"patch": {
"tags": [
- "Subscription"
+ "Subscriptions"
],
"operationId": "Subscription_Update",
"description": "Updates the details of a subscription specified by its identifier.",
@@ -284,7 +272,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SubscriptionEntityIdParameter"
+ "$ref": "#/parameters/SubscriptionEntityIdParameter"
},
{
"name": "parameters",
@@ -296,7 +284,7 @@
"description": "Update parameters."
},
{
- "$ref": "./apimanagement.json#/parameters/NotifySubscriptionStateChangeParameter"
+ "$ref": "#/parameters/NotifySubscriptionStateChangeParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
@@ -322,7 +310,7 @@
},
"delete": {
"tags": [
- "Subscription"
+ "Subscriptions"
],
"operationId": "Subscription_Delete",
"description": "Deletes the specified subscription.",
@@ -339,7 +327,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SubscriptionEntityIdParameter"
+ "$ref": "#/parameters/SubscriptionEntityIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
@@ -375,8 +363,8 @@
"operationId": "Subscription_RegeneratePrimaryKey",
"description": "Regenerates primary key of existing subscription of the API Management service instance.",
"x-ms-examples": {
- "ApiManagementSubscriptionRegeneratePrimaryKey": {
- "$ref": "./examples/ApiManagementSubscriptionRegeneratePrimaryKey.json"
+ "ApiManagementSubscriptionRegenerateKey": {
+ "$ref": "./examples/ApiManagementSubscriptionRegenerateKey.json"
}
},
"parameters": [
@@ -387,7 +375,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SubscriptionEntityIdParameter"
+ "$ref": "#/parameters/SubscriptionEntityIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -417,8 +405,8 @@
"operationId": "Subscription_RegenerateSecondaryKey",
"description": "Regenerates secondary key of existing subscription of the API Management service instance.",
"x-ms-examples": {
- "ApiManagementSubscriptionRegenerateSecondaryKey": {
- "$ref": "./examples/ApiManagementSubscriptionRegenerateSecondaryKey.json"
+ "ApiManagementSubscriptionRegenerateKey": {
+ "$ref": "./examples/ApiManagementSubscriptionRegenerateKey.json"
}
},
"parameters": [
@@ -429,7 +417,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/SubscriptionEntityIdParameter"
+ "$ref": "#/parameters/SubscriptionEntityIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -488,7 +476,7 @@
"properties": {
"ownerId": {
"type": "string",
- "description": "The user resource identifier of the subscription owner. The value is a valid relative URL in the format of /users/{userId} where {userId} is a user identifier."
+ "description": "The user resource identifier of the subscription owner. The value is a valid relative URL in the format of /users/{uid} where {uid} is a user identifier."
},
"scope": {
"type": "string",
@@ -586,7 +574,7 @@
"properties": {
"ownerId": {
"type": "string",
- "description": "User (user id path) for whom subscription is being created in form /users/{userId}"
+ "description": "User (user id path) for whom subscription is being created in form /users/{uid}"
},
"scope": {
"type": "string",
@@ -651,7 +639,7 @@
"properties": {
"ownerId": {
"type": "string",
- "description": "User identifier path: /users/{userId}"
+ "description": "User identifier path: /users/{uid}"
},
"scope": {
"type": "string",
@@ -706,5 +694,24 @@
"description": "Parameters supplied to the Update subscription operation."
}
},
- "parameters":{}
+ "parameters": {
+ "SubscriptionEntityIdParameter": {
+ "name": "sid",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Subscription entity Identifier. The entity represents the association between a user and a product in API Management.",
+ "maxLength": 80,
+ "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
+ "x-ms-parameter-location": "method"
+ },
+ "NotifySubscriptionStateChangeParameter": {
+ "name": "notify",
+ "in": "query",
+ "required": false,
+ "type": "boolean",
+ "description": "Notify change in Subscription State. \n - If false, do not send any email notification for change of state of subscription \n - If true, send email notification of change of state of subscription ",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtagresources.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtagresources.json
index 58d31862b1b6..d3c2b30a9d79 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtagresources.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtagresources.json
@@ -9,9 +9,7 @@
"schemes": [
"https"
],
- "consumes": [
- "application/json"
- ],
+ "consumes": [],
"produces": [
"application/json"
],
@@ -37,7 +35,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tagResources": {
"get": {
"tags": [
- "TagResource"
+ "TagResources"
],
"operationId": "TagResource_ListByService",
"description": "Lists a collection of resources associated with tags.",
@@ -58,7 +56,7 @@
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|aid | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|apiName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|apiRevision | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|path | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|method | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|urlTemplate | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|terms | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|state | eq | |\n|isCurrent | eq | |\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| aid | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| apiName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| apiRevision | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| path | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| method | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| urlTemplate | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| terms | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| state | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| isCurrent | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -79,12 +77,6 @@
"schema": {
"$ref": "#/definitions/TagResourceCollection"
}
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
}
},
"x-ms-pageable": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtags.json
index b4b29ee1ba27..ea5afcdec05c 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtags.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtags.json
@@ -37,7 +37,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags": {
"get": {
"tags": [
- "Tag"
+ "Tags"
],
"operationId": "Tag_ListByService",
"description": "Lists a collection of tags defined within a service instance.",
@@ -58,7 +58,7 @@
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -66,12 +66,1036 @@
{
"$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
},
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
{
"name": "scope",
"in": "query",
- "required": false,
"type": "string",
+ "required": false,
"description": "Scope like 'apis', 'products' or 'apis/{apiId}"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Lists a collection of Tag entities.",
+ "schema": {
+ "$ref": "#/definitions/TagCollection"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/TagContract"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}": {
+ "head": {
+ "tags": [
+ "Tags"
+ ],
+ "operationId": "Tag_GetEntityState",
+ "description": "Gets the entity state version of the tag specified by its identifier.",
+ "x-ms-examples": {
+ "ApiManagementGetTag": {
+ "$ref": "./examples/ApiManagementHeadTag.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Empty response body, ETag header entity state version.",
+ "headers": {
+ "ETag": {
+ "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "Tags"
+ ],
+ "operationId": "Tag_Get",
+ "description": "Gets the details of the tag specified by its identifier.",
+ "x-ms-examples": {
+ "ApiManagementGetTag": {
+ "$ref": "./examples/ApiManagementGetTag.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The response body contains the specified Tag entity.",
+ "schema": {
+ "$ref": "#/definitions/TagContract"
+ },
+ "headers": {
+ "ETag": {
+ "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Tags"
+ ],
+ "operationId": "Tag_CreateOrUpdate",
+ "description": "Creates a tag.",
+ "x-ms-examples": {
+ "ApiManagementCreateTag": {
+ "$ref": "./examples/ApiManagementCreateTag.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TagCreateUpdateParameters"
+ },
+ "description": "Create parameters."
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Tag was created successfully.",
+ "schema": {
+ "$ref": "#/definitions/TagContract"
+ }
+ },
+ "200": {
+ "description": "Tag already exists.",
+ "schema": {
+ "$ref": "#/definitions/TagContract"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Tags"
+ ],
+ "operationId": "Tag_Update",
+ "description": "Updates the details of the tag specified by its identifier.",
+ "x-ms-examples": {
+ "ApiManagementUpdateTag": {
+ "$ref": "./examples/ApiManagementUpdateTag.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TagCreateUpdateParameters"
+ },
+ "description": "Update parameters."
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "The tag details were successfully updated."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Tags"
+ ],
+ "operationId": "Tag_Delete",
+ "description": "Deletes specific tag of the API Management service instance.",
+ "x-ms-examples": {
+ "ApiManagementDeleteTag": {
+ "$ref": "./examples/ApiManagementDeleteTag.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The tag was successfully deleted."
+ },
+ "204": {
+ "description": "The tag was successfully deleted."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags": {
+ "get": {
+ "tags": [
+ "ApiTags"
+ ],
+ "operationId": "Tag_ListByApi",
+ "description": "Lists all Tags associated with the API.",
+ "x-ms-examples": {
+ "ApiManagementGetTagsForApi": {
+ "$ref": "./examples/ApiManagementGetTagsForApi.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation returns a collection of tags associated with the Api entity.",
+ "schema": {
+ "$ref": "#/definitions/TagCollection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/TagContract"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}": {
+ "head": {
+ "tags": [
+ "ApiTags"
+ ],
+ "operationId": "Tag_GetEntityStateByApi",
+ "description": "Gets the entity state version of the tag specified by its identifier.",
+ "x-ms-examples": {
+ "ApiManagementHeadApiTag": {
+ "$ref": "./examples/ApiManagementHeadApiTag.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Empty response body, ETag header entity state version.",
+ "headers": {
+ "ETag": {
+ "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "ApiTags"
+ ],
+ "operationId": "Tag_GetByApi",
+ "description": "Get tag associated with the API.",
+ "x-ms-examples": {
+ "ApiManagementGetApiTag": {
+ "$ref": "./examples/ApiManagementGetApiTag.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Gets the details of the tag specified by its identifier.",
+ "schema": {
+ "$ref": "#/definitions/TagContract"
+ },
+ "headers": {
+ "ETag": {
+ "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ApiTags"
+ ],
+ "operationId": "Tag_AssignToApi",
+ "description": "Assign tag to the Api.",
+ "x-ms-examples": {
+ "ApiManagementCreateApiTag": {
+ "$ref": "./examples/ApiManagementCreateApiTag.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Tag was assigned to the Api.",
+ "schema": {
+ "$ref": "#/definitions/TagContract"
+ }
+ },
+ "200": {
+ "description": "Tag is already assigned to the Api.",
+ "schema": {
+ "$ref": "#/definitions/TagContract"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ApiTags"
+ ],
+ "operationId": "Tag_DetachFromApi",
+ "description": "Detach the tag from the Api.",
+ "x-ms-examples": {
+ "ApiManagementDeleteApiTag": {
+ "$ref": "./examples/ApiManagementDeleteApiTag.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully detached the tag from the Api."
+ },
+ "204": {
+ "description": "Successfully detached the tag from the Api."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions": {
+ "get": {
+ "tags": [
+ "ApiTagDescriptions"
+ ],
+ "operationId": "TagDescription_ListByApi",
+ "description": "Lists all Tags descriptions in scope of API. Model similar to swagger - tagDescription is defined on API level but tag may be assigned to the Operations",
+ "x-ms-examples": {
+ "ApiManagementGetTagDescriptionsForApi": {
+ "$ref": "./examples/ApiManagementGetTagDescriptionsForApi.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation returns a collection of tagDescriptions associated with the Api entity.",
+ "schema": {
+ "$ref": "#/definitions/TagDescriptionCollection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/TagDescriptionContract"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}": {
+ "head": {
+ "tags": [
+ "ApiTagDescriptions"
+ ],
+ "operationId": "TagDescription_GetEntityState",
+ "description": "Gets the entity state version of the tag specified by its identifier.",
+ "x-ms-examples": {
+ "ApiManagementHeadApiTagDescription": {
+ "$ref": "./examples/ApiManagementHeadApiTagDescription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Empty response body, ETag header entity state version.",
+ "headers": {
+ "ETag": {
+ "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "ApiTagDescriptions"
+ ],
+ "operationId": "TagDescription_Get",
+ "description": "Get tag associated with the API.",
+ "x-ms-examples": {
+ "ApiManagementGetApiTagDescription": {
+ "$ref": "./examples/ApiManagementGetApiTagDescription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Gets the description of the tag specified by its identifier in scope if the Api.",
+ "schema": {
+ "$ref": "#/definitions/TagDescriptionContract"
+ },
+ "headers": {
+ "ETag": {
+ "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ApiTagDescriptions"
+ ],
+ "operationId": "TagDescription_CreateOrUpdate",
+ "description": "Create/Update tag description in scope of the Api.",
+ "x-ms-examples": {
+ "ApiManagementCreateApiTagDescription": {
+ "$ref": "./examples/ApiManagementCreateApiTagDescription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TagDescriptionCreateParameters"
+ },
+ "description": "Create parameters."
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Tag Description was created for the Api.",
+ "schema": {
+ "$ref": "#/definitions/TagDescriptionContract"
+ }
+ },
+ "200": {
+ "description": "Tag Description was updated for the Api.",
+ "schema": {
+ "$ref": "#/definitions/TagDescriptionContract"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ApiTagDescriptions"
+ ],
+ "operationId": "TagDescription_Delete",
+ "description": "Delete tag description for the Api.",
+ "x-ms-examples": {
+ "ApiManagementDeleteApiTagDescription": {
+ "$ref": "./examples/ApiManagementDeleteApiTagDescription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully deleted tag description for the Api."
+ },
+ "204": {
+ "description": "Successfully deleted tag description for the Api."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags": {
+ "get": {
+ "tags": [
+ "OperationTags"
+ ],
+ "operationId": "Tag_ListByOperation",
+ "description": "Lists all Tags associated with the Operation.",
+ "x-ms-examples": {
+ "ApiManagementGetTagsForOperation": {
+ "$ref": "./examples/ApiManagementGetTagsForOperation.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/OperationIdParameter"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| method | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| urlTemplate | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation returns a collection of tags associated with the Operation entity.",
+ "schema": {
+ "$ref": "#/definitions/TagCollection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/TagContract"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}": {
+ "head": {
+ "tags": [
+ "OperationTags"
+ ],
+ "operationId": "Tag_GetEntityStateByOperation",
+ "description": "Gets the entity state version of the tag specified by its identifier.",
+ "x-ms-examples": {
+ "ApiManagementHeadOperationTag": {
+ "$ref": "./examples/ApiManagementHeadOperationTag.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/OperationIdParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Empty response body, ETag header entity state version.",
+ "headers": {
+ "ETag": {
+ "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "OperationTags"
+ ],
+ "operationId": "Tag_GetByOperation",
+ "description": "Get tag associated with the Operation.",
+ "x-ms-examples": {
+ "ApiManagementGetOperationTag": {
+ "$ref": "./examples/ApiManagementGetOperationTag.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/OperationIdParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Gets the details of the tag specified by its identifier.",
+ "schema": {
+ "$ref": "#/definitions/TagContract"
+ },
+ "headers": {
+ "ETag": {
+ "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "OperationTags"
+ ],
+ "operationId": "Tag_AssignToOperation",
+ "description": "Assign tag to the Operation.",
+ "x-ms-examples": {
+ "ApiManagementCreateOperationTag": {
+ "$ref": "./examples/ApiManagementCreateOperationTag.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/OperationIdParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -81,11 +1105,69 @@
}
],
"responses": {
+ "201": {
+ "description": "Tag was assigned to the Operation.",
+ "schema": {
+ "$ref": "#/definitions/TagContract"
+ }
+ },
"200": {
- "description": "Lists a collection of Tag entities.",
+ "description": "Tag is already assigned to the Operation.",
"schema": {
- "$ref": "./apimtags.json#/definitions/TagCollection"
+ "$ref": "#/definitions/TagContract"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "OperationTags"
+ ],
+ "operationId": "Tag_DetachFromOperation",
+ "description": "Detach the tag from the Operation.",
+ "x-ms-examples": {
+ "ApiManagementDeleteOperationTag": {
+ "$ref": "./examples/ApiManagementDeleteOperationTag.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/OperationIdParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully detached the tag from the Operation."
+ },
+ "204": {
+ "description": "Successfully detached the tag from the Operation."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -93,23 +1175,83 @@
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operationsByTags": {
+ "get": {
+ "tags": [
+ "OperationsByTags"
+ ],
+ "operationId": "Operation_ListByTags",
+ "description": "Lists a collection of operations associated with tags.",
+ "x-ms-examples": {
+ "ApiManagementListOperationsByTags": {
+ "$ref": "./examples/ApiManagementListOperationsByTags.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimapis.json#/parameters/ApiIdRevParameter"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| apiName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| method | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| urlTemplate | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "includeNotTaggedOperations",
+ "in": "query",
+ "type": "boolean",
+ "required": false,
+ "default": false,
+ "description": "Include not tagged operations in response"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Lists a collection of TagResource entities.",
+ "schema": {
+ "$ref": "./apimtagresources.json#/definitions/TagResourceCollection"
+ }
+ }
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
- "x-ms-odata": "./apimtags.json#/definitions/TagContract"
+ "x-ms-odata": "./apimtagresources.json#/definitions/TagResourceContract"
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}": {
- "head": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags": {
+ "get": {
"tags": [
- "Tag"
+ "ProductTags"
],
- "operationId": "Tag_GetEntityState",
- "description": "Gets the entity state version of the tag specified by its identifier.",
+ "operationId": "Tag_ListByProduct",
+ "description": "Lists all Tags associated with the Product.",
"x-ms-examples": {
- "ApiManagementHeadTag": {
- "$ref": "./examples/ApiManagementHeadTag.json"
+ "ApiManagementGetTagsForProduct": {
+ "$ref": "./examples/ApiManagementGetTagsForProduct.json"
}
},
"parameters": [
@@ -120,7 +1262,20 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
+ "$ref": "./apimproducts.json#/parameters/ProductIdParameter"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -131,12 +1286,9 @@
],
"responses": {
"200": {
- "description": "Empty response body, ETag header entity state version.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
+ "description": "The operation returns a collection of tags associated with the Product entity.",
+ "schema": {
+ "$ref": "./apimtags.json#/definitions/TagCollection"
}
},
"default": {
@@ -145,17 +1297,23 @@
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
- }
- },
- "get": {
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "./apimtags.json#/definitions/TagContract"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}": {
+ "head": {
"tags": [
- "Tag"
+ "ProductTags"
],
- "operationId": "Tag_Get",
- "description": "Gets the details of the tag specified by its identifier.",
+ "operationId": "Tag_GetEntityStateByProduct",
+ "description": "Gets the entity state version of the tag specified by its identifier.",
"x-ms-examples": {
- "ApiManagementGetTag": {
- "$ref": "./examples/ApiManagementGetTag.json"
+ "ApiManagementHeadProductTag": {
+ "$ref": "./examples/ApiManagementHeadProductTag.json"
}
},
"parameters": [
@@ -166,7 +1324,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
+ "$ref": "./apimproducts.json#/parameters/ProductIdParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -177,10 +1338,7 @@
],
"responses": {
"200": {
- "description": "The response body contains the specified Tag entity.",
- "schema": {
- "$ref": "./apimtags.json#/definitions/TagContract"
- },
+ "description": "Empty response body, ETag header entity state version.",
"headers": {
"ETag": {
"description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
@@ -196,15 +1354,15 @@
}
}
},
- "put": {
+ "get": {
"tags": [
- "Tag"
+ "ProductTags"
],
- "operationId": "Tag_CreateOrUpdate",
- "description": "Creates a tag.",
+ "operationId": "Tag_GetByProduct",
+ "description": "Get tag associated with the Product.",
"x-ms-examples": {
- "ApiManagementCreateTag": {
- "$ref": "./examples/ApiManagementCreateTag.json"
+ "ApiManagementGetProductTag": {
+ "$ref": "./examples/ApiManagementGetProductTag.json"
}
},
"parameters": [
@@ -215,19 +1373,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/TagCreateUpdateParameters"
- },
- "description": "Create parameters."
+ "$ref": "./apimproducts.json#/parameters/ProductIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
+ "$ref": "#/parameters/TagIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -237,28 +1386,16 @@
}
],
"responses": {
- "201": {
- "description": "Tag was created successfully.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
+ "200": {
+ "description": "Gets the details of the tag specified by its identifier.",
"schema": {
"$ref": "./apimtags.json#/definitions/TagContract"
- }
- },
- "200": {
- "description": "Tag already exists.",
+ },
"headers": {
"ETag": {
"description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
"type": "string"
}
- },
- "schema": {
- "$ref": "./apimtags.json#/definitions/TagContract"
}
},
"default": {
@@ -269,15 +1406,15 @@
}
}
},
- "patch": {
+ "put": {
"tags": [
- "Tag"
+ "ProductTags"
],
- "operationId": "Tag_Update",
- "description": "Updates the details of the tag specified by its identifier.",
+ "operationId": "Tag_AssignToProduct",
+ "description": "Assign tag to the Product.",
"x-ms-examples": {
- "ApiManagementUpdateTag": {
- "$ref": "./examples/ApiManagementUpdateTag.json"
+ "ApiManagementCreateProductTag": {
+ "$ref": "./examples/ApiManagementCreateProductTag.json"
}
},
"parameters": [
@@ -288,19 +1425,13 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
+ "$ref": "./apimproducts.json#/parameters/ProductIdParameter"
},
{
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/TagCreateUpdateParameters"
- },
- "description": "Update parameters."
+ "$ref": "#/parameters/TagIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
+ "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -310,8 +1441,17 @@
}
],
"responses": {
- "204": {
- "description": "The tag details were successfully updated."
+ "201": {
+ "description": "Tag was assigned to the Product.",
+ "schema": {
+ "$ref": "./apimtags.json#/definitions/TagContract"
+ }
+ },
+ "200": {
+ "description": "Tag is already assigned to the Product.",
+ "schema": {
+ "$ref": "./apimtags.json#/definitions/TagContract"
+ }
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -323,13 +1463,13 @@
},
"delete": {
"tags": [
- "Tag"
+ "ProductTags"
],
- "operationId": "Tag_Delete",
- "description": "Deletes specific tag of the API Management service instance.",
+ "operationId": "Tag_DetachFromProduct",
+ "description": "Detach the tag from the Product.",
"x-ms-examples": {
- "ApiManagementDeleteTag": {
- "$ref": "./examples/ApiManagementDeleteTag.json"
+ "ApiManagementDeleteProductTag": {
+ "$ref": "./examples/ApiManagementDeleteProductTag.json"
}
},
"parameters": [
@@ -340,7 +1480,10 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/TagIdParameter"
+ "$ref": "./apimproducts.json#/parameters/ProductIdParameter"
+ },
+ {
+ "$ref": "#/parameters/TagIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
@@ -354,10 +1497,10 @@
],
"responses": {
"200": {
- "description": "Tag successfully removed"
+ "description": "Successfully detached the tag from the Product."
},
"204": {
- "description": "Tag successfully removed by previous request or does not exist"
+ "description": "Successfully detached the tag from the Product."
},
"default": {
"description": "Error response describing why the operation failed.",
@@ -375,7 +1518,7 @@
"value": {
"type": "array",
"items": {
- "$ref": "./apimtags.json#/definitions/TagContract"
+ "$ref": "#/definitions/TagContract"
},
"description": "Page values."
},
@@ -430,7 +1573,7 @@
"value": {
"type": "array",
"items": {
- "$ref": "./apimtags.json#/definitions/TagDescriptionContract"
+ "$ref": "#/definitions/TagDescriptionContract"
},
"description": "Page values."
},
@@ -501,5 +1644,17 @@
"description": "Parameters supplied to the Create TagDescription operation."
}
},
- "parameters": {}
+ "parameters": {
+ "TagIdParameter": {
+ "name": "tagId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Tag identifier. Must be unique in the current API Management service instance.",
+ "minLength": 1,
+ "maxLength": 80,
+ "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtenant.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtenant.json
index bdd1200b96a7..487a7b169075 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtenant.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimtenant.json
@@ -35,58 +35,12 @@
},
"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}": {
- "head": {
- "tags": [
- "TenantAccess"
- ],
- "operationId": "TenantAccess_GetEntityTag",
- "description": "Tenant access metadata",
- "x-ms-examples": {
- "ApiManagementHeadTenantAccess": {
- "$ref": "./examples/ApiManagementHeadTenantAccess.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/AccessParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Operation completed successfully.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- },
"get": {
"tags": [
"TenantAccess"
],
"operationId": "TenantAccess_Get",
- "description": "Get tenant access information details",
+ "description": "Get tenant access information details.",
"x-ms-examples": {
"ApiManagementGetTenantAccess": {
"$ref": "./examples/ApiManagementGetTenantAccess.json"
@@ -106,7 +60,7 @@
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/AccessParameter"
+ "$ref": "#/parameters/AccessParameter"
}
],
"responses": {
@@ -121,12 +75,6 @@
"type": "string"
}
}
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
}
}
},
@@ -158,7 +106,7 @@
"description": "Parameters supplied to retrieve the Tenant Access Information."
},
{
- "$ref": "./apimanagement.json#/parameters/AccessParameter"
+ "$ref": "#/parameters/AccessParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
@@ -189,7 +137,7 @@
"TenantAccess"
],
"operationId": "TenantAccess_RegeneratePrimaryKey",
- "description": "Regenerate primary access key",
+ "description": "Regenerate primary access key.",
"x-ms-examples": {
"ApiManagementTenantAccessRegenerateKey": {
"$ref": "./examples/ApiManagementTenantAccessRegenerateKey.json"
@@ -209,7 +157,7 @@
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/AccessParameter"
+ "$ref": "#/parameters/AccessParameter"
}
],
"responses": {
@@ -231,7 +179,7 @@
"TenantAccess"
],
"operationId": "TenantAccess_RegenerateSecondaryKey",
- "description": "Regenerate secondary access key",
+ "description": "Regenerate secondary access key.",
"x-ms-examples": {
"ApiManagementTenantAccessRegenerateKey": {
"$ref": "./examples/ApiManagementTenantAccessRegenerateKey.json"
@@ -251,7 +199,7 @@
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/AccessParameter"
+ "$ref": "#/parameters/AccessParameter"
}
],
"responses": {
@@ -293,7 +241,7 @@
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/AccessParameter"
+ "$ref": "#/parameters/AccessParameter"
}
],
"responses": {
@@ -344,7 +292,7 @@
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/AccessParameter"
+ "$ref": "#/parameters/AccessParameter"
}
],
"responses": {
@@ -386,7 +334,7 @@
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/AccessParameter"
+ "$ref": "#/parameters/AccessParameter"
}
],
"responses": {
@@ -441,7 +389,7 @@
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ConfigurationParameter"
+ "$ref": "#/parameters/ConfigurationParameter"
}
],
"responses": {
@@ -503,7 +451,7 @@
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ConfigurationParameter"
+ "$ref": "#/parameters/ConfigurationParameter"
}
],
"responses": {
@@ -561,7 +509,7 @@
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ConfigurationParameter"
+ "$ref": "#/parameters/ConfigurationParameter"
}
],
"responses": {
@@ -610,7 +558,7 @@
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/ConfigurationParameter"
+ "$ref": "#/parameters/ConfigurationParameter"
}
],
"responses": {
@@ -789,5 +737,36 @@
"description": "Tenant Configuration Synchronization State."
}
},
- "parameters": {}
+ "parameters": {
+ "AccessParameter": {
+ "name": "accessName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "access"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "AccessIdName"
+ },
+ "description": "The identifier of the Access configuration.",
+ "x-ms-parameter-location": "method"
+ },
+ "ConfigurationParameter": {
+ "name": "configurationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "configuration"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "configurationIdName"
+ },
+ "description": "The identifier of the Git Configuration Operation.",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimusers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimusers.json
index f4ff50b10052..8e7367a34444 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimusers.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimusers.json
@@ -34,10 +34,52 @@
}
},
"paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identity": {
+ "get": {
+ "tags": [
+ "Users"
+ ],
+ "operationId": "User_GetIdentity",
+ "description": "Returns calling user identity information.",
+ "x-ms-examples": {
+ "ApiManagementListUsers": {
+ "$ref": "./examples/ApiManagementGetUserIdentity.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Current user APIM id.",
+ "schema": {
+ "$ref": "#/definitions/CurrentUserIdentity"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users": {
"get": {
"tags": [
- "User"
+ "Users"
],
"operationId": "User_ListByService",
"description": "Lists a collection of registered users in the specified service instance.",
@@ -58,7 +100,7 @@
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|firstName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|lastName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|email | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|state | eq | |\n|registrationDate | ge, le, eq, ne, gt, lt | |\n|note | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|groups | | |\n"
+ "description": "| Field | Supported operators | Supported functions |\n|------------------|------------------------|-----------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| firstName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| lastName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| email | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| state | eq | N/A |\n| registrationDate | ge, le, eq, ne, gt, lt | N/A |\n| note | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -66,11 +108,6 @@
{
"$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
},
- {
- "name": "expandGroups",
- "in": "query",
- "type": "boolean"
- },
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
@@ -98,10 +135,10 @@
"x-ms-odata": "#/definitions/UserContract"
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}": {
"head": {
"tags": [
- "User"
+ "Users"
],
"operationId": "User_GetEntityTag",
"description": "Gets the entity state (Etag) version of the user specified by its identifier.",
@@ -118,7 +155,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/UserIdParameter"
+ "$ref": "#/parameters/UserIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -147,7 +184,7 @@
},
"get": {
"tags": [
- "User"
+ "Users"
],
"operationId": "User_Get",
"description": "Gets the details of the user specified by its identifier.",
@@ -164,7 +201,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/UserIdParameter"
+ "$ref": "#/parameters/UserIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -196,13 +233,13 @@
},
"put": {
"tags": [
- "User"
+ "Users"
],
"operationId": "User_CreateOrUpdate",
"description": "Creates or Updates a user.",
"x-ms-examples": {
- "ApiManagementCreateUser": {
- "$ref": "./examples/ApiManagementCreateUser.json"
+ "ApiManagementCreateUserBasic": {
+ "$ref": "./examples/ApiManagementCreateUserBasic.json"
}
},
"parameters": [
@@ -213,7 +250,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/UserIdParameter"
+ "$ref": "#/parameters/UserIdParameter"
},
{
"name": "parameters",
@@ -239,22 +276,10 @@
"description": "User was successfully created.",
"schema": {
"$ref": "#/definitions/UserContract"
- },
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
}
},
"200": {
"description": "User was successfully updated.",
- "headers": {
- "ETag": {
- "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
- "type": "string"
- }
- },
"schema": {
"$ref": "#/definitions/UserContract"
}
@@ -269,13 +294,13 @@
},
"patch": {
"tags": [
- "User"
+ "Users"
],
"operationId": "User_Update",
"description": "Updates the details of the user specified by its identifier.",
"x-ms-examples": {
- "ApiManagementUpdateUser": {
- "$ref": "./examples/ApiManagementUpdateUser.json"
+ "ApiManagementUpdateUserBasic": {
+ "$ref": "./examples/ApiManagementUpdateUserBasic.json"
}
},
"parameters": [
@@ -286,7 +311,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/UserIdParameter"
+ "$ref": "#/parameters/UserIdParameter"
},
{
"name": "parameters",
@@ -312,7 +337,7 @@
"description": "The user details were successfully updated."
},
"default": {
- "description": "Error response describing why the operation failed.",
+ "description": "*** Error Responses: ***\n\n * 405 Administrator user cannot be modified\n\n * 4XX Error response giving details why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
@@ -321,7 +346,7 @@
},
"delete": {
"tags": [
- "User"
+ "Users"
],
"operationId": "User_Delete",
"description": "Deletes specific user.",
@@ -338,7 +363,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/UserIdParameter"
+ "$ref": "#/parameters/UserIdParameter"
},
{
"name": "deleteSubscriptions",
@@ -380,7 +405,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}/generateSsoUrl": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/generateSsoUrl": {
"post": {
"tags": [
"Users"
@@ -388,8 +413,8 @@
"operationId": "User_GenerateSsoUrl",
"description": "Retrieves a redirection URL containing an authentication token for signing a given user into the developer portal.",
"x-ms-examples": {
- "ApiManagementUserGenerateSsoUrl": {
- "$ref": "./examples/ApiManagementUserGenerateSsoUrl.json"
+ "ApiManagementUsersGenerateSsoUrl": {
+ "$ref": "./examples/ApiManagementUsersGenerateSsoUrl.json"
}
},
"parameters": [
@@ -400,7 +425,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/UserIdParameter"
+ "$ref": "#/parameters/UserIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -426,10 +451,10 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}/groups": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/groups": {
"get": {
"tags": [
- "UserGroup"
+ "UserGroups"
],
"operationId": "UserGroup_List",
"description": "Lists all user groups.",
@@ -446,14 +471,14 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/UserIdParameter"
+ "$ref": "#/parameters/UserIdParameter"
},
{
"name": "$filter",
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| description | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -488,10 +513,10 @@
"x-ms-odata": "./apimgroups.json#/definitions/GroupContract"
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}/subscriptions": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/subscriptions": {
"get": {
"tags": [
- "UserSubscription"
+ "UserSubscriptions"
],
"operationId": "UserSubscription_List",
"description": "Lists the collection of subscriptions of the specified user.",
@@ -508,14 +533,14 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/UserIdParameter"
+ "$ref": "#/parameters/UserIdParameter"
},
{
"name": "$filter",
"in": "query",
"required": false,
"type": "string",
- "description": "| Field | Supported operators | Supported functions |\n|-------------|------------------------|-----------------------------------|\n\r\n|name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|stateComment | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|ownerId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|scope | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|userId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n|productId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|\n"
+ "description": "| Field | Supported operators | Supported functions |\n|--------------|------------------------|---------------------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| stateComment | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| userId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| productId | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| state | eq | |"
},
{
"$ref": "./apimanagement.json#/parameters/TopQueryParameter"
@@ -550,16 +575,16 @@
"x-ms-odata": "./apimsubscriptions.json#/definitions/SubscriptionContract"
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}/identities": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/identities": {
"get": {
"tags": [
- "UserIdentity"
+ "UserIdentities"
],
"operationId": "UserIdentities_List",
- "description": "List of all user identities.",
+ "description": "Lists all user identities.",
"x-ms-examples": {
- "ApiManagementListUserIdentities": {
- "$ref": "./examples/ApiManagementListUserIdentities.json"
+ "ApiManagementListUsersIdentities": {
+ "$ref": "./examples/ApiManagementListUsersIdentities.json"
}
},
"parameters": [
@@ -570,7 +595,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/UserIdParameter"
+ "$ref": "#/parameters/UserIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
@@ -579,6 +604,9 @@
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
"responses": {
"200": {
"description": "Lists of User Identities.",
@@ -592,22 +620,19 @@
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
}
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}/token": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}/token": {
"post": {
"tags": [
- "UserToken"
+ "Users"
],
"operationId": "User_GetSharedAccessToken",
"description": "Gets the Shared Access Authorization Token for the User.",
"x-ms-examples": {
- "ApiManagementUserToken": {
- "$ref": "./examples/ApiManagementUserToken.json"
+ "ApiManagementUsersGetToken": {
+ "$ref": "./examples/ApiManagementUsersGetToken.json"
}
},
"parameters": [
@@ -618,7 +643,7 @@
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
- "$ref": "./apimanagement.json#/parameters/UserIdParameter"
+ "$ref": "#/parameters/UserIdParameter"
},
{
"name": "parameters",
@@ -652,48 +677,6 @@
}
}
}
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}/confirmations/password/send": {
- "post": {
- "tags": [
- "UserConfirmationPasswordSend"
- ],
- "operationId": "UserConfirmationPassword_Send",
- "description": "Sends confirmation",
- "x-ms-examples": {
- "ApiManagementUserConfirmationPasswordSend": {
- "$ref": "./examples/ApiManagementUserConfirmationPasswordSend.json"
- }
- },
- "parameters": [
- {
- "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/UserIdParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "204": {
- "description": "Notification successfully sent"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "./apimanagement.json#/definitions/ErrorResponse"
- }
- }
- }
- }
}
},
"definitions": {
@@ -1011,5 +994,17 @@
}
}
},
- "parameters": { }
+ "parameters": {
+ "UserIdParameter": {
+ "name": "uid",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "User identifier. Must be unique in the current API Management service instance.",
+ "minLength": 1,
+ "maxLength": 80,
+ "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
+ "x-ms-parameter-location": "method"
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimversionsets.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimversionsets.json
new file mode 100644
index 000000000000..f8e57f7942c7
--- /dev/null
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/apimversionsets.json
@@ -0,0 +1,520 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "ApiManagementClient",
+ "description": "Use these REST APIs for performing operations on the ApiVersionSet entity associated with your Azure API Management deployment. Using this entity you create and manage API Version Sets that are used to group APIs for consistent versioning.",
+ "version": "2018-06-01-preview"
+ },
+ "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": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets": {
+ "get": {
+ "tags": [
+ "ApiVersionSets"
+ ],
+ "operationId": "ApiVersionSet_ListByService",
+ "description": "Lists a collection of API Version Sets in the specified service instance.",
+ "x-ms-examples": {
+ "ApiManagementListApiVersionSets": {
+ "$ref": "./examples/ApiManagementListApiVersionSets.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "| Field | Supported operators | Supported functions |\n|------------------|------------------------|-----------------------------------|\n| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| firstName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| lastName | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| email | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |\n| state | eq | N/A |\n| registrationDate | ge, le, eq, ne, gt, lt | N/A |\n| note | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/TopQueryParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SkipQueryParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Lists a collection of Api Version Set entities.",
+ "schema": {
+ "$ref": "#/definitions/ApiVersionSetCollection"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-odata": "#/definitions/ApiVersionSetContract"
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}": {
+ "head": {
+ "tags": [
+ "ApiVersionSets"
+ ],
+ "operationId": "ApiVersionSet_GetEntityTag",
+ "description": "Gets the entity state (Etag) version of the Api Version Set specified by its identifier.",
+ "x-ms-examples": {
+ "ApiManagementHeadApiVersionSet": {
+ "$ref": "./examples/ApiManagementHeadApiVersionSet.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionSetIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Specified Api Version Set entity exists and current entity state version is present in the ETag header.",
+ "headers": {
+ "ETag": {
+ "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "ApiVersionSets"
+ ],
+ "operationId": "ApiVersionSet_Get",
+ "description": "Gets the details of the Api Version Set specified by its identifier.",
+ "x-ms-examples": {
+ "ApiManagementGetApiVersionSet": {
+ "$ref": "./examples/ApiManagementGetApiVersionSet.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionSetIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Gets the specified Api Version Set entity.",
+ "schema": {
+ "$ref": "#/definitions/ApiVersionSetContract"
+ },
+ "headers": {
+ "ETag": {
+ "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ApiVersionSets"
+ ],
+ "operationId": "ApiVersionSet_CreateOrUpdate",
+ "description": "Creates or Updates a Api Version Set.",
+ "x-ms-examples": {
+ "ApiManagementCreateApiVersionSet": {
+ "$ref": "./examples/ApiManagementCreateApiVersionSet.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionSetIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ApiVersionSetContract"
+ },
+ "description": "Create or update parameters."
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Api Version Set was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ApiVersionSetContract"
+ }
+ },
+ "201": {
+ "description": "Api Version Set was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/ApiVersionSetContract"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "ApiVersionSets"
+ ],
+ "operationId": "ApiVersionSet_Update",
+ "description": "Updates the details of the Api VersionSet specified by its identifier.",
+ "x-ms-examples": {
+ "ApiManagementUpdateApiVersionSet": {
+ "$ref": "./examples/ApiManagementUpdateApiVersionSet.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionSetIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ApiVersionSetUpdateParameters"
+ },
+ "description": "Update parameters."
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "The Api Version Set details were successfully updated."
+ },
+ "default": {
+ "description": "*** Error Responses: ***\n\n * 4XX Error response giving details why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ApiVersionSets"
+ ],
+ "operationId": "ApiVersionSet_Delete",
+ "description": "Deletes specific Api Version Set.",
+ "x-ms-examples": {
+ "ApiManagementDeleteApiVersionSet": {
+ "$ref": "./examples/ApiManagementDeleteApiVersionSet.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionSetIdParameter"
+ },
+ {
+ "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The ApiVersion Set details were successfully deleted."
+ },
+ "204": {
+ "description": "The ApiVersion Set details were successfully deleted."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./apimanagement.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ApiVersionSetCollection": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApiVersionSetContract"
+ },
+ "description": "Page values."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "Next page link if any."
+ }
+ },
+ "description": "Paged Api Version Set list representation."
+ },
+ "ApiVersionSetEntityBase": {
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "Description of API Version Set."
+ },
+ "versionQueryName": {
+ "type": "string",
+ "description": "Name of query parameter that indicates the API Version if versioningScheme is set to `query`.",
+ "minLength": 1,
+ "maxLength": 100
+ },
+ "versionHeaderName": {
+ "type": "string",
+ "description": "Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`.",
+ "minLength": 1,
+ "maxLength": 100
+ }
+ },
+ "description": "Api Version set base parameters"
+ },
+ "ApiVersionSetContractProperties": {
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "description": "Name of API Version Set",
+ "minLength": 1,
+ "maxLength": 100
+ },
+ "versioningScheme": {
+ "type": "string",
+ "description": "An value that determines where the API Version identifer will be located in a HTTP request.",
+ "enum": [
+ "Segment",
+ "Query",
+ "Header"
+ ],
+ "x-ms-enum": {
+ "name": "versioningScheme",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Segment",
+ "description": "The API Version is passed in a path segment."
+ },
+ {
+ "value": "Query",
+ "description": "The API Version is passed in a query parameter."
+ },
+ {
+ "value": "Header",
+ "description": "The API Version is passed in a HTTP header."
+ }
+ ]
+ }
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApiVersionSetEntityBase"
+ }
+ ],
+ "required": [
+ "displayName",
+ "versioningScheme"
+ ],
+ "description": "Properties of an API Version Set."
+ },
+ "ApiVersionSetContract": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApiVersionSetContractProperties",
+ "description": "Api VersionSet contract properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./apimanagement.json#/definitions/Resource"
+ }
+ ],
+ "description": "Api Version Set Contract details."
+ },
+ "ApiVersionSetUpdateParametersProperties": {
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "description": "Name of API Version Set",
+ "minLength": 1,
+ "maxLength": 100
+ },
+ "versioningScheme": {
+ "type": "string",
+ "description": "An value that determines where the API Version identifer will be located in a HTTP request.",
+ "enum": [
+ "Segment",
+ "Query",
+ "Header"
+ ],
+ "x-ms-enum": {
+ "name": "versioningScheme",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Segment",
+ "description": "The API Version is passed in a path segment."
+ },
+ {
+ "value": "Query",
+ "description": "The API Version is passed in a query parameter."
+ },
+ {
+ "value": "Header",
+ "description": "The API Version is passed in a HTTP header."
+ }
+ ]
+ }
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ApiVersionSetEntityBase"
+ }
+ ],
+ "description": "Properties used to create or update an API Version Set."
+ },
+ "ApiVersionSetUpdateParameters": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ApiVersionSetUpdateParametersProperties",
+ "description": "Parameters to update or create an Api Version Set Contract."
+ }
+ },
+ "description": "Parameters to update or create an Api Version Set Contract."
+ }
+ },
+ "parameters": {
+ "ApiVersionSetIdParameter": {
+ "name": "versionSetId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Api Version Set identifier. Must be unique in the current API Management service instance.",
+ "minLength": 1,
+ "maxLength": 80,
+ "pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementBackendReconnect.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementBackendReconnect.json
index dca6e0cdff9b..033d4a5c5d61 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementBackendReconnect.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementBackendReconnect.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "backendId": "proxybackend",
+ "backendid": "proxybackend",
"parameters": {
"properties": {
"after" : "PT3S"
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateAILogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateAILogger.json
index 6195910f1b8f..3853b4421cf9 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateAILogger.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateAILogger.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "loggerId": "loggerId",
+ "loggerid": "loggerId",
"parameters": {
"properties": {
"loggerType": "applicationInsights",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApi.json
index 1ad7ed14536f..a8293a7df6c3 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApi.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApi.json
@@ -59,11 +59,6 @@
}
}
},
- "202": {
- "headers":{
- "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2018-06-01-preview&asyncId=5c730e343244df1b9cb56e85&asyncCode=201"
- }
- },
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/apiid9419",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssue.json
index ba320892f1a4..c3924f239769 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssue.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssue.json
@@ -2,7 +2,7 @@
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
+ "api-version": "2017-03-01",
"subscriptionId": "subid",
"issueId": "57d2ef278aa04f0ad01d6cdc",
"apiId": "57d1f7558aa04f15146d9d8a",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssueAttachment.json
index 6fda2fc22ed7..37cf9b88b6b8 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssueAttachment.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssueAttachment.json
@@ -2,7 +2,7 @@
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
+ "api-version": "2017-03-01",
"subscriptionId": "subid",
"issueId": "57d2ef278aa04f0ad01d6cdc",
"apiId": "57d1f7558aa04f15146d9d8a",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssueComment.json
index 611e66df18a4..50f4ff76747a 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssueComment.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiIssueComment.json
@@ -2,7 +2,7 @@
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
+ "api-version": "2017-03-01",
"subscriptionId": "subid",
"issueId": "57d2ef278aa04f0ad01d6cdc",
"apiId": "57d1f7558aa04f15146d9d8a",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiOperationTag.json
deleted file mode 100644
index 3bfc89662000..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiOperationTag.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "apiId": "5931a75ae4bbd512a88c680b",
- "operationId": "5931a75ae4bbd512a88c680a",
- "tagId": "tagId1"
- },
- "responses": {
- "201": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/tagId1",
- "type": "Microsoft.ApiManagement/service/tags",
- "name": "tagId1",
- "properties": {
- "displayName": "tag1"
- }
- }
- },
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/tagId1",
- "type": "Microsoft.ApiManagement/service/tags",
- "name": "tagId1",
- "properties": {
- "displayName": "tag1"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiRevision.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiRevision.json
index 9ebc2ca8e28b..6dc22817f714 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiRevision.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiRevision.json
@@ -46,11 +46,6 @@
}
}
},
- "202": {
- "headers":{
- "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2018-06-01-preview&asyncId=5c730e343244df1b9cb56e85&asyncCode=201"
- }
- },
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/echo-api;rev=4",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingOai3Import.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingOai3Import.json
index e21a0cd28a09..ce7e2a60061d 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingOai3Import.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingOai3Import.json
@@ -35,11 +35,6 @@
}
}
},
- "202": {
- "headers":{
- "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2018-06-01-preview&asyncId=5c730e343244df1b9cb56e85&asyncCode=201"
- }
- },
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/petstoreapi",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingSwaggerImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingSwaggerImport.json
index 6bedf0adf904..a63fae62b14d 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingSwaggerImport.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingSwaggerImport.json
@@ -36,11 +36,6 @@
}
}
},
- "202": {
- "headers":{
- "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2018-06-01-preview&asyncId=5c730e343244df1b9cb56e85&asyncCode=201"
- }
- },
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/petstoreapi",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingWadlImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingWadlImport.json
index cdd96c620675..baa00d1e3c3a 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingWadlImport.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiUsingWadlImport.json
@@ -36,11 +36,6 @@
}
}
},
- "202": {
- "headers":{
- "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2018-06-01-preview&asyncId=5c730e343244df1b9cb56e85&asyncCode=201"
- }
- },
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/collectorwadl",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiWithOpenIdConnect.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiWithOpenIdConnect.json
index bad6b8818999..5ac2af2116a4 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiWithOpenIdConnect.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateApiWithOpenIdConnect.json
@@ -60,11 +60,6 @@
}
}
},
- "202": {
- "headers":{
- "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2018-06-01-preview&asyncId=5c730e343244df1b9cb56e85&asyncCode=201"
- }
- },
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/58da4c4ccdae970a08121230",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackendProxyBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackendProxyBackend.json
index dc3b1951fbcc..68b0f617dbae 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackendProxyBackend.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackendProxyBackend.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "backendId": "proxybackend",
+ "backendid": "proxybackend",
"parameters": {
"properties": {
"description": "description5308",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackendServiceFabric.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackendServiceFabric.json
index 40cf30aa7a61..335dedb49b0e 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackendServiceFabric.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateBackendServiceFabric.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "backendId": "sfbackend",
+ "backendid": "sfbackend",
"parameters": {
"properties": {
"description": "Service Fabric Test App 1",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateCache.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateCache.json
deleted file mode 100644
index 50c5b3b02aeb..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateCache.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "cacheId": "westindia",
- "parameters": {
- "properties": {
- "connectionString": "contoso5.redis.cache.windows.net,ssl=true,password=...",
- "description": "Redis cache instances in West India",
- "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/contoso5"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/caches/westindia",
- "type": "Microsoft.ApiManagement/service/caches",
- "name": "westindia",
- "properties": {
- "connectionString": "{{5c68d535a40f7e61103cd285}}}",
- "description": "Redis cache instances in West India",
- "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/contoso5"
- }
- }
- },
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/caches/westindia",
- "type": "Microsoft.ApiManagement/service/caches",
- "name": "westindia",
- "properties": {
- "connectionString": "{{5c68d535a40f7e61103cd285}}}",
- "description": "Redis cache instances in West India",
- "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/contoso5"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateEHLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateEHLogger.json
index 8c36fef2b21d..bee1eb647ba8 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateEHLogger.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateEHLogger.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "loggerId": "loggerId",
+ "loggerid": "loggerId",
"parameters": {
"properties": {
"loggerType": "azureEventHub",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateGroupUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateGroupUser.json
index 7c1326a1b246..003e5ee544e7 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateGroupUser.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateGroupUser.json
@@ -5,7 +5,7 @@
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
"groupId": "tempgroup",
- "userId": "59307d350af58404d8a26300"
+ "uid": "59307d350af58404d8a26300"
},
"responses": {
"201": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotification.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotification.json
deleted file mode 100644
index b544b5e3769e..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotification.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "notificationName": "RequestPublisherNotificationMessage"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage",
- "type": "Microsoft.ApiManagement/service/notifications",
- "name": "RequestPublisherNotificationMessage",
- "properties": {
- "title": "Subscription requests (requiring approval)",
- "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.",
- "recipients": {
- "emails": [
- "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/contoso@live.com",
- "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar!live",
- "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar@live.com"
- ],
- "users": [
- "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642"
- ]
- }
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductBasic.json
similarity index 100%
rename from specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProduct.json
rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateProductBasic.json
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotificationRecipientEmail.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateRecipientEmail.json
similarity index 100%
rename from specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotificationRecipientEmail.json
rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateRecipientEmail.json
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotificationRecipientUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateRecipientUser.json
similarity index 97%
rename from specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotificationRecipientUser.json
rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateRecipientUser.json
index 61dd70ef5d4f..20a53868f771 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateNotificationRecipientUser.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateRecipientUser.json
@@ -5,7 +5,7 @@
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
"notificationName": "RequestPublisherNotificationMessage",
- "userId": "576823d0a40f7e74ec07d642"
+ "uid": "576823d0a40f7e74ec07d642"
},
"responses": {
"201": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json
index 803e05c823c7..56cf214f7662 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSoapPassThroughApiUsingWsdlImport.json
@@ -41,11 +41,6 @@
}
}
},
- "202": {
- "headers":{
- "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2018-06-01-preview&asyncId=5c730e343244df1b9cb56e85&asyncCode=201"
- }
- },
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/soapApi",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSoapToRestApiUsingWsdlImport.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSoapToRestApiUsingWsdlImport.json
index 462f3196bf6c..41e55a449d73 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSoapToRestApiUsingWsdlImport.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateSoapToRestApiUsingWsdlImport.json
@@ -39,11 +39,6 @@
}
}
},
- "202": {
- "headers":{
- "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2018-06-01-preview&asyncId=5c730e343244df1b9cb56e85&asyncCode=201"
- }
- },
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/soapApi",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateUserBasic.json
similarity index 97%
rename from specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateUser.json
rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateUserBasic.json
index b9d2454de271..4538b0e8ab27 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateUser.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementCreateUserBasic.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "userId": "5931a75ae4bbd512288c680b",
+ "uid": "5931a75ae4bbd512288c680b",
"parameters": {
"properties": {
"firstName": "foo",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssue.json
index ffd44ba96911..3e2ead481521 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssue.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssue.json
@@ -2,7 +2,7 @@
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
+ "api-version": "2017-03-01",
"subscriptionId": "subid",
"issueId": "57d2ef278aa04f0ad01d6cdc",
"apiId": "57d1f7558aa04f15146d9d8a",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssueAttachment.json
index 8537f3805ca3..9a43f099a422 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssueAttachment.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssueAttachment.json
@@ -2,7 +2,7 @@
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
+ "api-version": "2017-03-01",
"subscriptionId": "subid",
"issueId": "57d2ef278aa04f0ad01d6cdc",
"apiId": "57d1f7558aa04f15146d9d8a",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssueComment.json
index 6011db3d35f3..813ce534e9af 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssueComment.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiIssueComment.json
@@ -2,7 +2,7 @@
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
+ "api-version": "2017-03-01",
"subscriptionId": "subid",
"issueId": "57d2ef278aa04f0ad01d6cdc",
"apiId": "57d1f7558aa04f15146d9d8a",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperationPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperationPolicy.json
deleted file mode 100644
index 8790fb955f6f..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperationPolicy.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "apiId": "testapi",
- "operationId": "testoperation",
- "policyId": "policy",
- "If-Match": "*"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperationTag.json
deleted file mode 100644
index 7dcfb35dae64..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteApiOperationTag.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "apiId": "59d5b28d1f7fab116c282650",
- "operationId": "59d5b28d1f7fab116c282651",
- "tagId": "59d5b28e1f7fab116402044e",
- "If-Match": "*"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteBackend.json
index 3e54e55c8318..98ba03d7966b 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteBackend.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteBackend.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "backendId": "sfbackend",
+ "backendid": "sfbackend",
"If-Match": "*"
},
"responses": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteCache.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteCache.json
deleted file mode 100644
index 8b06cd0d0ec6..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteCache.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "cacheId": "southindia",
- "If-Match": "*"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteGroupUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteGroupUser.json
index 74700568687f..2ba0fa218ed0 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteGroupUser.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteGroupUser.json
@@ -5,7 +5,7 @@
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
"groupId": "templategroup",
- "userId": "59307d350af58404d8a26300",
+ "uid": "59307d350af58404d8a26300",
"If-Match": "*"
},
"responses": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteLogger.json
index ee79e2869ecd..53cd67ee6cd8 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteLogger.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteLogger.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "loggerId": "loggerId",
+ "loggerid": "loggerId",
"If-Match": "*"
},
"responses": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteNotificationRecipientUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteNotificationRecipientUser.json
index aac72c04002e..4840cb658fc7 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteNotificationRecipientUser.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteNotificationRecipientUser.json
@@ -5,7 +5,7 @@
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
"notificationName": "RequestPublisherNotificationMessage",
- "userId": "576823d0a40f7e74ec07d642"
+ "uid": "576823d0a40f7e74ec07d642"
},
"responses": {
"200": {},
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteUser.json
index 8096e8128bbb..ece32aadc6c4 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteUser.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementDeleteUser.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "userId": "5931a75ae4bbd512288c680b",
+ "uid": "5931a75ae4bbd512288c680b",
"If-Match": "*"
},
"responses": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssue.json
index e51e9e0b1361..a00f0919fe35 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssue.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssue.json
@@ -1,27 +1,27 @@
{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "apiId": "57d2ef278aa04f0888cba3f3",
- "issueId": "57d2ef278aa04f0ad01d6cdc"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc",
- "type": "Microsoft.ApiManagement/service/apis/issues",
- "name": "57d2ef278aa04f0ad01d6cdc",
- "properties": {
- "title": "New API issue",
- "description": "New API issue description",
- "createdDate": "2018-02-01T22:21:20.467Z",
- "state": "open",
- "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1",
- "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a"
+ "parameters": {
+ "serviceName": "apimService1",
+ "resourceGroupName": "rg1",
+ "api-version": "2017-03-01",
+ "subscriptionId": "subid",
+ "apiId": "57d2ef278aa04f0888cba3f3",
+ "issueId": "57d2ef278aa04f0ad01d6cdc"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a/issues/57d2ef278aa04f0ad01d6cdc",
+ "type": "Microsoft.ApiManagement/service/apis/issues",
+ "name": "57d2ef278aa04f0ad01d6cdc",
+ "properties": {
+ "title": "New API issue",
+ "description": "New API issue description",
+ "createdDate": "2018-02-01T22:21:20.467Z",
+ "state": "open",
+ "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1",
+ "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a"
+ }
+ }
}
- }
}
- }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssueAttachment.json
index c0dc61b619ae..9ad3a14f64a2 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssueAttachment.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssueAttachment.json
@@ -2,7 +2,7 @@
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
+ "api-version": "2017-03-01",
"subscriptionId": "subid",
"apiId": "57d2ef278aa04f0888cba3f3",
"issueId": "57d2ef278aa04f0ad01d6cdc",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssueComment.json
index 1389c196abec..92952716046c 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssueComment.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiIssueComment.json
@@ -2,7 +2,7 @@
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
+ "api-version": "2017-03-01",
"subscriptionId": "subid",
"apiId": "57d2ef278aa04f0888cba3f3",
"issueId": "57d2ef278aa04f0ad01d6cdc",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperationTag.json
deleted file mode 100644
index 95a96cb7cb58..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetApiOperationTag.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "apiId": "59d6bb8f1f7fab13dc67ec9b",
- "operationId": "59d6bb8f1f7fab13dc67ec9a",
- "tagId": "59306a29e4bbd510dc24e5f9"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/59306a29e4bbd510dc24e5f9",
- "type": "Microsoft.ApiManagement/service/tags",
- "name": "59306a29e4bbd510dc24e5f9",
- "properties": {
- "displayName": "tag1"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetBackend.json
index 4debcdfdf483..b2d90dde4ccd 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetBackend.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetBackend.json
@@ -1,38 +1,38 @@
{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "backendId": "sfbackend"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/sfbackend",
- "type": "Microsoft.ApiManagement/service/backends",
- "name": "sfbackend",
- "properties": {
- "description": "Service Fabric Test App 1",
- "url": "fabric:/mytestapp/mytestservice",
- "protocol": "http",
- "properties": {
- "serviceFabricCluster": {
- "managementEndpoints": [
- "https://somecluster.com"
- ],
- "clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6",
- "serverX509Names": [
- {
- "name": "ServerCommonName1",
- "issuerCertificateThumbprint": "IssuerCertificateThumbprint1"
+ "parameters": {
+ "serviceName": "apimService1",
+ "resourceGroupName": "rg1",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "subid",
+ "backendid": "sfbackend"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/backends/sfbackend",
+ "type": "Microsoft.ApiManagement/service/backends",
+ "name": "sfbackend",
+ "properties": {
+ "description": "Service Fabric Test App 1",
+ "url": "fabric:/mytestapp/mytestservice",
+ "protocol": "http",
+ "properties": {
+ "serviceFabricCluster": {
+ "managementEndpoints": [
+ "https://somecluster.com"
+ ],
+ "clientCertificatethumbprint": "EBA029198AA3E76EF0D70482626E5BCF148594A6",
+ "serverX509Names": [
+ {
+ "name": "ServerCommonName1",
+ "issuerCertificateThumbprint": "IssuerCertificateThumbprint1"
+ }
+ ],
+ "maxPartitionResolutionRetries": 5
+ }
+ }
}
- ],
- "maxPartitionResolutionRetries": 5
}
- }
}
- }
}
- }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCache.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCache.json
deleted file mode 100644
index 76e4309228aa..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCache.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "cacheId": "westindia"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/caches/westindia",
- "type": "Microsoft.ApiManagement/service/caches",
- "name": "westindia",
- "properties": {
- "connectionString": "{{5c68d535a40f7e61103cd285}}}",
- "description": "Redis cache instances in West India",
- "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/contoso5"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCaches.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCaches.json
deleted file mode 100644
index 185e287ba22d..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetCaches.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "caches": "northeurope",
- "api-version": "2018-06-01-preview",
- "Accept": "application/json"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/caches/northeurope",
- "description": "5c72f961d581935e44dfa9f2",
- "connectionString": "{{5c72f961d581935e44dfa9f4}}",
- "resourceId": "https://5c72f961d581935e44dfa9f3"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetIssue.json
deleted file mode 100644
index a5ef5ad9dac5..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetIssue.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "issueId": "57d2ef278aa04f0ad01d6cdc"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/issues/57d2ef278aa04f0ad01d6cdc",
- "type": "Microsoft.ApiManagement/service/issues",
- "name": "57d2ef278aa04f0ad01d6cdc",
- "properties": {
- "title": "New API issue",
- "description": "New API issue description",
- "createdDate": "2018-02-01T22:21:20.467Z",
- "state": "open",
- "userId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/1",
- "apiId": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/57d1f7558aa04f15146d9d8a"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetLogger.json
index a0f2b37a8bc9..93d7a7e0a009 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetLogger.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetLogger.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "loggerId": "templateLogger"
+ "loggerid": "templateLogger"
},
"responses": {
"200": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetNotification.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetNotification.json
index b28d65aa143b..b544b5e3769e 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetNotification.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetNotification.json
@@ -1,32 +1,32 @@
{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "notificationName": "RequestPublisherNotificationMessage"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage",
- "type": "Microsoft.ApiManagement/service/notifications",
- "name": "RequestPublisherNotificationMessage",
- "properties": {
- "title": "Subscription requests (requiring approval)",
- "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.",
- "recipients": {
- "emails": [
- "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/contoso@live.com",
- "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar!live",
- "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar@live.com"
- ],
- "users": [
- "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642"
- ]
- }
+ "parameters": {
+ "serviceName": "apimService1",
+ "resourceGroupName": "rg1",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "subid",
+ "notificationName": "RequestPublisherNotificationMessage"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/notifications/RequestPublisherNotificationMessage",
+ "type": "Microsoft.ApiManagement/service/notifications",
+ "name": "RequestPublisherNotificationMessage",
+ "properties": {
+ "title": "Subscription requests (requiring approval)",
+ "description": "The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.",
+ "recipients": {
+ "emails": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/contoso@live.com",
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar!live",
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/recipientEmails/foobar@live.com"
+ ],
+ "users": [
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/users/576823d0a40f7e74ec07d642"
+ ]
+ }
+ }
+ }
}
- }
}
- }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProductsForApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProductsForApi.json
new file mode 100644
index 000000000000..77898b4184a9
--- /dev/null
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetProductsForApi.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "serviceName": "apimService1",
+ "resourceGroupName": "rg1",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "subid",
+ "apiId": "57d2ef278aa04f0888cba3f3"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b539c53f5b0062060002",
+ "type": "Microsoft.ApiManagement/service/apis/products",
+ "name": "5600b539c53f5b0062060002",
+ "properties": {
+ "displayName": "Unlimited",
+ "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.",
+ "subscriptionRequired": true,
+ "approvalRequired": true,
+ "subscriptionsLimit": 1,
+ "state": "published"
+ }
+ }
+ ],
+ "nextLink": ""
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiTagDescriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTagDescriptionsForApi.json
similarity index 100%
rename from specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiTagDescriptions.json
rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTagDescriptionsForApi.json
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTagsForApi.json
similarity index 100%
rename from specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiTags.json
rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTagsForApi.json
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTagsForProduct.json
similarity index 100%
rename from specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductTags.json
rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetTagsForProduct.json
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetUser.json
index 2e528cb129fa..5416f88063d3 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetUser.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementGetUser.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "userId": "5931a75ae4bbd512a88c680b"
+ "uid": "5931a75ae4bbd512a88c680b"
},
"responses": {
"200": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssue.json
index f490f90199a8..9570771b1278 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssue.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssue.json
@@ -2,7 +2,7 @@
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
+ "api-version": "2017-03-01",
"subscriptionId": "subid",
"apiId": "57d2ef278aa04f0888cba3f3",
"issueId": "57d2ef278aa04f0ad01d6cdc"
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssueAttachment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssueAttachment.json
index d025bec53d49..990bf33e30c5 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssueAttachment.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssueAttachment.json
@@ -2,7 +2,7 @@
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
+ "api-version": "2017-03-01",
"subscriptionId": "subid",
"apiId": "57d2ef278aa04f0888cba3f3",
"issueId": "57d2ef278aa04f0ad01d6cdc",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssueComment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssueComment.json
index 14efc224f0a6..5474d13ceabb 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssueComment.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiIssueComment.json
@@ -2,7 +2,7 @@
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
+ "api-version": "2017-03-01",
"subscriptionId": "subid",
"apiId": "57d2ef278aa04f0888cba3f3",
"issueId": "57d2ef278aa04f0ad01d6cdc",
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiOperationTag.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiOperationTag.json
deleted file mode 100644
index cb550dfc6bf8..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadApiOperationTag.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "apiId": "59d6bb8f1f7fab13dc67ec9b",
- "operationId": "59d6bb8f1f7fab13dc67ec9a",
- "tagId": "59306a29e4bbd510dc24e5f9"
- },
- "responses": {
- "200": {
- "headers": {
- "Etag": "AAAAAAAACCI="
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadBackend.json
index 18e5b871f39b..6ebc4d63da0a 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadBackend.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadBackend.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "backendId": "sfbackend"
+ "backendid": "sfbackend"
},
"responses": {
"200": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadCache.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadCache.json
deleted file mode 100644
index 1175e0939109..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadCache.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "cacheId": "default"
- },
- "responses": {
- "200": {
- "headers": {
- "etag": "AAAAAAAAAAa="
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadGroupUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadGroupUser.json
index c126b8bb1669..9d347f5e2563 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadGroupUser.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadGroupUser.json
@@ -5,7 +5,7 @@
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
"groupId": "59306a29e4bbd510dc24e5f9",
- "userId": "5931a75ae4bbd512a88c680b"
+ "uid": "5931a75ae4bbd512a88c680b"
},
"responses": {
"204": {},
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadLogger.json
index 0573df29dc58..44d0d50e146f 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadLogger.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadLogger.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "loggerId": "templateLogger"
+ "loggerid": "templateLogger"
},
"responses": {
"200": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadNotificationRecipientEmail.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadNotificationRecipientEmail.json
index 43d28adf202b..b617415db68c 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadNotificationRecipientEmail.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadNotificationRecipientEmail.json
@@ -8,6 +8,7 @@
"email": "contoso@live.com"
},
"responses": {
- "204": {}
+ "204": {},
+ "404": {}
}
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadNotificationRecipientUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadNotificationRecipientUser.json
index 09ea0101fbe2..cc7cbb457780 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadNotificationRecipientUser.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadNotificationRecipientUser.json
@@ -5,9 +5,10 @@
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
"notificationName": "RequestPublisherNotificationMessage",
- "userId": "576823d0a40f7e74ec07d642"
+ "uid": "576823d0a40f7e74ec07d642"
},
"responses": {
- "204": {}
+ "204": {},
+ "404": {}
}
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductApi.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductApi.json
index f40035f9e570..28ac1e4770b1 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductApi.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductApi.json
@@ -8,6 +8,7 @@
"apiId": "59306a29e4bbd510dc24e5f9"
},
"responses": {
- "204": {}
+ "204": {},
+ "404": {}
}
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductGroup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductGroup.json
index e1d1e6eaa590..1bc525476c20 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductGroup.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadProductGroup.json
@@ -8,6 +8,7 @@
"groupId": "59306a29e4bbd510dc24e5f9"
},
"responses": {
- "204": {}
+ "204": {},
+ "404": {}
}
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadTenantAccess.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadTenantAccess.json
deleted file mode 100644
index 0c55dedccf3b..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadTenantAccess.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "accessName": "access"
- },
- "responses": {
- "200": { }
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadUser.json
index 8e58ce61828a..453a65a79ce6 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadUser.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementHeadUser.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "userId": "5931a75ae4bbd512a88c680b"
+ "uid": "5931a75ae4bbd512a88c680b"
},
"responses": {
"200": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssueAttachments.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssueAttachments.json
index 0abe2c939866..ec594c46fa6b 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssueAttachments.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssueAttachments.json
@@ -2,7 +2,7 @@
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
+ "api-version": "2017-03-01",
"subscriptionId": "subid",
"apiId": "57d1f7558aa04f15146d9d8a",
"issueId": "57d2ef278aa04f0ad01d6cdc"
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssueComments.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssueComments.json
index 0cc92c33e334..41b8390c985d 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssueComments.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssueComments.json
@@ -2,7 +2,7 @@
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
+ "api-version": "2017-03-01",
"subscriptionId": "subid",
"apiId": "57d1f7558aa04f15146d9d8a",
"issueId": "57d2ef278aa04f0ad01d6cdc"
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssues.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssues.json
index eeb6370b6fb7..c330abfb911c 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssues.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiIssues.json
@@ -2,7 +2,7 @@
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
+ "api-version": "2017-03-01",
"subscriptionId": "subid",
"apiId": "57d1f7558aa04f15146d9d8a"
},
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationPolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationPolicies.json
index 6799b3c08bed..8794bdbc844b 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationPolicies.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationPolicies.json
@@ -1,27 +1,27 @@
{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "apiId": "599e2953193c3c0bd0b3e2fa",
- "operationId": "599e29ab193c3c0bd0b3e2fb"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/599e2953193c3c0bd0b3e2fa/operations/599e29ab193c3c0bd0b3e2fb/policies/policy",
- "type": "Microsoft.ApiManagement/service/apis/operations/policies",
- "name": "policy",
- "properties": {
- "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n xxx\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n"
+ "parameters": {
+ "serviceName": "apimService1",
+ "resourceGroupName": "rg1",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "subid",
+ "apiId": "599e2953193c3c0bd0b3e2fa",
+ "operationId": "599e29ab193c3c0bd0b3e2fb"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/599e2953193c3c0bd0b3e2fa/operations/599e29ab193c3c0bd0b3e2fb/policies/policy",
+ "type": "Microsoft.ApiManagement/service/apis/operations/policies",
+ "name": "policy",
+ "properties": {
+ "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n xxx\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n"
+ }
+ }
+ ],
+ "nextLink": ""
}
- }
- ],
- "nextLink": ""
- }
+ }
}
- }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationTags.json
deleted file mode 100644
index 51139d8b3923..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationTags.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "apiId": "57d2ef278aa04f0888cba3f3",
- "operationId": "57d2ef278aa04f0888cba3f6"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/tags/5600b539c53f5b0062060002",
- "type": "Microsoft.ApiManagement/service/tags",
- "name": "5600b539c53f5b0062060002",
- "properties": {
- "displayName": "tag1"
- }
- }
- ],
- "nextLink": ""
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationsByTags.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationsByTags.json
deleted file mode 100644
index fb79ab0fe4e4..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiOperationsByTags.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "apiId": "a1"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "tag": {
- "id": "/tags/apitag123",
- "name": "awesomeTag"
- },
- "operation": {
- "id": "/apis/echo-api/operations/create-resource",
- "apiName": "Echo API",
- "apiRevision": "1",
- "name": "Create resource",
- "method": "POST",
- "urlTemplate": "/resource",
- "description": "A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend."
- }
- }
- ],
- "count": 1
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiPolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiPolicies.json
index 8670cead052c..9258e5ff1253 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiPolicies.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiPolicies.json
@@ -1,26 +1,26 @@
{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "apiId": "5600b59475ff190048040001"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b59475ff190048040001/policies/policy",
- "type": "Microsoft.ApiManagement/service/apis/policies",
- "name": "policy",
- "properties": {
- "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n@{\r\n\tRandom Random = new Random();\r\n\t\t\t\tconst string Chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz \"; \r\n return string.Join(\",\", DateTime.UtcNow, new string(\r\n Enumerable.Repeat(Chars, Random.Next(2150400))\r\n .Select(s => s[Random.Next(s.Length)])\r\n .ToArray()));\r\n } \r\n \r\n \r\n \r\n"
+ "parameters": {
+ "serviceName": "apimService1",
+ "resourceGroupName": "rg1",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "subid",
+ "apiId": "5600b59475ff190048040001"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/5600b59475ff190048040001/policies/policy",
+ "type": "Microsoft.ApiManagement/service/apis/policies",
+ "name": "policy",
+ "properties": {
+ "policyContent": "\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n@{\r\n\tRandom Random = new Random();\r\n\t\t\t\tconst string Chars = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz \"; \r\n return string.Join(\",\", DateTime.UtcNow, new string(\r\n Enumerable.Repeat(Chars, Random.Next(2150400))\r\n .Select(s => s[Random.Next(s.Length)])\r\n .ToArray()));\r\n } \r\n \r\n \r\n \r\n"
+ }
+ }
+ ],
+ "nextLink": ""
}
- }
- ],
- "nextLink": ""
- }
+ }
}
- }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiProducts.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiProducts.json
deleted file mode 100644
index 51598ddf28a3..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListApiProducts.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "apiId": "57d2ef278aa04f0888cba3f3"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/5600b539c53f5b0062060002",
- "type": "Microsoft.ApiManagement/service/apis/products",
- "name": "5600b539c53f5b0062060002",
- "properties": {
- "displayName": "Unlimited",
- "description": "Subscribers have completely unlimited access to the API. Administrator approval is required.",
- "subscriptionRequired": true,
- "approvalRequired": true,
- "subscriptionsLimit": 1,
- "state": "published"
- }
- }
- ],
- "nextLink": ""
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListCaches.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListCaches.json
deleted file mode 100644
index 82069ec27432..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListCaches.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "parameters": {
- "resourceGroupName": "rg1",
- "serviceName": "apimService1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/caches/westindia",
- "type": "Microsoft.ApiManagement/service/caches",
- "name": "westindia",
- "properties": {
- "connectionString": "{{5c68d535a40f7e61103cd285}}}",
- "description": "Redis cache instances in West India",
- "resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/contoso5"
- }
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListIssues.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListIssues.json
index b082405354d5..6a2d429f5834 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListIssues.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListIssues.json
@@ -2,7 +2,7 @@
"parameters": {
"serviceName": "apimService1",
"resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
+ "api-version": "2017-03-01",
"subscriptionId": "subid"
},
"responses": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotificationRecipientEmails.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotificationRecipientEmail.json
similarity index 100%
rename from specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotificationRecipientEmails.json
rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotificationRecipientEmail.json
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotificationRecipientUsers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotificationRecipientUser.json
similarity index 100%
rename from specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotificationRecipientUsers.json
rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListNotificationRecipientUser.json
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductPolicies.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductPolicies.json
deleted file mode 100644
index 66ffcbd1c7c5..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductPolicies.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "productId": "armTemplateProduct4"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/armTemplateProduct4/policies/policy",
- "type": "Microsoft.ApiManagement/service/products/policies",
- "name": "policy",
- "properties": {
- "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n"
- }
- }
- ],
- "nextLink": ""
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductPolicy.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductPolicy.json
new file mode 100644
index 000000000000..fa5ece42d171
--- /dev/null
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProductPolicy.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "serviceName": "apimService1",
+ "resourceGroupName": "rg1",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "subid",
+ "productId": "armTemplateProduct4"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/products/armTemplateProduct4/policies/policy",
+ "type": "Microsoft.ApiManagement/service/products/policies",
+ "name": "policy",
+ "properties": {
+ "policyContent": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n"
+ }
+ }
+ ],
+ "nextLink": ""
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProperties.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProperties.json
index 1ca29ecb739f..9c32e1dae552 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProperties.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListProperties.json
@@ -1,41 +1,41 @@
{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/592f1174cc83890dc4f32686",
- "type": "Microsoft.ApiManagement/service/properties",
- "name": "592f1174cc83890dc4f32686",
- "properties": {
- "displayName": "Logger-Credentials-592f1174cc83890dc4f32687",
- "value": "Endpoint=sb://testtemplatetesteh.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=...",
- "secret": true
+ "parameters": {
+ "serviceName": "apimService1",
+ "resourceGroupName": "rg1",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/592f1174cc83890dc4f32686",
+ "type": "Microsoft.ApiManagement/service/properties",
+ "name": "592f1174cc83890dc4f32686",
+ "properties": {
+ "displayName": "Logger-Credentials-592f1174cc83890dc4f32687",
+ "value": "Endpoint=sb://testtemplatetesteh.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=...",
+ "secret": true
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testarmTemplateproperties2",
+ "type": "Microsoft.ApiManagement/service/properties",
+ "name": "testarmTemplateproperties2",
+ "properties": {
+ "displayName": "propName",
+ "value": "propValue",
+ "tags": [
+ "foo",
+ "bar"
+ ],
+ "secret": false
+ }
+ }
+ ],
+ "nextLink": ""
}
- },
- {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/properties/testarmTemplateproperties2",
- "type": "Microsoft.ApiManagement/service/properties",
- "name": "testarmTemplateproperties2",
- "properties": {
- "displayName": "propName",
- "value": "propValue",
- "tags": [
- "foo",
- "bar"
- ],
- "secret": false
- }
- }
- ],
- "nextLink": ""
- }
+ }
}
- }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserGroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserGroups.json
index 62def5602566..edd012c34ccc 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserGroups.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserGroups.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "userId": "57681833a40f7eb6c49f6acf"
+ "uid": "57681833a40f7eb6c49f6acf"
},
"responses": {
"200": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserSubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserSubscriptions.json
index 01581d961725..0aba41663201 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserSubscriptions.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserSubscriptions.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "userId": "57681833a40f7eb6c49f6acf"
+ "uid": "57681833a40f7eb6c49f6acf"
},
"responses": {
"200": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserIdentities.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUsersIdentities.json
similarity index 90%
rename from specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserIdentities.json
rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUsersIdentities.json
index c6d10bafe53e..d57c487a3955 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUserIdentities.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementListUsersIdentities.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "userId": "57f2af53bb17172280f44057"
+ "uid": "57f2af53bb17172280f44057"
},
"responses": {
"200": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutDelegation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutDelegation.json
index 4d866e0e14b6..f12c48435929 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutDelegation.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutDelegation.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "userId": "5931a75ae4bbd512288c680b",
+ "uid": "5931a75ae4bbd512288c680b",
"If-Match": "*",
"parameters": {
"properties": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutSignIn.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutSignIn.json
index c7e99e5283fa..9860b7d886d9 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutSignIn.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutSignIn.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "userId": "5931a75ae4bbd512288c680b",
+ "uid": "5931a75ae4bbd512288c680b",
"If-Match": "*",
"parameters": {
"properties": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutSignUp.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutSignUp.json
index 2184d04f420b..01fc2da2a495 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutSignUp.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsPutSignUp.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "userId": "5931a75ae4bbd512288c680b",
+ "uid": "5931a75ae4bbd512288c680b",
"If-Match": "*",
"parameters": {
"properties": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateDelegation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateDelegation.json
index 1f3bdb15735f..d56da4116e68 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateDelegation.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateDelegation.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "userId": "5931a75ae4bbd512288c680b",
+ "uid": "5931a75ae4bbd512288c680b",
"If-Match": "*",
"parameters": {
"properties": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateSignIn.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateSignIn.json
index 1aec7b9ea167..16bcb93ec845 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateSignIn.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateSignIn.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "userId": "5931a75ae4bbd512288c680b",
+ "uid": "5931a75ae4bbd512288c680b",
"If-Match": "*",
"parameters": {
"properties": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateSignUp.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateSignUp.json
index 3824225176d6..70e5b6e61066 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateSignUp.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementPortalSettingsUpdateSignUp.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "userId": "5931a75ae4bbd512288c680b",
+ "uid": "5931a75ae4bbd512288c680b",
"If-Match": "*",
"parameters": {
"properties": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceDeleteService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceDeleteService.json
index d23e103d852f..bd25f95cc9ba 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceDeleteService.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementServiceDeleteService.json
@@ -1,60 +1,12 @@
{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid"
- },
- "responses": {
- "202": {
- "headers": {
- "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/TGV2eTExMDZtMDJfVGVybV9jMmZlY2QwMA==?api-version=2018-06-01-preview"
- },
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1",
- "name": "apimService1",
- "type": "Microsoft.ApiManagement/service",
- "tags": {},
- "location": "West US",
- "etag": "AAAAAAFfhHY=",
- "properties": {
- "publisherEmail": "sasolank@microsoft.com",
- "publisherName": "Microsoft",
- "notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com",
- "provisioningState": "Succeeded",
- "targetProvisioningState": "Deleting",
- "createdAtUtc": "2016-12-20T19:41:21.5823069Z",
- "gatewayUrl": "https://apimService1.azure-api.net",
- "gatewayRegionalUrl": "https://apimService1-westus-01.regional.azure-api.net",
- "portalUrl": "https://apimService1.portal.azure-api.net",
- "managementApiUrl": "https://apimService1.management.azure-api.net",
- "scmUrl": "https://apimService1.scm.azure-api.net",
- "hostnameConfigurations": [],
- "publicIPAddresses": [
- "40.XX.XXX.168"
- ],
- "virtualNetworkConfiguration": {
- "subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/BlockVNETSamir/subnets/default"
- },
- "customProperties": {
- "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10": "True",
- "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11": "True",
- "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30": "False",
- "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168": "True",
- "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10": "True",
- "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11": "True",
- "Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30": "False",
- "Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2": "False"
- },
- "virtualNetworkType": "External"
- },
- "sku": {
- "name": "Developer",
- "capacity": 1
- }
- }
+ "parameters": {
+ "serviceName": "apimService1",
+ "resourceGroupName": "rg1",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "subid"
},
- "204": {},
- "200": {}
- }
+ "responses": {
+ "200": {},
+ "204": {}
+ }
}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementSubscriptionRegeneratePrimaryKey.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementSubscriptionRegenerateKey.json
similarity index 100%
rename from specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementSubscriptionRegeneratePrimaryKey.json
rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementSubscriptionRegenerateKey.json
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementSubscriptionRegenerateSecondaryKey.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementSubscriptionRegenerateSecondaryKey.json
deleted file mode 100644
index ee96523a6f05..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementSubscriptionRegenerateSecondaryKey.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "sid": "testsub"
- },
- "responses": {
- "204": { }
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiIssue.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiIssue.json
index 5408e77690f3..36f3f70fe42c 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiIssue.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateApiIssue.json
@@ -6,7 +6,6 @@
"subscriptionId": "subid",
"issueId": "57d2ef278aa04f0ad01d6cdc",
"apiId": "57d1f7558aa04f15146d9d8a",
- "If-Match": "*",
"parameters": {
"properties": {
"state": "closed"
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateBackend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateBackend.json
index 789aabb3a838..180640c2efc5 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateBackend.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateBackend.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "backendId": "proxybackend",
+ "backendid": "proxybackend",
"If-Match": "*",
"parameters": {
"properties": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateCache.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateCache.json
deleted file mode 100644
index 8b2f26300e9c..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateCache.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "cacheId": "westindia",
- "If-Match": "*",
- "parameters": {
- "properties": {
- "description": "Update Cache in west India"
- }
- }
- },
- "responses": {
- "204": {}
- }
-}
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateLogger.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateLogger.json
index 1aee91e94023..c76cacf02a59 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateLogger.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateLogger.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "loggerId": "loggerId",
+ "loggerid": "loggerId",
"If-Match": "*",
"parameters": {
"properties": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateProduct.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateProductBasic.json
similarity index 100%
rename from specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateProduct.json
rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateProductBasic.json
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateUser.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateUserBasic.json
similarity index 89%
rename from specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateUser.json
rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateUserBasic.json
index 38c3a6b5b7a3..9306019ad112 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateUser.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUpdateUserBasic.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "userId": "5931a75ae4bbd512288c680b",
+ "uid": "5931a75ae4bbd512288c680b",
"If-Match": "*",
"parameters": {
"properties": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserConfirmationPasswordSend.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserConfirmationPasswordSend.json
deleted file mode 100644
index 3210d6c6b3e6..000000000000
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserConfirmationPasswordSend.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "parameters": {
- "serviceName": "apimService1",
- "resourceGroupName": "rg1",
- "api-version": "2018-06-01-preview",
- "subscriptionId": "subid",
- "userId": "57127d485157a511ace86ae7"
- },
- "responses": {
- "204": { }
- }
- }
\ No newline at end of file
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserGenerateSsoUrl.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUsersGenerateSsoUrl.json
similarity index 90%
rename from specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserGenerateSsoUrl.json
rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUsersGenerateSsoUrl.json
index cf3049ecdc1e..0e4716db7944 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserGenerateSsoUrl.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUsersGenerateSsoUrl.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "userId": "57127d485157a511ace86ae7"
+ "uid": "57127d485157a511ace86ae7"
},
"responses": {
"200": {
diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserToken.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUsersGetToken.json
similarity index 90%
rename from specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserToken.json
rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUsersGetToken.json
index 36ad537e03fa..129d654555e9 100644
--- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUserToken.json
+++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2018-06-01-preview/examples/ApiManagementUsersGetToken.json
@@ -4,7 +4,7 @@
"resourceGroupName": "rg1",
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
- "userId": "57f2af53bb17172280f44057",
+ "uid": "57f2af53bb17172280f44057",
"parameters": {
"keyType": "primary",
"expiry": "2017-05-13T10:39:35Z"
diff --git a/specification/apimanagement/resource-manager/readme.md b/specification/apimanagement/resource-manager/readme.md
index c35b42f9bcd0..c6417823ac04 100644
--- a/specification/apimanagement/resource-manager/readme.md
+++ b/specification/apimanagement/resource-manager/readme.md
@@ -1,320 +1,313 @@
-# ApiManagement
-
-> see https://aka.ms/autorest
-
-This is the AutoRest configuration file for ApiManagement.
-
-
-
----
-## Getting Started
-To build the SDK for ApiManagement, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
-
-> `autorest`
-
-To see additional help and options, run:
-
-> `autorest --help`
----
-
-## Configuration
-
-
-
-### Basic Information
-These are the global settings for the ApiManagement API.
-
-``` yaml
-title: ApiManagementClient
-description: ApiManagement Client
-openapi-type: arm
-tag: package-2018-01
-```
-
-### Tag: package-2018-06-preview
-
-These settings apply only when `--tag=package-2018-06-preview` is specified on the command line.
-
-``` yaml $(tag) == 'package-2018-06-preview'
-input-file:
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimanagement.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimapis.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimapisByTags.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimauthorizationservers.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimbackends.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimcaches.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimcertificates.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimdeployment.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimdiagnostics.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimemailtemplates.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimgroups.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimidentityprovider.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimissues.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimloggers.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimnotifications.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimnetworkstatus.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimopenidconnectproviders.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimpolicies.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimpolicysnippets.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimportalsettings.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimproducts.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimproductsByTags.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimproperties.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimquotas.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimregions.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimreports.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimsubscriptions.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimtagresources.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimtags.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimtenant.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimusers.json
-- Microsoft.ApiManagement/preview/2018-06-01-preview/apimapiversionsets.json
-```
-
-## Suppression
-``` yaml
-directive:
- - suppress: R3016
- reason: existing properties, can't be changed without breaking API.
- #where:
- # - $.definitions.ApiManagementServiceUploadCertificateParameters.properties.certificate_password
- # - $.definitions.QuotaCounterContract.properties.Value
-
-```
-
-### Tag: package-2018-01
-
-These settings apply only when `--tag=package-2018-01` is specified on the command line.
-
-``` yaml $(tag) == 'package-2018-01'
-input-file:
-- Microsoft.ApiManagement/stable/2018-01-01/apimanagement.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimapis.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimauthorizationservers.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimbackends.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimcertificates.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimdeployment.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimdiagnostics.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimemailtemplate.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimgroups.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimidentityprovider.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimloggers.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimnotifications.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimnetworkstatus.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimopenidconnectproviders.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimportalsettings.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimproducts.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimproperties.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimquotas.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimreports.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimsubscriptions.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimtagresources.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimtags.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimtenant.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimusers.json
-- Microsoft.ApiManagement/stable/2018-01-01/apimversionsets.json
-```
-
-## Suppression
-``` yaml
-directive:
- - suppress: R3016
- reason: existing properties, can't be changed without breaking API.
- #where:
- # - $.definitions.ApiManagementServiceUploadCertificateParameters.properties.certificate_password
- # - $.definitions.QuotaCounterContract.properties.Value
-
-```
-
-### Tag: package-2017-03
-
-These settings apply only when `--tag=package-2017-03` is specified on the command line.
-
-``` yaml $(tag) == 'package-2017-03'
-input-file:
-- Microsoft.ApiManagement/stable/2017-03-01/apimanagement.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimapis.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimauthorizationservers.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimbackends.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimcertificates.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimdeployment.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimdiagnostics.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimemailtemplate.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimgroups.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimidentityprovider.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimloggers.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimnotifications.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimnetworkstatus.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimopenidconnectproviders.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimportalsettings.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimproducts.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimproperties.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimquotas.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimreports.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimsubscriptions.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimtagresources.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimtags.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimtenant.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimusers.json
-- Microsoft.ApiManagement/stable/2017-03-01/apimversionsets.json
-```
-
-
-### Tag: package-2016-10
-
-These settings apply only when `--tag=package-2016-10` is specified on the command line.
-
-``` yaml $(tag) == 'package-2016-10'
-input-file:
-- Microsoft.ApiManagement/stable/2016-10-10/apimanagement.json
-- Microsoft.ApiManagement/stable/2016-10-10/apimapis.json
-- Microsoft.ApiManagement/stable/2016-10-10/apimauthorizationservers.json
-- Microsoft.ApiManagement/stable/2016-10-10/apimbackends.json
-- Microsoft.ApiManagement/stable/2016-10-10/apimcertificates.json
-- Microsoft.ApiManagement/stable/2016-10-10/apimdeployment.json
-- Microsoft.ApiManagement/stable/2016-10-10/apimgroups.json
-- Microsoft.ApiManagement/stable/2016-10-10/apimidentityprovider.json
-- Microsoft.ApiManagement/stable/2016-10-10/apimloggers.json
-- Microsoft.ApiManagement/stable/2016-10-10/apimnetworkstatus.json
-- Microsoft.ApiManagement/stable/2016-10-10/apimopenidconnectproviders.json
-- Microsoft.ApiManagement/stable/2016-10-10/apimproducts.json
-- Microsoft.ApiManagement/stable/2016-10-10/apimproperties.json
-- Microsoft.ApiManagement/stable/2016-10-10/apimquotas.json
-- Microsoft.ApiManagement/stable/2016-10-10/apimreports.json
-- Microsoft.ApiManagement/stable/2016-10-10/apimsubscriptions.json
-- Microsoft.ApiManagement/stable/2016-10-10/apimtenant.json
-- Microsoft.ApiManagement/stable/2016-10-10/apimusers.json
-```
-
-### Tag: package-2016-07
-
-These settings apply only when `--tag=package-2016-07` is specified on the command line.
-
-``` yaml $(tag) == 'package-2016-07'
-input-file:
-- Microsoft.ApiManagement/stable/2016-07-07/apimanagement.json
-- Microsoft.ApiManagement/stable/2016-07-07/apimdeployment.json
-```
-
----
-# Code Generation
-
-
-## Swagger to SDK
-
-This section describes what SDK should be generated by the automatic system.
-This is not used by Autorest itself.
-
-``` yaml $(swagger-to-sdk)
-swagger-to-sdk:
- - repo: azure-sdk-for-go
- - repo: azure-sdk-for-python
- - repo: azure-sdk-for-js
- - repo: azure-sdk-for-node
- autorest_options:
- use: "@microsoft.azure/autorest.python@~3.0"
- - repo: azure-sdk-for-ruby
- after_scripts:
- - bundle install && rake arm:regen_all_profiles['azure_mgmt_api_management']
-```
-
-
-## C#
-
-These settings apply only when `--csharp` is specified on the command line.
-Please also specify `--csharp-sdks-folder=`.
-
-``` yaml $(csharp)
-csharp:
- azure-arm: true
- license-header: MICROSOFT_MIT_NO_VERSION
- namespace: Microsoft.Azure.Management.ApiManagement
- output-folder: $(csharp-sdks-folder)/ApiManagement/Management.ApiManagement/Generated
- clear-output-folder: true
-```
-
-## Python
-
-See configuration in [readme.python.md](./readme.python.md)
-
-## Go
-
-See configuration in [readme.go.md](./readme.go.md)
-
-## Java
-
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(java)
-azure-arm: true
-fluent: true
-namespace: com.microsoft.azure.management.apimanagement
-license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
-output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-apimanagement
-```
-
-### Java multi-api
-
-``` yaml $(java) && $(multiapi)
-batch:
- - tag: package-2016-07
- - tag: package-2016-10
- - tag: package-2018-01
- - tag: package-2017-03
-```
-
-### Tag: package-2016-07 and java
-
-These settings apply only when `--tag=package-2016-07 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2016-07' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.apimanagement.v2016_07_07
- output-folder: $(azure-libraries-for-java-folder)/apimanagement/resource-manager/v2016_07_07
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: package-2016-10 and java
-
-These settings apply only when `--tag=package-2016-10 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2016-10' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.apimanagement.v2016_10_10
- output-folder: $(azure-libraries-for-java-folder)/apimanagement/resource-manager/v2016_10_10
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: package-2018-01 and java
-
-These settings apply only when `--tag=package-2018-01 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2018-01' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.apimanagement.v2018_01_01
- output-folder: $(azure-libraries-for-java-folder)/apimanagement/resource-manager/v2018_01_01
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: package-2017-03 and java
-
-These settings apply only when `--tag=package-2017-03 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2017-03' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.apimanagement.v2017_03_01
- output-folder: $(azure-libraries-for-java-folder)/apimanagement/resource-manager/v2017_03_01
-regenerate-manager: true
-generate-interface: true
-```
-
-
+# ApiManagement
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for ApiManagement.
+
+
+
+---
+## Getting Started
+To build the SDK for ApiManagement, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
+
+> `autorest`
+
+To see additional help and options, run:
+
+> `autorest --help`
+---
+
+## Configuration
+
+
+
+### Basic Information
+These are the global settings for the ApiManagement API.
+
+``` yaml
+title: ApiManagementClient
+description: ApiManagement Client
+openapi-type: arm
+tag: package-2018-01
+```
+
+### Tag: package-2018-06-preview
+
+These settings apply only when `--tag=package-2018-06-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2018-06-preview'
+input-file:
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimanagement.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimapis.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimauthorizationservers.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimbackends.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimcertificates.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimdeployment.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimdiagnostics.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimemailtemplate.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimgroups.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimidentityprovider.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimloggers.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimnotifications.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimnetworkstatus.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimopenidconnectproviders.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimportalsettings.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimproducts.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimproperties.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimquotas.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimreports.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimsubscriptions.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimtagresources.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimtags.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimtenant.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimusers.json
+- Microsoft.ApiManagement/preview/2018-06-01-preview/apimversionsets.json
+```
+
+## Suppression
+``` yaml
+directive:
+ - suppress: R3016
+ reason: existing properties, can't be changed without breaking API.
+ #where:
+ # - $.definitions.ApiManagementServiceUploadCertificateParameters.properties.certificate_password
+ # - $.definitions.QuotaCounterContract.properties.Value
+
+```
+
+### Tag: package-2018-01
+
+These settings apply only when `--tag=package-2018-01` is specified on the command line.
+
+``` yaml $(tag) == 'package-2018-01'
+input-file:
+- Microsoft.ApiManagement/stable/2018-01-01/apimanagement.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimapis.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimauthorizationservers.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimbackends.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimcertificates.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimdeployment.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimdiagnostics.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimemailtemplate.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimgroups.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimidentityprovider.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimloggers.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimnotifications.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimnetworkstatus.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimopenidconnectproviders.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimportalsettings.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimproducts.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimproperties.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimquotas.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimreports.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimsubscriptions.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimtagresources.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimtags.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimtenant.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimusers.json
+- Microsoft.ApiManagement/stable/2018-01-01/apimversionsets.json
+```
+
+## Suppression
+``` yaml
+directive:
+ - suppress: R3016
+ reason: existing properties, can't be changed without breaking API.
+ #where:
+ # - $.definitions.ApiManagementServiceUploadCertificateParameters.properties.certificate_password
+ # - $.definitions.QuotaCounterContract.properties.Value
+
+```
+
+### Tag: package-2017-03
+
+These settings apply only when `--tag=package-2017-03` is specified on the command line.
+
+``` yaml $(tag) == 'package-2017-03'
+input-file:
+- Microsoft.ApiManagement/stable/2017-03-01/apimanagement.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimapis.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimauthorizationservers.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimbackends.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimcertificates.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimdeployment.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimdiagnostics.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimemailtemplate.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimgroups.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimidentityprovider.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimloggers.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimnotifications.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimnetworkstatus.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimopenidconnectproviders.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimportalsettings.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimproducts.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimproperties.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimquotas.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimreports.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimsubscriptions.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimtagresources.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimtags.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimtenant.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimusers.json
+- Microsoft.ApiManagement/stable/2017-03-01/apimversionsets.json
+```
+
+
+### Tag: package-2016-10
+
+These settings apply only when `--tag=package-2016-10` is specified on the command line.
+
+``` yaml $(tag) == 'package-2016-10'
+input-file:
+- Microsoft.ApiManagement/stable/2016-10-10/apimanagement.json
+- Microsoft.ApiManagement/stable/2016-10-10/apimapis.json
+- Microsoft.ApiManagement/stable/2016-10-10/apimauthorizationservers.json
+- Microsoft.ApiManagement/stable/2016-10-10/apimbackends.json
+- Microsoft.ApiManagement/stable/2016-10-10/apimcertificates.json
+- Microsoft.ApiManagement/stable/2016-10-10/apimdeployment.json
+- Microsoft.ApiManagement/stable/2016-10-10/apimgroups.json
+- Microsoft.ApiManagement/stable/2016-10-10/apimidentityprovider.json
+- Microsoft.ApiManagement/stable/2016-10-10/apimloggers.json
+- Microsoft.ApiManagement/stable/2016-10-10/apimnetworkstatus.json
+- Microsoft.ApiManagement/stable/2016-10-10/apimopenidconnectproviders.json
+- Microsoft.ApiManagement/stable/2016-10-10/apimproducts.json
+- Microsoft.ApiManagement/stable/2016-10-10/apimproperties.json
+- Microsoft.ApiManagement/stable/2016-10-10/apimquotas.json
+- Microsoft.ApiManagement/stable/2016-10-10/apimreports.json
+- Microsoft.ApiManagement/stable/2016-10-10/apimsubscriptions.json
+- Microsoft.ApiManagement/stable/2016-10-10/apimtenant.json
+- Microsoft.ApiManagement/stable/2016-10-10/apimusers.json
+```
+
+### Tag: package-2016-07
+
+These settings apply only when `--tag=package-2016-07` is specified on the command line.
+
+``` yaml $(tag) == 'package-2016-07'
+input-file:
+- Microsoft.ApiManagement/stable/2016-07-07/apimanagement.json
+- Microsoft.ApiManagement/stable/2016-07-07/apimdeployment.json
+```
+
+---
+# Code Generation
+
+
+## Swagger to SDK
+
+This section describes what SDK should be generated by the automatic system.
+This is not used by Autorest itself.
+
+``` yaml $(swagger-to-sdk)
+swagger-to-sdk:
+ - repo: azure-sdk-for-go
+ - repo: azure-sdk-for-python
+ - repo: azure-sdk-for-js
+ - repo: azure-sdk-for-node
+ autorest_options:
+ use: "@microsoft.azure/autorest.python@~3.0"
+ - repo: azure-sdk-for-ruby
+ after_scripts:
+ - bundle install && rake arm:regen_all_profiles['azure_mgmt_api_management']
+```
+
+
+## C#
+
+These settings apply only when `--csharp` is specified on the command line.
+Please also specify `--csharp-sdks-folder=`.
+
+``` yaml $(csharp)
+csharp:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ namespace: Microsoft.Azure.Management.ApiManagement
+ output-folder: $(csharp-sdks-folder)/ApiManagement/Management.ApiManagement/Generated
+ clear-output-folder: true
+```
+
+## Python
+
+See configuration in [readme.python.md](./readme.python.md)
+
+## Go
+
+See configuration in [readme.go.md](./readme.go.md)
+
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+fluent: true
+namespace: com.microsoft.azure.management.apimanagement
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-apimanagement
+```
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2016-07
+ - tag: package-2016-10
+ - tag: package-2018-01
+ - tag: package-2017-03
+```
+
+### Tag: package-2016-07 and java
+
+These settings apply only when `--tag=package-2016-07 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2016-07' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.apimanagement.v2016_07_07
+ output-folder: $(azure-libraries-for-java-folder)/apimanagement/resource-manager/v2016_07_07
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2016-10 and java
+
+These settings apply only when `--tag=package-2016-10 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2016-10' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.apimanagement.v2016_10_10
+ output-folder: $(azure-libraries-for-java-folder)/apimanagement/resource-manager/v2016_10_10
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2018-01 and java
+
+These settings apply only when `--tag=package-2018-01 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2018-01' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.apimanagement.v2018_01_01
+ output-folder: $(azure-libraries-for-java-folder)/apimanagement/resource-manager/v2018_01_01
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2017-03 and java
+
+These settings apply only when `--tag=package-2017-03 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2017-03' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.apimanagement.v2017_03_01
+ output-folder: $(azure-libraries-for-java-folder)/apimanagement/resource-manager/v2017_03_01
+regenerate-manager: true
+generate-interface: true
+```
+
+
diff --git a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/BatchService.json
index 2010728d8f31..eda7d598fea0 100644
--- a/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/BatchService.json
+++ b/specification/batch/data-plane/Microsoft.Batch/stable/2018-12-01.8.0/BatchService.json
@@ -12477,8 +12477,7 @@
},
"stats": {
"$ref": "#/definitions/JobStatistics",
- "title": "Resource usage statistics for the entire lifetime of the job.",
- "description": "This property is populated only if the CloudJob was retrieved with an expand clause including the 'stats' attribute; otherwise it is null. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes."
+ "title": "Resource usage statistics for the entire lifetime of the job. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes."
}
},
"title": "An Azure Batch job."
@@ -13402,8 +13401,7 @@
},
"stats": {
"$ref": "#/definitions/PoolStatistics",
- "title": "Utilization and resource usage statistics for the entire lifetime of the pool.",
- "description": "This property is populated only if the CloudPool was retrieved with an expand clause including the 'stats' attribute; otherwise it is null. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes."
+ "title": "Utilization and resource usage statistics for the entire lifetime of the pool. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes."
}
},
"title": "A pool in the Azure Batch service."
@@ -13712,7 +13710,7 @@
},
"required": [ "coordinationCommandLine" ],
"title": "Settings which specify how to run a multi-instance task.",
- "description": "Multi-instance tasks are commonly used to support MPI tasks. In the MPI case, if any of the subtasks fail (for example due to exiting with a non-zero exit code) the entire multi-instance task fails. The multi-instance task is then terminated and retried, up to its retry limit."
+ "description": "Multi-instance tasks are commonly used to support MPI tasks."
},
"TaskStatistics": {
"properties": {
diff --git a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json
index 99f4bb5b87c3..9e3930acada0 100644
--- a/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json
+++ b/specification/blueprint/resource-manager/Microsoft.Blueprint/preview/2018-11-01-preview/blueprintDefinition.json
@@ -1205,21 +1205,9 @@
"type": "string",
"description": "Name of peer artifact."
}
- },
- "tags": {
- "description": "Tags to be assigned to this resource group.",
- "$ref": "#/definitions/ResourceGroupTagCollection"
}
}
},
- "ResourceGroupTagCollection": {
- "description": "A dictionary of resource group tag values.",
- "type": "object",
- "properties": {},
- "additionalProperties": {
- "type": "string"
- }
- },
"ParameterDefinitionMetadata": {
"type": "object",
"description": "User-friendly properties for this parameter.",
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/cdn.json
index 33658e4c4fb4..580c70d4d4d0 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/cdn.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/cdn.json
@@ -1653,11 +1653,8 @@
"description": "Enable https delivery of the custom domain.",
"operationId": "CustomDomains_EnableCustomHttps",
"x-ms-examples": {
- "CustomDomains_EnableCustomHttpsUsingYourOwnCertificate": {
- "$ref": "./examples/CustomDomains_EnableCustomHttpsUsingBYOC.json"
- },
- "CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate" :{
- "$ref": "./examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json"
+ "CustomDomains_EnableCustomHttps": {
+ "$ref": "./examples/CustomDomains_EnableCustomHttps.json"
}
},
"parameters": [
@@ -1685,15 +1682,6 @@
"required": true,
"type": "string"
},
- {
- "name": "customDomainHttpsParameters",
- "in": "body",
- "description": "The configuration specifying how to enable HTTPS for the custom domain - using CDN managed certificate or user's own certificate. If not specified, enabling ssl uses CDN managed certificate by default.",
- "required": false,
- "schema": {
- "$ref": "#/definitions/CustomDomainHttpsParameters"
- }
- },
{
"$ref": "#/parameters/subscriptionIdParameter"
},
@@ -2777,166 +2765,6 @@
}
}
},
- "CustomDomainHttpsParameters": {
- "description": "The JSON object that contains the properties to secure a custom domain.",
- "discriminator": "certificateSource",
- "required": [
- "certificateSource",
- "protocolType"
- ],
- "properties": {
- "certificateSource": {
- "description": "Defines the source of the SSL certificate.",
- "enum": [
- "AzureKeyVault",
- "Cdn"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "CertificateSource",
- "modelAsString": true
- }
- },
- "protocolType": {
- "description": "Defines the TLS extension protocol that is used for secure delivery.",
- "enum": [
- "ServerNameIndication",
- "IPBased"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "ProtocolType",
- "modelAsString": true
- }
- }
- }
- },
- "CdnManagedHttpsParameters": {
- "description": "Defines the certificate source parameters using CDN managed certificate for enabling SSL.",
- "x-ms-discriminator-value": "Cdn",
- "allOf": [
- {
- "$ref": "#/definitions/CustomDomainHttpsParameters"
- }
- ],
- "required": [
- "certificateSourceParameters"
- ],
- "properties": {
- "certificateSourceParameters": {
- "description": "Defines the certificate source parameters using CDN managed certificate for enabling SSL.",
- "$ref": "#/definitions/CdnCertificateSourceParameters"
- }
- }
- },
- "CdnCertificateSourceParameters": {
- "description": "Defines the parameters for using CDN managed certificate for securing custom domain.",
- "required": [
- "@odata.type",
- "certificateType"
- ],
- "properties": {
- "@odata.type": {
- "type": "string",
- "enum": [
- "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters"
- ]
- },
- "certificateType": {
- "description": "Type of certificate used",
- "enum": [
- "Shared",
- "Dedicated"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "CertificateType",
- "modelAsString": true
- }
- }
- }
- },
- "UserManagedHttpsParameters": {
- "description": "Defines the certificate source parameters using user's keyvault certificate for enabling SSL.",
- "x-ms-discriminator-value": "AzureKeyVault",
- "allOf": [
- {
- "$ref": "#/definitions/CustomDomainHttpsParameters"
- }
- ],
- "required": [
- "certificateSourceParameters"
- ],
- "properties": {
- "certificateSourceParameters": {
- "description": "Defines the certificate source parameters using user's keyvault certificate for enabling SSL.",
- "$ref": "#/definitions/KeyVaultCertificateSourceParameters"
- }
- }
- },
- "KeyVaultCertificateSourceParameters": {
- "description": "Describes the parameters for using a user's KeyVault certificate for securing custom domain.",
- "required": [
- "@odata.type",
- "subscriptionId",
- "resourceGroupName",
- "vaultName",
- "secretName",
- "secretVersion",
- "updateRule",
- "deleteRule"
- ],
- "properties": {
- "@odata.type": {
- "type": "string",
- "enum": [
- "#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters"
- ]
- },
- "subscriptionId": {
- "description": "Subscription Id of the user's Key Vault containing the SSL certificate",
- "type": "string"
- },
- "resourceGroupName": {
- "description": "Resource group of the user's Key Vault containing the SSL certificate",
- "type": "string"
- },
- "vaultName": {
- "description": "The name of the user's Key Vault containing the SSL certificate",
- "type": "string"
- },
- "secretName": {
- "description": "The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.",
- "type": "string"
- },
- "secretVersion": {
- "description": "The version(GUID) of Key Vault Secret in Key Vault.",
- "type": "string"
- },
- "updateRule": {
- "description": "Describes the action that shall be taken when the certificate is updated in Key Vault.",
- "type": "string",
- "enum": [
- "NoAction"
- ],
- "x-ms-enum": {
- "name": "UpdateRule",
- "modelAsString": true
- }
- },
- "deleteRule": {
- "description": "Describes the action that shall be taken when the certificate is removed from Key Vault.",
- "type": "string",
- "enum": [
- "NoAction"
- ],
- "x-ms-enum": {
- "name": "DeleteRule",
- "modelAsString": true
- }
- }
- }
- },
"CustomDomainListResult": {
"description": "Result of the request to list custom domains. It contains a list of custom domain objects and a URL link to get the next set of results.",
"properties": {
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/examples/CustomDomains_EnableCustomHttps.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/examples/CustomDomains_EnableCustomHttps.json
new file mode 100644
index 000000000000..02f0185444a3
--- /dev/null
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/examples/CustomDomains_EnableCustomHttps.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "api-version": "2017-10-12",
+ "subscriptionId": "subid",
+ "resourceGroupName": "RG",
+ "profileName": "profile1",
+ "endpointName": "endpoint1",
+ "customDomainName": "www-someDomain-net"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json
deleted file mode 100644
index db2bc8a4a9d0..000000000000
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/examples/CustomDomains_EnableCustomHttpsUsingBYOC.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "parameters": {
- "api-version": "2017-10-12",
- "subscriptionId": "subid",
- "resourceGroupName": "RG",
- "profileName": "profile1",
- "endpointName": "endpoint1",
- "customDomainName": "www-someDomain-net",
- "customHttpsParameters": {
- "certificateSource": "AzureKeyVault",
- "protocolType": "ServerNameIndication",
- "certificateSourceParameters": {
- "OData.type":"#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters",
- "subscriptionId":"subid",
- "resourceGroupName":"RG",
- "vaultName":"kv",
- "secretName" : "secret1",
- "secretVersion" :"00000000-0000-0000-0000-000000000000",
- "updateRule": "NoAction",
- "deleteRule": "NoAction"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
deleted file mode 100644
index 518f58899340..000000000000
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2017-10-12/examples/CustomDomains_EnableCustomHttpsUsingCDNManagedCertificate.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "parameters": {
- "api-version": "2017-10-12",
- "subscriptionId": "subid",
- "resourceGroupName": "RG",
- "profileName": "profile1",
- "endpointName": "endpoint1",
- "customDomainName": "www-someDomain-net",
- "customHttpsParameters": {
- "certificateSource": "Cdn",
- "protocolType": "ServerNameIndication",
- "certificateSourceParameters": {
- "OData.type":"#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters",
- "certificateType":"Shared"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- }
- }
- }
- }
\ No newline at end of file
diff --git a/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/Ocr.json b/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/Ocr.json
index 83f602b55430..b1fc20f55143 100644
--- a/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/Ocr.json
+++ b/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/Ocr.json
@@ -110,85 +110,6 @@
}
}
}
- },
- "/read/core/asyncBatchAnalyze": {
- "post": {
- "description": "Use this interface to get the result of a Read operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read File interface, the response contains a field called \"Operation-Location\". The \"Operation-Location\" field contains the URL that you must use for your \"Read Operation Result\" operation to access OCR results.",
- "operationId": "BatchReadFile",
- "parameters": [
- {
- "$ref": "#/parameters/ImageUrl"
- },
- {
- "$ref": "#/parameters/TextRecognitionMode"
- }
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "202": {
- "description": "The service has accepted the request and will start processing later.",
- "headers": {
- "Operation-Location": {
- "description": "URL to query for status of the operation. The operation ID will expire in 48 hours. ",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response.",
- "schema": {
- "$ref": "#/definitions/ComputerVisionError"
- }
- }
- },
- "x-ms-examples": {
- "Successful Domain Model analysis request": {
- "$ref": "./examples/SuccessfulBatchReadFileWithUrl.json"
- }
- }
- }
- },
- "/read/operations/{operationId}": {
- "get": {
- "description": "This interface is used for getting OCR results of Read operation. The URL to this interface should be retrieved from \"Operation-Location\" field returned from Batch Read File interface.",
- "operationId": "GetReadOperationResult",
- "parameters": [
- {
- "name": "operationId",
- "in": "path",
- "description": "Id of read operation returned in the response of the \"Batch Read File\" interface.",
- "required": true,
- "type": "string"
- }
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "200": {
- "description": "Returns the read operation status.",
- "schema": {
- "$ref": "#/definitions/ReadOperationResult"
- }
- },
- "default": {
- "description": "Error response.",
- "schema": {
- "$ref": "#/definitions/ComputerVisionError"
- }
- }
- },
- "x-ms-examples": {
- "Successful Domain Model analysis request": {
- "$ref": "./examples/SuccessfulReadOperationResult.json"
- }
- }
- }
}
},
"x-ms-paths": {
@@ -233,135 +154,36 @@
}
}
}
- },
- "/read/core/asyncBatchAnalyze?overload=stream": {
- "post": {
- "description": "Use this interface to get the result of a Read Document operation, employing the state-of-the-art Optical Character Recognition (OCR) algorithms optimized for text-heavy documents. When you use the Read Document interface, the response contains a field called \"Operation-Location\". The \"Operation-Location\" field contains the URL that you must use for your \"Get Read Result operation\" to access OCR results.",
- "operationId": "BatchReadFileInStream",
- "parameters": [
- {
- "$ref": "#/parameters/ImageStream"
- },
- {
- "$ref": "#/parameters/TextRecognitionMode"
- }
- ],
- "consumes": [
- "application/octet-stream"
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "202": {
- "description": "The service has accepted the request and will start processing later.",
- "headers": {
- "Operation-Location": {
- "description": "URL to query for status of the operation. The operation ID will expire in 48 hours. ",
- "type": "string"
- }
- }
- },
- "default": {
- "description": "Error response.",
- "schema": {
- "$ref": "#/definitions/ComputerVisionError"
- }
- }
- },
- "x-ms-examples": {
- "Successful Domain Model analysis request": {
- "$ref": "./examples/SuccessfulBatchReadFileWithStream.json"
- }
- }
- }
}
},
"definitions": {
"TextOperationResult": {
"type": "object",
- "description": "Result of recognition text operation.",
"properties": {
"status": {
+ "type": "string",
"description": "Status of the text operation.",
- "$ref": "#/definitions/OperationStatus"
+ "enum": [
+ "Not Started",
+ "Running",
+ "Failed",
+ "Succeeded"
+ ],
+ "x-ms-enum": {
+ "name": "TextOperationStatusCodes",
+ "modelAsString": false
+ },
+ "x-nullable": false
},
"recognitionResult": {
- "$ref": "#/definitions/TextRecognitionResult",
- "description": "Text recognition result of the text operation."
+ "$ref": "#/definitions/RecognitionResult"
}
}
},
- "ReadOperationResult": {
+ "RecognitionResult": {
"type": "object",
- "description": "OCR result of the read operation.",
"properties": {
- "status": {
- "description": "Status of the read operation.",
- "$ref": "#/definitions/OperationStatus"
- },
- "recognitionResults": {
- "description": "A array of text recognition result of the read operation.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/TextRecognitionResult"
- }
- }
- }
- },
- "OperationStatus": {
- "type": "string",
- "description": "Status code of the text operation.",
- "enum": [
- "Not Started",
- "Running",
- "Failed",
- "Succeeded"
- ],
- "x-ms-enum": {
- "name": "TextOperationStatusCodes",
- "modelAsString": false
- },
- "x-nullable": false
- },
- "TextRecognitionResult": {
- "description": "Json object representing a recognized text region",
- "type": "object",
- "required": [
- "lines"
- ],
- "properties": {
- "page": {
- "description": "The 1-based page number of the recognition result.",
- "type": "integer"
- },
- "clockwiseOrientation": {
- "description": "The orientation of the image in degrees in the clockwise direction. Range between [0, 360).",
- "type": "number"
- },
- "width": {
- "description": "The width of the image in pixels or the PDF in inches.",
- "type": "number"
- },
- "height": {
- "description": "The height of the image in pixels or the PDF in inches.",
- "type": "number"
- },
- "unit": {
- "description": "The unit used in the Width, Height and BoundingBox. For images, the unit is \"pixel\". For PDF, the unit is \"inch\".",
- "type": "string",
- "enum": [
- "pixel",
- "inch"
- ],
- "x-ms-enum": {
- "name": "TextRecognitionResultDimensionUnit",
- "modelAsString": false
- },
- "x-nullable": true
- },
"lines": {
- "description": "A list of recognized text lines.",
"type": "array",
"items": {
"$ref": "#/definitions/Line"
@@ -370,19 +192,15 @@
}
},
"Line": {
- "description": "Json object representing a recognized text line.",
"type": "object",
"properties": {
"boundingBox": {
- "description": "Bounding box of a recognized line.",
"$ref": "#/definitions/BoundingBox"
},
"text": {
- "description": "The text content of the line.",
"type": "string"
},
"words": {
- "description": "List of words in the text line.",
"type": "array",
"items": {
"$ref": "#/definitions/Word"
@@ -391,38 +209,17 @@
}
},
"Word": {
- "description": "Json object representing a recognized word.",
"type": "object",
- "required": [
- "boundingBox",
- "text"
- ],
"properties": {
"boundingBox": {
- "description": "Bounding box of a recognized word.",
"$ref": "#/definitions/BoundingBox"
},
"text": {
- "description": "The text content of the word.",
"type": "string"
- },
- "confidence": {
- "description": "Qualitative confidence measure.",
- "type": "string",
- "enum": [
- "High",
- "Low"
- ],
- "x-ms-enum": {
- "name": "TextRecognitionResultConfidenceClass",
- "modelAsString": false
- },
- "x-nullable": true
}
}
},
"BoundingBox": {
- "description": "Quadrangle bounding box, with coordinates in original image. The eight numbers represent the four points (x-coordinate, y-coordinate from the left-top corner of the image) of the detected rectangle from the left-top corner in the clockwise direction. For images, coordinates are in pixels. For PDF, coordinates are in inches.",
"type": "array",
"items": {
"type": "integer",
@@ -537,4 +334,4 @@
"x-ms-skip-url-encoding": true
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/examples/SuccessfulBatchReadFileWithStream.json b/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/examples/SuccessfulBatchReadFileWithStream.json
deleted file mode 100644
index 1cc9911c0d5d..000000000000
--- a/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/examples/SuccessfulBatchReadFileWithStream.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "parameters": {
- "Endpoint": "{Endpoint}",
- "Ocp-Apim-Subscription-Key": "{API key}",
- "mode": "Printed",
- "Image": "{binary}"
- },
- "responses": {
- "202": {
- "header": {
- "Operation-Location": "https://{domain}/vision/v2.0/getReadResult/e56ffa6e-1ee4-4042-bc07-993db706c95f"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/examples/SuccessfulBatchReadFileWithUrl.json b/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/examples/SuccessfulBatchReadFileWithUrl.json
deleted file mode 100644
index a63e7ad443db..000000000000
--- a/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/examples/SuccessfulBatchReadFileWithUrl.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "parameters": {
- "Endpoint": "{Endpoint}",
- "Ocp-Apim-Subscription-Key": "{API key}",
- "mode": "Printed",
- "ImageUrl": "{url}"
- },
- "responses": {
- "202": {
- "header": {
- "Operation-Location": "https://{domain}/vision/v2.0/getReadResult/e56ffa6e-1ee4-4042-bc07-993db706c95f"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/examples/SuccessfulReadOperationResult.json b/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/examples/SuccessfulReadOperationResult.json
deleted file mode 100644
index 71d2f06b58ed..000000000000
--- a/specification/cognitiveservices/data-plane/ComputerVision/stable/v2.0/examples/SuccessfulReadOperationResult.json
+++ /dev/null
@@ -1,118 +0,0 @@
-{
- "parameters": {
- "Endpoint": "{Endpoint}",
- "Ocp-Apim-Subscription-Key": "{API key}",
- "operationId": "e56ffa6e-1ee4-4042-bc07-993db706c95f"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "status": "Succeeded",
- "recognitionResults": [
- {
- "page": 1,
- "clockwiseOrientation": 349.59,
- "width": 600,
- "height": 400,
- "unit": "pixel",
- "lines": [
- {
- "boundingBox": [202, 618, 2047, 643, 2046, 840, 200, 813],
- "text": "Our greatest glory is not",
- "words": [
- {
- "boundingBox": [204, 627, 481, 628, 481, 830, 204, 829],
- "text": "Our"
- },
- {
- "boundingBox": [519, 628, 1057, 630, 1057, 832, 518, 830],
- "text": "greatest"
- },
- {
- "boundingBox": [1114, 630, 1549, 631, 1548, 833, 1114, 832],
- "text": "glory"
- },
- {
- "boundingBox": [1586, 631, 1785, 632, 1784, 834, 1586, 833],
- "text": "is"
- },
- {
- "boundingBox": [1822, 632, 2115, 633, 2115, 835, 1822, 834],
- "text": "not"
- }
- ]
- },
- {
- "boundingBox": [420, 1273, 2954, 1250, 2958, 1488, 422, 1511],
- "text": "but in rising every time we fall",
- "words": [
- {
- "boundingBox": [423, 1269, 634, 1268, 635, 1507, 424, 1508],
- "text": "but"
- },
- {
- "boundingBox": [667, 1268, 808, 1268, 809, 1506, 668, 1507],
- "text": "in"
- },
- {
- "boundingBox": [874, 1267, 1289, 1265, 1290, 1504, 875, 1506],
- "text": "rising"
- },
- {
- "boundingBox": [1331, 1265, 1771, 1263, 1772, 1502, 1332, 1504],
- "text": "every"
- },
- {
- "boundingBox": [1812, 1263, 2178, 1261, 2179, 1500, 1813, 1502],
- "text": "time"
- },
- {
- "boundingBox": [2219, 1261, 2510, 1260, 2511, 1498, 2220, 1500],
- "text": "we"
- },
- {
- "boundingBox": [2551, 1260, 3016, 1258, 3017, 1496, 2552, 1498],
- "text": "fall"
- }
- ]
- }
- ]
- },
- {
- "page": 2,
- "clockwiseOrientation": 1.32,
- "width": 600,
- "height": 400,
- "unit": "pixel",
- "lines": [
- {
- "boundingBox": [1612, 903, 2744, 935, 2738, 1139, 1607, 1107],
- "text": "in never failing ,",
- "words": [
- {
- "boundingBox": [1611, 934, 1707, 933, 1708, 1147, 1613, 1147],
- "text": "in"
- },
- {
- "boundingBox": [1753, 933, 2132, 930, 2133, 1144, 1754, 1146],
- "text": "never"
- },
- {
- "boundingBox": [2162, 930, 2673, 927, 2674, 1140, 2164, 1144],
- "text": "failing"
- },
- {
- "boundingBox": [2703, 926, 2788, 926, 2790, 1139, 2705, 1140],
- "text": ",",
- "confidence": "Low"
- }
- ]
- }
- ]
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/cognitiveservices/data-plane/TranslatorText/readme.md b/specification/cognitiveservices/data-plane/TranslatorText/readme.md
deleted file mode 100644
index b3eb64a3ec09..000000000000
--- a/specification/cognitiveservices/data-plane/TranslatorText/readme.md
+++ /dev/null
@@ -1,130 +0,0 @@
-# Cognitive Services Translator Text SDK
-
-> see https://aka.ms/autorest
-
-Configuration for generating Translator Text SDK.
-
-The current release is `release_3_0`.
-
-``` yaml
-
-tag: release_3_0
-add-credentials: true
-openapi-type: data-plane
-```
-
-# Releases
-
-### Release 3.0
-These settings apply only when `--tag=release_3_0` is specified on the command line.
-
-``` yaml $(tag) == 'release_3_0'
-input-file: stable/v3.0/TranslatorText.json
-```
-
-## Swagger to SDK
-
-This section describes what SDK should be generated by the automatic system.
-This is not used by Autorest itself.
-
-``` yaml $(swagger-to-sdk)
-swagger-to-sdk:
- - repo: azure-sdk-for-python
- - repo: azure-sdk-for-java
- - repo: azure-sdk-for-go
- - repo: azure-sdk-for-nodejs
-```
-
-## CSharp Settings
-These settings apply only when `--csharp` is specified on the command line.
-``` yaml $(csharp)
-csharp:
- sync-methods: None
- license-header: MICROSOFT_MIT_NO_VERSION
- azure-arm: false
- namespace: Microsoft.Azure.CognitiveServices.TranslatorText
- output-folder: $(csharp-sdks-folder)/CognitiveServices/dataPlane/TranslatorText/TranslatorText/Generated
- clear-output-folder: true
-```
-
-## Python
-
-These settings apply only when `--python` is specified on the command line.
-Please also specify `--python-sdks-folder=`.
-Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
-
-``` yaml $(python)
-python-mode: create
-python:
- license-header: MICROSOFT_MIT_NO_VERSION
- add-credentials: true
- payload-flattening-threshold: 2
- namespace: azure.cognitiveservices.translatortext
- package-name: azure-cognitiveservices-translatortext
- clear-output-folder: true
-```
-``` yaml $(python) && $(python-mode) == 'update'
-python:
- no-namespace-folders: true
- output-folder: $(python-sdks-folder)/azure-cognitiveservices-translatortext/azure/cognitiveservices/translatortext
-```
-``` yaml $(python) && $(python-mode) == 'create'
-python:
- basic-setup-py: true
- output-folder: $(python-sdks-folder)/azure-cognitiveservices-translatortext
-```
-
-## Go
-
-These settings apply only when `--go` is specified on the command line.
-
-``` yaml $(go)
-go:
- license-header: MICROSOFT_APACHE_NO_VERSION
- namespace: translatortext
- clear-output-folder: true
-```
-
-### Go multi-api
-
-``` yaml $(go) && $(multiapi)
-batch:
- - tag: release_3_0
-```
-
-### Tag: release_3_0 and go
-
-These settings apply only when `--tag=release_3_0 --go` is specified on the command line.
-Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag) == 'release_3_0' && $(go)
-output-folder: $(go-sdk-folder)/services/cognitiveservices/v3.0/$(namespace)
-```
-## Java
-
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(java)
-java:
- azure-arm: true
- namespace: com.microsoft.azure.cognitiveservices.translatortext
- license-header: MICROSOFT_MIT_NO_CODEGEN
- payload-flattening-threshold: 1
- output-folder: $(azure-libraries-for-java-folder)/cognitiveservices/data-plane/translatortext
- with-optional-parameters: true
- with-single-async-method: true
-```
-
-## Node.js
-
-``` yaml $(nodejs)
-nodejs:
- package-name: azure-cognitiveservices-newssearch
- package-version: 3.0.0
- output-folder: $(node-sdks-folder)/lib/services/translatorText
- azure-arm: false
- generate-license-txt: true
- generate-package-json: true
- generate-readme-md: false
-```
diff --git a/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/TranslatorText.json b/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/TranslatorText.json
deleted file mode 100644
index 3b9432b9544c..000000000000
--- a/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/TranslatorText.json
+++ /dev/null
@@ -1,1118 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "3.0",
- "title": "Translator Text Client",
- "termsOfService": "http://www.microsoftvolumelicensing.com/DocumentSearch.aspx?Mode=3&DocumentTypeId=31",
- "contact": {
- "name": "Microsoft Translator team",
- "email": "translator@microsoft.com",
- "url": "https://www.microsoft.com/translator"
- },
- "description": "# Introduction\n\nThe Microsoft Translator Text API provides a JSON-based Web API. It provides:\n\n * Translation between any supported languages to any other supported language.\n * Translation to multiple languages in one request.\n * Transliteration to convert text from one script to another script of the same language.\n * Language detection, translation, and transliteration in one request.\n * Dictionary to lookup alternative translations of a term, to find back-translations and examples showing terms used in context.\n * Rich language detection.\n# Base URLs\n\nThe Translator Text API is available in the following clouds:\n\n| Description | Region | Base URL |\n| ------- | -------- | ------- |\n| Azure | Global | api.cognitive.microsofttranslator.com |\n| Azure | Europe | api-eur.cognitive.microsofttranslator.com |\n\n\n# Authentication\n\nSubscribe to the Translator Text API, part of Azure Cognitive Services, and use your subscription key from the Azure portal to authenticate. You can follow the steps in https://docs.microsoft.com/en-us/azure/cognitive-services/translator/translator-text-how-to-signup.\n\n\nThe simplest way is to pass your Azure secret key to the Translator service using the http request header `Ocp-Apim-Subscription-Key`.\n\nIf you prefer using a short-lived authentication, you may use your secret key to obtain an authorization token from the token service. In that case you pass the authorization token to the Translator service using the `Authorization` request header. To obtain an authorization token, make a `POST` request to the following URL:\n\n| Environment | Authentication service URL |\n| ---------- | ---------- |\n| Azure | `https://api.cognitive.microsoft.com/sts/v1.0/issueToken` |\n\nHere are example requests to obtain a token with a lifetime of 10 minutes, given a secret key:\n\n```python\n// Pass secret key using header\ncurl --header 'Ocp-Apim-Subscription-Key: ' --data \"\" 'https://api.cognitive.microsoft.com/sts/v1.0/issueToken'\n// Pass secret key using query string parameter\ncurl --data \"\" 'https://api.cognitive.microsoft.com/sts/v1.0/issueToken?Subscription-Key='\n```\n\nA successful request returns the encoded access token as plain text in the response body. The valid token is passed to the Translator service as a bearer token in the Authorization. \n\n```\nAuthorization: Bearer \n```\n\nAn authentication token is valid for 10 minutes. The token should be re-used when making multiple calls to the Translator APIs. If you make requests to the Translator API over an extended period of time, you must request a new access token at regular intervals before the token expires, for instance every 9 minutes.\n\nTo summarize, a client request to the Translator API will include one authorization header taken from the following table:\n\n| Headers | Description |\n| ---------- | ---------- |\n| Ocp-Apim-Subscription-key | Use with Cognitive Services subscription if you are passing your secret key. The value is the Azure secret key for your subscription to Translator Text API. |\n| Authorization | Use with Cognitive Services subscription if you are passing an authentication token. The value is the Bearer token: `Bearer `. |\n\n## All-in-one subscription\nThe last authentication option is to use a Cognitive Service’s all-in-one subscription. This allows you to use a single secret key to authenticate requests for multiple services.\nWhen you use an all-in-one secret key, you must include two authentication headers with your request. The first passes the secret key, the second specifies the region associated with your subscription.\n`Ocp-Api-Subscription-Key` `Ocp-Apim-Subscription-Region`\nIf you pass the secret key in the query string with the parameter `Subscription-Key`, then you must specify the region with query parameter `Subscription-Region`.\nIf you use a bearer token, you must obtain the token from the region endpoint:\n`https://.api.cognitive.microsoft.com/sts/v1.0/issueToken`.\n\nAvailable regions are: `australiaeast`, `brazilsouth`, `canadacentral`, `centralindia`, `centraluseuap`, `eastasia`, `eastus`, `eastus2`, `japaneast`, `northeurope`, `southcentralus`, `southeastasia`, `uksouth`, `westcentralus`, `westeurope`, `westus`, and `westus2`.\n\nRegion is required for the all-in-one Text API subscription.\n\n\n# Errors\n\nA standard error response is a JSON object with name/value pair named `error`. The value is also a JSON object with properties:\n * `code`: A server-defined error code.\n * `message`: A string giving a human-readable representation of the error.\n\nFor example, a customer with a free trial subscription receives the following error once the free quota is exhausted:\n\n```json\n{\n \"error\": {\n \"code\":403000,\n \"message\":\"The subscription has exceeded its free quota.\"\n }\n}\n```\n# Enter your subscription keys to try out Microsoft Translator.\nSelect the `Authorize` button and enter your Microsoft Translator subscription key, OR your `all in one Cognitive Services` subscription key. If you are using the all in one Cognitive Services key you will need to also enter your subscription region.\n## Available regions are:\n\n `australiaeast`, `brazilsouth`, `canadacentral`, `centralindia`, `centraluseuap`, `eastasia`, `eastus`, `eastus2`, `japaneast`, `northeurope`, `southcentralus`, `southeastasia`, `uksouth`, `westcentralus`, `westeurope`, `westus`, `westus2`.\n"
- },
- "securityDefinitions": {
- "apim_key": {
- "type": "apiKey",
- "name": "Ocp-Apim-Subscription-Key",
- "in": "header"
- },
- "api_key_all_in_one": {
- "type": "apiKey",
- "name": "Ocp-Apim-Subscription-Key",
- "in": "header"
- },
- "api_region_all_in_one": {
- "type": "apiKey",
- "name": "Ocp-Apim-Subscription-Region",
- "in": "header"
- }
- },
- "security": [
- {
- "apim_key": []
- },
- {
- "api_key_all_in_one": []
- },
- {
- "api_region_all_in_one": []
- }
- ],
- "x-ms-parameterized-host": {
- "hostTemplate": "{Endpoint}",
- "useSchemePrefix": false,
- "parameters": [
- {
- "$ref": "#/parameters/Endpoint"
- }
- ]
- },
- "host": "api.cognitive.microsofttranslator.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/BreakSentence": {
- "post": {
- "description": "Identifies the position of sentence boundaries in a piece of text.\n",
- "tags": [
- "BreakSentence"
- ],
- "operationId": "Translator_BreakSentence",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "name": "Language",
- "description": "Language tag of the language of the input text. If not specified, Translator will apply automatic language detection.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "Script",
- "description": "Script identifier of the script used by the input text. If a script is not specified, the default script of the language will be assumed.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "X-ClientTraceId",
- "description": "A client-generated GUID to uniquely identify the request. Note that you can omit this header if you include the trace ID in the query string using a query parameter named ClientTraceId.",
- "in": "header",
- "required": false,
- "type": "string"
- },
- {
- "name": "text",
- "description": "# Request Body\nThe body of the request is a JSON array. Each array element is a JSON object with a string property named Text. Sentence boundaries are computed for the value of the Text property. \n\nThe following limitations apply:\n* The array can have at most 100 elements.\n* The text value of an array element cannot exceed 10,000 characters including spaces.\n* The entire text included in the request cannot exceed 50,000 characters including spaces.\n* If the `language` query parameter is specified, then all array elements must be in the same language. Otherwise, language auto-detection is applied to each array element independently.\n\n# Response Body\nA successful response is a JSON array with one result for each string in the input array. A result object includes the following properties:\n* `sentLen`- An array of integers representing the lengths of the sentences in the text element. The length of the array is the number of sentences, and the values are the length of each sentence.\n* `detectedLanguage`- An object describing the detected language through the following properties\n * `language`- Code of the detected language.\n * `score`- A float value indicating the confidence in the result. The score is between zero and one and a low score indicates a low confidence.\n* Note that the `detectedLanguage` property is only present in the result object when language auto-detection is requested.\n# Response Header\nX-RequestId - Value generated by the service to identify the request. It is used for troubleshooting purposes.\n",
- "in": "body",
- "required": true,
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/BreakSentenceTextInput"
- }
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Success",
- "schema": {
- "$ref": "#/definitions/BreakSentenceResult"
- }
- },
- "default": {
- "description": "Error response.",
- "schema": {
- "$ref": "#/definitions/ErrorMessage"
- }
- }
- },
- "x-ms-examples": {
- "BreakSentence success example": {
- "$ref": "./examples/breakSentenceSuccess.json"
- }
- },
- "deprecated": false
- }
- },
- "/Detect": {
- "post": {
- "description": "Identifies the language of a string of text.\n",
- "tags": [
- "Detect"
- ],
- "operationId": "Translator_Detect",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "name": "X-ClientTraceId",
- "description": "A client-generated GUID to uniquely identify the request. Note that you can omit this header if you include the trace ID in the query string using a query parameter named ClientTraceId.",
- "in": "header",
- "required": false,
- "type": "string"
- },
- {
- "name": "text",
- "description": "# Request Body\nThe body of the request is a JSON array. Each array element is a JSON object with a string property named Text. Language detection is applied to the value of the Text property.\nThe following limitations apply:\n* The array can have at most 100 elements.\n* The text value of an array element cannot exceed 10,000 characters including spaces.\n* The entire text included in the request cannot exceed 50,000 characters including spaces.\n\n# Response Body\nA successful response is a JSON array with one result for each string in the input array. A result object includes the following properties:\n* language- Code of the detected language.\n* score- A float value indicating the confidence in the result. The score is between zero and one and a low score indicates a low confidence.\n* isTranslationSupported- A boolean value which is true if the detected language is one of the languages supported for text translation. Not all detected languages can be translated by the API.\n* isTransliterationSupported- A boolean value which is true if the detected language is one of the languages supported for transliteration.\n* alternatives- An array of other possible languages. Each element of the array is another object with the same properties listed above- language, score, isTranslationSupported and isTransliterationSupported.\n# Response Header\nX-RequestId - Value generated by the service to identify the request. It is used for troubleshooting purposes.\n",
- "in": "body",
- "required": true,
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DetectTextInput"
- }
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Success",
- "schema": {
- "$ref": "#/definitions/DetectResult"
- }
- },
- "default": {
- "description": "Error response.",
- "schema": {
- "$ref": "#/definitions/ErrorMessage"
- }
- }
- },
- "x-ms-examples": {
- "Detect success example": {
- "$ref": "./examples/detectSuccess.json"
- }
- },
- "deprecated": false
- }
- },
- "/Dictionary/Lookup": {
- "post": {
- "description": "Provides alternative translations for a word and a small number of idiomatic phrases. Each translation has a `part-of-speech` and a list of `back-translations`. The back-translations enable a user to understand the translation in context. The Dictionary Example operation allows further drill down to see example uses of each translation pair.\n",
- "tags": [
- "Dictionary/Lookup"
- ],
- "operationId": "Translator_DictionaryLookup",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "name": "from",
- "description": "Specifies the language of the input text. The source language must be one of the supported languages included in the `dictionary` scope.",
- "in": "query",
- "required": true,
- "type": "string"
- },
- {
- "name": "to",
- "description": "Specifies the language of the output text. The target language must be one of the supported languages included in the `dictionary` scope of the Languages resource.",
- "in": "query",
- "required": true,
- "type": "string"
- },
- {
- "name": "X-ClientTraceId",
- "description": "A client-generated GUID to uniquely identify the request. Note that you can omit this header if you include the trace ID in the query string using a query parameter named ClientTraceId.",
- "in": "header",
- "required": false,
- "type": "string"
- },
- {
- "name": "text",
- "description": "# Request Body\nThe body of the request is a JSON array. Each array element is a JSON object with a string property named `Text`, which represents the term to lookup.\nThe following limitations apply:\n* The array can have at most 10 elements.\n* The text value of an array element cannot exceed 100 characters including spaces.\n\n# Response Body\nA successful response is a JSON array with one result for each string in the input array. A result object includes the following properties:\n* `normalizedSource`- A string giving the normalized form of the source term. For example, if the request is \"JOHN\", the normalized form will be \"john\". The content of this field becomes the input to lookup examples.\n* `displaySource`- A string giving the source term in a form best suited for end-user display. For example, if the input is \"JOHN\", the display form will reflect the usual spelling of the name- \"John\".\n* `translations`- A list of translations for the source term. Each element of the list is an object with the following properties:\n * `normalizedTarget`- A string giving the normalized form of this term in the target language. This value should be used as input to lookup examples.\n * `displayTarget`- A string giving the term in the target language and in a form best suited for end-user display. Generally, this will only differ from the `normalizedTarget` in terms of capitalization. For example, a proper noun like \"Juan\" will have `normalizedTarget = \"juan\"` and `displayTarget = \"Juan\"`.\n * `posTag`- A string associating this term with a part-of-speech tag.\n \n | Tag name | Description |\n | --------- | ---------------- |\n | ADJ | Adjectives |\n | ADV | Adverbs |\n | CONJ | Conjunctions |\n | DET | Determiners |\n | MODAL | Verbs |\n | NOUN | Nouns |\n | PREP | Prepositions |\n | PRON | Pronouns |\n | VERB | Verbs |\n | OTHER | Other |\n \n As an implementation note, these tags were determined by part-of-speech tagging the English side, and then taking the most frequent tag for each source/target pair. So if people frequently translate a Spanish word to a different part-of-speech tag in English, tags may end up being wrong (with respect to the Spanish word).\n * `confidence`- A value between 0.0 and 1.0 which represents the \"confidence\" (or perhaps more accurately, \"probability in the training data\") of that translation pair. The sum of confidence scores for one source word may or may not sum to 1.0.\n * `prefixWord-` A string giving the the word to display as a prefix of the translation. Currently, this is the gendered determiner of nouns, in languages that have gendered determiners. For example, the prefix of the Spanish word \"mosca\" is \"la\", since \"mosca\" is a feminine noun in Spanish. This is only dependent on the translation, and not on the source. If there is no prefix, it will be the empty string.\n * `backTranslations-` A list of \"back translations\" of the target. For example, source words that the target can translate to. The list is guaranteed to contain the source word that was requested (e.g., if the source word being looked up is \"fly\", then it is guaranteed that \"fly\" will be in the `backTranslations` list). However, it is not guaranteed to be in the first position, and often will not be. Each element of the `backTranslations` list is an object described by the following properties-\n * `normalizedText-` A string giving the normalized form of the source term that is a back-translation of the target. This value should be used as input to lookup examples.\n * `displayText-` A string giving the source term that is a back-translation of the target in a form best suited for end-user display.\n * `numExamples-` An integer representing the number of examples that are available for this translation pair. Actual examples must be retrieved with a separate call to lookup examples. The number is mostly intended to facilitate display in a UX. For example, a user interface may add a hyperlink to the back-translation if the number of examples is greater than zero and show the back-translation as plain text if there are no examples. Note that the actual number of examples returned by a call to lookup examples may be less than `numExamples`, because additional filtering may be applied on the fly to remove \"bad\" examples.\n * `frequencyCount-` An integer representing the frequency of this translation pair in the data. The main purpose of this field is to provide a user interface with a means to sort back-translations so the most frequent terms are first.\n \nNote - If the term being looked up does not exist in the dictionary, the response is 200 (OK) but the `translations` list is an empty list.\n \n# Response Header\nX-RequestId - Value generated by the service to identify the request. It is used for troubleshooting purposes.\n",
- "in": "body",
- "required": true,
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DictionaryLookupTextInput"
- }
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Success",
- "schema": {
- "$ref": "#/definitions/DictionaryLookupResult"
- }
- },
- "default": {
- "description": "Error response.",
- "schema": {
- "$ref": "#/definitions/ErrorMessage"
- }
- }
- },
- "x-ms-examples": {
- "DictionaryLookup success example": {
- "$ref": "./examples/dictionaryLookupSuccess.json"
- }
- },
- "deprecated": false
- }
- },
- "/Dictionary/Examples": {
- "post": {
- "description": "Provides examples that show how terms in the dictionary are used in context. This operation is used in tandem with `Dictionary lookup`.\n",
- "tags": [
- "DictionaryExamples"
- ],
- "operationId": "Translator_DictionaryExamples",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "name": "from",
- "description": "Specifies the language of the input text. The source language must be one of the supported languages included in the `dictionary` scope.",
- "in": "query",
- "required": true,
- "type": "string"
- },
- {
- "name": "to",
- "description": "Specifies the language of the output text. The target language must be one of the supported languages included in the `dictionary` scope.",
- "in": "query",
- "required": true,
- "type": "string"
- },
- {
- "name": "X-ClientTraceId",
- "description": "A client-generated GUID to uniquely identify the request. Note that you can omit this header if you include the trace ID in the query string using a query parameter named ClientTraceId.",
- "in": "header",
- "required": false,
- "type": "string"
- },
- {
- "name": "text",
- "description": "# Request body\nThe body of the request is a JSON array. Each array element is a JSON object with the following properties:\n* `Text-` A string specifying the term to lookup. This should be the value of a `normalizedText` field from the back-translations of a previous Dictionary lookup request. It can also be the value of the `normalizedSource` field.\n* `Translation-` A string specifying the translated text previously returned by the Dictionary lookup operation. This should be the value from the `normalizedTarget` field in the `translations` list of the Dictionary lookup response. The service will return examples for the specific source-target word-pair.\n\nThe following limitations apply:\n* The array can have at most 10 elements.\n* The text value of an array element cannot exceed 100 characters including spaces.\n\n# Response body\nA successful response is a JSON array with one result for each string in the input array. A result object includes the following properties:\n* `normalizedSource-` A string giving the normalized form of the source term. Generally, this should be identical to the value of the `Text` field at the matching list index in the body of the request.\n* `normalizedTarget-` A string giving the normalized form of the target term. Generally, this should be identical to the value of the `Translation` field at the matching list index in the body of the request.\n* `examples-` A list of examples for the (source term, target term) pair. Each element of the list is an object with the following properties:\n * `sourcePrefix-` The string to concatenate before the value of `sourceTerm` to form a complete example. Do not add a space character, since it is already there when it should be. This value may be an empty string.\n * `sourceTerm-` A string equal to the actual term looked up. The string is added with `sourcePrefix` and `sourceSuffix` to form the complete example. Its value is separated so it can be marked in a user interface, e.g., by bolding it.\n * `sourceSuffix-` The string to concatenate after the value of `sourceTerm` to form a complete example. Do not add a space character, since it is already there when it should be. This value may be an empty string.\n * `targetPrefix-` A string similar to `sourcePrefix` but for the target.\n * `targetTerm-` A string similar to `sourceTerm` but for the target.\n * `targetSuffix-` A string similar to `sourceSuffix` but for the target.\n\n# Response Header\nX-RequestId - Value generated by the service to identify the request. It is used for troubleshooting purposes.\nNOTE - If there are no examples in the dictionary, the response is 200 (OK) but the `examples` list is an empty list.\n",
- "in": "body",
- "required": true,
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DictionaryExampleTextInput"
- }
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Success",
- "schema": {
- "$ref": "#/definitions/DictionaryExampleResult"
- }
- },
- "default": {
- "description": "Error response.",
- "schema": {
- "$ref": "#/definitions/ErrorMessage"
- }
- }
- },
- "x-ms-examples": {
- "DictionaryExample success example": {
- "$ref": "./examples/dictionaryExampleSuccess.json"
- }
- },
- "deprecated": false
- }
- },
- "/Languages": {
- "get": {
- "description": "Gets the set of languages currently supported by other operations of the Translator Text API.\n**Authentication is not required to get language resources.**\n\n# Response Body\nA client uses the `scope` query parameter to define which groups of languages it is interested in.\n* `scope=translation` provides languages supported to translate text from one language to another language.\n* `scope=transliteration` provides capabilities for converting text in one language from one script to another script.\n* `scope=dictionary` provides language pairs for which `Dictionary` operations return data.\n\nA client may retrieve several groups simultaneously by specifying a comma-separated list of names. For example, `scope=translation,transliteration,dictionary` would return supported languages for all groups.\n\nA successful response is a JSON object with one property for each requested group.\nThe value for each property is as follows.\n\n* `translation` property\n The value of the `translation` property is a dictionary of (key, value) pairs. Each key is a BCP 47 language tag. A key identifies a language for which text can be translated to or translated from. The value associated with the key is a JSON object with properties that describe the language\n * `name-` Display name of the language in the locale requested via `Accept-Language` header.\n * `nativeName-` Display name of the language in the locale native for this language.\n * `dir-` Directionality, which is `rtl` for right-to-left languages or `ltr` for left-to-right languages.\n```json\n{\n \"translation\": {\n ...\n \"fr\": {\n \"name\": \"French\",\n \"nativeName\": \"Français\",\n \"dir\": \"ltr\"\n },\n...\n }\n}\n```\n* `transliteration` property\n The value of the `transliteration` property is a dictionary of (key, value) pairs. Each key is a BCP 47 language tag. A key identifies a language for which text can be converted from one script to another script. The value associated with the key is a JSON object with properties that describe the language and its supported scripts\n * `name-` Display name of the language in the locale requested via `Accept-Language` header.\n * `nativeName-` Display name of the language in the locale native for this language.\n * `scripts-` List of scripts to convert from. Each element of the `scripts` list has properties-\n * `code-` Code identifying the script.\n * `name-` Display name of the script in the locale requested via `Accept-Language` header.\n * `nativeName-` Display name of the language in the locale native for the language.\n * `dir-` Directionality, which is `rtl` for right-to-left languages or `ltr` for left-to-right languages.\n * `toScripts-` List of scripts available to convert text to. Each element of the `toScripts` list has properties `code`, `name`, `nativeName`, and `dir` as described earlier.\n\n```json\n{\n \"transliteration\": {\n ...\n \"ja\": {\n \"name\": \"Japanese\",\n \"nativeName\": \"日本語\",\n \"scripts\": [\n {\n \"code\": \"Jpan\",\n \"name\": \"Japanese\",\n \"nativeName\": \"日本語\",\n \"dir\": \"ltr\",\n \"toScripts\": [\n {\n \"code\": \"Latn\",\n \"name\": \"Latin\",\n \"nativeName\": \"ラテン語\",\n \"dir\": \"ltr\"\n }\n ]\n },\n {\n \"code\": \"Latn\",\n \"name\": \"Latin\",\n \"nativeName\": \"ラテン語\",\n \"dir\": \"ltr\",\n \"toScripts\": [\n {\n \"code\": \"Jpan\",\n \"name\": \"Japanese\",\n \"nativeName\": \"日本語\",\n \"dir\": \"ltr\"\n }\n ]\n }\n ]\n },\n ...\n }\n}\n\n```\n* `dictionary` property\nThe value of the `dictionary` property is a dictionary of (key, value) pairs. Each key is a BCP 47 language tag. The key identifies a language for which alternative translations and back-translations are available. The value is a JSON object that describes the source language and the target languages with available translations.\n * `name-` Display name of the source language in the locale requested via `Accept-Language` header.\n * `nativeName-` Display name of the language in the locale native for this language.\n * `dir-` Directionality, which is `rtl` for right-to-left languages or `ltr` for left-to-right languages.\n * `translations-` List of languages with alterative translations and examples for the query expressed in the source language. Each element of the `translations` list has properties\n * `name-` Display name of the target language in the locale requested via `Accept-Language` header.\n * `nativeName-` Display name of the target language in the locale native for the target language.\n * `dir-` Directionality, which is `rtl` for right-to-left languages or `ltr` for left-to-right languages.\n * `code-` Language code identifying the target language.\n\n```json\n\n\"es\": {\n \"name\": \"Spanish\",\n \"nativeName\": \"Español\",\n \"dir\": \"ltr\",\n \"translations\": [\n {\n \"name\": \"English\",\n \"nativeName\": \"English\",\n \"dir\": \"ltr\",\n \"code\": \"en\"\n }\n ]\n},\n\n```\n\nThe structure of the response object will not change without a change in the version of the API. For the same version of the API, the list of available languages may change over time because Microsoft Translator continually extends the list of languages supported by its services.\n\nThe list of supported languages will not change frequently. To save network bandwidth and improve responsiveness, a client application should consider caching language resources and the corresponding entity tag (`ETag`). Then, the client application can periodically (for example, once every 24 hours) query the service to fetch the latest set of supported languages. Passing the current `ETag` value in an `If-None-Match` header field will allow the service to optimize the response. If the resource has not been modified, the service will return status code 304 and an empty response body.\n \n# Response Header\nETag - Current value of the entity tag for the requested groups of supported languages. To make subsequent requests more efficient, the client may send the `ETag` value in an `If-None-Match` header field.\n\nX-RequestId - Value generated by the service to identify the request. It is used for troubleshooting purposes. \n \n \n",
- "tags": [
- "Languages"
- ],
- "operationId": "Translator_Languages",
- "consumes": [],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "name": "scope",
- "description": "A comma-separated list of names defining the group of languages to return. Allowed group names are- `translation`, `transliteration` and `dictionary`. If no scope is given, then all groups are returned, which is equivalent to passing `scope=translation,transliteration,dictionary`. To decide which set of supported languages is appropriate for your scenario, see the description of the response object.",
- "in": "query",
- "required": false,
- "type": "array",
- "minItems": 0,
- "maxItems": 3,
- "items": {
- "type": "string",
- "enum": ["translation", "transliteration", "dictionary"]
- }
- },
- {
- "name": "Accept-Language",
- "description": "The language to use for user interface strings. Some of the fields in the response are names of languages or names of regions. Use this parameter to define the language in which these names are returned. The language is specified by providing a well-formed BCP 47 language tag. For instance, use the value `fr` to request names in French or use the value `zh-Hant` to request names in Chinese Traditional. Names are provided in the English language when a target language is not specified or when localization is not available.",
- "in": "header",
- "type": "string",
- "required": false
- },
- {
- "name": "X-ClientTraceId",
- "description": "A client-generated GUID to uniquely identify the request. Note that you can omit this header if you include the trace ID in the query string using a query parameter named ClientTraceId.",
- "in": "header",
- "required": false,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "Success",
- "schema": {
- "$ref": "#/definitions/LanguagesResult"
- }
- },
- "default": {
- "description": "Error response.",
- "schema": {
- "$ref": "#/definitions/ErrorMessage"
- }
- }
- },
- "x-ms-examples": {
- "Languages success example": {
- "$ref": "./examples/languagesSuccess.json"
- }
- },
- "deprecated": false
- }
- },
- "/translate": {
- "post": {
- "description": "Translates text into one or more languages.\n",
- "tags": [
- "Translate"
- ],
- "operationId": "Translator_Translate",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "name": "from",
- "description": "Specifies the language of the input text. Find which languages are available to translate from by using the languages method. If the `from` parameter is not specified, automatic language detection is applied to determine the source language.\n",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "to",
- "description": "Specifies the language of the output text. Find which languages are available to translate to by using the languages method. For example, use `to=de` to translate to German.\n It's possible to translate to multiple languages simultaneously by repeating the `to` parameter in the query string. For example, use `to=de&to=it` to translate to German and Italian in the same request.\n",
- "in": "query",
- "required": true,
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "name": "textType",
- "description": "Defines whether the text being translated is plain text or HTML text. Any HTML needs to be a well-formed, complete HTML element. Possible values are `plain` (default) or `html`\n",
- "in": "query",
- "required": false,
- "type": "string",
- "enum": ["plain", "html"]
- },
- {
- "name": "category",
- "description": "A string specifying the category (domain) of the translation. This parameter retrieves translations from a customized system built with Custom Translator. Default value is `general`.\n",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "profanityAction",
- "description": "Specifies how profanities should be treated in translations. Possible values are: `NoAction` (default), `Marked` or `Deleted`.\n### Handling Profanity\nNormally the Translator service will retain profanity that is present in the source in the translation. The degree of profanity and the context that makes words profane differ between cultures, and as a result the degree of profanity in the target language may be amplified or reduced.\n\nIf you want to avoid getting profanity in the translation, regardless of the presence of profanity in the source text, you can use the profanity filtering option. The option allows you to choose whether you want to see profanity deleted, whether you want to mark profanities with appropriate tags (giving you the option to add your own post-processing), or you want no action taken. The accepted values of `ProfanityAction` are `Deleted`, `Marked` and `NoAction` (default).\n\n| ProfanityAction | Action |\n| ---------- | ---------- |\n| `NoAction` | This is the default behavior. Profanity will pass from source to target. |\n| | Example Source (Japanese)- 彼はジャッカスです。 |\n| | Example Translation (English)- He is a jackass. |\n| | |\n| `Deleted` | Profane words will be removed from the output without replacement. |\n| | Example Source (Japanese)- 彼はジャッカスです。 |\n| | Example Translation (English)- He is a. |\n| `Marked` | Profane words are replaced by a marker in the output. The marker depends on the `ProfanityMarker` parameter.\n| | For `ProfanityMarker=Asterisk`, profane words are replaced with `***` |\n| | Example Source (Japanese)- 彼はジャッカスです。 |\n| | Example Translation (English)- He is a ***. |\n| | For `ProfanityMarker=Tag`, profane words are surrounded by XML tags and \n| | Example Source (Japanese)- 彼はジャッカスです。 |\n| | Example Translation (English)- He is a jackass.\n",
- "in": "query",
- "required": false,
- "type": "string",
- "enum": ["NoAction", "Marked", "Deleted"]
- },
- {
- "name": "profanityMarker",
- "description": "Specifies how profanities should be marked in translations. Possible values are- `Asterisk` (default) or `Tag`.\n",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "includeAlignment",
- "description": "Specifies whether to include alignment projection from source text to translated text. Possible values are- `true` or `false` (default).\n",
- "in": "query",
- "required": false,
- "type": "boolean"
- },
- {
- "name": "includeSentenceLength",
- "description": "Specifies whether to include sentence boundaries for the input text and the translated text. Possible values are- `true` or `false` (default).\n",
- "in": "query",
- "required": false,
- "type": "boolean"
- },
- {
- "name": "suggestedFrom",
- "description": "Specifies a fallback language if the language of the input text can't be identified. Language auto-detection is applied when the `from` parameter is omitted. If detection fails, the `suggestedFrom` language will be assumed.\n",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "fromScript",
- "description": "Specifies the script of the input text. Supported scripts are available from the languages method",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "toScript",
- "description": "Specifies the script of the translated text. Supported scripts are available from the languages method",
- "in": "query",
- "required": false,
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "name": "X-ClientTraceId",
- "description": "A client-generated GUID to uniquely identify the request. Note that you can omit this header if you include the trace ID in the query string using a query parameter named ClientTraceId.",
- "in": "header",
- "required": false,
- "type": "string"
- },
- {
- "name": "text",
- "description": "# Request body\nThe body of the request is a JSON array. Each array element is a JSON object with a string property named `Text`, which represents the string to translate.\nThe following limitations apply:\n* The array can have at most 25 elements.\n* The entire text included in the request cannot exceed 5,000 characters including spaces.\n# Response body\nA successful response is a JSON array with one result for each string in the input array. A result object includes the following properties-\n* `detectedLanguage`- An object describing the detected language through the following properties.\n * `language`- A string representing the code of the detected language.\n * `score`- A float value indicating the confidence in the result. The score is between zero and one and a low score indicates a low confidence.\n The `detectedLanguage` property is only present in the result object when language auto-detection is requested.\n* `translations`- An array of translation results. The size of the array matches the number of target languages specified in the `to` query parameter. Each element in the array includes.\n * `to` A string representing the language code of the target language.\n * `text`- A string giving the translated text.\n * `transliteration`- An object giving the translated text in the script specified by the `toScript` parameter.\n * `script`- A string specifying the target script.\n * `text`- A string giving the translated text in the target script.\n The `transliteration` object is not included if transliteration does not take place.\n *`alignment`- An object with a single string property named `proj`, which maps input text to translated text. The alignment information is only provided when the request parameter `includeAlignment` is `true`. Alignment is returned as a string value of the following format- `[[SourceTextStartIndex]-[SourceTextEndIndex]–[TgtTextStartIndex]-[TgtTextEndIndex]]`. The colon separates start and end index, the dash separates the languages, and space separates the words. One word may align with zero, one, or multiple words in the other language, and the aligned words may be non-contiguous. When no alignment information is available, the alignment element will be empty. See Obtain alignment information for an example and restrictions.\n * `sentLen`- An object returning sentence boundaries in the input and output texts.\n * `srcSentLen`- An integer array representing the lengths of the sentences in the input text. The length of the array is the number of sentences, and the values are the length of each sentence.\n * `transSentLen`- An integer array representing the lengths of the sentences in the translated text. The length of the array is the number of sentences, and the values are the length of each sentence.\n Sentence boundaries are only included when the request parameter `includeSentenceLength` is `true`.\n * `sourceText`- An object with a single string property named `text`, which gives the input text in the default script of the source language. `sourceText` property is present only when the input is expressed in a script that's not the usual script for the language. For example, if the input were Arabic written in Latin script, then `sourceText.text` would be the same Arabic text converted into Arab script.\n Example of JSON responses are provided in the examples section.\n \n \n",
- "in": "body",
- "required": true,
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TranslateTextInput"
- }
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Success",
- "schema": {
- "$ref": "#/definitions/TranslateResultAll"
- }
- },
- "default": {
- "description": "Error response.",
- "schema": {
- "$ref": "#/definitions/ErrorMessage"
- }
- }
- },
- "x-ms-examples": {
- "Translate success example": {
- "$ref": "./examples/translateSuccess.json"
- }
- },
- "deprecated": false
- }
- },
- "/transliterate": {
- "post": {
- "description": "Converts the text of a language in one script into another type of script. Example- \nJapanese script \"こんにちは\"\nSame word in Latin script \"konnichiha\"\n",
- "tags": [
- "Transliterate"
- ],
- "operationId": "Translator_Transliterate",
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersion"
- },
- {
- "name": "language",
- "description": "Specifies the language of the text to convert from one script to another. Possible languages are listed in the `transliteration` scope obtained by querying the service for its supported languages.\n",
- "in": "query",
- "required": true,
- "type": "string"
- },
- {
- "name": "fromScript",
- "description": "Specifies the script used by the input text. Lookup supported languages using the `transliteration` scope, to find input scripts available for the selected language.\n",
- "in": "query",
- "required": true,
- "type": "string"
- },
- {
- "name": "toScript",
- "description": "Specifies the output script. Lookup supported languages using the `transliteration` scope, to find output scripts available for the selected combination of input language and input script.\n",
- "in": "query",
- "required": true,
- "type": "string"
- },
- {
- "name": "X-ClientTraceId",
- "description": "A client-generated GUID to uniquely identify the request. Note that you can omit this header if you include the trace ID in the query string using a query parameter named ClientTraceId.",
- "in": "header",
- "required": false,
- "type": "string"
- },
- {
- "name": "texts",
- "description": "# Request body\n The body of the request is a JSON array. Each array element is a JSON object with a string property named `Text`, which represents the string to convert.\n The following limitations apply:\n * The array can have at most 10 elements.\n * The text value of an array element cannot exceed 1,000 characters including spaces.\n * The entire text included in the request cannot exceed 5,000 characters including spaces.\n \n# Response body\n A successful response is a JSON array with one result for each element in the input array. A result object includes the following properties:\n * `text`- A string which is the result of converting the input string to the output script.\n * `script`- A string specifying the script used in the output.\n \n",
- "in": "body",
- "required": true,
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TransliterateTextInput"
- }
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Success",
- "schema": {
- "$ref": "#/definitions/TransliterateResult"
- }
- },
- "default": {
- "description": "Error response.",
- "schema": {
- "$ref": "#/definitions/ErrorMessage"
- }
- }
- },
- "x-ms-examples": {
- "Transliterate success example": {
- "$ref": "./examples/transliterateSuccess.json"
- }
- },
- "deprecated": false
- }
- }
- },
- "definitions": {
-
- "LanguagesResult": {
- "type": "object",
- "description": "Example of a successful languages request",
- "properties": {
- "translation": {
- "type": "object",
- "properties": {
- "languageCode": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "nativeName": {
- "type": "string"
- },
- "dir": {
- "type": "string"
- }
- }
- }
- }
- },
- "transliteration": {
- "type": "object",
- "properties": {
- "languageCode": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "nativeName": {
- "type": "string"
- },
- "scripts": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "nativeName": {
- "type": "string"
- },
- "dir": {
- "type": "string"
- },
- "toScripts": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "nativeName": {
- "type": "string"
- },
- "dir": {
- "type": "string"
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "dictionary": {
- "type": "object",
- "properties": {
- "languageCode": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "nativeName": {
- "type": "string"
- },
- "dir": {
- "type": "string"
- },
- "translations": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "nativeName": {
- "type": "string"
- },
- "dir": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "DictionaryExampleResult": {
- "type": "array",
- "description": "Example of a successful dictionary example request",
- "items": {
- "type": "object",
- "properties": {
- "normalizedSource": {
- "type": "string"
- },
- "normalizedTarget": {
- "type": "string"
- },
- "examples": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "sourcePrefix": {
- "type": "string"
- },
- "sourceTerm": {
- "type": "string"
- },
- "sourceSuffix": {
- "type": "string"
- },
- "targetPrefix": {
- "type": "string"
- },
- "targetTerm": {
- "type": "string"
- },
- "targetSuffix": {
- "type": "string"
- }
- }
- }
- }
- }
- }
- },
- "DictionaryLookupResult": {
- "type": "array",
- "description": "Example of a successful dictionary lookup request",
- "items": {
- "type": "object",
- "properties": {
- "normalizedSource": {
- "type": "string"
- },
- "displaySource": {
- "type": "string"
- },
- "translations": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "normalizedTarget": {
- "type": "string"
- },
- "displayTarget": {
- "type": "string"
- },
- "posTag": {
- "type": "string"
- },
- "confidence": {
- "type": "number"
- },
- "prefixWord": {
- "type": "string"
- },
- "backTranslations": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "normalizedText": {
- "type": "string"
- },
- "displayText": {
- "type": "string"
- },
- "numExamples": {
- "type": "integer"
- },
- "frequencyCount": {
- "type": "integer"
- }
- }
- }
- }
- }
- }
- }
- }
- }
- },
- "TranslateResult": {
- "type": "array",
- "description": "Example of a successful translate request",
- "items": {
- "type": "object",
- "properties": {
- "translation": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "to": {
- "type": "string"
- }
- }
- }
- }
- }
- }
- },
-
- "TranslateResultAll": {
- "type": "array",
- "description": "Example of a successful translate request, including all optional parameters.",
- "items": {
- "type": "object",
- "properties": {
- "detectedLanguage": {
- "type": "object",
- "properties": {
- "language": {
- "type": "string"
- },
- "score": {
- "type": "integer"
- }
- }
- },
- "translations": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "transliteration": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "script": {
- "type": "string"
- }
- }
- },
- "to": {
- "type": "string"
- },
- "alignment": {
- "type": "object",
- "properties": {
- "proj": {
- "type": "string"
- }
- }
- },
- "sentLen": {
- "type": "object",
- "properties": {
- "srcSentLen": {
- "type": "array",
- "items": {
- "properties": {
- "integer": {
- "type": "integer"
- }
- }
- }
- },
- "transSentLen": {
- "type": "array",
- "items": {
- "properties": {
- "integer": {
- "type": "integer"
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- },
-
- "BreakSentenceResult": {
- "type": "array",
- "description": "Example of a successful break sentence request",
- "items": {
- "type": "object",
- "properties": {
- "sentLen": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- }
- }
- },
- "TransliterateResult": {
- "type": "array",
- "description": "Example of a successful transliterate request",
- "items": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "script": {
- "type": "string"
- }
- },
- "example": {
- "text": "this is cool",
- "script": "this is very cool"
- }
- }
- },
- "DetectResult": {
- "type": "array",
- "description": "Example of a successful detect request",
- "items": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- }
- }
- }
- },
- "BreakSentenceTextInput": {
- "type": "object",
- "description": "Text needed for break sentence request",
- "properties": {
- "text": {
- "type": "string",
- "maximum": 10000
- }
- },
- "example": {
- "text": "Today is a good day."
- }
- },
- "ErrorMessage": {
- "type": "object",
- "properties": {
- "error": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- }
- }
- }
- },
- "DetectTextInput": {
- "type": "object",
- "description": "Text needed for detect request ",
- "properties": {
- "text": {
- "type": "string",
- "maximum": 10000
- }
- },
- "example": {
- "text": "What language is this? I am not sure, nein"
- }
- },
- "DictionaryLookupTextInput": {
- "type": "object",
- "description": "Text needed for a dictionary lookup request ",
- "properties": {
- "text": {
- "type": "string",
- "maximum": 100
- }
- },
- "example": {
- "text": "Bug"
- }
- },
- "DictionaryExampleTextInput": {
- "type": "object",
- "description": "Text needed for a dictionary example request ",
- "properties": {
- "text": {
- "type": "string",
- "maximum": 100
- },
- "translation": {
- "type": "string"
- }
- },
- "example": {
- "text": "bug",
- "translation": "bicho"
- }
- },
- "TranslateTextInput": {
- "type": "object",
- "description": "Text needed for a translate request ",
- "properties": {
- "text": {
- "type": "string",
- "maximum": 5000
- }
- },
- "example": {
- "text": "I would really like to drive your car."
- }
- },
- "TransliterateTextInput": {
- "type": "object",
- "description": "Text needed for a transliterate request ",
- "properties": {
- "text": {
- "type": "string",
- "maximum": 5000
- }
- },
- "example": {
- "text": "Good morning, how are you today?"
- }
- }
- },
- "parameters": {
- "Endpoint": {
- "name": "Endpoint",
- "description": "Supported Cognitive Services endpoints",
- "x-ms-parameter-location": "client",
- "required": true,
- "type": "string",
- "in": "path",
- "x-ms-skip-url-encoding": true
- },
- "ApiVersion": {
- "name": "api-version",
- "description": "Version of the API requested by the client. Value must be **3.0**.",
- "in": "query",
- "required": true,
- "type": "string",
- "default": "3.0"
- }
- }
-}
diff --git a/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/breakSentenceSuccess.json b/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/breakSentenceSuccess.json
deleted file mode 100644
index a20197afe2f3..000000000000
--- a/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/breakSentenceSuccess.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "parameters": {
- "Ocp-Apim-Subscription-Key": "{API key}",
- "Endpoint": "https://api.cognitive.microsofttranslator.com",
- "api-version": "3.0",
- "language": "en",
- "text": [
- {
- "text": "How are you? I am fine. What did you do today?"
- }
- ]
- },
- "responses": {
- "200": {
- "headers": {
- },"body":
- [
- {
- "sentLen": [
- 13,
- 11,
- 22
- ]
- }
- ]
- }
- }
-}
diff --git a/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/detectSuccess.json b/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/detectSuccess.json
deleted file mode 100644
index ed9fbc990ad2..000000000000
--- a/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/detectSuccess.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "parameters": {
- "Ocp-Apim-Subscription-Key": "{API key}",
- "Endpoint": "https://api.cognitive.microsofttranslator.com",
- "api-version": "3.0",
- "text": [
- {
- "text": "I would really like to drive your car."
- }
- ]
- },
- "responses": {
- "200": {
- "headers": {
- },"body":
- [
- {
- "language":"en",
- "score":1.0,
- "isTranslationSupported":true,
- "isTransliterationSupported":false,
- "alternatives":[
- {
- "language":"fil",
- "score":1.0,
- "isTranslationSupported":true,
- "isTransliterationSupported":false
- },
- {
- "language":"nb",
- "score":1.0,
- "isTranslationSupported":true,
- "isTransliterationSupported":false
- }
- ]
- }
- ]
- }
- }
-}
diff --git a/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/dictionaryExampleSuccess.json b/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/dictionaryExampleSuccess.json
deleted file mode 100644
index fd31efc79668..000000000000
--- a/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/dictionaryExampleSuccess.json
+++ /dev/null
@@ -1,69 +0,0 @@
-{
- "parameters": {
- "Ocp-Apim-Subscription-Key": "{API key}",
- "Endpoint": "https://api.cognitive.microsofttranslator.com",
- "api-version": "3.0",
- "from": "en",
- "to": "es",
- "text": [
- {
- "text": "bug",
- "translation": "bicho"
- }
- ]
- },
- "responses": {
- "200": {
- "headers": {
- },"body":
- [
- {
- "normalizedSource": "bug",
- "normalizedTarget": "bicho",
- "examples": [
- {
- "sourcePrefix": "You feel like a ",
- "sourceTerm": "bug",
- "sourceSuffix": ".",
- "targetPrefix": "Te sientes como un ",
- "targetTerm": "bicho",
- "targetSuffix": "."
- },
- {
- "sourcePrefix": "Not to mention your friend the ",
- "sourceTerm": "bug",
- "sourceSuffix": ".",
- "targetPrefix": "Aparte de tu amigo, el ",
- "targetTerm": "bicho",
- "targetSuffix": "."
- },
- {
- "sourcePrefix": "Get on the magic ",
- "sourceTerm": "bug",
- "sourceSuffix": ".",
- "targetPrefix": "Suban al ",
- "targetTerm": "bicho",
- "targetSuffix": " mágico."
- },
- {
- "sourcePrefix": "Because this ",
- "sourceTerm": "bug",
- "sourceSuffix": " is not an insect.",
- "targetPrefix": "Porque este ",
- "targetTerm": "bicho",
- "targetSuffix": " no es un insecto."
- },
- {
- "sourcePrefix": "I still taste that ",
- "sourceTerm": "bug",
- "sourceSuffix": ".",
- "targetPrefix": "Aún tengo el sabor de ese ",
- "targetTerm": "bicho",
- "targetSuffix": "."
- }
- ]
- }
- ]
- }
- }
-}
diff --git a/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/dictionaryLookupSuccess.json b/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/dictionaryLookupSuccess.json
deleted file mode 100644
index 06c5fd1d8e3c..000000000000
--- a/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/dictionaryLookupSuccess.json
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- "parameters": {
- "Ocp-Apim-Subscription-Key": "{API key}",
- "Endpoint": "https://api.cognitive.microsofttranslator.com",
- "api-version": "3.0",
- "from": "en",
- "to": "es",
- "text": [
- {
- "text": "bug"
- }
- ]
- },
- "responses": {
- "200": {
- "headers": {
- },"body":
- [
- {
- "normalizedSource": "bug",
- "displaySource": "bug",
- "translations": [
- {
- "normalizedTarget": "bicho",
- "displayTarget": "bicho",
- "posTag": "NOUN",
- "confidence": 0.2405,
- "prefixWord": "",
- "backTranslations": [
- {
- "normalizedText": "bug",
- "displayText": "bug",
- "numExamples": 15,
- "frequencyCount": 315
- },
- {
- "normalizedText": "critter",
- "displayText": "critter",
- "numExamples": 5,
- "frequencyCount": 27
- },
- {
- "normalizedText": "varmint",
- "displayText": "varmint",
- "numExamples": 1,
- "frequencyCount": 4
- }
- ]
- }
- ]
- }
- ]
- }
- }
-}
diff --git a/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/languagesSuccess.json b/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/languagesSuccess.json
deleted file mode 100644
index e63ca0262496..000000000000
--- a/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/languagesSuccess.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "parameters": {
- "Ocp-Apim-Subscription-Key": "{API key}",
- "Endpoint": "https://api.cognitive.microsofttranslator.com",
- "api-version": "3.0",
- "scope": "translation"
- },
- "responses": {
- "200": {
- "headers": {
- },"body":
- {
- "translation":{
- "af":{
- "name":"Afrikaan",
- "nativeName":"Afrikaans",
- "dir":"ltr"
- },
- "ar":{
- "name":"Arabic",
- "nativeName":"العربية",
- "dir":"rtl"
- },
- "ja":{
- "name":"Japanese",
- "nativeName":"日本語",
- "dir":"ltr"
- },
- "ko":{
- "name":"Korean",
- "nativeName":"한국어",
- "dir":"ltr"
- },
- "th":{
- "name":"Thai",
- "nativeName":"ไทย",
- "dir":"ltr"
- },
- "zh-Hans":{
- "name":"Chinese Simplified",
- "nativeName":"简体中文",
- "dir":"ltr"
- },
- "zh-Hant":{
- "name":"Chinese Traditional",
- "nativeName":"繁體中文",
- "dir":"ltr"
- }
- }
- }
- }
- }
-}
diff --git a/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/translateSuccess.json b/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/translateSuccess.json
deleted file mode 100644
index afecbdbc62a1..000000000000
--- a/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/translateSuccess.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "parameters": {
- "Ocp-Apim-Subscription-Key": "{API key}",
- "Endpoint": "https://api.cognitive.microsofttranslator.com",
- "api-version": "3.0",
- "from": "en",
- "to": "es",
- "text": [
- {
- "Text": "I would really like to drive your car."
- }
- ]
- },
- "responses": {
- "200": {
- "headers": {
- },"body": [
- {
- "translations": [{
- "text": "Realmente me gustaría conducir su coche.",
- "to": "es"
- }]
- }
- ]
- }
- }
-}
-
diff --git a/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/transliterateSuccess.json b/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/transliterateSuccess.json
deleted file mode 100644
index 59efb0e64af9..000000000000
--- a/specification/cognitiveservices/data-plane/TranslatorText/stable/v3.0/examples/transliterateSuccess.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "parameters": {
- "Ocp-Apim-Subscription-Key": "{API key}",
- "Endpoint": "https://api.cognitive.microsofttranslator.com",
- "api-version": "3.0",
- "fromScript": "jpan",
- "language": "ja",
- "toScript": "latn",
- "text": [
- {
- "text": "なの"
- }
- ]
- },
- "responses": {
- "200": {
- "headers": {
- },"body":
- [{
- "text": "sodeska",
- "script": "latn"
- }]
- }
- }
-}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/preview/2016-04-30-preview/compute.json b/specification/compute/resource-manager/Microsoft.Compute/preview/2016-04-30-preview/compute.json
index 15a3e2e6025c..2e6f4fbf774d 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/preview/2016-04-30-preview/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/preview/2016-04-30-preview/compute.json
@@ -4226,7 +4226,7 @@
"properties": {
"computerName": {
"type": "string",
- "description": "Specifies the host OS name of the virtual machine.
This name cannot be updated after the VM is created.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions)."
+ "description": "Specifies the host OS name of the virtual machine.
**Max-length (Windows):** 15 characters
**Max-length (Linux):** 64 characters.
For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions)."
},
"adminUsername": {
"type": "string",
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json
index f2b7986979d6..10248e6a673f 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json
@@ -2152,7 +2152,7 @@
"type": "string",
"description": "The name of the resource group."
},
- {
+ {
"name": "vmName",
"in": "path",
"required": true,
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAProximityPlacementGroup.json
deleted file mode 100644
index 674a839160f9..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/CreateAProximityPlacementGroup.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-06-01",
- "proximityPlacementGroupName": "myProximityPlacementGroup",
- "parameters": {
- "location": "westus",
- "properties": {
- "proximityPlacementGroupType": "Standard"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "name": "myProximityPlacementGroup",
- "properties": {
- "proximityPlacementGroupType": "Standard"
- },
- "location": "westus",
- "type": "Microsoft.Compute/proximityPlacementGroups",
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup"
- }
- }
- }
-}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/DeleteAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/DeleteAProximityPlacementGroup.json
deleted file mode 100644
index 6aa01d389484..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/DeleteAProximityPlacementGroup.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "parameters":{
- "subscriptionId":"{subscription-id}",
- "resourceGroupName":"myResourceGroup",
- "api-version":"2018-06-01",
- "proximityPlacementGroupName":"myProximityPlacementGroup",
- "parameters":{
- }
- },
- "responses":{
- "200":{
- "body":{
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/GetAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/GetAProximityPlacementGroup.json
deleted file mode 100644
index 72ca4914e3b9..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/GetAProximityPlacementGroup.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "parameters":{
- "subscriptionId":"{subscription-id}",
- "resourceGroupName":"myResourceGroup",
- "api-version":"2018-06-01",
- "proximityPlacementGroupName":"myProximityPlacementGroup",
- "parameters":{
-
- }
- },
- "responses":{
- "200":{
- "body":{
- "name":"myProximityPlacementGroup",
- "properties":{
- "proximityPlacementGroupType":"Standard",
- "virtualMachines":[
- {
- "id":"string"
- }
- ],
- "virtualMachineScaleSets":[
- {
- "id":"string"
- }
- ],
- "availabilitySets":[
- {
- "id":"string"
- }
- ]
- },
- "location":"westus",
- "type":"Microsoft.Compute/proximityPlacementGroups",
- "id":"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListProximityPlacementGroupsInAResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListProximityPlacementGroupsInAResourceGroup.json
deleted file mode 100644
index 61b2c559e081..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListProximityPlacementGroupsInAResourceGroup.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "parameters":{
- "subscriptionId":"{subscription-id}",
- "resourceGroupName":"myResourceGroup",
- "api-version":"2018-06-01",
- "parameters":{
-
- }
- },
- "responses":{
- "200":{
- "body":{
- "value":[
- {
- "name":"myProximityPlacementGroup",
- "properties":{
- "proximityPlacementGroupType":"Standard",
- "virtualMachines":[
- {
- "id":"string"
- }
- ],
- "virtualMachineScaleSets":[
- {
- "id":"string"
- }
- ],
- "availabilitySets":[
- {
- "id":"string"
- }
- ]
- },
- "location":"westus",
- "type":"Microsoft.Compute/proximityPlacementGroups",
- "id":"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup"
- }
- ],
- "nextLink":"string"
- }
- }
- }
-}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListProximityPlacementGroupsInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListProximityPlacementGroupsInASubscription.json
deleted file mode 100644
index 1013aa13cf60..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/ListProximityPlacementGroupsInASubscription.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "parameters":{
- "subscriptionId":"{subscription-id}",
- "api-version":"2018-06-01",
- "parameters":{
-
- }
- },
- "responses":{
- "200":{
- "body":{
- "value":[
- {
- "name":"myProximityPlacementGroup",
- "properties":{
- "proximityPlacementGroupType":"Standard",
- "virtualMachines":[
- {
- "id":"string"
- }
- ],
- "virtualMachineScaleSets":[
- {
- "id":"string"
- }
- ],
- "availabilitySets":[
- {
- "id":"string"
- }
- ]
- },
- "location":"westus",
- "type":"Microsoft.Compute/proximityPlacementGroups",
- "id":"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup"
- }
- ],
- "nextLink":"string"
- }
- }
- }
-}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/PatchAProximityPlacementGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/PatchAProximityPlacementGroup.json
deleted file mode 100644
index dd851d654a6c..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/examples/PatchAProximityPlacementGroup.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "parameters":{
- "subscriptionId":"{subscription-id}",
- "resourceGroupName":"myResourceGroup",
- "api-version":"2018-06-01",
- "proximityPlacementGroupName":"myProximityPlacementGroup",
- "parameters":{
- "location":"westus",
- "tags":{
- "additionalProp1":"string"
- }
- }
- },
- "responses":{
- "200":{
- "body":{
- "name":"myProximityPlacementGroup",
- "properties":{
- "proximityPlacementGroupType":"Standard"
- },
- "location":"westus",
- "type":"Microsoft.Compute/proximityPlacementGroups",
- "id":"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myProximityPlacementGroup"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/disk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/disk.json
deleted file mode 100644
index 91173743a186..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/disk.json
+++ /dev/null
@@ -1,1312 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "DiskResourceProviderClient",
- "description": "The Disk Resource Provider Client.",
- "version": "2018-09-30"
- },
- "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": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}": {
- "put": {
- "tags": [
- "Disks"
- ],
- "operationId": "Disks_CreateOrUpdate",
- "description": "Creates or updates a disk.",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DiskNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "disk",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Disk"
- },
- "description": "Disk object supplied in the body of the Put disk operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Disk"
- }
- },
- "202": {
- "description":"Accepted",
- "schema": {
- "$ref": "#/definitions/Disk"
- }
- }
- },
- "x-ms-examples": {
- "Create an empty managed disk.": {
- "$ref": "./examples/CreateAnEmptyManagedDisk.json"
- },
- "Create a managed disk from a platform image.": {
- "$ref": "./examples/CreateAManagedDiskFromAPlatformImage.json"
- },
- "Create a managed disk from an existing managed disk in the same or different subscription.": {
- "$ref": "./examples/CreateAManagedDiskFromAnExistingManagedDisk.json"
- },
- "Create a managed disk by importing an unmanaged blob from the same subscription.": {
- "$ref": "./examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription.json"
- },
- "Create a managed disk by importing an unmanaged blob from a different subscription.": {
- "$ref": "./examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription.json"
- },
- "Create a managed disk by copying a snapshot.": {
- "$ref": "./examples/CreateAManagedDiskByCopyingASnapshot.json"
- }
- },
- "x-ms-long-running-operation": true
- },
- "patch": {
- "tags": [
- "Disks"
- ],
- "operationId": "Disks_Update",
- "description": "Updates (patches) a disk.",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DiskNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "disk",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/DiskUpdate"
- },
- "description": "Disk object supplied in the body of the Patch disk operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Disk"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/Disk"
- }
- }
- },
- "x-ms-long-running-operation": true
- },
- "get": {
- "tags": [
- "Disks"
- ],
- "operationId": "Disks_Get",
- "description": "Gets information about a disk.",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DiskNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Disk"
- }
- }
- },
- "x-ms-examples": {
- "Get information about a managed disk.": {
- "$ref": "./examples/GetInformationAboutAManagedDisk.json"
- }
- }
- },
- "delete": {
- "tags": [
- "Disks"
- ],
- "operationId": "Disks_Delete",
- "description": "Deletes a disk.",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DiskNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
- },
- "204": {
- "description": "If the disk is deleted, this is an expected error code."
- }
- },
- "x-ms-long-running-operation": true
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks": {
- "get": {
- "tags": [
- "Disks"
- ],
- "operationId": "Disks_ListByResourceGroup",
- "description": "Lists all the disks under a resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/DiskList"
- }
- }
- },
- "x-ms-examples": {
- "List all managed disks in a resource group.": {
- "$ref": "./examples/ListManagedDisksInAResourceGroup.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks": {
- "get": {
- "tags": [
- "Disks"
- ],
- "operationId": "Disks_List",
- "description": "Lists all the disks under a subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/DiskList"
- }
- }
- },
- "x-ms-examples": {
- "List all managed disks in a subscription.": {
- "$ref": "./examples/ListManagedDisksInASubscription.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess": {
- "post": {
- "tags": [
- "Disks"
- ],
- "operationId": "Disks_GrantAccess",
- "description": "Grants access to a disk.",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DiskNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "grantAccessData",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/GrantAccessData"
- },
- "description": "Access data object supplied in the body of the get disk access operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AccessUri"
- }
- },
- "202": {
- "description": "Accepted"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/endGetAccess": {
- "post": {
- "tags": [
- "Disks"
- ],
- "operationId": "Disks_RevokeAccess",
- "description": "Revokes access to a disk.",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DiskNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}": {
- "put": {
- "tags": [
- "Snapshots"
- ],
- "operationId": "Snapshots_CreateOrUpdate",
- "description": "Creates or updates a snapshot.",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SnapshotNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "snapshot",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Snapshot"
- },
- "description": "Snapshot object supplied in the body of the Put disk operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Snapshot"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/Snapshot"
- }
- }
- },
- "x-ms-examples": {
- "Create a snapshot from an existing snapshot in the same or a different subscription.": {
- "$ref": "./examples/CreateASnapshotFromAnExistingSnapshot.json"
- },
- "Create a snapshot by importing an unmanaged blob from the same subscription.": {
- "$ref": "./examples/CreateASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription.json"
- },
- "Create a snapshot by importing an unmanaged blob from a different subscription.": {
- "$ref": "./examples/CreateASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription.json"
- }
- },
- "x-ms-long-running-operation": true
- },
- "patch": {
- "tags": [
- "Snapshots"
- ],
- "operationId": "Snapshots_Update",
- "description": "Updates (patches) a snapshot.",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SnapshotNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "snapshot",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/SnapshotUpdate"
- },
- "description": "Snapshot object supplied in the body of the Patch snapshot operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Snapshot"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/Snapshot"
- }
- }
- },
- "x-ms-long-running-operation": true
- },
- "get": {
- "tags": [
- "Snapshots"
- ],
- "operationId": "Snapshots_Get",
- "description": "Gets information about a snapshot.",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SnapshotNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Snapshot"
- }
- }
- },
- "x-ms-examples": {
- "Get information about a snapshot.": {
- "$ref": "./examples/GetInformationAboutASnapshot.json"
- }
- }
- },
- "delete": {
- "tags": [
- "Snapshots"
- ],
- "operationId": "Snapshots_Delete",
- "description": "Deletes a snapshot.",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SnapshotNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
- },
- "204": {
- "description": "If the snapshot is deleted, this is an expected error code."
- }
- },
- "x-ms-long-running-operation": true
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots": {
- "get": {
- "tags": [
- "Snapshots"
- ],
- "operationId": "Snapshots_ListByResourceGroup",
- "description": "Lists snapshots under a resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SnapshotList"
- }
- }
- },
- "x-ms-examples": {
- "List all snapshots in a resource group.": {
- "$ref": "./examples/ListSnapshotsInAResourceGroup.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots": {
- "get": {
- "tags": [
- "Snapshots"
- ],
- "operationId": "Snapshots_List",
- "description": "Lists snapshots under a subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/SnapshotList"
- }
- }
- },
- "x-ms-examples": {
- "List all snapshots in a subscription.": {
- "$ref": "./examples/ListSnapshotsInASubscription.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess": {
- "post": {
- "tags": [
- "Snapshots"
- ],
- "operationId": "Snapshots_GrantAccess",
- "description": "Grants access to a snapshot.",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SnapshotNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "grantAccessData",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/GrantAccessData"
- },
- "description": "Access data object supplied in the body of the get snapshot access operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AccessUri"
- }
- },
- "202": {
- "description": "Accepted"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess": {
- "post": {
- "tags": [
- "Snapshots"
- ],
- "operationId": "Snapshots_RevokeAccess",
- "description": "Revokes access to a snapshot.",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SnapshotNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- }
- },
- "definitions": {
- "Resource": {
- "description": "The Resource model definition.",
- "properties": {
- "id": {
- "readOnly": true,
- "type": "string",
- "description": "Resource Id"
- },
- "name": {
- "readOnly": true,
- "type": "string",
- "description": "Resource name"
- },
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Resource type"
- },
- "location": {
- "type": "string",
- "description": "Resource location"
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "required": [
- "location"
- ],
- "x-ms-azure-resource": true
- },
- "Disk": {
- "properties": {
- "managedBy": {
- "readOnly": true,
- "type": "string",
- "description": "A relative URI containing the ID of the VM that has the disk attached."
- },
- "sku": {
- "$ref": "#/definitions/DiskSku"
- },
- "zones": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The Logical zone list for Disk."
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/DiskProperties"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "description": "Disk resource."
- },
- "DiskUpdate": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/DiskUpdateProperties"
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- },
- "sku": {
- "$ref": "#/definitions/DiskSku"
- }
- },
- "description": "Disk update resource."
- },
- "DiskList": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Disk"
- },
- "description": "A list of disks."
- },
- "nextLink": {
- "type": "string",
- "description": "The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of disks."
- }
- },
- "required": [
- "value"
- ],
- "description": "The List Disks operation response."
- },
- "DiskSku": {
- "properties": {
- "name": {
- "type": "string",
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "StandardSSD_LRS",
- "UltraSSD_LRS"
- ],
- "x-ms-enum": {
- "name": "DiskStorageAccountTypes",
- "modelAsString": true
- },
- "description": "The sku name."
- },
- "tier": {
- "type": "string",
- "readOnly": true,
- "default": "Standard",
- "description": "The sku tier."
- }
- },
- "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS."
- },
- "SnapshotSku": {
- "properties": {
- "name": {
- "type": "string",
- "enum": [
- "Standard_LRS",
- "Premium_LRS",
- "Standard_ZRS"
- ],
- "x-ms-enum": {
- "name": "SnapshotStorageAccountTypes",
- "modelAsString": true
- },
- "description": "The sku name."
- },
- "tier": {
- "type": "string",
- "readOnly": true,
- "default": "Standard",
- "description": "The sku tier."
- }
- },
- "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS."
- },
- "DiskProperties": {
- "properties": {
- "timeCreated": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The time when the disk was created."
- },
- "osType": {
- "type": "string",
- "description": "The Operating System type.",
- "enum": [
- "Windows",
- "Linux"
- ],
- "x-ms-enum": {
- "name": "OperatingSystemTypes",
- "modelAsString": false
- }
- },
- "hyperVGeneration": {
- "type": "string",
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "enum": [
- "V1",
- "V2"
- ],
- "x-ms-enum": {
- "name": "HyperVGeneration",
- "modelAsString": true
- }
- },
- "creationData": {
- "$ref": "#/definitions/CreationData",
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created."
- },
- "diskSizeGB": {
- "type": "integer",
- "format": "int32",
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size."
- },
- "encryptionSettingsCollection": {
- "$ref": "#/definitions/EncryptionSettingsCollection",
- "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot."
- },
- "provisioningState": {
- "readOnly": true,
- "type": "string",
- "description": "The disk provisioning state."
- },
- "diskIOPSReadWrite": {
- "type": "integer",
- "format": "int64",
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes."
- },
- "diskMBpsReadWrite": {
- "type": "integer",
- "format": "int32",
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10."
- },
- "diskState": {
- "type": "string",
- "description": "The state of the disk.",
- "readOnly": true,
- "enum": [
- "Unattached",
- "Attached",
- "Reserved",
- "ActiveSAS",
- "ReadyToUpload",
- "ActiveUpload"
- ],
- "x-ms-enum": {
- "name": "DiskState",
- "modelAsString": true
- }
- }
- },
- "required": [
- "creationData"
- ],
- "description": "Disk resource properties."
- },
- "SnapshotProperties": {
- "properties": {
- "timeCreated": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "The time when the disk was created."
- },
- "osType": {
- "type": "string",
- "description": "The Operating System type.",
- "enum": [
- "Windows",
- "Linux"
- ],
- "x-ms-enum": {
- "name": "OperatingSystemTypes",
- "modelAsString": false
- }
- },
- "hyperVGeneration": {
- "type": "string",
- "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
- "enum": [
- "V1",
- "V2"
- ],
- "x-ms-enum": {
- "name": "HyperVGeneration",
- "modelAsString": true
- }
- },
- "creationData": {
- "$ref": "#/definitions/CreationData",
- "description": "Disk source information. CreationData information cannot be changed after the disk has been created."
- },
- "diskSizeGB": {
- "type": "integer",
- "format": "int32",
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size."
- },
- "encryptionSettingsCollection": {
- "$ref": "#/definitions/EncryptionSettingsCollection",
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot."
- },
- "provisioningState": {
- "readOnly": true,
- "type": "string",
- "description": "The disk provisioning state."
- }
- },
- "required": [
- "creationData"
- ],
- "description": "Snapshot resource properties."
- },
- "EncryptionSettingsCollection": {
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged."
- },
- "encryptionSettings": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EncryptionSettingsElement"
- },
- "description": "A collection of encryption settings, one for each disk volume."
- }
- },
- "required": [
- "enabled"
- ],
- "description": "Encryption settings for disk or snapshot"
- },
- "EncryptionSettingsElement": {
- "properties": {
- "diskEncryptionKey": {
- "$ref": "#/definitions/KeyVaultAndSecretReference",
- "description": "Key Vault Secret Url and vault id of the disk encryption key"
- },
- "keyEncryptionKey": {
- "$ref": "#/definitions/KeyVaultAndKeyReference",
- "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key."
- }
- },
- "description": "Encryption settings for one disk volume."
- },
- "KeyVaultAndSecretReference": {
- "properties": {
- "sourceVault": {
- "$ref": "#/definitions/SourceVault",
- "description": "Resource id of the KeyVault containing the key or secret"
- },
- "secretUrl": {
- "type": "string",
- "description": "Url pointing to a key or secret in KeyVault"
- }
- },
- "required": [
- "secretUrl",
- "sourceVault"
- ],
- "description": "Key Vault Secret Url and vault id of the encryption key "
- },
- "KeyVaultAndKeyReference": {
- "properties": {
- "sourceVault": {
- "$ref": "#/definitions/SourceVault",
- "description": "Resource id of the KeyVault containing the key or secret"
- },
- "keyUrl": {
- "type": "string",
- "description": "Url pointing to a key or secret in KeyVault"
- }
- },
- "required": [
- "keyUrl",
- "sourceVault"
- ],
- "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey"
- },
- "SourceVault": {
- "properties": {
- "id": {
- "type": "string",
- "description": "Resource Id"
- }
- },
- "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}"
- },
- "DiskUpdateProperties": {
- "properties": {
- "osType": {
- "type": "string",
- "description": "the Operating System type.",
- "enum": [
- "Windows",
- "Linux"
- ],
- "x-ms-enum": {
- "name": "OperatingSystemTypes",
- "modelAsString": false
- }
- },
- "diskSizeGB": {
- "type": "integer",
- "format": "int32",
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size."
- },
- "encryptionSettingsCollection": {
- "$ref": "#/definitions/EncryptionSettingsCollection",
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot."
- },
- "diskIOPSReadWrite": {
- "type": "integer",
- "format": "int64",
- "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes."
- },
- "diskMBpsReadWrite": {
- "type": "integer",
- "format": "int32",
- "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10."
- }
- },
- "description": "Disk resource update properties."
- },
- "SnapshotUpdateProperties": {
- "properties": {
- "osType": {
- "type": "string",
- "description": "the Operating System type.",
- "enum": [
- "Windows",
- "Linux"
- ],
- "x-ms-enum": {
- "name": "OperatingSystemTypes",
- "modelAsString": false
- }
- },
- "diskSizeGB": {
- "type": "integer",
- "format": "int32",
- "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size."
- },
- "encryptionSettingsCollection": {
- "$ref": "#/definitions/EncryptionSettingsCollection",
- "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot."
- }
- },
- "description": "Snapshot resource update properties."
- },
- "CreationData": {
- "properties": {
- "createOption": {
- "type": "string",
- "enum": [
- "Empty",
- "Attach",
- "FromImage",
- "Import",
- "Copy",
- "Restore",
- "Upload"
- ],
- "x-ms-enum": {
- "name": "DiskCreateOption",
- "modelAsString": true
- },
- "description": "This enumerates the possible sources of a disk's creation."
- },
- "storageAccountId": {
- "type": "string",
- "description": "If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription"
- },
- "imageReference": {
- "$ref": "#/definitions/ImageDiskReference",
- "description": "Disk source information."
- },
- "sourceUri": {
- "type": "string",
- "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk."
- },
- "sourceResourceId": {
- "type": "string",
- "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk."
- }
- },
- "required": [
- "createOption"
- ],
- "description": "Data used when creating a disk."
- },
- "ImageDiskReference": {
- "properties": {
- "id": {
- "type": "string",
- "description": "A relative uri containing either a Platform Image Repository or user image reference."
- },
- "lun": {
- "type": "integer",
- "format": "int32",
- "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null."
- }
- },
- "required": [
- "id"
- ],
- "description": "The source image used for creating the disk."
- },
- "GrantAccessData": {
- "properties": {
- "access": {
- "type": "string",
- "enum": [
- "None",
- "Read",
- "Write"
- ],
- "x-ms-enum": {
- "name": "AccessLevel",
- "modelAsString": true
- }
- },
- "durationInSeconds": {
- "type": "integer",
- "format": "int32",
- "description": "Time duration in seconds until the SAS access expires."
- }
- },
- "required": [
- "access",
- "durationInSeconds"
- ],
- "description": "Data used for requesting a SAS."
- },
- "AccessUri": {
- "properties": {
- "accessSAS": {
- "readOnly": true,
- "type": "string",
- "description": "A SAS uri for accessing a disk."
- }
- },
- "description": "A disk access SAS uri."
- },
- "Snapshot": {
- "properties": {
- "managedBy": {
- "readOnly": true,
- "type": "string",
- "description": "Unused. Always Null."
- },
- "sku": {
- "$ref": "#/definitions/SnapshotSku"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SnapshotProperties"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "description": "Snapshot resource."
- },
- "SnapshotUpdate": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/SnapshotUpdateProperties"
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- },
- "sku": {
- "$ref": "#/definitions/SnapshotSku"
- }
- },
- "description": "Snapshot update resource."
- },
- "SnapshotList": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Snapshot"
- },
- "description": "A list of snapshots."
- },
- "nextLink": {
- "type": "string",
- "description": "The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page of snapshots."
- }
- },
- "required": [
- "value"
- ],
- "description": "The List Snapshots operation response."
- }
- },
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
- },
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
- },
- "ResourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group.",
- "x-ms-parameter-location": "method"
- },
- "DiskNameParameter": {
- "name": "diskName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
- "x-ms-parameter-location": "method"
- },
- "SnapshotNameParameter": {
- "name": "snapshotName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.",
- "x-ms-parameter-location": "method"
- }
- }
-}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAManagedDiskByCopyingASnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAManagedDiskByCopyingASnapshot.json
deleted file mode 100644
index 5ac0f4e197e8..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAManagedDiskByCopyingASnapshot.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-09-30",
- "diskName": "myDisk",
- "disk": {
- "name": "myDisk",
- "location": "West US",
- "properties": {
- "creationData": {
- "createOption": "Copy",
- "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
- }
- }
- }
- },
- "responses": {
- "202": {
- "body": {
- "name": "myDisk",
- "location": "West US",
- "properties": {
- "provisioningState": "Updating",
- "creationData": {
- "createOption": "Copy",
- "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
- }
- }
- }
- },
- "200": {
- "body": {
- "name": "myDisk",
- "location": "West US",
- "properties": {
- "provisioningState": "Updating",
- "creationData": {
- "createOption": "Copy",
- "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
- }
- }
- }
- }
- }
-}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription.json
deleted file mode 100644
index a97c773a1e16..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription.json
+++ /dev/null
@@ -1,49 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-09-30",
- "diskName": "myDisk",
- "disk": {
- "name": "myDisk",
- "location": "West US",
- "properties": {
- "creationData": {
- "createOption": "Import",
- "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
- "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
- }
- }
- }
- },
- "responses": {
- "202": {
- "body": {
- "name": "myDisk",
- "location": "West US",
- "properties": {
- "provisioningState": "Updating",
- "creationData": {
- "createOption": "Import",
- "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
- "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
- }
- }
- }
- },
- "200": {
- "body": {
- "name": "myDisk",
- "location": "West US",
- "properties": {
- "provisioningState": "Updating",
- "creationData": {
- "createOption": "Import",
- "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
- "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
- }
- }
- }
- }
- }
-}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription.json
deleted file mode 100644
index 36fd459a37b2..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-09-30",
- "diskName": "myDisk",
- "disk": {
- "name": "myDisk",
- "location": "West US",
- "properties": {
- "creationData": {
- "createOption": "Import",
- "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
- }
- }
- }
- },
- "responses": {
- "202": {
- "body": {
- "name": "myDisk",
- "location": "West US",
- "properties": {
- "provisioningState": "Updating",
- "creationData": {
- "createOption": "Import",
- "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
- }
- }
- }
- },
- "200": {
- "body": {
- "name": "myDisk",
- "location": "West US",
- "properties": {
- "provisioningState": "Updating",
- "creationData": {
- "createOption": "Import",
- "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
- }
- }
- }
- }
- }
-}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAManagedDiskFromAPlatformImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAManagedDiskFromAPlatformImage.json
deleted file mode 100644
index 6f3a16a814ae..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAManagedDiskFromAPlatformImage.json
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-09-30",
- "diskName": "myDisk",
- "disk": {
- "name": "myDisk",
- "location": "West US",
- "properties": {
- "osType": "Windows",
- "creationData": {
- "createOption": "FromImage",
- "imageReference": {
- "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
- }
- }
- }
- }
- },
- "responses": {
- "202": {
- "body": {
- "name": "myDisk",
- "location": "West US",
- "properties": {
- "provisioningState": "Updating",
- "osType": "Windows",
- "creationData": {
- "createOption": "FromImage",
- "imageReference": {
- "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
- }
- }
- }
- }
- },
- "200": {
- "body": {
- "name": "myDisk",
- "location": "West US",
- "properties": {
- "provisioningState": "Updating",
- "osType": "Windows",
- "creationData": {
- "createOption": "FromImage",
- "imageReference": {
- "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
- }
- }
- }
- }
- }
- }
-}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAManagedDiskFromAnExistingManagedDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAManagedDiskFromAnExistingManagedDisk.json
deleted file mode 100644
index 1f709e47bf69..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAManagedDiskFromAnExistingManagedDisk.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-09-30",
- "diskName": "myDisk2",
- "disk": {
- "name": "myDisk2",
- "location": "West US",
- "properties": {
- "creationData": {
- "createOption": "Copy",
- "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk1"
- }
- }
- }
- },
- "responses": {
- "202": {
- "body": {
- "properties": {
- "creationData": {
- "createOption": "Copy",
- "sourceResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk1"
- },
- "provisioningState": "Updating"
- },
- "location": "West US",
- "name": "myDisk2"
- }
- },
- "200": {
- "body": {
- "properties": {
- "creationData": {
- "createOption": "Copy",
- "sourceResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk1"
- },
- "provisioningState": "Updating"
- },
- "location": "West US",
- "name": "myDisk2"
- }
- }
- }
-}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription.json
deleted file mode 100644
index 7ec521677a5e..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription.json
+++ /dev/null
@@ -1,49 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-09-30",
- "snapshotName": "mySnapshot1",
- "snapshot": {
- "name": "mySnapshot1",
- "location": "West US",
- "properties": {
- "creationData": {
- "createOption": "Import",
- "storageAccountId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
- "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
- }
- }
- }
- },
- "responses": {
- "202": {
- "body": {
- "properties": {
- "creationData": {
- "createOption": "Import",
- "storageAccountId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
- "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
- },
- "provisioningState": "Updating"
- },
- "location": "West US",
- "name": "mySnapshot1"
- }
- },
- "200": {
- "body": {
- "properties": {
- "creationData": {
- "createOption": "Import",
- "storageAccountId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
- "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
- },
- "provisioningState": "Updating"
- },
- "location": "West US",
- "name": "mySnapshot1"
- }
- }
- }
-}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription.json
deleted file mode 100644
index 4f2e82c8446f..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-09-30",
- "snapshotName": "mySnapshot1",
- "snapshot": {
- "name": "mySnapshot1",
- "location": "West US",
- "properties": {
- "creationData": {
- "createOption": "Import",
- "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
- }
- }
- }
- },
- "responses": {
- "202": {
- "body": {
- "properties": {
- "creationData": {
- "createOption": "Import",
- "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
- },
- "provisioningState": "Updating"
- },
- "location": "West US",
- "name": "mySnapshot1"
- }
- },
- "200": {
- "body": {
- "properties": {
- "creationData": {
- "createOption": "Import",
- "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
- },
- "provisioningState": "Updating"
- },
- "location": "West US",
- "name": "mySnapshot1"
- }
- }
- }
-}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateASnapshotFromAnExistingSnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateASnapshotFromAnExistingSnapshot.json
deleted file mode 100644
index 052ffccff595..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateASnapshotFromAnExistingSnapshot.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-09-30",
- "snapshotName": "mySnapshot2",
- "snapshot": {
- "name": "mySnapshot2",
- "location": "West US",
- "properties": {
- "creationData": {
- "createOption": "Copy",
- "sourceResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1"
- }
- }
- }
- },
- "responses": {
- "202": {
- "body": {
- "name": "mySnapshot2",
- "location": "West US",
- "properties": {
- "provisioningState": "Updating",
- "creationData": {
- "createOption": "Copy",
- "sourceResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1"
- }
- }
- }
- },
- "200": {
- "body": {
- "name": "mySnapshot2",
- "location": "West US",
- "properties": {
- "provisioningState": "Updating",
- "creationData": {
- "createOption": "Copy",
- "sourceResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1"
- }
- }
- }
- }
- }
-}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAnEmptyManagedDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAnEmptyManagedDisk.json
deleted file mode 100644
index e8287174e484..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/CreateAnEmptyManagedDisk.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-09-30",
- "diskName": "myDisk",
- "disk": {
- "name": "myDisk",
- "location": "West US",
- "properties": {
- "creationData": {
- "createOption": "Empty"
- },
- "diskSizeGB": 200
- }
- }
- },
- "responses": {
- "202": {
- "body": {
- "properties": {
- "creationData": {
- "createOption": "Empty"
- },
- "diskSizeGB": 200,
- "provisioningState": "Updating"
- },
- "location": "West US",
- "name": "myDisk"
- }
- },
- "200": {
- "body": {
- "properties": {
- "creationData": {
- "createOption": "Empty"
- },
- "diskSizeGB": 200,
- "provisioningState": "Updating"
- },
- "location": "West US",
- "name": "myDisk"
- }
- }
- }
-}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/GetInformationAboutAManagedDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/GetInformationAboutAManagedDisk.json
deleted file mode 100644
index 95aa56d4b9fe..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/GetInformationAboutAManagedDisk.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-09-30",
- "diskName": "myManagedDisk"
- },
- "responses": {
- "200": {
- "body": {
- "managedBy": "/subscriptions/123caaa-123v-v211-a49f-f88ccac5bf88/resourceGroups/ResourceGroupName/providers/Microsoft.Compute/virtualMachines/TestVM414689371c88843d65ec",
- "sku": {
- "name": "Standard_LRS"
- },
- "properties": {
- "osType": "Windows",
- "creationData": {
- "createOption": "Empty"
- },
- "diskSizeGB": 10,
- "encryptionSettings": {
- "enabled": true,
- "diskEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
- },
- "keyEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
- }
- },
- "timeCreated": "2016-12-28T04:41:35.079872+00:00",
- "provisioningState": "Succeeded"
- },
- "type": "Microsoft.Compute/disks",
- "location": "westus",
- "tags": {
- "department": "Development",
- "project": "ManagedDisks"
- },
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk",
- "name": "myManagedDisk"
- }
- }
- }
-}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/GetInformationAboutASnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/GetInformationAboutASnapshot.json
deleted file mode 100644
index c678764f1009..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/GetInformationAboutASnapshot.json
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-09-30",
- "snapshotName": "mySnapshot"
- },
- "responses": {
- "200": {
- "body": {
- "properties": {
- "osType": "Windows",
- "creationData": {
- "createOption": "Empty"
- },
- "diskSizeGB": 100,
- "encryptionSettings": {
- "enabled": true,
- "diskEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
- },
- "keyEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
- }
- },
- "timeCreated": "2016-12-28T04:41:35.079872+00:00",
- "provisioningState": "Succeeded"
- },
- "type": "Microsoft.Compute/snapshots",
- "location": "westus",
- "tags": {
- "department": "Development",
- "project": "Snapshots"
- },
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot",
- "name": "mySnapshot"
- }
- }
- }
-}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/ListManagedDisksInAResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/ListManagedDisksInAResourceGroup.json
deleted file mode 100644
index a00d2d7e1b76..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/ListManagedDisksInAResourceGroup.json
+++ /dev/null
@@ -1,103 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-09-30"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "properties": {
- "osType": "Windows",
- "creationData": {
- "createOption": "Copy",
- "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk"
- },
- "diskSizeGB": 200,
- "encryptionSettings": {
- "enabled": true,
- "diskEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
- },
- "keyEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
- }
- },
- "timeCreated": "2016-12-28T04:41:35.9278721+00:00",
- "provisioningState": "Succeeded"
- },
- "type": "Microsoft.Compute/disks",
- "location": "westus",
- "tags": {
- "department": "Development",
- "project": "ManagedDisks"
- },
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk",
- "name": "myManagedDisk"
- },
- {
- "properties": {
- "osType": "Windows",
- "creationData": {
- "createOption": "Empty"
- },
- "diskSizeGB": 10,
- "timeCreated": "2016-12-28T04:41:36.872242+00:00",
- "provisioningState": "Succeeded"
- },
- "type": "Microsoft.Compute/disks",
- "location": "westus",
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk",
- "name": "myManagedDisk"
- },
- {
- "properties": {
- "osType": "Windows",
- "creationData": {
- "createOption": "FromImage",
- "imageReference": {
- "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
- }
- },
- "diskSizeGB": 200,
- "encryptionSettings": {
- "enabled": true,
- "diskEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
- },
- "keyEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
- }
- },
- "timeCreated": "2016-12-28T04:41:36.3973934+00:00",
- "provisioningState": "Succeeded"
- },
- "type": "Microsoft.Compute/disks",
- "location": "westus",
- "tags": {
- "department": "Development",
- "project": "ManagedDisks"
- },
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk",
- "name": "myManagedDisk"
- }
- ],
- "nextLink": "http://disksvchost:99/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/Disks/myManagedDisk"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/ListManagedDisksInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/ListManagedDisksInASubscription.json
deleted file mode 100644
index c5079200d0fc..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/ListManagedDisksInASubscription.json
+++ /dev/null
@@ -1,102 +0,0 @@
-{
- "parameters": {
- "subscriptionId":"{subscription-id}",
- "api-version": "2018-09-30"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "properties": {
- "osType":"Windows",
- "creationData": {
- "createOption":"Copy",
- "sourceResourceId":"subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk1"
- },
- "diskSizeGB":200,
- "encryptionSettings": {
- "enabled":true,
- "diskEncryptionKey": {
- "sourceVault": {
- "id":"/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "secretUrl":"https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
- },
- "keyEncryptionKey": {
- "sourceVault": {
- "id":"/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "keyUrl":"https://myvmvault.vault-int.azure-int.net/keys/{key}"
- }
- },
- "timeCreated":"2016-12-28T04:41:35.9278721+00:00",
- "provisioningState":"Succeeded"
- },
- "type":"Microsoft.Compute/disks",
- "location":"westus",
- "tags": {
- "department":"Development",
- "project":"ManagedDisks"
- },
- "id":"/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk1",
- "name":"myManagedDisk1"
- },
- {
- "properties": {
- "osType":"Windows",
- "creationData": {
- "createOption":"Empty"
- },
- "diskSizeGB":10,
- "timeCreated":"2016-12-28T04:41:36.872242+00:00",
- "provisioningState":"Succeeded"
- },
- "type":"Microsoft.Compute/disks",
- "location":"westus",
- "id":"/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2",
- "name":"myManagedDisk2"
- },
- {
- "properties": {
- "osType":"Windows",
- "creationData": {
- "createOption":"FromImage",
- "imageReference": {
- "id":"/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
- }
- },
- "diskSizeGB":200,
- "encryptionSettings": {
- "enabled":true,
- "diskEncryptionKey": {
- "sourceVault": {
- "id":"/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "secretUrl":"https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
- },
- "keyEncryptionKey": {
- "sourceVault": {
- "id":"/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "keyUrl":"https://myvmvault.vault-int.azure-int.net/keys/{key}"
- }
- },
- "timeCreated":"2016-12-28T04:41:36.3973934+00:00",
- "provisioningState":"Succeeded"
- },
- "type":"Microsoft.Compute/disks",
- "location":"westus",
- "tags": {
- "department":"Development",
- "project":"ManagedDisks"
- },
- "id":"/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk3",
- "name":"myManagedDisk3"
- }
- ],
- "nextLink":"http://disksvchost:99/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/Disks/myManagedDisk"
- }
- }
- }
- }
\ No newline at end of file
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/ListSnapshotsInAResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/ListSnapshotsInAResourceGroup.json
deleted file mode 100644
index 6eb615c30790..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/ListSnapshotsInAResourceGroup.json
+++ /dev/null
@@ -1,50 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-09-30"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "properties": {
- "osType": "Windows",
- "creationData": {
- "createOption": "Copy",
- "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
- },
- "diskSizeGB": 200,
- "encryptionSettings": {
- "enabled": true,
- "diskEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
- },
- "keyEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
- }
- },
- "timeCreated": "2016-12-28T04:41:35.9278721+00:00",
- "provisioningState": "Succeeded"
- },
- "type": "Microsoft.Compute/snapshots",
- "location": "westus",
- "tags": {
- "department": "Development",
- "project": "Snapshots"
- },
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot",
- "name": "mySnapshot"
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/ListSnapshotsInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/ListSnapshotsInASubscription.json
deleted file mode 100644
index cf2324255ffc..000000000000
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-09-30/examples/ListSnapshotsInASubscription.json
+++ /dev/null
@@ -1,85 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "api-version": "2018-09-30"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "properties": {
- "osType": "Windows",
- "creationData": {
- "createOption": "Copy",
- "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
- },
- "diskSizeGB": 200,
- "encryptionSettings": {
- "enabled": true,
- "diskEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
- },
- "keyEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
- }
- },
- "timeCreated": "2016-12-28T04:47:30.6630569+00:00",
- "provisioningState": "Succeeded"
- },
- "type": "Microsoft.Compute/snapshots",
- "location": "westus",
- "tags": {
- "department": "Development",
- "project": "Snapshots"
- },
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1",
- "name": "mySnapshot1"
- },
- {
- "properties": {
- "osType": "Windows",
- "creationData": {
- "createOption": "Import",
- "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
- "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
- },
- "diskSizeGB": 200,
- "encryptionSettings": {
- "enabled": true,
- "diskEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
- },
- "keyEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
- }
- },
- "timeCreated": "2016-12-28T04:47:30.3247198+00:00",
- "provisioningState": "Succeeded"
- },
- "type": "Microsoft.Compute/snapshots",
- "location": "westus",
- "tags": {
- "department": "Development",
- "project": "Snapshots"
- },
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot2",
- "name": "mySnapshot2"
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json
index 5602ef217564..392a3784879c 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/compute.json
@@ -2159,13 +2159,13 @@
"type": "string",
"description": "The name of the virtual machine."
},
- {
+ {
"name": "parameters",
"in": "body",
"required": false,
"schema": {
"$ref": "#/definitions/VirtualMachineReimageParameters"
- },
+ },
"description": "Parameters supplied to the Reimage Virtual Machine operation."
},
{
@@ -4430,10 +4430,10 @@
"Aligned"
],
"x-ms-enum": {
- "name": "AvailabilitySetSkuTypes",
+ "name": "AvailabilitySetSkuTypes",
"modelAsString": true
}
- },
+ },
"AvailabilitySet": {
"properties": {
"properties": {
@@ -4814,8 +4814,8 @@
"AutomaticOSUpgradeProperties": {
"properties": {
"automaticOSUpgradeSupported": {
- "type": "boolean",
- "description": "Specifies whether automatic OS upgrade is supported on the image."
+ "type": "boolean",
+ "description": "Specifies whether automatic OS upgrade is supported on the image."
}
},
"required": [
@@ -5395,7 +5395,7 @@
"description": "Specifies whether writeAccelerator should be enabled or disabled on the disk."
},
"diffDiskSettings": {
- "$ref": "#/definitions/DiffDiskSettings",
+ "$ref": "#/definitions/DiffDiskSettings",
"description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine."
},
"createOption": {
@@ -6566,7 +6566,7 @@
"description": "Specifies how the virtual machines in the scale set should be created.
The only allowed value is: **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described."
},
"diffDiskSettings": {
- "$ref": "#/definitions/DiffDiskSettings",
+ "$ref": "#/definitions/DiffDiskSettings",
"description": "Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set."
},
"diskSizeGB": {
diff --git a/specification/compute/resource-manager/readme.md b/specification/compute/resource-manager/readme.md
index e72086c026b7..b8208e568ac3 100644
--- a/specification/compute/resource-manager/readme.md
+++ b/specification/compute/resource-manager/readme.md
@@ -34,7 +34,7 @@ These are the global settings for the Compute API.
title: ComputeManagementClient
description: Compute Client
openapi-type: arm
-tag: package-2018-10-01-Disks
+tag: package-2018-10-01
directive:
- where:
@@ -180,25 +180,12 @@ directive:
- where:
- $.definitions.ContainerService
suppress:
- - TrackedResourcePatchOperation
+ - TrackedResourcePatchOperation
reason:
- ACS service is deprecated so a PATCH endpoint won't be implemented
-```
-### Tag: package-2018-10-01-Disks
-
-These settings apply only when `--tag=package-2018-10-01-Disks` is specified on the command line.
-``` yaml $(tag) == 'package-2018-10-01-Disks'
-input-file:
-- Microsoft.Compute/stable/2018-10-01/compute.json
-- Microsoft.Compute/stable/2018-10-01/runCommands.json
-- Microsoft.Compute/stable/2017-09-01/skus.json
-- Microsoft.Compute/stable/2018-09-30/disk.json
-- Microsoft.Compute/stable/2018-06-01/gallery.json
-- Microsoft.ContainerService/stable/2017-01-31/containerService.json
```
-
### Tag: package-2018-10-01
These settings apply only when `--tag=package-2018-10-01` is specified on the command line.
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-01-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-01-01/consumption.json
index cd04975c9a91..750e025bbe37 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-01-01/consumption.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-01-01/consumption.json
@@ -2799,7 +2799,7 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The scope associated with budget operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.",
+ "description": "The scope associated with budget operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope..",
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
@@ -2925,22 +2925,6 @@
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
- },
- "billingProfileIdParameter": {
- "name": "billingProfileId",
- "in": "path",
- "description": "Azure Billing Profile ID.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "invoiceSectionIdParameter": {
- "name": "invoiceSectionId",
- "in": "path",
- "description": "Azure Invoice Section ID.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
}
}
}
\ No newline at end of file
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json
index 0b00fbf5f352..b12567ed2abf 100644
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json
+++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json
@@ -1035,8 +1035,7 @@
"properties": {
"name": {
"type": "string",
- "description": "Unique name of the agent pool profile in the context of the subscription and resource group.",
- "pattern": "^[a-z][a-z0-9]{0,11}$"
+ "description": "Unique name of the agent pool profile in the context of the subscription and resource group."
},
"count": {
"type": "integer",
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersCreate_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersCreate_Update.json
deleted file mode 100644
index bfe272480c8b..000000000000
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersCreate_Update.json
+++ /dev/null
@@ -1,150 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-02-01",
- "subscriptionId": "subid1",
- "resourceGroupName": "rg1",
- "resourceName": "clustername1",
- "parameters": {
- "location": "location1",
- "tags": {
- "tier": "production",
- "archv2": ""
- },
- "properties": {
- "kubernetesVersion": "",
- "dnsPrefix": "dnsprefix1",
- "agentPoolProfiles": [
- {
- "name": "nodepool1",
- "count": 3,
- "vmSize": "Standard_DS1_v2",
- "osType": "Linux"
- }
- ],
- "linuxProfile": {
- "adminUsername": "azureuser",
- "ssh": {
- "publicKeys": [
- {
- "keyData": "keydata"
- }
- ]
- }
- },
- "servicePrincipalProfile": {
- "clientId": "clientid",
- "secret": "secret"
- },
- "addonProfiles": {
- },
- "enableRBAC": true,
- "enablePodSecurityPolicy": true
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1",
- "location": "location1",
- "name": "clustername1",
- "tags": {
- "archv2": "",
- "tier": "production"
- },
- "type": "Microsoft.ContainerService/ManagedClusters",
- "properties": {
- "provisioningState": "Succeeded",
- "kubernetesVersion": "1.9.6",
- "dnsPrefix": "dnsprefix1",
- "agentPoolProfiles": [
- {
- "name": "nodepool1",
- "count": 3,
- "vmSize": "Standard_DS1_v2",
- "maxPods": 110,
- "osType": "Linux",
- "provisioningState": "Succeeded",
- "orchestratorVersion": "1.9.6"
- }
- ],
- "linuxProfile": {
- "adminUsername": "azureuser",
- "ssh": {
- "publicKeys": [
- {
- "keyData": "keydata"
- }
- ]
- }
- },
- "servicePrincipalProfile": {
- "clientId": "clientid"
- },
- "nodeResourceGroup": "MC_rg1_clustername1_location1",
- "enableRBAC": true,
- "enablePodSecurityPolicy": true,
- "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
- "networkProfile": {
- "networkPlugin": "kubenet",
- "podCidr": "10.244.0.0/16",
- "serviceCidr": "10.0.0.0/16",
- "dnsServiceIP": "10.0.0.10",
- "dockerBridgeCidr": "172.17.0.1/16"
- }
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1",
- "location": "location1",
- "name": "clustername1",
- "tags": {
- "archv2": "",
- "tier": "production"
- },
- "type": "Microsoft.ContainerService/ManagedClusters",
- "properties": {
- "provisioningState": "Creating",
- "kubernetesVersion": "1.9.6",
- "dnsPrefix": "dnsprefix1",
- "agentPoolProfiles": [
- {
- "name": "nodepool1",
- "count": 3,
- "vmSize": "Standard_DS1_v2",
- "maxPods": 110,
- "osType": "Linux",
- "provisioningState": "Creating",
- "orchestratorVersion": "1.9.6"
- }
- ],
- "linuxProfile": {
- "adminUsername": "azureuser",
- "ssh": {
- "publicKeys": [
- {
- "keyData": "keydata"
- }
- ]
- }
- },
- "servicePrincipalProfile": {
- "clientId": "clientid"
- },
- "nodeResourceGroup": "MC_rg1_clustername1_location1",
- "enableRBAC": true,
- "enablePodSecurityPolicy": true,
- "networkProfile": {
- "networkPlugin": "kubenet",
- "podCidr": "10.244.0.0/16",
- "serviceCidr": "10.0.0.0/16",
- "dnsServiceIP": "10.0.0.10",
- "dockerBridgeCidr": "172.17.0.1/16"
- }
- }
- }
- }
- }
-}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersDelete.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersDelete.json
deleted file mode 100644
index 9b4c818498fa..000000000000
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersDelete.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-02-01",
- "subscriptionId": "subid1",
- "resourceGroupName": "rg1",
- "resourceName": "clustername1"
- },
- "responses": {
- "202": {},
- "204": {}
- }
-}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersGet.json
deleted file mode 100644
index aa516f5637ed..000000000000
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersGet.json
+++ /dev/null
@@ -1,66 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-02-01",
- "subscriptionId": "subid1",
- "resourceGroupName": "rg1",
- "resourceName": "clustername1"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1",
- "location": "location1",
- "name": "clustername1",
- "tags": {
- "archv2": "",
- "tier": "production"
- },
- "type": "Microsoft.ContainerService/ManagedClusters",
- "properties": {
- "provisioningState": "Succeeded",
- "kubernetesVersion": "1.9.6",
- "dnsPrefix": "dnsprefix1",
- "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
- "agentPoolProfiles": [
- {
- "name": "nodepool1",
- "count": 3,
- "vmSize": "Standard_DS1_v2",
- "maxPods": 110,
- "osType": "Linux",
- "provisioningState": "Succeeded",
- "orchestratorVersion": "1.9.6",
- "availabilityZones": [
- "1",
- "2",
- "3"
- ]
- }
- ],
- "linuxProfile": {
- "adminUsername": "azureuser",
- "ssh": {
- "publicKeys": [
- {
- "keyData": "keydata"
- }
- ]
- }
- },
- "servicePrincipalProfile": {
- "clientId": "clientid"
- },
- "nodeResourceGroup": "MC_rg1_clustername1_location1",
- "enableRBAC": false,
- "networkProfile": {
- "networkPlugin": "kubenet",
- "podCidr": "10.244.0.0/16",
- "serviceCidr": "10.0.0.0/16",
- "dnsServiceIP": "10.0.0.10",
- "dockerBridgeCidr": "172.17.0.1/16"
- }
- }
- }
- }
- }
-}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersGetAccessProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersGetAccessProfile.json
deleted file mode 100644
index dc77c1e5fc90..000000000000
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersGetAccessProfile.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-02-01",
- "subscriptionId": "subid1",
- "resourceGroupName": "rg1",
- "resourceName": "clustername1",
- "roleName": "clusterUser"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/accessProfiles/clusterUser",
- "location": "location1",
- "name": "clusterUser",
- "properties": {
- "kubeConfig": "kubeConfig1"
- },
- "type": "Microsoft.ContainerService/ManagedClusters/AccessProfiles"
- }
- }
- }
-}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersGetUpgradeProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersGetUpgradeProfile.json
deleted file mode 100644
index 3736906dfa93..000000000000
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersGetUpgradeProfile.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-02-01",
- "subscriptionId": "subid1",
- "resourceGroupName": "rg1",
- "resourceName": "clustername1"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/upgradeprofiles/default",
- "name": "default",
- "properties": {
- "agentPoolProfiles": [
- {
- "kubernetesVersion": "1.7.7",
- "name": "agent",
- "osType": "Linux",
- "upgrades": [
- "1.8.1"
- ]
- }
- ],
- "controlPlaneProfile": {
- "kubernetesVersion": "1.7.7",
- "name": "master",
- "osType": "Linux",
- "upgrades": [
- "1.8.1"
- ]
- }
- },
- "type": "Microsoft.ContainerService/managedClusters/upgradeprofiles"
- }
- }
- }
-}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersList.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersList.json
deleted file mode 100644
index bb1ae1993fa3..000000000000
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersList.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-02-01",
- "subscriptionId": "subid1"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subid1/providers/Microsoft.ContainerService/managedClusters",
- "location": "location1",
- "name": "clustername1",
- "tags": {
- "archv2": "",
- "tier": "production"
- },
- "type": "Microsoft.ContainerService/ManagedClusters",
- "properties": {
- "provisioningState": "Succeeded",
- "kubernetesVersion": "1.9.6",
- "dnsPrefix": "dnsprefix1",
- "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
- "agentPoolProfiles": [
- {
- "name": "nodepool1",
- "count": 3,
- "vmSize": "Standard_DS1_v2",
- "maxPods": 110,
- "osType": "Linux",
- "provisioningState": "Succeeded",
- "orchestratorVersion": "1.9.6"
- }
- ],
- "linuxProfile": {
- "adminUsername": "azureuser",
- "ssh": {
- "publicKeys": [
- {
- "keyData": "keydata"
- }
- ]
- }
- },
- "servicePrincipalProfile": {
- "clientId": "clientid"
- },
- "nodeResourceGroup": "MC_rg1_clustername1_location1",
- "enableRBAC": false,
- "networkProfile": {
- "networkPlugin": "kubenet",
- "podCidr": "10.244.0.0/16",
- "serviceCidr": "10.0.0.0/16",
- "dnsServiceIP": "10.0.0.10",
- "dockerBridgeCidr": "172.17.0.1/16"
- }
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersListByResourceGroup.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersListByResourceGroup.json
deleted file mode 100644
index 57062eaf45d9..000000000000
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersListByResourceGroup.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-02-01",
- "subscriptionId": "subid1",
- "resourceGroupName": "rg1"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters",
- "location": "location1",
- "name": "clustername1",
- "tags": {
- "archv2": "",
- "tier": "production"
- },
- "type": "Microsoft.ContainerService/ManagedClusters",
- "properties": {
- "provisioningState": "Succeeded",
- "kubernetesVersion": "1.9.6",
- "dnsPrefix": "dnsprefix1",
- "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
- "agentPoolProfiles": [
- {
- "name": "nodepool1",
- "count": 3,
- "vmSize": "Standard_DS1_v2",
- "maxPods": 110,
- "osType": "Linux",
- "provisioningState": "Succeeded",
- "orchestratorVersion": "1.9.6"
- }
- ],
- "linuxProfile": {
- "adminUsername": "azureuser",
- "ssh": {
- "publicKeys": [
- {
- "keyData": "keydata"
- }
- ]
- }
- },
- "servicePrincipalProfile": {
- "clientId": "clientid"
- },
- "nodeResourceGroup": "MC_rg1_clustername1_location1",
- "enableRBAC": false,
- "networkProfile": {
- "networkPlugin": "kubenet",
- "podCidr": "10.244.0.0/16",
- "serviceCidr": "10.0.0.0/16",
- "dnsServiceIP": "10.0.0.10",
- "dockerBridgeCidr": "172.17.0.1/16"
- }
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersListClusterCredentialResult.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersListClusterCredentialResult.json
deleted file mode 100644
index 6f432b44ce78..000000000000
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersListClusterCredentialResult.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-02-01",
- "subscriptionId": "subid1",
- "resourceGroupName": "rg1",
- "resourceName": "clustername1"
- },
- "responses": {
- "200": {
- "body": {
- "kubeconfigs": [
- {
- "name": "credentialName1",
- "value": "credentialValue1"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersResetAADProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersResetAADProfile.json
deleted file mode 100644
index b2d9d7b2c3eb..000000000000
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersResetAADProfile.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-02-01",
- "subscriptionId": "subid1",
- "resourceGroupName": "rg1",
- "resourceName": "clustername1",
- "parameters": {
- "clientAppID": "clientappid",
- "serverAppID": "serverappid",
- "serverAppSecret": "serverappsecret",
- "tenantID": "tenantid"
- }
- },
- "responses": {
- "200": {},
- "202": {}
- }
- }
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersResetServicePrincipalProfile.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersResetServicePrincipalProfile.json
deleted file mode 100644
index c8dd88bdb71a..000000000000
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersResetServicePrincipalProfile.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-02-01",
- "subscriptionId": "subid1",
- "resourceGroupName": "rg1",
- "resourceName": "clustername1",
- "parameters": {
- "clientId": "clientid",
- "secret": "secret"
- }
- },
- "responses": {
- "200": {},
- "202": {}
- }
- }
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersUpdateTags.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersUpdateTags.json
deleted file mode 100644
index 2f8698519d63..000000000000
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/examples/ManagedClustersUpdateTags.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-02-01",
- "subscriptionId": "subid1",
- "resourceGroupName": "rg1",
- "resourceName": "clustername1",
- "parameters": {
- "tags": {
- "tier": "testing",
- "archv3": ""
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid1/resourcegroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1",
- "location": "location1",
- "name": "clustername1",
- "tags": {
- "archv3": "",
- "tier": "testing"
- },
- "type": "Microsoft.ContainerService/ManagedClusters",
- "properties": {
- "provisioningState": "Succeeded",
- "kubernetesVersion": "1.9.6",
- "dnsPrefix": "dnsprefix1",
- "agentPoolProfiles": [
- {
- "name": "nodepool1",
- "count": 3,
- "vmSize": "Standard_DS1_v2",
- "maxPods": 110,
- "osType": "Linux",
- "provisioningState": "Succeeded",
- "orchestratorVersion": "1.9.6"
- }
- ],
- "linuxProfile": {
- "adminUsername": "azureuser",
- "ssh": {
- "publicKeys": [
- {
- "keyData": "keydata"
- }
- ]
- }
- },
- "servicePrincipalProfile": {
- "clientId": "clientid"
- },
- "nodeResourceGroup": "MC_rg1_clustername1_location1",
- "enableRBAC": false,
- "fqdn": "dnsprefix1-abcd1234.hcp.eastus.azmk8s.io",
- "networkProfile": {
- "networkPlugin": "kubenet",
- "podCidr": "10.244.0.0/16",
- "serviceCidr": "10.0.0.0/16",
- "dnsServiceIP": "10.0.0.10",
- "dockerBridgeCidr": "172.17.0.1/16"
- }
- }
- }
- }
- }
-}
diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/managedClusters.json
deleted file mode 100644
index 488431930d78..000000000000
--- a/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-02-01/managedClusters.json
+++ /dev/null
@@ -1,1727 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "ContainerServiceClient",
- "description": "The Container Service Client.",
- "version": "2019-02-01"
- },
- "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.ContainerService/operations": {
- "get": {
- "tags": [
- "managedClusters"
- ],
- "operationId": "Operations_List",
- "description": "Gets a list of compute operations.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/OperationListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters": {
- "get": {
- "tags": [
- "ManagedClusters"
- ],
- "operationId": "ManagedClusters_List",
- "summary": "Gets a list of managed clusters in the specified subscription.",
- "description": "Gets a list of managed clusters in the specified subscription. The operation returns properties of each managed cluster.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ManagedClusterListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List Managed Clusters": {
- "$ref": "./examples/ManagedClustersList.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters": {
- "get": {
- "tags": [
- "ManagedClusters"
- ],
- "operationId": "ManagedClusters_ListByResourceGroup",
- "summary": "Lists managed clusters in the specified subscription and resource group.",
- "description": "Lists managed clusters in the specified subscription and resource group. The operation returns properties of each managed cluster.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "minLength": 1,
- "description": "The name of the resource group."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ManagedClusterListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "Get Managed Clusters by Resource Group": {
- "$ref": "./examples/ManagedClustersListByResourceGroup.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/upgradeProfiles/default": {
- "get": {
- "tags": [
- "ManagedClusters"
- ],
- "operationId": "ManagedClusters_GetUpgradeProfile",
- "summary": "Gets upgrade profile for a managed cluster.",
- "description": "Gets the details of the upgrade profile for a managed cluster with a specified resource group and name.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "minLength": 1,
- "description": "The name of the resource group."
- },
- {
- "name": "resourceName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the managed cluster resource."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ManagedClusterUpgradeProfile"
- }
- }
- },
- "x-ms-examples": {
- "Get Upgrade Profile for Managed Cluster": {
- "$ref": "./examples/ManagedClustersGetUpgradeProfile.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/accessProfiles/{roleName}/listCredential": {
- "post": {
- "tags": [
- "ManagedClusters"
- ],
- "operationId": "ManagedClusters_GetAccessProfile",
- "summary": "Gets an access profile of a managed cluster.",
- "description": "Gets the accessProfile for the specified role name of the managed cluster with a specified resource group and name.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "minLength": 1,
- "description": "The name of the resource group."
- },
- {
- "name": "resourceName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the managed cluster resource."
- },
- {
- "name": "roleName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the role for managed cluster accessProfile resource."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ManagedClusterAccessProfile"
- }
- }
- },
- "x-ms-examples": {
- "Get Managed Cluster": {
- "$ref": "./examples/ManagedClustersGetAccessProfile.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterAdminCredential": {
- "post": {
- "tags": [
- "ManagedClusters"
- ],
- "operationId": "ManagedClusters_ListClusterAdminCredentials",
- "summary": "Gets cluster admin credential of a managed cluster.",
- "description": "Gets cluster admin credential of the managed cluster with a specified resource group and name.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "minLength": 1,
- "description": "The name of the resource group."
- },
- {
- "name": "resourceName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the managed cluster resource."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/CredentialResults"
- }
- }
- },
- "x-ms-examples": {
- "Get Managed Cluster": {
- "$ref": "./examples/ManagedClustersListClusterCredentialResult.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/listClusterUserCredential": {
- "post": {
- "tags": [
- "ManagedClusters"
- ],
- "operationId": "ManagedClusters_ListClusterUserCredentials",
- "summary": "Gets cluster user credential of a managed cluster.",
- "description": "Gets cluster user credential of the managed cluster with a specified resource group and name.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "minLength": 1,
- "description": "The name of the resource group."
- },
- {
- "name": "resourceName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the managed cluster resource."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/CredentialResults"
- }
- }
- },
- "x-ms-examples": {
- "Get Managed Cluster": {
- "$ref": "./examples/ManagedClustersListClusterCredentialResult.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}": {
- "get": {
- "tags": [
- "ManagedClusters"
- ],
- "operationId": "ManagedClusters_Get",
- "summary": "Gets a managed cluster.",
- "description": "Gets the details of the managed cluster with a specified resource group and name.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "minLength": 1,
- "description": "The name of the resource group."
- },
- {
- "name": "resourceName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the managed cluster resource."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ManagedCluster"
- }
- }
- },
- "x-ms-examples": {
- "Get Managed Cluster": {
- "$ref": "./examples/ManagedClustersGet.json"
- }
- }
- },
- "put": {
- "tags": [
- "ManagedClusters"
- ],
- "operationId": "ManagedClusters_CreateOrUpdate",
- "summary": "Creates or updates a managed cluster.",
- "description": "Creates or updates a managed cluster with the specified configuration for agents and Kubernetes version.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "minLength": 1,
- "description": "The name of the resource group."
- },
- {
- "name": "resourceName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the managed cluster resource."
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ManagedCluster"
- },
- "description": "Parameters supplied to the Create or Update a Managed Cluster operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ManagedCluster"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/ManagedCluster"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Create/Update Managed Cluster": {
- "$ref": "./examples/ManagedClustersCreate_Update.json"
- }
- }
- },
- "patch": {
- "tags": [
- "ManagedClusters"
- ],
- "operationId": "ManagedClusters_UpdateTags",
- "summary": "Updates tags on a managed cluster.",
- "description": "Updates a managed cluster with the specified tags.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "minLength": 1,
- "description": "The name of the resource group."
- },
- {
- "name": "resourceName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the managed cluster resource."
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/TagsObject"
- },
- "description": "Parameters supplied to the Update Managed Cluster Tags operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ManagedCluster"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Update Managed Cluster Tags": {
- "$ref": "./examples/ManagedClustersUpdateTags.json"
- }
- }
- },
- "delete": {
- "tags": [
- "ManagedClusters"
- ],
- "operationId": "ManagedClusters_Delete",
- "summary": "Deletes a managed cluster.",
- "description": "Deletes the managed cluster with a specified resource group and name.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "minLength": 1,
- "description": "The name of the resource group."
- },
- {
- "name": "resourceName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the managed cluster resource."
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted"
- },
- "204": {
- "description": "NoContent"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Delete Managed Cluster": {
- "$ref": "./examples/ManagedClustersDelete.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetServicePrincipalProfile": {
- "post": {
- "tags": [
- "ManagedClusters"
- ],
- "operationId": "ManagedClusters_ResetServicePrincipalProfile",
- "summary": "Reset Service Principal Profile of a managed cluster.",
- "description": "Update the service principal Profile for a managed cluster.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "minLength": 1,
- "description": "The name of the resource group."
- },
- {
- "name": "resourceName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the managed cluster resource."
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ManagedClusterServicePrincipalProfile"
- },
- "description": "Parameters supplied to the Reset Service Principal Profile operation for a Managed Cluster."
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
- },
- "default": {
- "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Reset Service Principal Profile": {
- "$ref": "./examples/ManagedClustersResetServicePrincipalProfile.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/resetAADProfile": {
- "post": {
- "tags": [
- "ManagedClusters"
- ],
- "operationId": "ManagedClusters_ResetAADProfile",
- "summary": "Reset AAD Profile of a managed cluster.",
- "description": "Update the AAD Profile for a managed cluster.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "minLength": 1,
- "description": "The name of the resource group."
- },
- {
- "name": "resourceName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the managed cluster resource."
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ManagedClusterAADProfile"
- },
- "description": "Parameters supplied to the Reset AAD Profile operation for a Managed Cluster."
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
- },
- "default": {
- "description": "Error response describing why the operation failed. If the cluster doesn't exist, 404 (Not found) is returned.",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Reset AAD Profile": {
- "$ref": "./examples/ManagedClustersResetAADProfile.json"
- }
- }
- }
- }
- },
- "definitions": {
- "OperationListResult": {
- "properties": {
- "value": {
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/OperationValue"
- },
- "description": "The list of compute operations"
- }
- },
- "description": "The List Compute Operation operation response."
- },
- "OperationValue": {
- "properties": {
- "origin": {
- "type": "string",
- "readOnly": true,
- "description": "The origin of the compute operation."
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "The name of the compute operation."
- },
- "display": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/OperationValueDisplay",
- "description": "Describes the properties of a Compute Operation Value Display."
- }
- },
- "description": "Describes the properties of a Compute Operation value."
- },
- "OperationValueDisplay": {
- "properties": {
- "operation": {
- "type": "string",
- "readOnly": true,
- "description": "The display name of the compute operation."
- },
- "resource": {
- "type": "string",
- "readOnly": true,
- "description": "The display name of the resource the operation applies to."
- },
- "description": {
- "type": "string",
- "readOnly": true,
- "description": "The description of the operation."
- },
- "provider": {
- "type": "string",
- "readOnly": true,
- "description": "The resource provider for the operation."
- }
- },
- "description": "Describes the properties of a Compute Operation Value Display."
- },
- "Resource": {
- "description": "The Resource model definition.",
- "properties": {
- "id": {
- "readOnly": true,
- "type": "string",
- "description": "Resource Id"
- },
- "name": {
- "readOnly": true,
- "type": "string",
- "description": "Resource name"
- },
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Resource type"
- },
- "location": {
- "type": "string",
- "description": "Resource location",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "required": [
- "location"
- ],
- "x-ms-azure-resource": true
- },
- "SubResource": {
- "properties": {
- "id": {
- "readOnly": true,
- "type": "string",
- "description": "Resource ID."
- },
- "name": {
- "readOnly": true,
- "type": "string",
- "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
- },
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Resource type"
- }
- },
- "description": "Reference to another subresource.",
- "x-ms-azure-resource": true
- },
- "TagsObject": {
- "properties": {
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags."
- }
- },
- "description": "Tags object for patch operations."
- },
- "ContainerServiceOSDisk": {
- "type": "integer",
- "format": "int32",
- "maximum": 1023,
- "minimum": 0,
- "description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified."
- },
- "ContainerServiceStorageProfile": {
- "type": "string",
- "x-ms-enum": {
- "name": "ContainerServiceStorageProfileTypes",
- "modelAsString": true
- },
- "enum": [
- "StorageAccount",
- "ManagedDisks"
- ],
- "description": "Storage profile specifies what kind of storage used. Choose from StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice."
- },
- "ContainerServiceVnetSubnetID": {
- "type": "string",
- "description": "VNet SubnetID specifies the VNet's subnet identifier."
- },
- "ContainerServiceVMSize": {
- "type": "string",
- "x-ms-enum": {
- "name": "ContainerServiceVMSizeTypes",
- "modelAsString": true
- },
- "description": "Size of agent VMs.",
- "enum": [
- "Standard_A1",
- "Standard_A10",
- "Standard_A11",
- "Standard_A1_v2",
- "Standard_A2",
- "Standard_A2_v2",
- "Standard_A2m_v2",
- "Standard_A3",
- "Standard_A4",
- "Standard_A4_v2",
- "Standard_A4m_v2",
- "Standard_A5",
- "Standard_A6",
- "Standard_A7",
- "Standard_A8",
- "Standard_A8_v2",
- "Standard_A8m_v2",
- "Standard_A9",
- "Standard_B2ms",
- "Standard_B2s",
- "Standard_B4ms",
- "Standard_B8ms",
- "Standard_D1",
- "Standard_D11",
- "Standard_D11_v2",
- "Standard_D11_v2_Promo",
- "Standard_D12",
- "Standard_D12_v2",
- "Standard_D12_v2_Promo",
- "Standard_D13",
- "Standard_D13_v2",
- "Standard_D13_v2_Promo",
- "Standard_D14",
- "Standard_D14_v2",
- "Standard_D14_v2_Promo",
- "Standard_D15_v2",
- "Standard_D16_v3",
- "Standard_D16s_v3",
- "Standard_D1_v2",
- "Standard_D2",
- "Standard_D2_v2",
- "Standard_D2_v2_Promo",
- "Standard_D2_v3",
- "Standard_D2s_v3",
- "Standard_D3",
- "Standard_D32_v3",
- "Standard_D32s_v3",
- "Standard_D3_v2",
- "Standard_D3_v2_Promo",
- "Standard_D4",
- "Standard_D4_v2",
- "Standard_D4_v2_Promo",
- "Standard_D4_v3",
- "Standard_D4s_v3",
- "Standard_D5_v2",
- "Standard_D5_v2_Promo",
- "Standard_D64_v3",
- "Standard_D64s_v3",
- "Standard_D8_v3",
- "Standard_D8s_v3",
- "Standard_DS1",
- "Standard_DS11",
- "Standard_DS11_v2",
- "Standard_DS11_v2_Promo",
- "Standard_DS12",
- "Standard_DS12_v2",
- "Standard_DS12_v2_Promo",
- "Standard_DS13",
- "Standard_DS13-2_v2",
- "Standard_DS13-4_v2",
- "Standard_DS13_v2",
- "Standard_DS13_v2_Promo",
- "Standard_DS14",
- "Standard_DS14-4_v2",
- "Standard_DS14-8_v2",
- "Standard_DS14_v2",
- "Standard_DS14_v2_Promo",
- "Standard_DS15_v2",
- "Standard_DS1_v2",
- "Standard_DS2",
- "Standard_DS2_v2",
- "Standard_DS2_v2_Promo",
- "Standard_DS3",
- "Standard_DS3_v2",
- "Standard_DS3_v2_Promo",
- "Standard_DS4",
- "Standard_DS4_v2",
- "Standard_DS4_v2_Promo",
- "Standard_DS5_v2",
- "Standard_DS5_v2_Promo",
- "Standard_E16_v3",
- "Standard_E16s_v3",
- "Standard_E2_v3",
- "Standard_E2s_v3",
- "Standard_E32-16s_v3",
- "Standard_E32-8s_v3",
- "Standard_E32_v3",
- "Standard_E32s_v3",
- "Standard_E4_v3",
- "Standard_E4s_v3",
- "Standard_E64-16s_v3",
- "Standard_E64-32s_v3",
- "Standard_E64_v3",
- "Standard_E64s_v3",
- "Standard_E8_v3",
- "Standard_E8s_v3",
- "Standard_F1",
- "Standard_F16",
- "Standard_F16s",
- "Standard_F16s_v2",
- "Standard_F1s",
- "Standard_F2",
- "Standard_F2s",
- "Standard_F2s_v2",
- "Standard_F32s_v2",
- "Standard_F4",
- "Standard_F4s",
- "Standard_F4s_v2",
- "Standard_F64s_v2",
- "Standard_F72s_v2",
- "Standard_F8",
- "Standard_F8s",
- "Standard_F8s_v2",
- "Standard_G1",
- "Standard_G2",
- "Standard_G3",
- "Standard_G4",
- "Standard_G5",
- "Standard_GS1",
- "Standard_GS2",
- "Standard_GS3",
- "Standard_GS4",
- "Standard_GS4-4",
- "Standard_GS4-8",
- "Standard_GS5",
- "Standard_GS5-16",
- "Standard_GS5-8",
- "Standard_H16",
- "Standard_H16m",
- "Standard_H16mr",
- "Standard_H16r",
- "Standard_H8",
- "Standard_H8m",
- "Standard_L16s",
- "Standard_L32s",
- "Standard_L4s",
- "Standard_L8s",
- "Standard_M128-32ms",
- "Standard_M128-64ms",
- "Standard_M128ms",
- "Standard_M128s",
- "Standard_M64-16ms",
- "Standard_M64-32ms",
- "Standard_M64ms",
- "Standard_M64s",
- "Standard_NC12",
- "Standard_NC12s_v2",
- "Standard_NC12s_v3",
- "Standard_NC24",
- "Standard_NC24r",
- "Standard_NC24rs_v2",
- "Standard_NC24rs_v3",
- "Standard_NC24s_v2",
- "Standard_NC24s_v3",
- "Standard_NC6",
- "Standard_NC6s_v2",
- "Standard_NC6s_v3",
- "Standard_ND12s",
- "Standard_ND24rs",
- "Standard_ND24s",
- "Standard_ND6s",
- "Standard_NV12",
- "Standard_NV24",
- "Standard_NV6"
- ]
- },
- "ManagedClusterServicePrincipalProfile": {
- "properties": {
- "clientId": {
- "type": "string",
- "description": "The ID for the service principal."
- },
- "secret": {
- "type": "string",
- "description": "The secret password associated with the service principal in plain text."
- }
- },
- "description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs.",
- "required": [
- "clientId"
- ]
- },
- "ContainerServiceMasterProfile": {
- "properties": {
- "count": {
- "type": "integer",
- "format": "int32",
- "enum": [
- 1,
- 3,
- 5
- ],
- "x-ms-enum": {
- "name": "Count",
- "modelAsString": false
- },
- "description": "Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The default value is 1.",
- "default": 1
- },
- "dnsPrefix": {
- "type": "string",
- "description": "DNS prefix to be used to create the FQDN for the master pool."
- },
- "vmSize": {
- "$ref": "#/definitions/ContainerServiceVMSize",
- "description": "Size of agent VMs."
- },
- "osDiskSizeGB": {
- "$ref": "#/definitions/ContainerServiceOSDisk",
- "description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified."
- },
- "vnetSubnetID": {
- "$ref": "#/definitions/ContainerServiceVnetSubnetID",
- "description": "VNet SubnetID specifies the VNet's subnet identifier."
- },
- "firstConsecutiveStaticIP": {
- "type": "string",
- "description": "FirstConsecutiveStaticIP used to specify the first static ip of masters.",
- "default": "10.240.255.5"
- },
- "storageProfile": {
- "$ref": "#/definitions/ContainerServiceStorageProfile",
- "description": "Storage profile specifies what kind of storage used. Choose from StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice."
- },
- "fqdn": {
- "readOnly": true,
- "type": "string",
- "description": "FQDN for the master pool."
- }
- },
- "required": [
- "dnsPrefix",
- "vmSize"
- ],
- "description": "Profile for the container service master."
- },
- "ManagedClusterAgentPoolProfileProperties": {
- "properties": {
- "count": {
- "type": "integer",
- "format": "int32",
- "maximum": 100,
- "minimum": 1,
- "description": "Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. ",
- "default": 1
- },
- "vmSize": {
- "$ref": "#/definitions/ContainerServiceVMSize",
- "description": "Size of agent VMs."
- },
- "osDiskSizeGB": {
- "$ref": "#/definitions/ContainerServiceOSDisk",
- "description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified."
- },
- "vnetSubnetID": {
- "$ref": "#/definitions/ContainerServiceVnetSubnetID",
- "description": "VNet SubnetID specifies the VNet's subnet identifier."
- },
- "maxPods": {
- "type": "integer",
- "format": "int32",
- "description": "Maximum number of pods that can run on a node."
- },
- "osType": {
- "$ref": "#/definitions/OSType",
- "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
- },
- "maxCount": {
- "type": "integer",
- "format": "int32",
- "description": "Maximum number of nodes for auto-scaling"
- },
- "minCount": {
- "type": "integer",
- "format": "int32",
- "description": "Minimum number of nodes for auto-scaling"
- },
- "enableAutoScaling": {
- "type": "boolean",
- "description": "Whether to enable auto-scaler"
- },
- "type": {
- "$ref": "#/definitions/AgentPoolType",
- "description": "AgentPoolType represents types of an agent pool"
- },
- "orchestratorVersion": {
- "type": "string",
- "description": "Version of orchestrator specified when creating the managed cluster."
- },
- "provisioningState": {
- "readOnly": true,
- "type": "string",
- "description": "The current deployment or provisioning state, which only appears in the response."
- },
- "availabilityZones": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "(PREVIEW) Availability zones for nodes. Must use VirtualMachineScaleSets AgentPoolType."
- }
- },
- "required": [
- "vmSize",
- "count"
- ],
- "description": "Properties for the container service agent pool profile."
- },
- "ManagedClusterAgentPoolProfile": {
- "allOf": [
- {
- "$ref": "#/definitions/ManagedClusterAgentPoolProfileProperties"
- },
- {
- "properties": {
- "name": {
- "type": "string",
- "description": "Unique name of the agent pool profile in the context of the subscription and resource group."
- }
- }
- }
- ],
- "required": [
- "name"
- ],
- "description": "Profile for the container service agent pool."
- },
- "AgentPoolType": {
- "type": "string",
- "enum": [
- "VirtualMachineScaleSets",
- "AvailabilitySet"
- ],
- "x-ms-enum": {
- "name": "AgentPoolType",
- "modelAsString": true
- },
- "description": "AgentPoolType represents types of an agent pool. VirtualMachineScaleSets type is still in PREVIEW."
- },
- "AgentPoolListResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AgentPool"
- },
- "description": "The list of agent pools."
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to get the next set of agent pool results.",
- "readOnly": true
- }
- },
- "description": "The response from the List Agent Pools operation."
- },
- "AgentPool": {
- "allOf": [
- {
- "$ref": "#/definitions/SubResource"
- },
- {
- "properties": {
- "properties": {
- "description": "Properties of an agent pool.",
- "$ref": "#/definitions/ManagedClusterAgentPoolProfileProperties",
- "x-ms-client-flatten": true
- }
- }
- }
- ],
- "description": "Agent Pool."
- },
- "ContainerServiceWindowsProfile": {
- "properties": {
- "adminUsername": {
- "type": "string",
- "description": "The administrator username to use for Windows VMs.",
- "pattern": "^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$"
- },
- "adminPassword": {
- "type": "string",
- "description": "The administrator password to use for Windows VMs.",
- "pattern": "^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\\^&\\*\\(\\)])[a-zA-Z\\d!@#$%\\^&\\*\\(\\)]{12,123}$"
- }
- },
- "required": [
- "adminUsername",
- "adminPassword"
- ],
- "description": "Profile for Windows VMs in the container service cluster."
- },
- "ContainerServiceLinuxProfile": {
- "properties": {
- "adminUsername": {
- "type": "string",
- "description": "The administrator username to use for Linux VMs.",
- "pattern": "^[A-Za-z][-A-Za-z0-9_]*$"
- },
- "ssh": {
- "$ref": "#/definitions/ContainerServiceSshConfiguration",
- "description": "SSH configuration for Linux-based VMs running on Azure."
- }
- },
- "required": [
- "adminUsername",
- "ssh"
- ],
- "description": "Profile for Linux VMs in the container service cluster."
- },
- "ContainerServiceNetworkProfile": {
- "properties": {
- "networkPlugin": {
- "type": "string",
- "enum": [
- "azure",
- "kubenet"
- ],
- "default": "kubenet",
- "x-ms-enum": {
- "name": "NetworkPlugin",
- "modelAsString": true
- },
- "description": "Network plugin used for building Kubernetes network."
- },
- "networkPolicy": {
- "type": "string",
- "enum": [
- "calico",
- "azure"
- ],
- "x-ms-enum": {
- "name": "NetworkPolicy",
- "modelAsString": true
- },
- "description": "Network policy used for building Kubernetes network."
- },
- "podCidr": {
- "type": "string",
- "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
- "default": "10.244.0.0/16",
- "description": "A CIDR notation IP range from which to assign pod IPs when kubenet is used."
- },
- "serviceCidr": {
- "type": "string",
- "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
- "default": "10.0.0.0/16",
- "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges."
- },
- "dnsServiceIP": {
- "type": "string",
- "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
- "default": "10.0.0.10",
- "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr."
- },
- "dockerBridgeCidr": {
- "type": "string",
- "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
- "default": "172.17.0.1/16",
- "description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range."
- }
- },
- "description": "Profile of network configuration."
- },
- "ContainerServiceSshConfiguration": {
- "properties": {
- "publicKeys": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ContainerServiceSshPublicKey"
- },
- "description": "The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified."
- }
- },
- "description": "SSH configuration for Linux-based VMs running on Azure.",
- "required": [
- "publicKeys"
- ]
- },
- "ContainerServiceSshPublicKey": {
- "properties": {
- "keyData": {
- "type": "string",
- "description": "Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers."
- }
- },
- "required": [
- "keyData"
- ],
- "description": "Contains information about SSH certificate public key data."
- },
- "ContainerServiceDiagnosticsProfile": {
- "properties": {
- "vmDiagnostics": {
- "$ref": "#/definitions/ContainerServiceVMDiagnostics",
- "description": "Profile for diagnostics on the container service VMs."
- }
- },
- "description": "Profile for diagnostics on the container service cluster.",
- "required": [
- "vmDiagnostics"
- ]
- },
- "ContainerServiceVMDiagnostics": {
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Whether the VM diagnostic agent is provisioned on the VM."
- },
- "storageUri": {
- "readOnly": true,
- "type": "string",
- "description": "The URI of the storage account where diagnostics are stored."
- }
- },
- "description": "Profile for diagnostics on the container service VMs.",
- "required": [
- "enabled"
- ]
- },
- "ManagedClusterListResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ManagedCluster"
- },
- "description": "The list of managed clusters."
- },
- "nextLink": {
- "type": "string",
- "description": "The URL to get the next set of managed cluster results.",
- "readOnly": true
- }
- },
- "description": "The response from the List Managed Clusters operation."
- },
- "ManagedCluster": {
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- },
- {
- "properties": {
- "properties": {
- "description": "Properties of a managed cluster.",
- "$ref": "#/definitions/ManagedClusterProperties",
- "x-ms-client-flatten": true
- }
- }
- }
- ],
- "description": "Managed cluster."
- },
- "ManagedClusterProperties": {
- "properties": {
- "provisioningState": {
- "readOnly": true,
- "type": "string",
- "description": "The current deployment or provisioning state, which only appears in the response."
- },
- "kubernetesVersion": {
- "type": "string",
- "description": "Version of Kubernetes specified when creating the managed cluster."
- },
- "dnsPrefix": {
- "type": "string",
- "description": "DNS prefix specified when creating the managed cluster."
- },
- "fqdn": {
- "readOnly": true,
- "type": "string",
- "description": "FQDN for the master pool."
- },
- "agentPoolProfiles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ManagedClusterAgentPoolProfile"
- },
- "description": "Properties of the agent pool."
- },
- "linuxProfile": {
- "$ref": "#/definitions/ContainerServiceLinuxProfile",
- "description": "Profile for Linux VMs in the container service cluster."
- },
- "servicePrincipalProfile": {
- "$ref": "#/definitions/ManagedClusterServicePrincipalProfile",
- "description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs."
- },
- "addonProfiles": {
- "additionalProperties": {
- "$ref": "#/definitions/ManagedClusterAddonProfile"
- },
- "description": "Profile of managed cluster add-on."
- },
- "nodeResourceGroup": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the resource group containing agent pool nodes."
- },
- "enableRBAC": {
- "type": "boolean",
- "description": "Whether to enable Kubernetes Role-Based Access Control."
- },
- "enablePodSecurityPolicy": {
- "type": "boolean",
- "description": "(PREVIEW) Whether to enable Kubernetes Pod security policy."
- },
- "networkProfile": {
- "$ref": "#/definitions/ContainerServiceNetworkProfile",
- "description": "Profile of network configuration."
- },
- "aadProfile": {
- "$ref": "#/definitions/ManagedClusterAADProfile",
- "description": "Profile of Azure Active Directory configuration."
- },
- "apiServerAuthorizedIPRanges": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "(PREVIEW) Authorized IP Ranges to kubernetes API server."
- }
- },
- "description": "Properties of the managed cluster."
- },
- "OrchestratorProfile": {
- "properties": {
- "orchestratorType": {
- "type": "string",
- "description": "Orchestrator type."
- },
- "orchestratorVersion": {
- "type": "string",
- "description": "Orchestrator version (major, minor, patch)."
- }
- },
- "required": [
- "orchestratorType",
- "orchestratorVersion"
- ],
- "description": "Contains information about orchestrator."
- },
- "ManagedClusterAccessProfile": {
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- },
- {
- "properties": {
- "properties": {
- "description": "AccessProfile of a managed cluster.",
- "$ref": "#/definitions/AccessProfile",
- "x-ms-client-flatten": true
- }
- }
- }
- ],
- "description": "Managed cluster Access Profile.",
- "x-ms-azure-resource": false
- },
- "AccessProfile": {
- "type": "object",
- "properties": {
- "kubeConfig": {
- "type": "string",
- "format": "byte",
- "description": "Base64-encoded Kubernetes configuration file."
- }
- },
- "description": "Profile for enabling a user to access a managed cluster."
- },
- "ManagedClusterPoolUpgradeProfile": {
- "properties": {
- "kubernetesVersion": {
- "type": "string",
- "description": "Kubernetes version (major, minor, patch)."
- },
- "name": {
- "type": "string",
- "description": "Pool name."
- },
- "osType": {
- "$ref": "#/definitions/OSType",
- "enum": [
- "Linux",
- "Windows"
- ],
- "x-ms-enum": {
- "name": "ContainerServiceOSTypes",
- "modelAsString": true
- },
- "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
- },
- "upgrades": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "List of orchestrator types and versions available for upgrade."
- }
- },
- "required": [
- "kubernetesVersion",
- "osType"
- ],
- "description": "The list of available upgrade versions."
- },
- "ManagedClusterUpgradeProfileProperties": {
- "properties": {
- "controlPlaneProfile": {
- "$ref": "#/definitions/ManagedClusterPoolUpgradeProfile",
- "description": "The list of available upgrade versions for the control plane."
- },
- "agentPoolProfiles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ManagedClusterPoolUpgradeProfile"
- },
- "description": "The list of available upgrade versions for agent pools."
- }
- },
- "required": [
- "controlPlaneProfile",
- "agentPoolProfiles"
- ],
- "description": "Control plane and agent pool upgrade profiles."
- },
- "ManagedClusterAADProfile": {
- "properties": {
- "clientAppID": {
- "type": "string",
- "description": "The client AAD application ID."
- },
- "serverAppID": {
- "type": "string",
- "description": "The server AAD application ID."
- },
- "serverAppSecret": {
- "type": "string",
- "description": "The server AAD application secret."
- },
- "tenantID": {
- "type": "string",
- "description": "The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription."
- }
- },
- "required": [
- "clientAppID",
- "serverAppID"
- ],
- "description": "AADProfile specifies attributes for Azure Active Directory integration."
- },
- "ManagedClusterAddonProfile": {
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Whether the add-on is enabled or not."
- },
- "config": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Key-value pairs for configuring an add-on."
- }
- },
- "required": [
- "enabled"
- ],
- "description": "A Kubernetes add-on profile for a managed cluster."
- },
- "ManagedClusterUpgradeProfile": {
- "properties": {
- "id": {
- "readOnly": true,
- "type": "string",
- "description": "Id of upgrade profile."
- },
- "name": {
- "readOnly": true,
- "type": "string",
- "description": "Name of upgrade profile."
- },
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Type of upgrade profile."
- },
- "properties": {
- "$ref": "#/definitions/ManagedClusterUpgradeProfileProperties",
- "description": "Properties of upgrade profile.",
- "x-ms-client-flatten": true
- }
- },
- "required": [
- "properties"
- ],
- "description": "The list of available upgrades for compute pools."
- },
- "OSType": {
- "type": "string",
- "default": "Linux",
- "enum": [
- "Linux",
- "Windows"
- ],
- "x-ms-enum": {
- "name": "OSType",
- "modelAsString": true
- },
- "description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
- },
- "CredentialResults": {
- "properties": {
- "kubeconfigs": {
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/CredentialResult"
- },
- "description": "Base64-encoded Kubernetes configuration file."
- }
- },
- "description": "The list of credential result response."
- },
- "CredentialResult": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "The name of the credential."
- },
- "value": {
- "type": "string",
- "format": "byte",
- "readOnly": true,
- "description": "Base64-encoded Kubernetes configuration file."
- }
- },
- "description": "The credential result response."
- },
- "CloudError": {
- "x-ms-external": true,
- "properties": {
- "error": {
- "$ref": "#/definitions/CloudErrorBody",
- "description": "Details about the error."
- }
- },
- "description": "An error response from the Container service."
- },
- "CloudErrorBody": {
- "x-ms-external": true,
- "properties": {
- "code": {
- "type": "string",
- "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
- },
- "message": {
- "type": "string",
- "description": "A message describing the error, intended to be suitable for display in a user interface."
- },
- "target": {
- "type": "string",
- "description": "The target of the particular error. For example, the name of the property in error."
- },
- "details": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/CloudErrorBody"
- },
- "description": "A list of additional details about the error."
- }
- },
- "description": "An error response from the Container service."
- }
- },
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.",
- "x-ms-parameter-location": "client"
- },
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version.",
- "x-ms-parameter-location": "client"
- }
- }
-}
\ No newline at end of file
diff --git a/specification/containerservice/resource-manager/readme.go.md b/specification/containerservice/resource-manager/readme.go.md
index 0c4f8b261efc..15265b63ac8f 100644
--- a/specification/containerservice/resource-manager/readme.go.md
+++ b/specification/containerservice/resource-manager/readme.go.md
@@ -12,7 +12,6 @@ go:
``` yaml $(go) && $(multiapi)
batch:
- - tag: package-2019-02
- tag: package-2018-09-30-preview
- tag: package-2018-08-preview
- tag: package-2018-03
@@ -21,16 +20,6 @@ batch:
- tag: package-2017-07
```
-### Tag: package-2019-02 and go
-
-These settings apply only when `--package-2019-02 --go` is specified on the command line.
-Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag)=='package-2019-02' && $(go)
-namespace: containerservice
-output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-02-01/$(namespace)
-```
-
### Tag: package-2018-09-30-preview and go
These settings apply only when `--package-2018-09-30-preview --go` is specified on the command line.
diff --git a/specification/containerservice/resource-manager/readme.md b/specification/containerservice/resource-manager/readme.md
index 7f7772a46b67..236a66b24f06 100644
--- a/specification/containerservice/resource-manager/readme.md
+++ b/specification/containerservice/resource-manager/readme.md
@@ -32,23 +32,11 @@ To see additional help and options, run:
These are the global settings for the ContainerServices API.
-``` yaml
+```yaml
openapi-type: arm
-tag: package-2019-02
+tag: package-2018-08-preview
```
-
-### Tag: package-2019-02
-
-These settings apply only when `--tag=package-2019-02` is specified on the command line.
-
-```yaml $(tag) == 'package-2019-02'
-input-file:
-- Microsoft.ContainerService/preview/2018-09-30-preview/openShiftManagedClusters.json
-- Microsoft.ContainerService/stable/2017-07-01/containerService.json
-- Microsoft.ContainerService/stable/2019-02-01/managedClusters.json
-- Microsoft.ContainerService/stable/2017-09-30/location.json
-```
### Tag: package-2018-08-preview
These settings apply only when `--tag=package-2018-08-preview` is specified on the command line.
@@ -114,15 +102,6 @@ input-file:
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
```
-### Tag: package-2019-02-only
-
-These settings apply only when `--tag=package-2019-02-only` is specified on the command line.
-
-``` yaml $(tag) == 'package-2019-02-only'
-input-file:
-- Microsoft.ContainerService/stable/2019-02-01/managedClusters.json
-```
-
### Tag: package-2018-08-preview-only
These settings apply only when `--tag=package-2018-08-preview-only` is specified on the command line.
@@ -213,6 +192,7 @@ input-file:
# Code Generation
+
## Swagger to SDK
This section describes what SDK should be generated by the automatic system.
diff --git a/specification/containerservice/resource-manager/readme.python.md b/specification/containerservice/resource-manager/readme.python.md
index f88ba8b4419b..a4a2ac91c8c3 100644
--- a/specification/containerservice/resource-manager/readme.python.md
+++ b/specification/containerservice/resource-manager/readme.python.md
@@ -18,22 +18,11 @@ Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi)
batch:
- - tag: package-2019-02-only
- tag: package-2018-09-preview-only
- tag: package-2018-08-preview-only
- tag: package-2018-03-only
- tag: package-2017-07-only-extended
```
-### Tag: package-2019-02-only and python
-
-These settings apply only when `--tag=package-2019-02-only --python` is specified on the command line.
-Please also specify `--python-sdks-folder=`.
-
-``` yaml $(tag) == 'package-2019-02-only' && $(python)
-python:
- namespace: azure.mgmt.containerservice.v2019_02_01_preview
- output-folder: $(python-sdks-folder)/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_02_01_preview
-```
### Tag: package-2018-09-preview-only and python
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/costmanagement.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/costmanagement.json
index 7d0dc04a466d..2b7d3f57b3be 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/costmanagement.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/costmanagement.json
@@ -1,3215 +1,2872 @@
{
- "swagger": "2.0",
- "info": {
- "version": "2019-03-01-preview",
- "title": "CostManagementClient"
- },
- "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.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/dimensions": {
- "get": {
- "tags": [
- "Dimensions"
- ],
- "x-ms-odata": "#/definitions/Dimension",
- "operationId": "Dimensions_ListByBillingAccount",
- "description": "Lists the dimensions by billingAccount Id.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "BillingAccountDimensionsList": {
- "$ref": "./examples/BillingAccountDimensionsList.json"
- },
- "BillingAccountDimensionsListExpandAndTop": {
- "$ref": "./examples/BillingAccountDimensionsListExpandAndTop.json"
- },
- "BillingAccountDimensionsListWithFilter": {
- "$ref": "./examples/BillingAccountDimensionsListWithFilter.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/billingAccountIdParameter"
- },
- {
- "name": "$filter",
- "description": "May be used to filter dimensions by properties/category, properties/usageStart, properties/usageEnd. Supported operators are 'eq','lt', 'gt', 'le', 'ge'.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$expand",
- "description": "May be used to expand the properties/data within a dimension category. By default, data is not included when listing dimensions.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$skiptoken",
- "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$top",
- "description": "May be used to limit the number of results to the most recent N dimension data.",
- "in": "query",
- "required": false,
- "type": "integer",
- "minimum": 1,
- "maximum": 1000
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/DimensionsListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}/providers/Microsoft.CostManagement/dimensions": {
- "get": {
- "tags": [
- "Dimensions"
- ],
- "x-ms-odata": "#/definitions/Dimension",
- "operationId": "Dimensions_ListByEnrollmentAccount",
- "description": "Lists the dimensions by Enrollment Account Id.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "EnrollmentAccountDimensionsList": {
- "$ref": "./examples/EnrollmentAccountDimensionsList.json"
- },
- "EnrollmentAccountDimensionsListExpandAndTop": {
- "$ref": "./examples/EnrollmentAccountDimensionsListExpandAndTop.json"
- },
- "EnrollmentAccountDimensionsListWithFilter": {
- "$ref": "./examples/EnrollmentAccountDimensionsListWithFilter.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/billingAccountIdParameter"
- },
- {
- "$ref": "#/parameters/enrollmentAccountIdParameter"
- },
- {
- "name": "$filter",
- "description": "May be used to filter dimensions by properties/category, properties/usageStart, properties/usageEnd. Supported operators are 'eq','lt', 'gt', 'le', 'ge'.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$expand",
- "description": "May be used to expand the properties/data within a dimension category. By default, data is not included when listing dimensions.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$skiptoken",
- "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$top",
- "description": "May be used to limit the number of results to the most recent N dimension data.",
- "in": "query",
- "required": false,
- "type": "integer",
- "minimum": 1,
- "maximum": 1000
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/DimensionsListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}/providers/Microsoft.CostManagement/dimensions": {
- "get": {
- "tags": [
- "Dimensions"
- ],
- "x-ms-odata": "#/definitions/Dimension",
- "operationId": "Dimensions_ListByDepartment",
- "description": "Lists the dimensions by Department Id.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "DepartmentDimensionsList": {
- "$ref": "./examples/DepartmentDimensionsList.json"
- },
- "DepartmentDimensionsListExpandAndTop": {
- "$ref": "./examples/DepartmentDimensionsListExpandAndTop.json"
- },
- "DepartmentDimensionsListWithFilter": {
- "$ref": "./examples/DepartmentDimensionsListWithFilter.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/billingAccountIdParameter"
- },
- {
- "$ref": "#/parameters/departmentIdParameter"
- },
- {
- "name": "$filter",
- "description": "May be used to filter dimensions by properties/category, properties/usageStart, properties/usageEnd. Supported operators are 'eq','lt', 'gt', 'le', 'ge'.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$expand",
- "description": "May be used to expand the properties/data within a dimension category. By default, data is not included when listing dimensions.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$skiptoken",
- "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$top",
- "description": "May be used to limit the number of results to the most recent N dimension data.",
- "in": "query",
- "required": false,
- "type": "integer",
- "minimum": 1,
- "maximum": 1000
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/DimensionsListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.CostManagement/dimensions": {
- "get": {
- "tags": [
- "Dimensions"
- ],
- "x-ms-odata": "#/definitions/Dimension",
- "operationId": "Dimensions_ListByManagementGroup",
- "description": "Lists the dimensions by managementGroup Id.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "ManagementGroupDimensionsList": {
- "$ref": "./examples/ManagementGroupDimensionsList.json"
- },
- "ManagementGroupDimensionsListExpandAndTop": {
- "$ref": "./examples/ManagementGroupDimensionsListExpandAndTop.json"
- },
- "ManagementGroupDimensionsListWithFilter": {
- "$ref": "./examples/ManagementGroupDimensionsListWithFilter.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "name": "$filter",
- "description": "May be used to filter dimensions by properties/category, properties/usageStart, properties/usageEnd. Supported operators are 'eq','lt', 'gt', 'le', 'ge'.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$expand",
- "description": "May be used to expand the properties/data within a dimension category. By default, data is not included when listing dimensions.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$skiptoken",
- "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$top",
- "description": "May be used to limit the number of results to the most recent N dimension data.",
- "in": "query",
- "required": false,
- "type": "integer",
- "minimum": 1,
- "maximum": 1000
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/DimensionsListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/dimensions": {
- "get": {
- "tags": [
- "Dimensions"
- ],
- "x-ms-odata": "#/definitions/Dimension",
- "operationId": "Dimensions_ListBySubscription",
- "description": "Lists the dimensions by subscription Id.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "SubscriptionDimensionsList": {
- "$ref": "./examples/SubscriptionDimensionsList.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "name": "$filter",
- "description": "May be used to filter dimensions by properties/category, properties/usageStart, properties/usageEnd. Supported operators are 'eq','lt', 'gt', 'le', 'ge'.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$expand",
- "description": "May be used to expand the properties/data within a dimension category. By default, data is not included when listing dimensions.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$skiptoken",
- "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$top",
- "description": "May be used to limit the number of results to the most recent N dimension data.",
- "in": "query",
- "required": false,
- "type": "integer",
- "minimum": 1,
- "maximum": 1000
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/DimensionsListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/Query": {
- "post": {
- "tags": [
- "Query"
- ],
- "operationId": "Query_UsageBySubscription",
- "description": "Query the usage data for subscriptionId.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "SubscriptionQuery": {
- "$ref": "./examples/SubscriptionQuery.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ReportConfigDefinition"
- },
- "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/QueryResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/Forecast": {
- "post": {
- "tags": [
- "Forecast"
- ],
- "operationId": "Forecast_UsageBySubscription",
- "description": "Forecast the usage data for subscriptionId.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "SubscriptionForecast": {
- "$ref": "./examples/SubscriptionForecast.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ReportConfigDefinition"
- },
- "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/QueryResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CostManagement/dimensions": {
- "get": {
- "tags": [
- "Dimensions"
- ],
- "x-ms-odata": "#/definitions/Dimension",
- "operationId": "Dimensions_ListByResourceGroup",
- "description": "Lists the dimensions by resource group Id.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "ResourceGroupDimensionsList": {
- "$ref": "./examples/ResourceGroupDimensionsList.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "name": "$filter",
- "description": "May be used to filter dimensions by properties/category, properties/usageStart, properties/usageEnd. Supported operators are 'eq','lt', 'gt', 'le', 'ge'.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$expand",
- "description": "May be used to expand the properties/data within a dimension category. By default, data is not included when listing dimensions.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$skiptoken",
- "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
- "in": "query",
- "required": false,
- "type": "string"
- },
- {
- "name": "$top",
- "description": "May be used to limit the number of results to the most recent N dimension data.",
- "in": "query",
- "required": false,
- "type": "integer",
- "minimum": 1,
- "maximum": 1000
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/DimensionsListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.CostManagement/Query": {
- "post": {
- "tags": [
- "Query"
- ],
- "operationId": "Query_UsageByResourceGroup",
- "description": "Query the usage data for subscriptionId and resource group.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "ResourceGroupQuery": {
- "$ref": "./examples/ResourceGroupQuery.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ReportConfigDefinition"
- },
- "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/QueryResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.CostManagement/Forecast": {
- "post": {
- "tags": [
- "Forecast"
- ],
- "operationId": "Forecast_UsageByResourceGroup",
- "description": "Forecast the usage data for subscriptionId and resource group.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "ResourceGroupForecast": {
- "$ref": "./examples/ResourceGroupForecast.json"
- }
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-03-01-preview",
+ "title": "CostManagementClient"
+ },
+ "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.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/dimensions": {
+ "get": {
+ "tags": [
+ "Dimensions"
+ ],
+ "x-ms-odata": "#/definitions/Dimension",
+ "operationId": "Dimensions_ListByBillingAccount",
+ "description": "Lists the dimensions by billingAccount Id.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "BillingAccountDimensionsList": {
+ "$ref": "./examples/BillingAccountDimensionsList.json"
+ },
+ "BillingAccountDimensionsListExpandAndTop": {
+ "$ref": "./examples/BillingAccountDimensionsListExpandAndTop.json"
+ },
+ "BillingAccountDimensionsListWithFilter": {
+ "$ref": "./examples/BillingAccountDimensionsListWithFilter.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter dimensions by properties/category, properties/usageStart, properties/usageEnd. Supported operators are 'eq','lt', 'gt', 'le', 'ge'.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "description": "May be used to expand the properties/data within a dimension category. By default, data is not included when listing dimensions.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the most recent N dimension data.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/DimensionsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}/providers/Microsoft.CostManagement/dimensions": {
+ "get": {
+ "tags": [
+ "Dimensions"
+ ],
+ "x-ms-odata": "#/definitions/Dimension",
+ "operationId": "Dimensions_ListByEnrollmentAccount",
+ "description": "Lists the dimensions by Enrollment Account Id.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "EnrollmentAccountDimensionsList": {
+ "$ref": "./examples/EnrollmentAccountDimensionsList.json"
+ },
+ "EnrollmentAccountDimensionsListExpandAndTop": {
+ "$ref": "./examples/EnrollmentAccountDimensionsListExpandAndTop.json"
+ },
+ "EnrollmentAccountDimensionsListWithFilter": {
+ "$ref": "./examples/EnrollmentAccountDimensionsListWithFilter.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ },
+ {
+ "$ref": "#/parameters/enrollmentAccountIdParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter dimensions by properties/category, properties/usageStart, properties/usageEnd. Supported operators are 'eq','lt', 'gt', 'le', 'ge'.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "description": "May be used to expand the properties/data within a dimension category. By default, data is not included when listing dimensions.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the most recent N dimension data.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/DimensionsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}/providers/Microsoft.CostManagement/dimensions": {
+ "get": {
+ "tags": [
+ "Dimensions"
+ ],
+ "x-ms-odata": "#/definitions/Dimension",
+ "operationId": "Dimensions_ListByDepartment",
+ "description": "Lists the dimensions by Department Id.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "DepartmentDimensionsList": {
+ "$ref": "./examples/DepartmentDimensionsList.json"
+ },
+ "DepartmentDimensionsListExpandAndTop": {
+ "$ref": "./examples/DepartmentDimensionsListExpandAndTop.json"
+ },
+ "DepartmentDimensionsListWithFilter": {
+ "$ref": "./examples/DepartmentDimensionsListWithFilter.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ },
+ {
+ "$ref": "#/parameters/departmentIdParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter dimensions by properties/category, properties/usageStart, properties/usageEnd. Supported operators are 'eq','lt', 'gt', 'le', 'ge'.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "description": "May be used to expand the properties/data within a dimension category. By default, data is not included when listing dimensions.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the most recent N dimension data.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/DimensionsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.CostManagement/dimensions": {
+ "get": {
+ "tags": [
+ "Dimensions"
+ ],
+ "x-ms-odata": "#/definitions/Dimension",
+ "operationId": "Dimensions_ListByManagementGroup",
+ "description": "Lists the dimensions by managementGroup Id.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "ManagementGroupDimensionsList": {
+ "$ref": "./examples/ManagementGroupDimensionsList.json"
+ },
+ "ManagementGroupDimensionsListExpandAndTop": {
+ "$ref": "./examples/ManagementGroupDimensionsListExpandAndTop.json"
+ },
+ "ManagementGroupDimensionsListWithFilter": {
+ "$ref": "./examples/ManagementGroupDimensionsListWithFilter.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/managementGroupIdParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter dimensions by properties/category, properties/usageStart, properties/usageEnd. Supported operators are 'eq','lt', 'gt', 'le', 'ge'.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "description": "May be used to expand the properties/data within a dimension category. By default, data is not included when listing dimensions.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the most recent N dimension data.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/DimensionsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/dimensions": {
+ "get": {
+ "tags": [
+ "Dimensions"
+ ],
+ "x-ms-odata": "#/definitions/Dimension",
+ "operationId": "Dimensions_ListBySubscription",
+ "description": "Lists the dimensions by subscription Id.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "SubscriptionDimensionsList": {
+ "$ref": "./examples/SubscriptionDimensionsList.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter dimensions by properties/category, properties/usageStart, properties/usageEnd. Supported operators are 'eq','lt', 'gt', 'le', 'ge'.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "description": "May be used to expand the properties/data within a dimension category. By default, data is not included when listing dimensions.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the most recent N dimension data.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/DimensionsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/Query": {
+ "post": {
+ "tags": [
+ "Query"
+ ],
+ "operationId": "Query_UsageBySubscription",
+ "description": "Query the usage data for subscriptionId.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "SubscriptionQuery": {
+ "$ref": "./examples/SubscriptionQuery.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ReportConfigDefinition"
+ },
+ "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/QueryResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.CostManagement/Forecast": {
+ "post": {
+ "tags": [
+ "Forecast"
+ ],
+ "operationId": "Forecast_UsageBySubscription",
+ "description": "Forecast the usage data for subscriptionId.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "SubscriptionForecast": {
+ "$ref": "./examples/SubscriptionForecast.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ReportConfigDefinition"
+ },
+ "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/QueryResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CostManagement/dimensions": {
+ "get": {
+ "tags": [
+ "Dimensions"
+ ],
+ "x-ms-odata": "#/definitions/Dimension",
+ "operationId": "Dimensions_ListByResourceGroup",
+ "description": "Lists the dimensions by resource group Id.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "ResourceGroupDimensionsList": {
+ "$ref": "./examples/ResourceGroupDimensionsList.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter dimensions by properties/category, properties/usageStart, properties/usageEnd. Supported operators are 'eq','lt', 'gt', 'le', 'ge'.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$expand",
+ "description": "May be used to expand the properties/data within a dimension category. By default, data is not included when listing dimensions.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the most recent N dimension data.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/DimensionsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.CostManagement/Query": {
+ "post": {
+ "tags": [
+ "Query"
+ ],
+ "operationId": "Query_UsageByResourceGroup",
+ "description": "Query the usage data for subscriptionId and resource group.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "ResourceGroupQuery": {
+ "$ref": "./examples/ResourceGroupQuery.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ReportConfigDefinition"
+ },
+ "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/QueryResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.CostManagement/Forecast": {
+ "post": {
+ "tags": [
+ "Forecast"
+ ],
+ "operationId": "Forecast_UsageByResourceGroup",
+ "description": "Forecast the usage data for subscriptionId and resource group.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "ResourceGroupForecast": {
+ "$ref": "./examples/ResourceGroupForecast.json"
+ }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ReportConfigDefinition"
- },
- "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/QueryResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/Query": {
- "post": {
- "tags": [
- "Query"
- ],
- "operationId": "Query_UsageByBillingAccount",
- "description": "Query the usage data for billing account.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "BillingAccountQuery": {
- "$ref": "./examples/BillingAccountQuery.json"
- },
- "BillingAccountQueryGroupingUsage": {
- "$ref": "./examples/BillingAccountQueryGrouping.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/billingAccountIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ReportConfigDefinition"
- },
- "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/QueryResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/Forecast": {
- "post": {
- "tags": [
- "Forecast"
- ],
- "operationId": "Forecast_UsageByBillingAccount",
- "description": "Forecast the usage data for billing account.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "BillingAccountForecast": {
- "$ref": "./examples/BillingAccountForecast.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/billingAccountIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ReportConfigDefinition"
- },
- "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/QueryResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}/providers/Microsoft.CostManagement/Query": {
- "post": {
- "tags": [
- "Query"
- ],
- "operationId": "Query_UsageByEnrollmentAccount",
- "description": "Query the usage data for an enrollment account.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "EnrollmentAccountQuery": {
- "$ref": "./examples/EnrollmentAccountQuery.json"
- },
- "EnrollmentAccountQueryGroupingUsage": {
- "$ref": "./examples/EnrollmentAccountQueryGrouping.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/billingAccountIdParameter"
- },
- {
- "$ref": "#/parameters/enrollmentAccountIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ReportConfigDefinition"
- },
- "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/QueryResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}/providers/Microsoft.CostManagement/Forecast": {
- "post": {
- "tags": [
- "Forecast"
- ],
- "operationId": "Forecast_UsageByEnrollmentAccount",
- "description": "Forecast the usage data for an enrollment account.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "EnrollmentAccountForecast": {
- "$ref": "./examples/EnrollmentAccountForecast.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/billingAccountIdParameter"
- },
- {
- "$ref": "#/parameters/enrollmentAccountIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ReportConfigDefinition"
- },
- "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/QueryResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}/providers/Microsoft.CostManagement/Query": {
- "post": {
- "tags": [
- "Query"
- ],
- "operationId": "Query_UsageByDepartment",
- "description": "Query the usage data for department.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "DepartmentQuery": {
- "$ref": "./examples/DepartmentQuery.json"
- },
- "DepartmentQueryGroupingUsage": {
- "$ref": "./examples/DepartmentQueryGrouping.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/billingAccountIdParameter"
- },
- {
- "$ref": "#/parameters/departmentIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ReportConfigDefinition"
- },
- "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/QueryResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}/providers/Microsoft.CostManagement/Forecast": {
- "post": {
- "tags": [
- "Forecast"
- ],
- "operationId": "Forecast_UsageByDepartment",
- "description": "Forecast the usage data for department.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "DepartmentForecast": {
- "$ref": "./examples/DepartmentForecast.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/billingAccountIdParameter"
- },
- {
- "$ref": "#/parameters/departmentIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ReportConfigDefinition"
- },
- "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/QueryResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.CostManagement/Query": {
- "post": {
- "tags": [
- "Query"
- ],
- "operationId": "Query_UsageByManagmentGroup",
- "description": "Lists the usage data for management group.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "ManagementGroupQuery": {
- "$ref": "./examples/ManagementGroupQuery.json"
- },
- "ManagementGroupQueryGroupingUsage": {
- "$ref": "./examples/ManagementGroupQueryGrouping.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ReportConfigDefinition"
- },
- "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/QueryResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.CostManagement/Forecast": {
- "post": {
- "tags": [
- "Forecast"
- ],
- "operationId": "Forecast_UsageByManagmentGroup",
- "description": "Lists the usage data for management group.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "ManagementGroupForecast": {
- "$ref": "./examples/ManagementGroupForecast.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ReportConfigDefinition"
- },
- "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/QueryResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/providers/Microsoft.CostManagement/cloudConnectors": {
- "get": {
- "tags": [
- "CloudConnectors"
- ],
- "operationId": "CloudConnector_List",
- "description": "List all cloud connector definitions",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "CloudConnector_List": {
- "$ref": "./examples/CloudConnectorList.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- }],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/ConnectorDefinitionListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/providers/Microsoft.CostManagement/cloudConnectors/{connectorName}": {
- "get": {
- "tags": [
- "CloudConnectors"
- ],
- "operationId": "CloudConnector_Get",
- "description": "Get a cloud connector definition",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "CloudConnector_Get": {
- "$ref": "./examples/CloudConnectorGet.json"
- },
- "CloudConnector_Get_Expand": {
- "$ref": "./examples/CloudConnectorGetExpand.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/connectorNameParameter"
- },
- {
- "name": "$expand",
- "description": "May be used to expand the collectionInfo property. By default, collectionInfo is not included.",
- "in": "query",
- "required": false,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/ConnectorDefinition"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "put": {
- "tags": [
- "CloudConnectors"
- ],
- "operationId": "CloudConnector_CreateOrUpdate",
- "description": "Create or update a cloud connector definition",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "CloudConnector_Put": {
- "$ref": "./examples/CloudConnectorPut.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/connectorNameParameter"
- },
- {
- "name": "connector",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ConnectorDefinition"
- },
- "description": "Connector details"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/ConnectorDefinition"
- }
- },
- "201": {
- "description": "Created.",
- "schema": {
- "$ref": "#/definitions/ConnectorDefinition"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "CloudConnectors"
- ],
- "operationId": "CloudConnector_Delete",
- "description": "Delete a cloud connector definition",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "CloudConnector_Delete": {
- "$ref": "./examples/CloudConnectorDelete.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/connectorNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "patch": {
- "tags": [
- "CloudConnectors"
- ],
- "operationId": "CloudConnector_Update",
- "description": "Update a cloud connector definition",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "CloudConnector_Patch": {
- "$ref": "./examples/CloudConnectorPatch.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/connectorNameParameter"
- },
- {
- "name": "connector",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ConnectorDefinition"
- },
- "description": "Connector details"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/ConnectorDefinition"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/providers/Microsoft.CostManagement/externalBillingAccounts": {
- "get": {
- "tags": [
- "ExternalBillingAccounts"
- ],
- "operationId": "ExternalBillingAccount_List",
- "description": "List all ExternalBillingAccount definitions",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "ExternalBillingAccount_List": {
- "$ref": "./examples/ExternalBillingAccountList.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- }],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/ExternalBillingAccountDefinitionListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}": {
- "get": {
- "tags": [
- "ExternalBillingAccounts"
- ],
- "operationId": "ExternalBillingAccount_Get",
- "description": "Get a ExternalBillingAccount definition",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "ExternalBillingAccount_Get": {
- "$ref": "./examples/ExternalBillingAccountGet.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/externalBillingAccountNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/ExternalBillingAccountDefinition"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}/externalSubscriptions": {
- "get": {
- "tags": [
- "ExternalSubscriptions"
- ],
- "operationId": "ExternalSubscription_ListByExternalBillingAccount",
- "description": "List all ExternalSubscriptions by ExternalBillingAccount definitions",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "ExternalBillingAccountExternalSubscription_List": {
- "$ref": "./examples/ExternalBillingAccountExternalSubscriptionList.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/externalBillingAccountNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/ExternalSubscriptionDefinitionListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/providers/Microsoft.CostManagement/externalSubscriptions": {
- "get": {
- "tags": [
- "ExternalSubscriptions"
- ],
- "operationId": "ExternalSubscription_List",
- "description": "List all ExternalSubscription definitions",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "ExternalSubscription_List": {
- "$ref": "./examples/ExternalSubscriptionList.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- }],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/ExternalSubscriptionDefinitionListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}": {
- "get": {
- "tags": [
- "ExternalSubscriptions"
- ],
- "operationId": "ExternalSubscription_Get",
- "description": "Get an ExternalSubscription definition",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "ExternalSubscription_Get": {
- "$ref": "./examples/ExternalSubscriptionGet.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/externalSubscriptionNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/ExternalSubscriptionDefinition"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.CostManagement/externalSubscriptions": {
- "get": {
- "tags": [
- "ExternalSubscriptions"
- ],
- "operationId": "ExternalSubscription_ListByManagementGroup",
- "description": "List all ExternalSubscription definitions for Management Group",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "ExternalSubscription_List": {
- "$ref": "./examples/ManagementGroupExternalSubscriptionList.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/ExternalSubscriptionDefinitionListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}": {
- "put": {
- "tags": [
- "ExternalSubscriptions"
- ],
- "operationId": "ExternalSubscription_UpdateByManagementGroup",
- "description": "Associates ExternalSubscription with the management group",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "ManagementGroupExternalSubscription_Put": {
- "$ref": "./examples/ManagementGroupExternalSubscriptionPut.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "$ref": "#/parameters/externalSubscriptionNameParameter"
- }
- ],
- "responses": {
- "204": {
- "description": "NoContent"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.CostManagement/getEntities": {
- "post": {
- "tags": [
- "Entities"
- ],
- "operationId": "Entities_ListByManagementGroup",
- "description": "List all entities (Management Groups, Subscriptions, ExternalSubscriptions, etc.) focusing on a particular group for the authenticated user.",
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/managementGroupIdParameter"
- },
- {
- "$ref": "#/parameters/EntityViewParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/EntityListResult"
- }
- },
- "default": {
- "description": "Error",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "GetEntities": {
- "$ref": "./examples/ManagementGroupGetEntities.json"
- }
- }
- }
- },
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/showbackRules": {
- "get": {
- "tags": [
- "ShowbackRules"
- ],
- "operationId": "ShowbackRules_List",
- "description": "Get list all Showback Rules.",
- "x-ms-examples": {
- "ShowbackRules_List": {
- "$ref": "./examples/ShowbackRulesList.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/billingAccountIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/ShowbackRuleListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/showbackRules/{ruleName}": {
- "get": {
- "tags": [
- "ShowbackRules"
- ],
- "operationId": "ShowbackRule_GetBillingAccountId",
- "description": "Gets the showback rule by rule name.",
- "externalDocs": {
- "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
- },
- "x-ms-examples": {
- "ShowbackRules": {
- "$ref": "./examples/ShowbackRule.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/billingAccountIdParameter"
- },
- {
- "$ref": "#/parameters/ruleNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/ShowbackRule"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "put": {
- "tags": [
- "ShowbackRules"
- ],
- "operationId": "ShowbackRule_CreateUpdateRule",
- "description": "Create/Update showback rule for billing account.",
- "x-ms-examples": {
- "ShowbackRules": {
- "$ref": "./examples/ShowbackRule.json"
- }
- },
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- },
- {
- "$ref": "#/parameters/billingAccountIdParameter"
- },
- {
- "$ref": "#/parameters/ruleNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ShowbackRuleProperties"
- },
- "description": "Showback rule to create or update."
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/ShowbackRule"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/providers/Microsoft.CostManagement/operations": {
- "get": {
- "tags": [
- "Operations"
- ],
- "operationId": "Operations_List",
- "description": "Lists all of the available consumption REST API operations.",
- "parameters": [{
- "$ref": "#/parameters/apiVersionParameter"
- }],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/OperationListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "ErrorBase": {
- "description": "The details of the error.",
- "properties": {
- "code": {
- "type": "string",
- "description": "A machine readable error code.",
- "readOnly": true
- },
- "message": {
- "type": "string",
- "description": "A human readable error message.",
- "readOnly": true
- },
- "target": {
- "type": "string",
- "description": "Indicates which property in the request is responsible for the error.",
- "readOnly": true
- }
- }
- },
- "ErrorDetails": {
- "description": "The details of the error.",
- "properties": {
- "code": {
- "description": "A machine readable error code.",
- "type": "string",
- "readOnly": true
- },
- "message": {
- "description": "A human readable error message.",
- "type": "string",
- "readOnly": true
- },
- "target": {
- "description": "Indicates which property in the request is responsible for the error.",
- "type": "string"
- },
- "details": {
- "description": "error details.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ErrorBase"
- }
- }
- }
- },
- "ErrorResponse": {
- "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.",
- "type": "object",
- "properties": {
- "error": {
- "description": "The details of the error.",
- "$ref": "#/definitions/ErrorDetails"
- }
- }
- },
- "Resource": {
- "description": "The Resource model definition.",
- "properties": {
- "id": {
- "readOnly": true,
- "type": "string",
- "description": "Resource Id."
- },
- "name": {
- "readOnly": true,
- "type": "string",
- "description": "Resource name."
- },
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Resource type."
- },
- "tags": {
- "readOnly": true,
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags."
- }
- },
- "x-ms-azure-resource": true
- },
- "ReportConfigDefinition": {
- "description": "The definition of a report config.",
- "properties": {
- "type": {
- "description": "The type of the report. Usage represents actual usage, forecast represents forecasted data and UsageAndForecast represents both usage and forecasted data. Actual usage and forecasted data can be differentiated based on dates.",
- "type": "string",
- "enum": [
- "Usage"
- ],
- "x-ms-enum": {
- "name": "ReportType",
- "modelAsString": true
- }
- },
- "timeframe": {
- "description": "The time frame for pulling data for the report. If custom, then a specific time period must be provided.",
- "type": "string",
- "enum": [
- "WeekToDate",
- "MonthToDate",
- "YearToDate",
- "Custom"
- ],
- "x-ms-enum": {
- "name": "TimeframeType",
- "modelAsString": true
- }
- },
- "timePeriod": {
- "description": "Has time period for pulling data for the report.",
- "$ref": "#/definitions/ReportConfigTimePeriod"
- },
- "dataset": {
- "description": "Has definition for data in this report config.",
- "$ref": "#/definitions/ReportConfigDataset"
- }
- },
- "required": [
- "type",
- "timeframe"
- ]
- },
- "ReportConfigTimePeriod": {
- "description": "The start and end date for pulling data for the report.",
- "properties": {
- "from": {
- "description": "The start date to pull data from.",
- "type": "string",
- "format": "date-time"
- },
- "to": {
- "description": "The end date to pull data to.",
- "type": "string",
- "format": "date-time"
- }
- },
- "required": [
- "from",
- "to"
- ]
- },
- "ReportConfigDataset": {
- "description": "The definition of data present in the report.",
- "properties": {
- "granularity": {
- "description": "The granularity of rows in the report.",
- "type": "string",
- "enum": [
- "Daily",
- "Monthly"
- ],
- "x-ms-enum": {
- "name": "GranularityType",
- "modelAsString": true
- }
- },
- "configuration": {
- "description": "Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.",
- "$ref": "#/definitions/ReportConfigDatasetConfiguration"
- },
- "aggregation": {
- "type": "object",
- "description": "Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.",
- "additionalProperties": {
- "type": "object",
- "$ref": "#/definitions/ReportConfigAggregation"
- },
- "maxItems": 2
- },
- "grouping": {
- "description": "Array of group by expression to use in the report. Report can have up to 2 group by clauses.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReportConfigGrouping"
- },
- "maxItems": 2
- },
- "sorting": {
- "description": "Array of order by expression to use in the report.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReportConfigSorting"
- }
- },
- "filter": {
- "type": "object",
- "description": "Has filter expression to use in the report.",
- "$ref": "#/definitions/ReportConfigFilter"
- }
- }
- },
- "ReportConfigDatasetConfiguration": {
- "description": "The configuration of dataset in the report.",
- "properties": {
- "columns": {
- "description": "Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- },
- "ReportConfigAggregation": {
- "description": "The aggregation expression to be used in the report.",
- "properties": {
- "name": {
- "description": "The name of the column to aggregate.",
- "type": "string"
- },
- "function": {
- "description": "The name of the aggregation function to use.",
- "type": "string",
- "enum": [
- "Sum"
- ],
- "x-ms-enum": {
- "name": "FunctionType",
- "modelAsString": true
- }
- }
- },
- "required": [
- "name",
- "function"
- ]
- },
- "ReportConfigSorting": {
- "description": "The order by expression to be used in the report.",
- "properties": {
- "direction": {
- "description": "Direction of sort.",
- "type": "string",
- "enum": [
- "Ascending",
- "Descending"
- ]
- },
- "name": {
- "description": "The name of the column to sort.",
- "type": "string"
- }
- },
- "required": [
- "name"
- ]
- },
- "ReportConfigGrouping": {
- "description": "The group by expression to be used in the report.",
- "properties": {
- "type": {
- "description": "Has type of the column to group.",
- "$ref": "#/definitions/ReportConfigColumnType"
- },
- "name": {
- "description": "The name of the column to group. This version supports subscription lowest possible grain.",
- "type": "string"
- }
- },
- "required": [
- "type",
- "name"
- ]
- },
- "ReportConfigFilter": {
- "description": "The filter expression to be used in the report.",
- "properties": {
- "and": {
- "description": "The logical \"AND\" expression. Must have at least 2 items.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReportConfigFilter"
- },
- "minItems": 2
- },
- "or": {
- "description": "The logical \"OR\" expression. Must have at least 2 items.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReportConfigFilter"
- },
- "minItems": 2
- },
- "not": {
- "description": "The logical \"NOT\" expression.",
- "$ref": "#/definitions/ReportConfigFilter"
- },
- "dimension": {
- "description": "Has comparison expression for a dimension",
- "$ref": "#/definitions/ReportConfigComparisonExpression"
- },
- "tag": {
- "description": "Has comparison expression for a tag",
- "$ref": "#/definitions/ReportConfigComparisonExpression"
- }
- }
- },
- "ReportConfigColumnType": {
- "description": "The type of the column in the report.",
- "type": "string",
- "enum": [
- "Tag",
- "Dimension"
- ],
- "x-ms-enum": {
- "name": "ReportConfigColumnType",
- "modelAsString": true
- }
- },
- "ReportConfigComparisonExpression": {
- "description": "The comparison expression to be used in the report.",
- "properties": {
- "name": {
- "description": "The name of the column to use in comparison.",
- "type": "string"
- },
- "operator": {
- "description": "The operator to use for comparison.",
- "type": "string",
- "enum": [
- "In",
- "Contains"
- ],
- "x-ms-enum": {
- "name": "OperatorType",
- "modelAsString": true
- }
- },
- "values": {
- "description": "Array of values to use for comparison",
- "type": "array",
- "items": {
- "type": "string"
- },
- "minItems": 1
- }
- },
- "required": [
- "name",
- "operator",
- "values"
- ]
- },
- "DimensionsListResult": {
- "description": "Result of listing dimensions. It contains a list of available dimensions.",
- "type": "object",
- "properties": {
- "value": {
- "description": "The list of dimensions.",
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/Dimension"
- }
- }
- }
- },
- "Dimension": {
- "type": "object",
- "allOf": [{
- "$ref": "#/definitions/Resource"
- }],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/DimensionProperties",
- "title": "Dimension properties"
- }
- }
- },
- "DimensionProperties": {
- "type": "object",
- "properties": {
- "description": {
- "type": "string"
- },
- "filterEnabled": {
- "type": "boolean"
- },
- "groupingEnabled": {
- "type": "boolean"
- },
- "data": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "total": {
- "format": "int32",
- "type": "integer"
- },
- "category": {
- "type": "string"
- },
- "usageStart": {
- "format": "date-time",
- "type": "string"
- },
- "usageEnd": {
- "format": "date-time",
- "type": "string"
- },
- "nextLink": {
- "type": "string"
- }
- }
- },
- "QueryResult": {
- "description": "Result of query. It contains all columns listed under groupings and aggregation.",
- "type": "object",
- "properties": {
- "value": {
- "description": "The list of usage data.",
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/Query"
- }
- }
- }
- },
- "Query": {
- "type": "object",
- "allOf": [{
- "$ref": "#/definitions/Resource"
- }],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/QueryProperties",
- "title": "Query properties"
- }
- }
- },
- "QueryProperties": {
- "type": "object",
- "properties": {
- "nextLink": {
- "type": "string"
- },
- "columns": {
- "description": "Array of columns",
- "type": "array",
- "items": {
- "$ref": "#/definitions/QueryColumn"
- }
- },
- "rows": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {}
- }
- }
- }
- },
- "QueryColumn": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- }
- },
- "ConnectorDefinitionListResult": {
- "description": "Result of listing connector definitions. It contains a list of available connector definitions in the scope provided.",
- "properties": {
- "value": {
- "description": "The list of connector definitions.",
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/ConnectorDefinition"
- }
- }
- }
- },
- "ConnectorDefinition": {
- "type": "object",
- "description": "The Connector model definition",
- "properties": {
- "kind": {
- "type": "string",
- "description": "Connector kind (eg aws)"
- },
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Connector id"
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "Connector name"
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Connector type"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ConnectorProperties",
- "description": "Connector properties"
- }
- },
- "x-ms-azure-resource": true
- },
- "ConnectorProperties": {
- "type": "object",
- "description": "The properties of a Connector",
- "properties": {
- "displayName": {
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create",
- "update"
- ],
- "description": "Connector DisplayName"
- },
- "providerAccountId": {
- "type": "string",
- "x-ms-mutability": [
- "read"
- ],
- "description": "Connector providerAccountId (determined from credentials)",
- "readOnly": true
- },
- "credentialsKey": {
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create",
- "update"
- ],
- "description": "Credentials authentication key (eg AWS ARN)"
- },
- "credentialsSecret": {
- "type": "string",
- "x-ms-mutability": [
- "create",
- "update"
- ],
- "description": "Credentials secret (eg AWS ExternalId)"
- },
- "reportId": {
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create",
- "update"
- ],
- "description": "Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)"
- },
- "createdOn": {
- "format": "date-time",
- "type": "string",
- "x-ms-mutability": [
- "read"
- ],
- "description": "Connector definition creation datetime",
- "readOnly": true
- },
- "modifiedOn": {
- "format": "date-time",
- "type": "string",
- "x-ms-mutability": [
- "read"
- ],
- "description": "Connector last modified datetime",
- "readOnly": true
- },
- "status": {
- "enum": [
- "active",
- "error",
- "suspended"
- ],
- "x-ms-enum": {
- "name": "ConnectorStatus",
- "modelAsString": true
- },
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create",
- "update"
- ],
- "description": "Connector status"
- },
- "defaultManagementGroupId": {
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create",
- "update"
- ],
- "description": "Default ManagementGroupId"
- },
- "subscriptionId": {
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create",
- "update"
- ],
- "description": "Billing SubscriptionId"
- },
- "billingModel": {
- "enum": [
- "trial",
- "autoUpgrade",
- "premium",
- "expired"
- ],
- "x-ms-enum": {
- "name": "ConnectorBillingModel",
- "modelAsString": true
- },
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create",
- "update"
- ],
- "description": "Connector billing model"
- },
- "daysTrialRemaining": {
- "type": "integer",
- "x-nullable": true,
- "x-ms-mutability": [
- "read"
- ],
- "description": "Number of days remaining of trial",
- "readOnly": true
- },
- "collectionInfo": {
- "$ref": "#/definitions/ConnectorCollectionInfo",
- "description": "Collection information",
- "x-nullable": true,
- "readOnly": true
- }
- }
- },
- "ConnectorCollectionInfo": {
- "type": "object",
- "description": "Collection and ingestion information",
- "properties": {
- "lastChecked": {
- "format": "date-time",
- "type": "string",
- "x-ms-mutability": [
- "read"
- ],
- "description": "Last time the data acquisition process initiated connecting to the external provider",
- "readOnly": true
- },
- "sourceLastUpdated": {
- "format": "date-time",
- "type": "string",
- "x-ms-mutability": [
- "read"
- ],
- "description": "Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp)",
- "readOnly": true
- },
- "lastUpdated": {
- "format": "date-time",
- "type": "string",
- "x-ms-mutability": [
- "read"
- ],
- "description": "Last time the external data was updated into Azure",
- "readOnly": true
- },
- "error": {
- "$ref": "#/definitions/ConnectorCollectionErrorInfo",
- "description": "Error information of last collection"
- }
- }
- },
- "ConnectorCollectionErrorInfo": {
- "type": "object",
- "description": "Details of any error encountered on last collection attempt",
- "properties": {
- "errorMessage": {
- "type": "string",
- "description": "Detailed error message",
- "readOnly": true
- },
- "errorInnerMessage": {
- "type": "string",
- "description": "External Provider error message",
- "readOnly": true
- },
- "errorCode": {
- "type": "string",
- "description": "Short error code",
- "readOnly": true
- },
- "errorStartTime": {
- "format": "date-time",
- "type": "string",
- "description": "Time the error started occurring (Last time error occurred in lastChecked)",
- "readOnly": true
- }
- }
- },
- "ExternalBillingAccountDefinitionListResult": {
- "description": "Result of listing ExternalBillingAccount definitions. It contains a list of available ExternalBillingAccount definitions in the scope provided.",
- "properties": {
- "value": {
- "description": "The list of ExternalBillingAccount definitions.",
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/ExternalBillingAccountDefinition"
- }
- }
- }
- },
- "ExternalBillingAccountDefinition": {
- "type": "object",
- "description": "The ExternalBillingAccount model definition",
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "ExternalBillingAccount id"
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "ExternalBillingAccount name"
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "ExternalBillingAccount type"
- },
- "kind": {
- "type": "string",
- "readOnly": true,
- "description": "ExternalBillingAccount kind (eg aws)"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ExternalBillingAccountProperties",
- "description": "ExternalBillingAccount properties"
- }
- },
- "x-ms-azure-resource": true
- },
- "ExternalBillingAccountProperties": {
- "type": "object",
- "description": "The properties of a ExternalBillingAccount",
- "properties": {
- "displayName": {
- "type": "string",
- "x-ms-mutability": [
- "read"
- ],
- "description": "ExternalBillingAccount DisplayName",
- "readOnly": true
- },
- "connectorId": {
- "type": "string",
- "x-ms-mutability": [
- "read"
- ],
- "description": "Underlying ConnectorId",
- "readOnly": true
- }
- }
- },
- "ExternalSubscriptionDefinitionListResult": {
- "description": "Result of listing ExternalSubscription definitions. It contains a list of available ExternalSubscription definitions in the scope provided.",
- "properties": {
- "value": {
- "description": "The list of ExternalSubscription definitions.",
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/ExternalSubscriptionDefinition"
- }
- }
- }
- },
- "ExternalSubscriptionDefinition": {
- "type": "object",
- "description": "The ExternalSubscription model definition",
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "ExternalSubscription id"
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "ExternalSubscription name"
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "ExternalSubscription type"
- },
- "kind": {
- "type": "string",
- "readOnly": true,
- "description": "ExternalSubscription kind (eg aws)"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ExternalSubscriptionProperties",
- "description": "ExternalSubscription properties"
- }
- },
- "x-ms-azure-resource": true
- },
- "ExternalSubscriptionProperties": {
- "type": "object",
- "description": "The properties of a ExternalSubscription",
- "properties": {
- "displayName": {
- "type": "string",
- "x-ms-mutability": [
- "read"
- ],
- "description": "ExternalSubscription DisplayName",
- "readOnly": true
- },
- "managementGroupId": {
- "type": "string",
- "x-ms-mutability": [
- "read"
- ],
- "description": "Assigned ManagementGroupId",
- "readOnly": true
- },
- "externalBillingAccountId": {
- "type": "string",
- "x-ms-mutability": [
- "read"
- ],
- "description": "Parent ExternalBillingAccountId",
- "readOnly": true
- }
- }
- },
- "EntityListResult": {
- "description": "Describes the result of the request to view entities.",
- "properties": {
- "value": {
- "description": "The list of entities.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/EntityInfo"
- }
- },
- "count": {
- "description": "Total count of records that match the filter",
- "type": "integer",
- "readOnly": true
- },
- "nextLink": {
- "description": "The URL to use for getting the next set of results.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "EntityInfo": {
- "description": "The entity.",
- "properties": {
- "id": {
- "type": "string",
- "description": "The fully qualified ID for the entity. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000",
- "readOnly": true,
- "x-nullable": true
- },
- "type": {
- "type": "string",
- "description": "The type of the resource. For example, /providers/Microsoft.Management/managementGroups",
- "readOnly": true,
- "x-nullable": true
- },
- "name": {
- "type": "string",
- "description": "The name of the entity. For example, 00000000-0000-0000-0000-000000000000",
- "readOnly": true
- },
- "kind": {
- "type": "string",
- "readOnly": true,
- "description": "The kind of the resource",
- "x-nullable": true
- },
- "properties": {
- "title": "Properties",
- "x-ms-client-flatten": true,
- "x-nullable": true,
- "$ref": "#/definitions/EntityInfoProperties"
- }
- }
- },
- "EntityInfoProperties": {
- "description": "The generic properties of an entity.",
- "type": "object",
- "properties": {
- "tenantId": {
- "type": "string",
- "description": "The AAD Tenant ID associated with the entity. For example, 00000000-0000-0000-0000-000000000000",
- "x-nullable": true
- },
- "displayName": {
- "type": "string",
- "description": "The friendly name of the management group.",
- "x-nullable": true
- },
- "parent": {
- "title": "Parent",
- "$ref": "#/definitions/EntityParentGroupInfo",
- "x-nullable": true
- },
- "permissions": {
- "title": "Permissions",
- "x-nullable": true,
- "$ref": "#/definitions/Permissions"
- },
- "inheritedPermissions": {
- "title": "Inherited Permissions",
- "x-nullable": true,
- "$ref": "#/definitions/Permissions"
- },
- "numberOfDescendants": {
- "title": "Number of Descendants",
- "type": "integer",
- "x-nullable": true
- },
- "numberOfChildren": {
- "title": "Number of Children",
- "description": "Number of children is the number of Groups and Subscriptions that are exactly one level underneath the current Group.",
- "type": "integer",
- "x-nullable": true
- },
- "numberOfChildGroups": {
- "title": "Number of Child Groups",
- "description": "Number of child groups is the number of Groups that are exactly one level underneath the current Group.",
- "type": "integer",
- "x-nullable": true
- },
- "parentDisplayNameChain": {
- "type": "array",
- "description": "The parent display name chain from the root group to the immediate parent",
- "x-nullable": true,
- "items": {
- "type": "string"
- }
- },
- "parentNameChain": {
- "type": "array",
- "description": "The parent name chain from the root group to the immediate parent",
- "x-nullable": true,
- "items": {
- "type": "string"
- }
- }
- }
- },
- "EntityParentGroupInfo": {
- "description": "(Optional) The ID of the parent management group.",
- "properties": {
- "id": {
- "type": "string",
- "description": "The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000"
- }
- }
- },
- "Permissions": {
- "type": "string",
- "enum": [
- "noaccess",
- "view",
- "edit",
- "delete"
- ],
- "description": "The users specific permissions to this item."
- },
- "OperationListResult": {
- "description": "Result of listing cost management operations. It contains a list of operations and a URL link to get the next set of results.",
- "properties": {
- "value": {
- "description": "List of cost management operations supported by the Microsoft.CostManagement resource provider.",
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/Operation"
- }
- },
- "nextLink": {
- "description": "URL to get the next set of operation list results if there are any.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "Operation": {
- "description": "A Cost management REST API operation.",
- "type": "object",
- "properties": {
- "name": {
- "description": "Operation name: {provider}/{resource}/{operation}.",
- "type": "string",
- "readOnly": true
- },
- "display": {
- "description": "The object that represents the operation.",
- "properties": {
- "provider": {
- "description": "Service provider: Microsoft.CostManagement.",
- "type": "string",
- "readOnly": true
- },
- "resource": {
- "description": "Resource on which the operation is performed: Dimensions, Query.",
- "type": "string",
- "readOnly": true
- },
- "operation": {
- "description": "Operation type: Read, write, delete, etc.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- }
- },
- "ShowbackRuleListResult": {
- "description": "Result of listing showback rules. It contains a list of available rules in the scope provided.",
- "properties": {
- "value": {
- "description": "The list of showback rules.",
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/ShowbackRule"
- }
- }
- }
- },
- "ShowbackRule": {
- "type": "object",
- "description": "The showback rule model definition",
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Rule id"
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "Rule name"
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Rule type"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ShowbackRuleProperties",
- "description": "Showback rule properties"
- }
- }
- },
- "ShowbackRuleProperties": {
- "description": "The properties of a showback rule.",
- "discriminator": "RuleType",
- "properties": {
- "description": {
- "description": "Description of a showback rule.",
- "type": "string"
- },
- "status": {
- "description": "The current status of the showback rule.",
- "type": "string",
- "enum": [
- "NotActive",
- "Active"
- ],
- "x-ms-enum": {
- "name": "ShowbackRuleStatus",
- "modelAsString": true
- }
- },
- "version": {
- "description": "The current version of showback rule.",
- "type": "integer",
- "readOnly": true
- },
- "scopes": {
- "description": "List of authorized assigned scopes.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Scope"
- }
- },
- "creationTime": {
- "format": "date-time",
- "description": "The time when the showback rule was created.",
- "type": "string",
- "readOnly": true
- },
- "deprecationTime": {
- "description": "The current time when showback rule was deprecate.",
- "format": "date-time",
- "type": "string",
- "readOnly": true
- },
- "modificationTime": {
- "description": "The current status when showback rule was modified.",
- "format": "date-time",
- "type": "string",
- "readOnly": true
- }
- },
- "allOf": [{
- "$ref": "#/definitions/ShowbackRulesKind"
- }]
- },
- "CustomPrice": {
- "x-ms-discriminator-value": "CustomPrice",
- "type": "object",
- "description": "Represents Custom price showback rule model",
- "allOf": [{
- "$ref": "#/definitions/ShowbackRuleProperties"
- }],
- "properties": {
- "details": {
- "$ref": "#/definitions/CustomPriceProperties"
- }
- }
- },
- "CustomPriceProperties": {
- "type": "object",
- "title": "Custom price showback rule properties",
- "properties": {
- "pricesheet": {
- "type": "string"
- },
- "benefits": {
- "description": "Array of benefits.",
- "type": "array",
- "items": {
- "type": "string",
- "enum": [
- "None", "All", "AHUB", "Reservations"
- ],
- "x-ms-enum": {
- "name": "FunctionType",
- "modelAsString": true
- }
- }
- },
- "markups": {
- "description": "List of markups.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Markup"
- }
- }
- }
- },
- "CustomCharge": {
- "x-ms-discriminator-value": "CustomCharge",
- "type": "object",
- "description": "Represents custom charge showback rule model",
- "allOf": [{
- "$ref": "#/definitions/ShowbackRuleProperties"
- }],
- "properties": {
- "details": {
- "$ref": "#/definitions/CustomChargeProperties"
- }
- }
- },
- "CustomChargeProperties": {
- "type": "object",
- "title": "Custom charge showback rule properties",
- "properties": {
- "recurring": {
- "description": "Recurring of the charge.",
- "type": "string",
- "readOnly": true,
- "enum": [
- "true",
- "false"
- ],
- "x-ms-enum": {
- "name": "CustomChargeRecurring",
- "modelAsString": true
- }
- },
- "chargeType": {
- "type": "string"
- },
- "ChargeValue": {
- "type": "string"
- },
- "EffectiveMonth": {
- "format": "date-time",
- "type": "string"
- },
- "EndMonth": {
- "format": "date-time",
- "type": "string"
- }
- }
- },
- "CostAllocation": {
- "x-ms-discriminator-value": "CostAllocation",
- "type": "object",
- "description": "Represents cost allocation showback rule model",
- "allOf": [{
- "$ref": "#/definitions/ShowbackRuleProperties"
- }],
- "properties": {
- "details": {
- "$ref": "#/definitions/CostAllocationProperties"
- }
- }
- },
- "CostAllocationProperties": {
- "type": "object",
- "title": "Cost allocation showback rule properties",
- "properties": {}
- },
- "ShowbackRulesKind": {
- "type": "object",
- "description": "Describes Showback rule with rule type",
- "properties": {
- "RuleType": {
- "type": "string",
- "description": "The rule type of the showback rule solution",
- "enum": ["CustomPrice", "CustomChange", "CostAllocation"],
- "x-ms-enum": {
- "name": "ShowbackRulesKind",
- "modelAsString": true,
- "values": [{
- "value": "CustomPrice"
- },
- {
- "value": "CustomCharge"
- },
- {
- "value": "CostAllocation"
- }
- ]
- }
- }
- }
- },
- "Scope": {
- "type": "object",
- "description": "The Scope model definition",
- "properties": {
- "id": {
- "type": "string",
- "description": "Scope id"
- },
- "name": {
- "type": "string",
- "description": "Scope name"
- },
- "type": {
- "type": "string",
- "description": "Scope type"
- },
- "childScope": {
- "$ref": "#/definitions/Scope"
- }
- }
- },
- "Markup": {
- "type": "object",
- "description": "The Markup model definition",
- "properties": {
- "percentage": {
- "type": "string"
- }
- }
- }
- },
- "parameters": {
- "apiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Version of the API to be used with the client request. The current version is 2019-03-01-preview"
- },
- "subscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "description": "Azure Subscription ID.",
- "required": true,
- "type": "string"
- },
- "billingAccountIdParameter": {
- "name": "billingAccountId",
- "in": "path",
- "description": "BillingAccount ID",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "managementGroupIdParameter": {
- "name": "managementGroupId",
- "in": "path",
- "description": "ManagementGroup ID",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "departmentIdParameter": {
- "name": "departmentId",
- "in": "path",
- "description": "Department ID",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "enrollmentAccountIdParameter": {
- "name": "enrollmentAccountId",
- "in": "path",
- "description": "Enrollment Account ID",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "resourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "description": "Azure Resource Group Name.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "connectorNameParameter": {
- "name": "connectorName",
- "in": "path",
- "description": "Connector Name.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "externalBillingAccountNameParameter": {
- "name": "externalBillingAccountName",
- "in": "path",
- "description": "External Billing Account Name. (eg 'aws-{PayerAccountId}')",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "externalSubscriptionNameParameter": {
- "name": "externalSubscriptionName",
- "in": "path",
- "description": "External Subscription Name. (eg 'aws-{UsageAccountId}')",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "EntityViewParameter": {
- "name": "$view",
- "in": "query",
- "required": false,
- "type": "string",
- "enum": [
- "FullHierarchy",
- "GroupsOnly",
- "SubscriptionsOnly",
- "ExternalSubscriptionsOnly",
- "Audit"
- ],
- "x-ms-parameter-location": "method",
- "description": "The view parameter allows clients to filter the type of data that is returned by the getEntities call."
- },
- "ruleNameParameter": {
- "name": "ruleName",
- "in": "path",
- "description": "Showback rule name",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ReportConfigDefinition"
+ },
+ "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/QueryResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/Query": {
+ "post": {
+ "tags": [
+ "Query"
+ ],
+ "operationId": "Query_UsageByBillingAccount",
+ "description": "Query the usage data for billing account.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "BillingAccountQuery": {
+ "$ref": "./examples/BillingAccountQuery.json"
+ },
+ "BillingAccountQueryGroupingUsage": {
+ "$ref": "./examples/BillingAccountQueryGrouping.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ReportConfigDefinition"
+ },
+ "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/QueryResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.CostManagement/Forecast": {
+ "post": {
+ "tags": [
+ "Forecast"
+ ],
+ "operationId": "Forecast_UsageByBillingAccount",
+ "description": "Forecast the usage data for billing account.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "BillingAccountForecast": {
+ "$ref": "./examples/BillingAccountForecast.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ReportConfigDefinition"
+ },
+ "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/QueryResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}/providers/Microsoft.CostManagement/Query": {
+ "post": {
+ "tags": [
+ "Query"
+ ],
+ "operationId": "Query_UsageByEnrollmentAccount",
+ "description": "Query the usage data for an enrollment account.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "EnrollmentAccountQuery": {
+ "$ref": "./examples/EnrollmentAccountQuery.json"
+ },
+ "EnrollmentAccountQueryGroupingUsage": {
+ "$ref": "./examples/EnrollmentAccountQueryGrouping.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ },
+ {
+ "$ref": "#/parameters/enrollmentAccountIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ReportConfigDefinition"
+ },
+ "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/QueryResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}/providers/Microsoft.CostManagement/Forecast": {
+ "post": {
+ "tags": [
+ "Forecast"
+ ],
+ "operationId": "Forecast_UsageByEnrollmentAccount",
+ "description": "Forecast the usage data for an enrollment account.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "EnrollmentAccountForecast": {
+ "$ref": "./examples/EnrollmentAccountForecast.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ },
+ {
+ "$ref": "#/parameters/enrollmentAccountIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ReportConfigDefinition"
+ },
+ "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/QueryResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}/providers/Microsoft.CostManagement/Query": {
+ "post": {
+ "tags": [
+ "Query"
+ ],
+ "operationId": "Query_UsageByDepartment",
+ "description": "Query the usage data for department.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "DepartmentQuery": {
+ "$ref": "./examples/DepartmentQuery.json"
+ },
+ "DepartmentQueryGroupingUsage": {
+ "$ref": "./examples/DepartmentQueryGrouping.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ },
+ {
+ "$ref": "#/parameters/departmentIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ReportConfigDefinition"
+ },
+ "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/QueryResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}/providers/Microsoft.CostManagement/Forecast": {
+ "post": {
+ "tags": [
+ "Forecast"
+ ],
+ "operationId": "Forecast_UsageByDepartment",
+ "description": "Forecast the usage data for department.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "DepartmentForecast": {
+ "$ref": "./examples/DepartmentForecast.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ },
+ {
+ "$ref": "#/parameters/departmentIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ReportConfigDefinition"
+ },
+ "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/QueryResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.CostManagement/Query": {
+ "post": {
+ "tags": [
+ "Query"
+ ],
+ "operationId": "Query_UsageByManagmentGroup",
+ "description": "Lists the usage data for management group.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "ManagementGroupQuery": {
+ "$ref": "./examples/ManagementGroupQuery.json"
+ },
+ "ManagementGroupQueryGroupingUsage": {
+ "$ref": "./examples/ManagementGroupQueryGrouping.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/managementGroupIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ReportConfigDefinition"
+ },
+ "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/QueryResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.CostManagement/Forecast": {
+ "post": {
+ "tags": [
+ "Forecast"
+ ],
+ "operationId": "Forecast_UsageByManagmentGroup",
+ "description": "Lists the usage data for management group.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "ManagementGroupForecast": {
+ "$ref": "./examples/ManagementGroupForecast.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/managementGroupIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ReportConfigDefinition"
+ },
+ "description": "Parameters supplied to the CreateOrUpdate Report Config operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/QueryResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.CostManagement/cloudConnectors": {
+ "get": {
+ "tags": [
+ "CloudConnectors"
+ ],
+ "operationId": "CloudConnector_List",
+ "description": "List all cloud connector definitions",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "CloudConnector_List": {
+ "$ref": "./examples/CloudConnectorList.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ConnectorDefinitionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.CostManagement/cloudConnectors/{connectorName}": {
+ "get": {
+ "tags": [
+ "CloudConnectors"
+ ],
+ "operationId": "CloudConnector_Get",
+ "description": "Get a cloud connector definition",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "CloudConnector_Get": {
+ "$ref": "./examples/CloudConnectorGet.json"
+ },
+ "CloudConnector_Get_Expand": {
+ "$ref": "./examples/CloudConnectorGetExpand.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/connectorNameParameter"
+ },
+ {
+ "name": "$expand",
+ "description": "May be used to expand the collectionInfo property. By default, collectionInfo is not included.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ConnectorDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "CloudConnectors"
+ ],
+ "operationId": "CloudConnector_CreateOrUpdate",
+ "description": "Create or update a cloud connector definition",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "CloudConnector_Put": {
+ "$ref": "./examples/CloudConnectorPut.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/connectorNameParameter"
+ },
+ {
+ "name": "connector",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ConnectorDefinition"
+ },
+ "description": "Connector details"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ConnectorDefinition"
+ }
+ },
+ "201": {
+ "description": "Created.",
+ "schema": {
+ "$ref": "#/definitions/ConnectorDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "CloudConnectors"
+ ],
+ "operationId": "CloudConnector_Delete",
+ "description": "Delete a cloud connector definition",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "CloudConnector_Delete": {
+ "$ref": "./examples/CloudConnectorDelete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/connectorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "CloudConnectors"
+ ],
+ "operationId": "CloudConnector_Update",
+ "description": "Update a cloud connector definition",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "CloudConnector_Patch": {
+ "$ref": "./examples/CloudConnectorPatch.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/connectorNameParameter"
+ },
+ {
+ "name": "connector",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ConnectorDefinition"
+ },
+ "description": "Connector details"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ConnectorDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.CostManagement/externalBillingAccounts": {
+ "get": {
+ "tags": [
+ "ExternalBillingAccounts"
+ ],
+ "operationId": "ExternalBillingAccount_List",
+ "description": "List all ExternalBillingAccount definitions",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "ExternalBillingAccount_List": {
+ "$ref": "./examples/ExternalBillingAccountList.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ExternalBillingAccountDefinitionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}": {
+ "get": {
+ "tags": [
+ "ExternalBillingAccounts"
+ ],
+ "operationId": "ExternalBillingAccount_Get",
+ "description": "Get a ExternalBillingAccount definition",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "ExternalBillingAccount_Get": {
+ "$ref": "./examples/ExternalBillingAccountGet.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/externalBillingAccountNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ExternalBillingAccountDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.CostManagement/externalBillingAccounts/{externalBillingAccountName}/externalSubscriptions": {
+ "get": {
+ "tags": [
+ "ExternalSubscriptions"
+ ],
+ "operationId": "ExternalSubscription_ListByExternalBillingAccount",
+ "description": "List all ExternalSubscriptions by ExternalBillingAccount definitions",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "ExternalBillingAccountExternalSubscription_List": {
+ "$ref": "./examples/ExternalBillingAccountExternalSubscriptionList.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/externalBillingAccountNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ExternalSubscriptionDefinitionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.CostManagement/externalSubscriptions": {
+ "get": {
+ "tags": [
+ "ExternalSubscriptions"
+ ],
+ "operationId": "ExternalSubscription_List",
+ "description": "List all ExternalSubscription definitions",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "ExternalSubscription_List": {
+ "$ref": "./examples/ExternalSubscriptionList.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ExternalSubscriptionDefinitionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}": {
+ "get": {
+ "tags": [
+ "ExternalSubscriptions"
+ ],
+ "operationId": "ExternalSubscription_Get",
+ "description": "Get an ExternalSubscription definition",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "ExternalSubscription_Get": {
+ "$ref": "./examples/ExternalSubscriptionGet.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/externalSubscriptionNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ExternalSubscriptionDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.CostManagement/externalSubscriptions": {
+ "get": {
+ "tags": [
+ "ExternalSubscriptions"
+ ],
+ "operationId": "ExternalSubscription_ListByManagementGroup",
+ "description": "List all ExternalSubscription definitions for Management Group",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "ExternalSubscription_List": {
+ "$ref": "./examples/ManagementGroupExternalSubscriptionList.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/managementGroupIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ExternalSubscriptionDefinitionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.CostManagement/externalSubscriptions/{externalSubscriptionName}": {
+ "put": {
+ "tags": [
+ "ExternalSubscriptions"
+ ],
+ "operationId": "ExternalSubscription_UpdateByManagementGroup",
+ "description": "Associates ExternalSubscription with the management group",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/costmanagement/"
+ },
+ "x-ms-examples": {
+ "ManagementGroupExternalSubscription_Put": {
+ "$ref": "./examples/ManagementGroupExternalSubscriptionPut.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/managementGroupIdParameter"
+ },
+ {
+ "$ref": "#/parameters/externalSubscriptionNameParameter"
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.CostManagement/getEntities": {
+ "post": {
+ "tags": [
+ "Entities"
+ ],
+ "operationId": "Entities_ListByManagementGroup",
+ "description": "List all entities (Management Groups, Subscriptions, ExternalSubscriptions, etc.) focusing on a particular group for the authenticated user.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/managementGroupIdParameter"
+ },
+ {
+ "$ref": "#/parameters/EntityViewParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EntityListResult"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "GetEntities": {
+ "$ref": "./examples/ManagementGroupGetEntities.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.CostManagement/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "operationId": "Operations_List",
+ "description": "Lists all of the available consumption REST API operations.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ErrorBase": {
+ "description": "The details of the error.",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "A machine readable error code.",
+ "readOnly": true
+ },
+ "message": {
+ "type": "string",
+ "description": "A human readable error message.",
+ "readOnly": true
+ },
+ "target": {
+ "type": "string",
+ "description": "Indicates which property in the request is responsible for the error.",
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorDetails": {
+ "description": "The details of the error.",
+ "properties": {
+ "code": {
+ "description": "A machine readable error code.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "A human readable error message.",
+ "type": "string",
+ "readOnly": true
+ },
+ "target": {
+ "description": "Indicates which property in the request is responsible for the error.",
+ "type": "string"
+ },
+ "details": {
+ "description": "error details.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorBase"
+ }
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "The details of the error.",
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ }
+ },
+ "Resource": {
+ "description": "The Resource model definition.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource Id."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ },
+ "tags": {
+ "readOnly": true,
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ReportConfigDefinition": {
+ "description": "The definition of a report config.",
+ "properties": {
+ "type": {
+ "description": "The type of the report. Usage represents actual usage, forecast represents forecasted data and UsageAndForecast represents both usage and forecasted data. Actual usage and forecasted data can be differentiated based on dates.",
+ "type": "string",
+ "enum": [
+ "Usage"
+ ],
+ "x-ms-enum": {
+ "name": "ReportType",
+ "modelAsString": true
+ }
+ },
+ "timeframe": {
+ "description": "The time frame for pulling data for the report. If custom, then a specific time period must be provided.",
+ "type": "string",
+ "enum": [
+ "WeekToDate",
+ "MonthToDate",
+ "YearToDate",
+ "Custom"
+ ],
+ "x-ms-enum": {
+ "name": "TimeframeType",
+ "modelAsString": true
+ }
+ },
+ "timePeriod": {
+ "description": "Has time period for pulling data for the report.",
+ "$ref": "#/definitions/ReportConfigTimePeriod"
+ },
+ "dataset": {
+ "description": "Has definition for data in this report config.",
+ "$ref": "#/definitions/ReportConfigDataset"
+ }
+ },
+ "required": [
+ "type",
+ "timeframe"
+ ]
+ },
+ "ReportConfigTimePeriod": {
+ "description": "The start and end date for pulling data for the report.",
+ "properties": {
+ "from": {
+ "description": "The start date to pull data from.",
+ "type": "string",
+ "format": "date-time"
+ },
+ "to": {
+ "description": "The end date to pull data to.",
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ]
+ },
+ "ReportConfigDataset": {
+ "description": "The definition of data present in the report.",
+ "properties": {
+ "granularity": {
+ "description": "The granularity of rows in the report.",
+ "type": "string",
+ "enum": [
+ "Daily",
+ "Monthly"
+ ],
+ "x-ms-enum": {
+ "name": "GranularityType",
+ "modelAsString": true
+ }
+ },
+ "configuration": {
+ "description": "Has configuration information for the data in the report. The configuration will be ignored if aggregation and grouping are provided.",
+ "$ref": "#/definitions/ReportConfigDatasetConfiguration"
+ },
+ "aggregation": {
+ "type": "object",
+ "description": "Dictionary of aggregation expression to use in the report. The key of each item in the dictionary is the alias for the aggregated column. Report can have up to 2 aggregation clauses.",
+ "additionalProperties": {
+ "type": "object",
+ "$ref": "#/definitions/ReportConfigAggregation"
+ },
+ "maxItems": 2
+ },
+ "grouping": {
+ "description": "Array of group by expression to use in the report. Report can have up to 2 group by clauses.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReportConfigGrouping"
+ },
+ "maxItems": 2
+ },
+ "sorting": {
+ "description": "Array of order by expression to use in the report.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReportConfigSorting"
+ }
+ },
+ "filter": {
+ "type": "object",
+ "description": "Has filter expression to use in the report.",
+ "$ref": "#/definitions/ReportConfigFilter"
+ }
+ }
+ },
+ "ReportConfigDatasetConfiguration": {
+ "description": "The configuration of dataset in the report.",
+ "properties": {
+ "columns": {
+ "description": "Array of column names to be included in the report. Any valid report column name is allowed. If not provided, then report includes all columns.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "ReportConfigAggregation": {
+ "description": "The aggregation expression to be used in the report.",
+ "properties": {
+ "name": {
+ "description": "The name of the column to aggregate.",
+ "type": "string"
+ },
+ "function": {
+ "description": "The name of the aggregation function to use.",
+ "type": "string",
+ "enum": [
+ "Sum"
+ ],
+ "x-ms-enum": {
+ "name": "FunctionType",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "name",
+ "function"
+ ]
+ },
+ "ReportConfigSorting": {
+ "description": "The order by expression to be used in the report.",
+ "properties": {
+ "direction": {
+ "description": "Direction of sort.",
+ "type": "string",
+ "enum": [
+ "Ascending",
+ "Descending"
+ ]
+ },
+ "name": {
+ "description": "The name of the column to sort.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "ReportConfigGrouping": {
+ "description": "The group by expression to be used in the report.",
+ "properties": {
+ "type": {
+ "description": "Has type of the column to group.",
+ "$ref": "#/definitions/ReportConfigColumnType"
+ },
+ "name": {
+ "description": "The name of the column to group. This version supports subscription lowest possible grain.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "name"
+ ]
+ },
+ "ReportConfigFilter": {
+ "description": "The filter expression to be used in the report.",
+ "properties": {
+ "and": {
+ "description": "The logical \"AND\" expression. Must have at least 2 items.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReportConfigFilter"
+ },
+ "minItems": 2
+ },
+ "or": {
+ "description": "The logical \"OR\" expression. Must have at least 2 items.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReportConfigFilter"
+ },
+ "minItems": 2
+ },
+ "not": {
+ "description": "The logical \"NOT\" expression.",
+ "$ref": "#/definitions/ReportConfigFilter"
+ },
+ "dimension": {
+ "description": "Has comparison expression for a dimension",
+ "$ref": "#/definitions/ReportConfigComparisonExpression"
+ },
+ "tag": {
+ "description": "Has comparison expression for a tag",
+ "$ref": "#/definitions/ReportConfigComparisonExpression"
+ }
+ }
+ },
+ "ReportConfigColumnType": {
+ "description": "The type of the column in the report.",
+ "type": "string",
+ "enum": [
+ "Tag",
+ "Dimension"
+ ],
+ "x-ms-enum": {
+ "name": "ReportConfigColumnType",
+ "modelAsString": true
+ }
+ },
+ "ReportConfigComparisonExpression": {
+ "description": "The comparison expression to be used in the report.",
+ "properties": {
+ "name": {
+ "description": "The name of the column to use in comparison.",
+ "type": "string"
+ },
+ "operator": {
+ "description": "The operator to use for comparison.",
+ "type": "string",
+ "enum": [
+ "In",
+ "Contains"
+ ],
+ "x-ms-enum": {
+ "name": "OperatorType",
+ "modelAsString": true
+ }
+ },
+ "values": {
+ "description": "Array of values to use for comparison",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1
+ }
+ },
+ "required": [
+ "name",
+ "operator",
+ "values"
+ ]
+ },
+ "DimensionsListResult": {
+ "description": "Result of listing dimensions. It contains a list of available dimensions.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of dimensions.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Dimension"
+ }
+ }
+ }
+ },
+ "Dimension": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DimensionProperties",
+ "title": "Dimension properties"
+ }
+ }
+ },
+ "DimensionProperties": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "filterEnabled": {
+ "type": "boolean"
+ },
+ "groupingEnabled": {
+ "type": "boolean"
+ },
+ "data": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "total": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "category": {
+ "type": "string"
+ },
+ "usageStart": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "usageEnd": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "nextLink": {
+ "type": "string"
+ }
+ }
+ },
+ "QueryResult": {
+ "description": "Result of query. It contains all columns listed under groupings and aggregation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of usage data.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Query"
+ }
+ }
+ }
+ },
+ "Query": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/QueryProperties",
+ "title": "Query properties"
+ }
+ }
+ },
+ "QueryProperties": {
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "type": "string"
+ },
+ "columns": {
+ "description": "Array of columns",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/QueryColumn"
+ }
+ },
+ "rows": {
+ "type": "array",
+ "items": {
+ "type": "array",
+ "items": {}
+ }
+ }
+ }
+ },
+ "QueryColumn": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ }
+ },
+ "ConnectorDefinitionListResult": {
+ "description": "Result of listing connector definitions. It contains a list of available connector definitions in the scope provided.",
+ "properties": {
+ "value": {
+ "description": "The list of connector definitions.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ConnectorDefinition"
+ }
+ }
+ }
+ },
+ "ConnectorDefinition": {
+ "type": "object",
+ "description": "The Connector model definition",
+ "properties": {
+ "kind": {
+ "type": "string",
+ "description": "Connector kind (eg aws)"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Connector id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Connector name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Connector type"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ConnectorProperties",
+ "description": "Connector properties"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ConnectorProperties": {
+ "type": "object",
+ "description": "The properties of a Connector",
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
+ "description": "Connector DisplayName"
+ },
+ "providerAccountId": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read"
+ ],
+ "description": "Connector providerAccountId (determined from credentials)",
+ "readOnly": true
+ },
+ "credentialsKey": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
+ "description": "Credentials authentication key (eg AWS ARN)"
+ },
+ "credentialsSecret": {
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "update"
+ ],
+ "description": "Credentials secret (eg AWS ExternalId)"
+ },
+ "reportId": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
+ "description": "Identifying source report. (For AWS this is a CUR report name, defined with Daily and with Resources)"
+ },
+ "createdOn": {
+ "format": "date-time",
+ "type": "string",
+ "x-ms-mutability": [
+ "read"
+ ],
+ "description": "Connector definition creation datetime",
+ "readOnly": true
+ },
+ "modifiedOn": {
+ "format": "date-time",
+ "type": "string",
+ "x-ms-mutability": [
+ "read"
+ ],
+ "description": "Connector last modified datetime",
+ "readOnly": true
+ },
+ "status": {
+ "enum": [
+ "active",
+ "error",
+ "suspended"
+ ],
+ "x-ms-enum": {
+ "name": "ConnectorStatus",
+ "modelAsString": true
+ },
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
+ "description": "Connector status"
+ },
+ "defaultManagementGroupId": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
+ "description": "Default ManagementGroupId"
+ },
+ "subscriptionId": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
+ "description": "Billing SubscriptionId"
+ },
+ "billingModel": {
+ "enum": [
+ "trial",
+ "autoUpgrade",
+ "premium",
+ "expired"
+ ],
+ "x-ms-enum": {
+ "name": "ConnectorBillingModel",
+ "modelAsString": true
+ },
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
+ "description": "Connector billing model"
+ },
+ "daysTrialRemaining": {
+ "type": "integer",
+ "x-nullable": true,
+ "x-ms-mutability": [
+ "read"
+ ],
+ "description": "Number of days remaining of trial",
+ "readOnly": true
+ },
+ "collectionInfo": {
+ "$ref": "#/definitions/ConnectorCollectionInfo",
+ "description": "Collection information",
+ "x-nullable": true,
+ "readOnly": true
+ }
+ }
+ },
+ "ConnectorCollectionInfo": {
+ "type": "object",
+ "description": "Collection and ingestion information",
+ "properties": {
+ "lastChecked": {
+ "format": "date-time",
+ "type": "string",
+ "x-ms-mutability": [
+ "read"
+ ],
+ "description": "Last time the data acquisition process initiated connecting to the external provider",
+ "readOnly": true
+ },
+ "sourceLastUpdated": {
+ "format": "date-time",
+ "type": "string",
+ "x-ms-mutability": [
+ "read"
+ ],
+ "description": "Source timestamp of external data currently available in Azure (eg AWS last processed CUR file timestamp)",
+ "readOnly": true
+ },
+ "lastUpdated": {
+ "format": "date-time",
+ "type": "string",
+ "x-ms-mutability": [
+ "read"
+ ],
+ "description": "Last time the external data was updated into Azure",
+ "readOnly": true
+ },
+ "error": {
+ "$ref": "#/definitions/ConnectorCollectionErrorInfo",
+ "description": "Error information of last collection"
+ }
+ }
+ },
+ "ConnectorCollectionErrorInfo": {
+ "type": "object",
+ "description": "Details of any error encountered on last collection attempt",
+ "properties": {
+ "errorMessage": {
+ "type": "string",
+ "description": "Detailed error message",
+ "readOnly": true
+ },
+ "errorInnerMessage": {
+ "type": "string",
+ "description": "External Provider error message",
+ "readOnly": true
+ },
+ "errorCode": {
+ "type": "string",
+ "description": "Short error code",
+ "readOnly": true
+ },
+ "errorStartTime": {
+ "format": "date-time",
+ "type": "string",
+ "description": "Time the error started occurring (Last time error occurred in lastChecked)",
+ "readOnly": true
+ }
+ }
+ },
+ "ExternalBillingAccountDefinitionListResult": {
+ "description": "Result of listing ExternalBillingAccount definitions. It contains a list of available ExternalBillingAccount definitions in the scope provided.",
+ "properties": {
+ "value": {
+ "description": "The list of ExternalBillingAccount definitions.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ExternalBillingAccountDefinition"
+ }
+ }
+ }
+ },
+ "ExternalBillingAccountDefinition": {
+ "type": "object",
+ "description": "The ExternalBillingAccount model definition",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "ExternalBillingAccount id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "ExternalBillingAccount name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "ExternalBillingAccount type"
+ },
+ "kind": {
+ "type": "string",
+ "readOnly": true,
+ "description": "ExternalBillingAccount kind (eg aws)"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExternalBillingAccountProperties",
+ "description": "ExternalBillingAccount properties"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ExternalBillingAccountProperties": {
+ "type": "object",
+ "description": "The properties of a ExternalBillingAccount",
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read"
+ ],
+ "description": "ExternalBillingAccount DisplayName",
+ "readOnly": true
+ },
+ "connectorId": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read"
+ ],
+ "description": "Underlying ConnectorId",
+ "readOnly": true
+ }
+ }
+ },
+ "ExternalSubscriptionDefinitionListResult": {
+ "description": "Result of listing ExternalSubscription definitions. It contains a list of available ExternalSubscription definitions in the scope provided.",
+ "properties": {
+ "value": {
+ "description": "The list of ExternalSubscription definitions.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ExternalSubscriptionDefinition"
+ }
+ }
+ }
+ },
+ "ExternalSubscriptionDefinition": {
+ "type": "object",
+ "description": "The ExternalSubscription model definition",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "ExternalSubscription id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "ExternalSubscription name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "ExternalSubscription type"
+ },
+ "kind": {
+ "type": "string",
+ "readOnly": true,
+ "description": "ExternalSubscription kind (eg aws)"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ExternalSubscriptionProperties",
+ "description": "ExternalSubscription properties"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ExternalSubscriptionProperties": {
+ "type": "object",
+ "description": "The properties of a ExternalSubscription",
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read"
+ ],
+ "description": "ExternalSubscription DisplayName",
+ "readOnly": true
+ },
+ "managementGroupId": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read"
+ ],
+ "description": "Assigned ManagementGroupId",
+ "readOnly": true
+ },
+ "externalBillingAccountId": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read"
+ ],
+ "description": "Parent ExternalBillingAccountId",
+ "readOnly": true
+ }
+ }
+ },
+ "EntityListResult": {
+ "description": "Describes the result of the request to view entities.",
+ "properties": {
+ "value": {
+ "description": "The list of entities.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EntityInfo"
+ }
+ },
+ "count": {
+ "description": "Total count of records that match the filter",
+ "type": "integer",
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "The URL to use for getting the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "EntityInfo": {
+ "description": "The entity.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the entity. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource. For example, /providers/Microsoft.Management/managementGroups",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the entity. For example, 00000000-0000-0000-0000-000000000000",
+ "readOnly": true
+ },
+ "kind": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The kind of the resource",
+ "x-nullable": true
+ },
+ "properties": {
+ "title": "Properties",
+ "x-ms-client-flatten": true,
+ "x-nullable": true,
+ "$ref": "#/definitions/EntityInfoProperties"
+ }
+ }
+ },
+ "EntityInfoProperties": {
+ "description": "The generic properties of an entity.",
+ "type": "object",
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "description": "The AAD Tenant ID associated with the entity. For example, 00000000-0000-0000-0000-000000000000",
+ "x-nullable": true
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The friendly name of the management group.",
+ "x-nullable": true
+ },
+ "parent": {
+ "title": "Parent",
+ "$ref": "#/definitions/EntityParentGroupInfo",
+ "x-nullable": true
+ },
+ "permissions": {
+ "title": "Permissions",
+ "x-nullable": true,
+ "$ref": "#/definitions/Permissions"
+ },
+ "inheritedPermissions": {
+ "title": "Inherited Permissions",
+ "x-nullable": true,
+ "$ref": "#/definitions/Permissions"
+ },
+ "numberOfDescendants": {
+ "title": "Number of Descendants",
+ "type": "integer",
+ "x-nullable": true
+ },
+ "numberOfChildren": {
+ "title": "Number of Children",
+ "description": "Number of children is the number of Groups and Subscriptions that are exactly one level underneath the current Group.",
+ "type": "integer",
+ "x-nullable": true
+ },
+ "numberOfChildGroups": {
+ "title": "Number of Child Groups",
+ "description": "Number of child groups is the number of Groups that are exactly one level underneath the current Group.",
+ "type": "integer",
+ "x-nullable": true
+ },
+ "parentDisplayNameChain": {
+ "type": "array",
+ "description": "The parent display name chain from the root group to the immediate parent",
+ "x-nullable": true,
+ "items": {
+ "type": "string"
+ }
+ },
+ "parentNameChain": {
+ "type": "array",
+ "description": "The parent name chain from the root group to the immediate parent",
+ "x-nullable": true,
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "EntityParentGroupInfo": {
+ "description": "(Optional) The ID of the parent management group.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000"
+ }
+ }
+ },
+ "Permissions": {
+ "type": "string",
+ "enum": [
+ "noaccess",
+ "view",
+ "edit",
+ "delete"
+ ],
+ "description": "The users specific permissions to this item."
+ },
+ "OperationListResult": {
+ "description": "Result of listing cost management operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "description": "List of cost management operations supported by the Microsoft.CostManagement resource provider.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next set of operation list results if there are any.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Operation": {
+ "description": "A Cost management REST API operation.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}.",
+ "type": "string",
+ "readOnly": true
+ },
+ "display": {
+ "description": "The object that represents the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft.CostManagement.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed: Dimensions, Query.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operation": {
+ "description": "Operation type: Read, write, delete, etc.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ }
+ }
+ }
+ },
+ "parameters": {
+ "apiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Version of the API to be used with the client request. The current version is 2019-03-01-preview"
+ },
+ "subscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "Azure Subscription ID.",
+ "required": true,
+ "type": "string"
+ },
+ "billingAccountIdParameter": {
+ "name": "billingAccountId",
+ "in": "path",
+ "description": "BillingAccount ID",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "managementGroupIdParameter": {
+ "name": "managementGroupId",
+ "in": "path",
+ "description": "ManagementGroup ID",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "departmentIdParameter": {
+ "name": "departmentId",
+ "in": "path",
+ "description": "Department ID",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "enrollmentAccountIdParameter": {
+ "name": "enrollmentAccountId",
+ "in": "path",
+ "description": "Enrollment Account ID",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "resourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "Azure Resource Group Name.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "connectorNameParameter": {
+ "name": "connectorName",
+ "in": "path",
+ "description": "Connector Name.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "externalBillingAccountNameParameter": {
+ "name": "externalBillingAccountName",
+ "in": "path",
+ "description": "External Billing Account Name. (eg 'aws-{PayerAccountId}')",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "externalSubscriptionNameParameter": {
+ "name": "externalSubscriptionName",
+ "in": "path",
+ "description": "External Subscription Name. (eg 'aws-{UsageAccountId}')",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "EntityViewParameter": {
+ "name": "$view",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "enum": [
+ "FullHierarchy",
+ "GroupsOnly",
+ "SubscriptionsOnly",
+ "ExternalSubscriptionsOnly",
+ "Audit"
+ ],
+ "x-ms-parameter-location": "method",
+ "description": "The view parameter allows clients to filter the type of data that is returned by the getEntities call."
+ }
+ }
}
\ No newline at end of file
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRule.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRule.json
deleted file mode 100644
index 02b717cdb0d2..000000000000
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRule.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-03-01-preview",
- "billingAccountId": "100",
- "ruleId": "testRule"
- },
- "responses": {
- "200": {
- "body": {
- "id": "providers/Microsoft.Billing/billingAccounts/100/providers/Microsoft.CostManagement/showback/testRule",
- "name": "testRule",
- "type": "Microsoft.CostManagement/showback",
- "eTag": null,
- "properties": {
- "id": "testRule",
- "description": "This is a testRule",
- "status": "NotActive",
- "version": 1,
- "deprecationTime": "0001-01-01T00:00:00",
- "creationTime": "2019-01-16T09:18:20.8665509Z",
- "modificationTime": "0001-01-01T00:00:00",
- "modificationUserName": null,
- "ruleType": "CustomPrice",
- "assignedScopes": null,
- "details": {
- "pricesheet": "Pay-As-You-Go (0003P)",
- "AHUBenefits": true,
- "markup": null
- }
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulePut.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulePut.json
deleted file mode 100644
index 7036686e7631..000000000000
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulePut.json
+++ /dev/null
@@ -1,57 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-03-01-preview",
- "billingAccountId": "100",
- "ruleId": "testRule",
- "showbackRule": {
- "properties": {
- "name": "demo",
- "description": "Welcome to Showback demo",
- "status": "Active",
- "ruleType": "CustomPrice",
- "assignedScopes": [{
- "entityType": "Enrollment",
- "entityId": "292105a9-680d-48cf-bdad-1d023104d69f",
- "childScope": null
- }],
- "details": {
- "pricesheet": "Pay-As-You-Go (0003P)",
- "AHUBenefits": true,
- "markup": [{
- "percentage": 1.1,
- "filters": []
- }]
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "providers/Microsoft.Billing/billingAccounts/71824150/providers/Microsoft.CostManagement/showback/demo",
- "name": "demo",
- "type": "Microsoft.CostManagement/showback",
- "eTag": null,
- "properties": {
- "version": 999,
- "deprecationTime": "0001-01-01T00:00:00",
- "creationTime": "2019-01-16T09:18:20.8665509Z",
- "modificationTime": "0001-01-01T00:00:00",
- "modificationUserName": null,
- "id": "demo",
- "description": "Welcome to Showback demo",
- "status": "NotActive",
- "ruleType": "CustomPrice",
- "details": {
- "pricesheet": "Pay-As-You-Go (0003P)",
- "AHUBenefits": true,
- "markup": [{
- "percentage": 1.1,
- "filters": []
- }]
- }
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulesList.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulesList.json
deleted file mode 100644
index ac55768c6d7b..000000000000
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2019-03-01-preview/examples/ShowbackRulesList.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-03-01-preview",
- "billingAccountId": "100"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "providers/Microsoft.Billing/billingAccounts/100/providers/Microsoft.CostManagement/showback/testRule",
- "name": "testRule",
- "type": "Microsoft.CostManagement/showback",
- "eTag": null,
- "properties": {
- "id": "testRule",
- "description": "This is a testRule",
- "status": "NotActive",
- "version": 1,
- "deprecationTime": "0001-01-01T00:00:00",
- "creationTime": "2019-01-16T09:18:20.8665509Z",
- "modificationTime": "0001-01-01T00:00:00",
- "modificationUserName": null,
- "ruleType": "CustomPrice",
- "assignedScopes": null,
- "details": {
- "pricesheet": "Pay-As-You-Go (0003P)",
- "AHUBenefits": true,
- "markup": null
- }
- }
- }
- ]
- }
- }
- }
- }
\ No newline at end of file
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json
index 0a864aa7b088..294ad19ca54d 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json
@@ -763,6 +763,47 @@
"tableName"
]
},
+ "AzureDataLakeStoreCosmosStructuredStreamDataset": {
+ "x-ms-discriminator-value": "AzureDataLakeStoreCosmosStructuredStreamFile",
+ "description": "Azure Data Lake Store Cosmos Structured Stream dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Azure Data Lake Store Cosmos Structured Stream dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureDataLakeStoreCosmosStructuredStreamDatasetTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "AzureDataLakeStoreCosmosStructuredStreamDatasetTypeProperties": {
+ "description": "Azure Data Lake Store Cosmos Structured Stream dataset properties.",
+ "properties": {
+ "folderPath": {
+ "type": "object",
+ "description": "Path to the folder in the Azure Data Lake Store. Type: string (or Expression with resultType string)."
+ },
+ "fileName": {
+ "type": "object",
+ "description": "The name of the file in the Azure Data Lake Store. Type: string (or Expression with resultType string)."
+ },
+ "generatedFromActivity": {
+ "type": "object",
+ "description": "Flag to indicate if this dataset is been generated from Compilation Activity. Type: boolean (or Expression with resultType boolean)."
+ }
+ },
+ "required": [
+ "folderPath",
+ "fileName"
+ ]
+ },
"FileShareDataset": {
"x-ms-discriminator-value": "FileShare",
"description": "An on-premises file system dataset.",
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json
index 52ba169775af..7101140535cd 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json
@@ -28,7 +28,7 @@
"description": "Parameters for linked service."
},
"annotations": {
- "description": "List of tags that can be used for describing the linked service.",
+ "description": "List of tags that can be used for describing the Dataset.",
"type": "array",
"items": {
"type": "object"
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Trigger.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Trigger.json
index d0671194aa21..8d1e0e2b9370 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Trigger.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Trigger.json
@@ -23,13 +23,6 @@
"$ref": "#/definitions/TriggerRuntimeState",
"description": "Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger.",
"readOnly": true
- },
- "annotations": {
- "description": "List of tags that can be used for describing the trigger.",
- "type": "array",
- "items": {
- "type": "object"
- }
}
},
"additionalProperties": {
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/catalog.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/catalog.json
index b39df026fa5c..dedc81e58f54 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/catalog.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/catalog.json
@@ -3929,10 +3929,6 @@
"type": "string",
"format": "date-time",
"description": "the creation time of the table fragment."
- },
- "streamPath": {
- "type": "string",
- "description": "the relative path for the table fragment location."
}
},
"description": "A Data Lake Analytics catalog U-SQL table fragment item."
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableFragments.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableFragments.json
index 9147f8d936ef..f119f573ed26 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableFragments.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableFragments.json
@@ -23,8 +23,7 @@
"indexId": 1,
"size": 33786,
"rowCount": 1,
- "createDate": "2017-10-11T06:38:31.567-07:00",
- "streamPath":"catalog/database/86bf2a20-b511-48c8-91c5-1f73c4c0ec74/schema/b83d3be1-9e11-40b7-85f9-ad823efe2414/table/1e666ab1-d6f0-4990-8180-1a6160caf405/91193f18-06dd-47a2-96fa-2cca3b4777e1.ss"
+ "createDate": "2017-10-11T06:38:31.567-07:00"
}]
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/edgegateway.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/edgegateway.json
index e66b8b060a1a..ca73d8e9983d 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/edgegateway.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/edgegateway.json
@@ -520,6 +520,45 @@
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/getExtendedInformation": {
+ "put": {
+ "tags": [ "Devices" ],
+ "description": "Creates or updates the additional information of a the data box edge/gateway device.",
+ "operationId": "Devices_CreateOrUpdateExtendedInfo",
+ "parameters": [
+ {
+ "name": "deviceName",
+ "in": "path",
+ "description": "The device name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "description": "The additional information.",
+ "required": true,
+ "schema": { "$ref": "#/definitions/DataBoxEdgeDeviceExtendedInfo" }
+ },
+ { "$ref": "#/parameters/subscriptionIdParameter" },
+ { "$ref": "#/parameters/resourceGroupNameParameter" },
+ { "$ref": "#/parameters/apiVersionParameter" }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successfully created/updated the additional information on the device.",
+ "schema": { "$ref": "#/definitions/DataBoxEdgeDeviceExtendedInfo" }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": { "$ref": "#/definitions/CloudError" }
+ }
+ },
+ "x-ms-examples": {
+ "ExtendedInfoPut": {
+ "$ref": "./examples/ExtendedInfoPut.json"
+ }
+ }
+ },
"post": {
"tags": [ "Devices" ],
"description": "Gets additional information for the specified data box edge/gateway device.",
@@ -778,7 +817,7 @@
{
"name": "deviceName",
"in": "path",
- "description": "The device name.",
+ "description": "The order details of a device.",
"required": true,
"type": "string"
},
@@ -1461,14 +1500,7 @@
},
{ "$ref": "#/parameters/subscriptionIdParameter" },
{ "$ref": "#/parameters/resourceGroupNameParameter" },
- { "$ref": "#/parameters/apiVersionParameter" },
- {
- "name": "$expand",
- "in": "query",
- "description": "Specify $filter='CustomContextTag eq ' to filter on custom context tag property",
- "required": false,
- "type": "string"
- }
+ { "$ref": "#/parameters/apiVersionParameter" }
],
"responses": {
"200": {
@@ -2251,14 +2283,19 @@
},
"DataBoxEdgeDeviceExtendedInfoProperties": {
"description": "The properties of the Data Box Edge/Gateway device extended info.",
+ "required": [ "integrityKey" ],
"type": "object",
"properties": {
+ "integrityKey": {
+ "description": "The Channel Integrity Key (CIK) of the device.",
+ "type": "string"
+ },
"encryptionKeyThumbprint": {
- "description": "The digital signature of encrypted certificate.",
+ "description": "The certificate thumbprint that was used to encrypt the Channel Integrity Key (CIK).",
"type": "string"
},
"encryptionKey": {
- "description": "The public part of the encryption certificate. Client uses this to encrypt any secret.",
+ "description": "The Channel Integrity Key (CIK) of the device.",
"type": "string"
},
"resourceKey": {
@@ -3228,7 +3265,7 @@
"properties": {
"startTime": {
"format": "date-time",
- "description": "The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified up to seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.",
+ "description": "The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified.",
"type": "string"
},
"schedule": {
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ExtendedInfoPost.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ExtendedInfoPost.json
index 591391f2654d..96fd433570eb 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ExtendedInfoPost.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ExtendedInfoPost.json
@@ -21,10 +21,8 @@
"200": {
"body": {
"properties": {
- "resourceKey": "3482840729935603111",
- "encryptionKeyThumbprint": "",
- "encryptionKey": ""
-
+ "integrityKey": "Test-integrity-key",
+ "resourceKey": "3482840729935603111"
},
"id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice",
"name": "testedgedevice",
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ExtendedInfoPut.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ExtendedInfoPut.json
new file mode 100644
index 000000000000..183dc3dc04d0
--- /dev/null
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ExtendedInfoPut.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2019-03-01",
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "GroupForEdgeAutomation",
+ "deviceName": "testedgedevice",
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "200"
+ ],
+ "x-ms-client-request-id": [
+ "a93b39a3-1ff4-42b8-a56f-43368d47e37a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "parameters": {
+ "properties": {
+ "integrityKey": "Test-integrity-key"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice",
+ "name": "testedgedevice",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "integrityKey": "Test-integrity-key",
+ "resourceKey": "3482840729935603111"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice",
+ "name": "testedgedevice",
+ "type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareDelete.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareDelete.json
index 451a3be99acc..6d61ab1afd45 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareDelete.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareDelete.json
@@ -4,7 +4,7 @@
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
"resourceGroupName": "GroupForEdgeAutomation",
"deviceName": "testedgedevice",
- "name": "smbshare",
+ "name": "testShare1234SMB",
"x-ms-client-request-id": [
"a93b39a3-1ff4-42b8-a56f-43368d47e37a"
],
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareGet.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareGet.json
index ad5130ae4260..9fd00102617a 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareGet.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareGet.json
@@ -4,7 +4,7 @@
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
"resourceGroupName": "GroupForEdgeAutomation",
"deviceName": "testedgedevice",
- "name": "smbshare",
+ "name": "testShare1234SMB",
"x-ms-client-request-id": [
"a93b39a3-1ff4-42b8-a56f-43368d47e37a"
],
@@ -20,7 +20,7 @@
"shareStatus": "Online",
"monitoringStatus": "Disabled",
"azureContainerInfo": {
- "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1",
+ "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-2FO5M5SFCEN1218180610041/storageAccountCredentials/sac1218180610052",
"containerName": "testContainerSMB",
"dataFormat": "BlockBlob"
},
@@ -36,8 +36,8 @@
"shareMappings": [],
"dataPolicy": "Cloud"
},
- "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare",
- "name": "smbshare",
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/testShare1234SMB",
+ "name": "testShare1234SMB",
"type": "dataBoxEdgeDevices/shares"
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareGetAllInDevice.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareGetAllInDevice.json
index 2992f5d5a5fb..cf2e9df19e6c 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareGetAllInDevice.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareGetAllInDevice.json
@@ -21,7 +21,7 @@
"shareStatus": "Online",
"monitoringStatus": "Disabled",
"azureContainerInfo": {
- "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1",
+ "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-2FO5M5SFCEN1218180610041/storageAccountCredentials/sac1218180610052",
"containerName": "testContainerSMB",
"dataFormat": "BlockBlob"
},
@@ -37,8 +37,8 @@
"shareMappings": [],
"dataPolicy": "Cloud"
},
- "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare",
- "name": "smbshare",
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/testShare1234SMB",
+ "name": "testShare1234SMB",
"type": "dataBoxEdgeDevices/shares"
}
]
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SharePut.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SharePut.json
index f19e1895638a..09ebd7d68651 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SharePut.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SharePut.json
@@ -4,7 +4,7 @@
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
"resourceGroupName": "GroupForEdgeAutomation",
"deviceName": "testedgedevice",
- "name": "smbshare",
+ "name": "testShare1234SMB",
"Content-Type": [
"application/json; charset=utf-8"
@@ -24,7 +24,7 @@
"shareStatus": "Online",
"monitoringStatus": "Enabled",
"azureContainerInfo": {
- "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1",
+ "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-2FO5M5SFCEN1218180610041/storageAccountCredentials/sac1218180610052",
"containerName": "testContainerSMB",
"dataFormat": "BlockBlob"
},
@@ -37,7 +37,7 @@
],
"dataPolicy": "Cloud"
},
- "name": "smbshare"
+ "name": "testShare1234SMB"
}
},
"responses": {
@@ -48,7 +48,7 @@
"shareStatus": "Online",
"monitoringStatus": "Disabled",
"azureContainerInfo": {
- "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/storageAccountCredentials/sac1",
+ "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/EAuToWIN-2FO5M5SFCEN1218180610041/storageAccountCredentials/sac1218180610052",
"containerName": "testContainerSMB",
"dataFormat": "BlockBlob"
},
@@ -64,8 +64,8 @@
"shareMappings": [],
"dataPolicy": "Cloud"
},
- "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/smbshare",
- "name": "smbshare",
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/GroupForEdgeAutomation/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/testedgedevice/shares/testShare1234SMB",
+ "name": "testShare1234SMB",
"type": "dataBoxEdgeDevices/shares"
}
},
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareRefreshPost.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareRefreshPost.json
index 799b93858d68..155620c2c3c0 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareRefreshPost.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareRefreshPost.json
@@ -4,7 +4,7 @@
"subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
"resourceGroupName": "GroupForEdgeAutomation",
"deviceName": "testedgedevice",
- "name": "smbshare",
+ "name": "testShare1",
"Content-Type": [
"application/json; charset=utf-8"
diff --git a/specification/edgegateway/resource-manager/readme.md b/specification/edgegateway/resource-manager/readme.md
index ac59d5126934..5fd1b1b7c640 100644
--- a/specification/edgegateway/resource-manager/readme.md
+++ b/specification/edgegateway/resource-manager/readme.md
@@ -51,6 +51,7 @@ This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-js
+ - repo: azure-sdk-for-node
- repo: azure-sdk-for-go
- repo: azure-sdk-for-java
- repo: azure-sdk-for-ruby
diff --git a/specification/edgegateway/resource-manager/readme.nodejs.md b/specification/edgegateway/resource-manager/readme.nodejs.md
new file mode 100644
index 000000000000..8d98dd22b64a
--- /dev/null
+++ b/specification/edgegateway/resource-manager/readme.nodejs.md
@@ -0,0 +1,16 @@
+## Node.js
+
+These settings apply only when `--nodejs` is specified on the command line.
+Please also specify `--node-sdks-folder=`.
+
+``` yaml $(nodejs)
+nodejs:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 2
+ package-name: azure-arm-edgegateway
+ output-folder: $(node-sdks-folder)/lib/services/edgegatewayManagement
+ generate-license-txt: true
+ generate-package-json: true
+ generate-readme-md: false
+```
diff --git a/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json b/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json
deleted file mode 100644
index c6f356f299a6..000000000000
--- a/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2018-01-01",
- "title": "Schema of Azure App Configuration events published to Azure Event Grid",
- "description": "Describes the schema of the Azure App Configuration events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent."
- },
- "paths": {},
- "definitions": {
- "AppConfigurationKeyValueModifiedEventData": {
- "description": "Schema of the Data property of an EventGridEvent for an Microsoft.AppConfiguration.KeyValueModified event.",
- "type": "object",
- "properties": {
- "key": {
- "description": "The key used to identify the key-value that was modified.",
- "type": "string"
- },
- "label": {
- "description": "The label, if any, used to identify the key-value that was modified.",
- "type": "string"
- },
- "etag": {
- "description": "The etag representing the new state of the key-value.",
- "type": "string"
- }
- }
- },
- "AppConfigurationKeyValueDeletedEventData": {
- "description": "Schema of the Data property of an EventGridEvent for an Microsoft.AppConfiguration.KeyValueDeleted event.",
- "type": "object",
- "properties": {
- "key": {
- "description": "The key used to identify the key-value that was deleted.",
- "type": "string"
- },
- "label": {
- "description": "The label, if any, used to identify the key-value that was deleted.",
- "type": "string"
- },
- "etag": {
- "description": "The etag representing the key-value that was deleted.",
- "type": "string"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/eventgrid/data-plane/readme.md b/specification/eventgrid/data-plane/readme.md
index 30d5af3e4949..732184217d71 100644
--- a/specification/eventgrid/data-plane/readme.md
+++ b/specification/eventgrid/data-plane/readme.md
@@ -53,7 +53,6 @@ input-file:
- Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json
- Microsoft.Media/stable/2018-01-01/MediaServices.json
- Microsoft.Maps/stable/2018-01-01/Maps.json
-- Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json
```
---
diff --git a/specification/eventgrid/resource-manager/readme.go.md b/specification/eventgrid/resource-manager/readme.go.md
index fe14866459e2..43c4093c0602 100644
--- a/specification/eventgrid/resource-manager/readme.go.md
+++ b/specification/eventgrid/resource-manager/readme.go.md
@@ -13,7 +13,6 @@ go:
``` yaml $(go) && $(multiapi)
batch:
- - tag: package-2019-02-preview
- tag: package-2019-01
- tag: package-2018-09-preview
- tag: package-2018-05-preview
@@ -22,15 +21,6 @@ batch:
- tag: package-2017-06-preview
```
-### Tag: package-2019-02-preview and go
-
-These settings apply only when `--tag=package-2019-02-preview --go` is specified on the command line.
-Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag) == 'package-2019-02-preview' && $(go)
-output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-02-01-preview/$(namespace)
-```
-
### Tag: package-2019-01 and go
These settings apply only when `--tag=package-2019-01 --go` is specified on the command line.
@@ -83,4 +73,4 @@ Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag) == 'package-2019-02-preview' && $(ruby)
-
-namespace: "Azure::EventGrid::Mgmt::V2019_02_01_preview"
-output-folder: $(ruby-sdks-folder)/management/azure_mgmt_event_grid/lib
-```
-
### Tag: package-2019-01 and ruby
These settings apply only when `--tag=package-2019-01 --ruby` is specified on the command line.
@@ -89,4 +78,4 @@ Please also specify `--ruby-sdks-folder=`.
+Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
+
+``` yaml $(python)
+python-mode: create
+python:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 2
+ namespace: azure.mgmt.eventhub
+ package-name: azure-mgmt-eventhub
+ package-version: 1.3.0
+ clear-output-folder: true
+```
+``` yaml $(python) && $(python-mode) == 'update'
+python:
+ no-namespace-folders: true
+ output-folder: $(python-sdks-folder)/azure-mgmt-eventhub/azure/mgmt/eventhub
+```
+``` yaml $(python) && $(python-mode) == 'create'
+python:
+ basic-setup-py: true
+ output-folder: $(python-sdks-folder)/azure-mgmt-eventhub
+```
## Go
diff --git a/specification/eventhub/resource-manager/readme.python.md b/specification/eventhub/resource-manager/readme.python.md
deleted file mode 100644
index de6feb13630d..000000000000
--- a/specification/eventhub/resource-manager/readme.python.md
+++ /dev/null
@@ -1,57 +0,0 @@
-## Python
-
-These settings apply only when `--python` is specified on the command line.
-
-``` yaml $(python)
-python:
- azure-arm: true
- license-header: MICROSOFT_MIT_NO_VERSION
- payload-flattening-threshold: 2
- package-name: azure-mgmt-eventhub
- clear-output-folder: true
- no-namespace-folders: true
-```
-
-### Python multi-api
-
-Generate all API versions currently shipped for this package
-
-```yaml $(python) && $(multiapi)
-batch:
- - tag: package-2018-01-preview
- - tag: package-2017-04
- - tag: package-2015-08
-```
-
-### Tag: package-2018-01-preview and python
-
-These settings apply only when `--tag=package-2018-01-preview --python` is specified on the command line.
-Please also specify `--python-sdks-folder=`.
-
-``` yaml $(tag) == 'package-2018-01-preview' && $(python)
-python:
- namespace: azure.mgmt.eventhub.v2018_01_01_preview
- output-folder: $(python-sdks-folder)/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview
-```
-
-### Tag: package-2017-04 and python
-
-These settings apply only when `--tag=package-2017-04 --python` is specified on the command line.
-Please also specify `--python-sdks-folder=`.
-
-``` yaml $(tag) == 'package-2017-04' && $(python)
-python:
- namespace: azure.mgmt.eventhub.v2017_04_01
- output-folder: $(python-sdks-folder)/azure-mgmt-eventhub/azure/mgmt/eventhub/v2017_04_01
-```
-
-### Tag: package-2015-08 and python
-
-These settings apply only when `--tag=package-2015-08 --python` is specified on the command line.
-Please also specify `--python-sdks-folder=`.
-
-``` yaml $(tag) == 'package-2015-08' && $(python)
-python:
- namespace: azure.mgmt.eventhub.v2015_08_01
- output-folder: $(python-sdks-folder)/azure-mgmt-eventhub/azure/mgmt/eventhub/v2015_08_01
-```
diff --git a/specification/graphrbac/data-plane/Microsoft.GraphRbac/stable/1.6/graphrbac.json b/specification/graphrbac/data-plane/Microsoft.GraphRbac/stable/1.6/graphrbac.json
index e9e5fc87c118..4b9d1e131555 100644
--- a/specification/graphrbac/data-plane/Microsoft.GraphRbac/stable/1.6/graphrbac.json
+++ b/specification/graphrbac/data-plane/Microsoft.GraphRbac/stable/1.6/graphrbac.json
@@ -191,7 +191,7 @@
"operationId": "DeletedApplications_Restore",
"description": "Restores the deleted application in the directory.",
"parameters": [
- {
+ {
"name": "objectId",
"in": "path",
"required": true,
@@ -1955,112 +1955,73 @@
}
}
},
- "/{tenantID}/oauth2PermissionGrants": {
- "get": {
- "tags": [
- "OAuth2PermissionGrant_List"
- ],
- "operationId": "OAuth2PermissionGrant_List",
- "description": "Queries OAuth2 permissions grants for the relevant SP ObjectId of an app.",
- "produces": [ "application/json" ],
- "parameters": [
- {
- "name": "$filter",
- "in": "query",
- "required": false,
- "type": "string",
- "x-example": "clientId+eq+'61ed44c3-5a1d-4639-a215-07f25129c6c3",
- "description": "This is the Service Principal ObjectId associated with the app"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/tenantIDInPath"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The operation was successful.",
- "schema": {
- "$ref": "#/definitions/OAuth2PermissionGrantListResult"
- }
- }
+ "/{tenantID}/oauth2PermissionGrants" : {
+ "get" : {
+ "tags": [
+ "OAuth2Permissions_get"
+ ],
+ "operationId": "OAuth2_Get",
+ "description": "Queries OAuth2 permissions for the relevant SP ObjectId of an app.",
+ "produces" : [ "application/json" ],
+ "parameters" : [
+ {
+ "name" : "$filter",
+ "in" : "query",
+ "required" : false,
+ "type" : "string",
+ "x-example" : "clientId+eq+'61ed44c3-5a1d-4639-a215-07f25129c6c3'",
+ "description": "This is the Service Principal ObjectId associated with the app"
},
- "x-ms-pageable": {
- "nextLinkName": "odata.nextLink",
- "operationName": "OAuth2PermissionGrant_ListNext"
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/tenantIDInPath"
}
- },
- "post": {
- "tags": [
- "OAuth2PermissionGrant_Create"
- ],
- "consumes": [ "application/json" ],
- "operationId": "OAuth2PermissionGrant_Create",
- "description": "Grants OAuth2 permissions for the relevant resource Ids of an app.",
- "produces": [ "application/json" ],
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": false,
- "description": "The relevant app Service Principal Object Id and the Service Principal Object Id you want to grant.",
- "schema": {
- "$ref": "#/definitions/OAuth2PermissionGrant"
- },
- "x-examples": {
- "application/json": "{\n\t\"odata.type\": \"Microsoft.DirectoryServices.OAuth2PermissionGrant\",\n\t\"clientId\": \"39afbaa2-4a5c-4f5b-9ee3-2c83f09bbc87\", \n\t\"consentType\": \"AllPrincipals\",\n\t\"principalId\": null,\n\t\"resourceId\": \"d3247842-c517-4520-80a7-332690ae2fe4\",\n\t\"scope\": \"user_impersonation\",\n \"startTime\": \"0001-01-01T00:00:00\",\n \"expiryTime\": \"9000-01-01T00:00:00\"\n}",
- "description": "These are the values required to grant permission to a resourceId for an app, only one operation is allowed per request"
- }
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/tenantIDInPath"
- }
- ],
- "responses": {
- "201": {
- "description": "OK. The operation was successful.",
- "schema": {
- "$ref": "#/definitions/OAuth2PermissionGrant"
+ ],
+ "responses" : {
+ "200" : {
+ "description" : "OK. The operation was successful.",
+ "schema" : {
+ "$ref" : "#/definitions/Permissions"
}
}
}
- }
- },
- "/{tenantID}/oauth2PermissionGrants/{objectId}": {
- "delete": {
- "tags": [
- "OAuth2PermissionGrant_delete"
- ],
- "operationId": "OAuth2PermissionGrant_Delete",
- "description": "Delete a OAuth2 permission grant for the relevant resource Ids of an app.",
- "parameters": [
+ },
+ "post" : {
+ "tags": [
+ "OAuth2Permissions_Grant"
+ ],
+ "consumes" : [ "application/json" ],
+ "operationId": "OAuth2_Grant",
+ "description": "Grants OAuth2 permissions for the relevant resource Ids of an app.",
+ "produces" : [ "application/json" ],
+ "parameters" : [
{
- "name": "objectId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The object ID of a permission grant."
+ "in" : "body",
+ "name" : "body",
+ "required" : false,
+ "description": "The relevant app Service Principal Object Id and the Service Principal Object Id you want to grant.",
+ "schema" : {
+ "$ref" : "#/definitions/Permissions"
+ },
+ "x-examples" : {
+ "application/json" : "{\n\t\"odata.type\": \"Microsoft.DirectoryServices.OAuth2PermissionGrant\",\n\t\"clientId\": \"39afbaa2-4a5c-4f5b-9ee3-2c83f09bbc87\", \n\t\"consentType\": \"AllPrincipals\",\n\t\"principalId\": null,\n\t\"resourceId\": \"d3247842-c517-4520-80a7-332690ae2fe4\",\n\t\"scope\": \"user_impersonation\",\n \"startTime\": \"0001-01-01T00:00:00\",\n \"expiryTime\": \"9000-01-01T00:00:00\"\n}",
+ "description": "These are the values required to grant permission to a resourceId for an app, only one operation is allowed per request"
+ }
},
{
- "$ref": "#/parameters/ApiVersionParameter"
+ "$ref": "#/parameters/ApiVersionParameter"
},
{
- "$ref": "#/parameters/tenantIDInPath"
+ "$ref": "#/parameters/tenantIDInPath"
}
],
- "responses": {
- "204": {
- "description": "No Content"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/GraphError"
+ "responses" : {
+ "201" : {
+ "description" : "OK. The operation was successful.",
+ "schema" : {
+ "$ref" : "#/definitions/Permissions"
}
}
}
@@ -2068,49 +2029,6 @@
}
},
"x-ms-paths": {
- "/{tenantID}/{nextLink}?OAuth2PermissionGrant_ListNext": {
- "get": {
- "tags": [
- "OAuth2PermissionGrant_ListNext"
- ],
- "operationId": "OAuth2PermissionGrant_ListNext",
- "description": "Gets the next page of OAuth2 permission grants",
- "parameters": [
- {
- "name": "nextLink",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Next link for the list operation.",
- "x-ms-skip-url-encoding": true
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/tenantIDInPath"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The operation was successful.",
- "schema": {
- "$ref": "#/definitions/OAuth2PermissionGrantListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/GraphError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "odata.nextLink",
- "operationName": "OAuth2PermissionGrant_ListNext"
- }
- }
- },
"/{tenantID}/{nextLink}?SignedInUser_ListOwnedObjectsNext": {
"get": {
"tags": [
@@ -2451,168 +2369,6 @@
}
},
"definitions": {
- "InformationalUrl": {
- "type": "object",
- "description": "Represents a group of URIs that provide terms of service, marketing, support and privacy policy information about an application. The default value for each string is null.",
- "properties": {
- "termsOfService": {
- "description": "The terms of service URI",
- "type": "string"
- },
- "marketing": {
- "description": "The marketing URI",
- "type": "string"
- },
- "privacy": {
- "description": "The privacy policy URI",
- "type": "string"
- },
- "support": {
- "description": "The support URI",
- "type": "string"
- }
- }
- },
- "OAuth2Permission": {
- "type": "object",
- "description": "Represents an OAuth 2.0 delegated permission scope. The specified OAuth 2.0 delegated permission scopes may be requested by client applications (through the requiredResourceAccess collection on the Application object) when calling a resource application. The oauth2Permissions property of the ServicePrincipal entity and of the Application entity is a collection of OAuth2Permission.",
- "properties": {
- "adminConsentDescription": {
- "description": "Permission help text that appears in the admin consent and app assignment experiences.",
- "type": "string"
- },
- "adminConsentDisplayName": {
- "description": "Display name for the permission that appears in the admin consent and app assignment experiences.",
- "type": "string"
- },
- "id": {
- "description": "Unique scope permission identifier inside the oauth2Permissions collection.",
- "type": "string"
- },
- "isEnabled": {
- "description": "When creating or updating a permission, this property must be set to true (which is the default). To delete a permission, this property must first be set to false. At that point, in a subsequent call, the permission may be removed. ",
- "type": "boolean"
- },
- "type": {
- "description": "Specifies whether this scope permission can be consented to by an end user, or whether it is a tenant-wide permission that must be consented to by a Company Administrator. Possible values are \"User\" or \"Admin\".",
- "type": "string"
- },
- "userConsentDescription": {
- "description": "Permission help text that appears in the end user consent experience.",
- "type": "string"
- },
- "userConsentDisplayName": {
- "description": "Display name for the permission that appears in the end user consent experience.",
- "type": "string"
- },
- "value": {
- "description": "The value of the scope claim that the resource application should expect in the OAuth 2.0 access token.",
- "type": "string"
- }
- }
- },
- "OptionalClaims": {
- "type": "object",
- "description": "Specifying the claims to be included in the token.",
- "properties": {
- "idToken": {
- "description": "Optional claims requested to be included in the id token.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/OptionalClaim"
- }
- },
- "accessToken": {
- "description": "Optional claims requested to be included in the access token.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/OptionalClaim"
- }
- },
- "samlToken": {
- "description": "Optional claims requested to be included in the saml token.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/OptionalClaim"
- }
- }
- }
- },
- "OptionalClaim": {
- "type": "object",
- "description": "Specifying the claims to be included in a token.",
- "properties": {
- "name": {
- "description": "Claim name.",
- "type": "string"
- },
- "source": {
- "description": "Claim source.",
- "type": "string"
- },
- "essential": {
- "description": "Is this a required claim.",
- "type": "boolean"
- },
- "additionalProperties": {
- "type": "object"
- }
- }
- },
- "PreAuthorizedApplication": {
- "type": "object",
- "description": "Contains information about pre authorized client application.",
- "properties": {
- "appId": {
- "description": "Represents the application id.",
- "type": "string"
- },
- "permissions": {
- "description": "Collection of required app permissions/entitlements from the resource application.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PreAuthorizedApplicationPermission"
- }
- },
- "extensions": {
- "description": "Collection of extensions from the resource application.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/PreAuthorizedApplicationExtension"
- }
- }
- }
- },
- "PreAuthorizedApplicationPermission": {
- "type": "object",
- "description": "Contains information about the pre-authorized permissions.",
- "properties": {
- "directAccessGrant": {
- "description": "Indicates whether the permission set is DirectAccess or impersonation.",
- "type": "boolean"
- },
- "accessGrants": {
- "description": "The list of permissions.",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- },
- "PreAuthorizedApplicationExtension": {
- "type": "object",
- "description": "Representation of an app PreAuthorizedApplicationExtension required by a pre authorized client app.",
- "properties": {
- "conditions": {
- "description": "The extension's conditions.",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- },
"GraphError": {
"type": "object",
"properties": {
@@ -2708,7 +2464,7 @@
"description": "Type. Acceptable values are 'AsymmetricX509Cert' and 'Symmetric'."
},
"customKeyIdentifier": {
- "type": "string",
+ "type":"string",
"description": "Custom Key Identifier"
}
},
@@ -2759,7 +2515,7 @@
},
"description": "The list of OAuth2.0 permission scopes and app roles that the application requires from the specified resource."
},
- "resourceAppId": {
+ "resourceAppId" : {
"type": "string",
"description": "The unique identifier for the resource that the application requires access to. This should be equal to the appId declared on the target resource application."
}
@@ -2792,34 +2548,9 @@
],
"description": "Specifies an OAuth 2.0 permission scope or an app role that an application requires. The resourceAccess property of the RequiredResourceAccess type is a collection of ResourceAccess."
},
- "GroupMembershipClaims": {
- "description": "Configures the groups claim issued in a user or OAuth 2.0 access token that the app expects.",
- "enum": [
- "None",
- "SecurityGroup",
- "All"
- ],
- "x-ms-enum": {
- "name": "GroupMembershipClaimTypes",
- "modelAsString": true
- }
- },
- "ApplicationBase": {
+ "ApplicationCreateParameters": {
"type": "object",
- "description": "Active Directive Application common properties shared among GET, POST and PATCH",
"properties": {
- "allowGuestsSignIn": {
- "description": "A property on the application to indicate if the application accepts other IDPs or not or partially accepts.",
- "type": "boolean"
- },
- "allowPassthroughUsers": {
- "description": "Indicates that the application supports pass through users who have no presence in the resource tenant.",
- "type": "boolean"
- },
- "appLogoUrl": {
- "description": "The url for the application logo image stored in a CDN.",
- "type": "string"
- },
"appRoles": {
"type": "array",
"items": {
@@ -2827,181 +2558,134 @@
},
"description": "The collection of application roles that an application may declare. These roles can be assigned to users, groups or service principals."
},
- "appPermissions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The application permissions."
- },
"availableToOtherTenants": {
"type": "boolean",
"description": "Whether the application is available to other tenants."
},
- "errorUrl": {
- "description": "A URL provided by the author of the application to report errors when using the application.",
- "type": "string"
- },
- "groupMembershipClaims": {
- "$ref": "#/definitions/GroupMembershipClaims",
- "description": "Configures the groups claim issued in a user or OAuth 2.0 access token that the app expects."
+ "displayName": {
+ "type": "string",
+ "description": "The display name of the application."
},
"homepage": {
"type": "string",
"description": "The home page of the application."
},
- "informationalUrls": {
- "$ref": "#/definitions/InformationalUrl",
- "description": "urls with more informations of the application."
- },
- "isDeviceOnlyAuthSupported": {
- "description": "Specifies whether this application supports device authentication without a user. The default is false.",
- "type": "boolean"
- },
- "keyCredentials": {
+ "identifierUris": {
"type": "array",
"items": {
- "$ref": "#/definitions/KeyCredential"
+ "type": "string"
},
- "description": "A collection of KeyCredential objects."
+ "description": "A collection of URIs for the application."
},
- "knownClientApplications": {
- "description": "Client applications that are tied to this resource application. Consent to any of the known client applications will result in implicit consent to the resource application through a combined consent dialog (showing the OAuth permission scopes required by the client and the resource).",
+ "replyUrls": {
"type": "array",
"items": {
"type": "string"
- }
- },
- "logoutUrl": {
- "type": "string",
- "description": "the url of the logout page"
- },
- "oauth2AllowImplicitFlow": {
- "type": "boolean",
- "description": "Whether to allow implicit grant flow for OAuth2"
- },
- "oauth2AllowUrlPathMatching": {
- "description": "Specifies whether during a token Request Azure AD will allow path matching of the redirect URI against the applications collection of replyURLs. The default is false.",
- "type": "boolean"
- },
- "oauth2Permissions": {
- "description": "The collection of OAuth 2.0 permission scopes that the web API (resource) application exposes to client applications. These permission scopes may be granted to client applications during consent.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/OAuth2Permission"
- }
- },
- "oauth2RequirePostResponse": {
- "description": "Specifies whether, as part of OAuth 2.0 token requests, Azure AD will allow POST requests, as opposed to GET requests. The default is false, which specifies that only GET requests will be allowed.",
- "type": "boolean"
+ },
+ "description": "A collection of reply URLs for the application."
},
- "orgRestrictions": {
- "description": "A list of tenants allowed to access application.",
+ "keyCredentials": {
"type": "array",
"items": {
- "type": "string"
- }
- },
- "optionalClaims": {
- "$ref": "#/definitions/OptionalClaims"
+ "$ref": "#/definitions/KeyCredential"
+ },
+ "description": "The list of KeyCredential objects."
},
"passwordCredentials": {
"type": "array",
"items": {
"$ref": "#/definitions/PasswordCredential"
},
- "description": "A collection of PasswordCredential objects"
- },
- "preAuthorizedApplications": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PreAuthorizedApplication"
- },
- "description": "list of pre-authorized applications."
- },
- "publicClient": {
- "description": "Specifies whether this application is a public client (such as an installed application running on a mobile device). Default is false.",
- "type": "boolean"
- },
- "publisherDomain": {
- "description": "Reliable domain which can be used to identify an application.",
- "type": "string"
+ "description": "The list of PasswordCredential objects."
},
- "replyUrls": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "A collection of reply URLs for the application."
+ "oauth2AllowImplicitFlow" : {
+ "type": "boolean",
+ "description": "Whether to allow implicit grant flow for OAuth2"
},
- "requiredResourceAccess": {
+ "requiredResourceAccess" : {
"type": "array",
"items": {
"$ref": "#/definitions/RequiredResourceAccess"
},
"description": "Specifies resources that this application requires access to and the set of OAuth permission scopes and application roles that it needs under each of those resources. This pre-configuration of required resource access drives the consent experience."
- },
- "samlMetadataUrl": {
- "description": "The URL to the SAML metadata for the application.",
- "type": "string"
- },
- "signInAudience": {
- "description": "Audience for signing in to the application (AzureADMyOrganization, AzureADAllOrganizations, AzureADAndMicrosoftAccounts).",
- "type": "string"
- },
- "wwwHomepage": {
- "description": "The primary Web page.",
- "type": "string"
}
- }
- },
- "ApplicationCreateParameters": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/ApplicationBase"
- }
- ],
+ },
"required": [
+ "availableToOtherTenants",
"displayName",
"identifierUris"
],
- "properties": {
- "displayName": {
- "type": "string",
- "description": "The display name of the application."
- },
- "identifierUris": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "A collection of URIs for the application."
- }
+ "additionalProperties": {
+ "type": "object"
},
"description": "Request parameters for creating a new application."
},
"ApplicationUpdateParameters": {
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/ApplicationBase"
- }
- ],
- "description": "Request parameters for updating a new application.",
"properties": {
+ "appRoles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AppRole"
+ },
+ "description": "The collection of application roles that an application may declare. These roles can be assigned to users, groups or service principals."
+ },
+ "availableToOtherTenants": {
+ "type": "boolean",
+ "description": "Whether the application is available to other tenants"
+ },
"displayName": {
"type": "string",
"description": "The display name of the application."
},
+ "homepage": {
+ "type": "string",
+ "description": "The home page of the application."
+ },
"identifierUris": {
"type": "array",
"items": {
"type": "string"
},
"description": "A collection of URIs for the application."
+ },
+ "replyUrls": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A collection of reply URLs for the application."
+ },
+ "keyCredentials": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/KeyCredential"
+ },
+ "description": "The list of KeyCredential objects."
+ },
+ "passwordCredentials": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PasswordCredential"
+ },
+ "description": "The list of PasswordCredential objects."
+ },
+ "oauth2AllowImplicitFlow" : {
+ "type": "boolean",
+ "description": "Whether to allow implicit grant flow for OAuth2"
+ },
+ "requiredResourceAccess" : {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RequiredResourceAccess"
+ },
+ "description": "Specifies resources that this application requires access to and the set of OAuth permission scopes and application roles that it needs under each of those resources. This pre-configuration of required resource access drives the consent experience."
}
- }
+ },
+ "additionalProperties": {
+ "type": "object"
+ },
+ "description": "Request parameters for updating an existing application."
},
"Application": {
"type": "object",
@@ -3015,18 +2699,6 @@
"type": "string",
"description": "The application ID."
},
- "allowGuestsSignIn": {
- "description": "A property on the application to indicate if the application accepts other IDPs or not or partially accepts.",
- "type": "boolean"
- },
- "allowPassthroughUsers": {
- "description": "Indicates that the application supports pass through users who have no presence in the resource tenant.",
- "type": "boolean"
- },
- "appLogoUrl": {
- "description": "The url for the application logo image stored in a CDN.",
- "type": "string"
- },
"appRoles": {
"type": "array",
"items": {
@@ -3043,24 +2715,12 @@
},
"availableToOtherTenants": {
"type": "boolean",
- "description": "Whether the application is available to other tenants."
+ "description": "Whether the application is be available to other tenants."
},
"displayName": {
"type": "string",
"description": "The display name of the application."
},
- "errorUrl": {
- "description": "A URL provided by the author of the application to report errors when using the application.",
- "type": "string"
- },
- "groupMembershipClaims": {
- "$ref": "#/definitions/GroupMembershipClaims",
- "description": "Configures the groups claim issued in a user or OAuth 2.0 access token that the app expects."
- },
- "homepage": {
- "type": "string",
- "description": "The home page of the application."
- },
"identifierUris": {
"type": "array",
"items": {
@@ -3068,60 +2728,34 @@
},
"description": "A collection of URIs for the application."
},
- "informationalUrls": {
- "$ref": "#/definitions/InformationalUrl",
- "description": "urls with more informations of the application."
- },
- "isDeviceOnlyAuthSupported": {
- "description": "Specifies whether this application supports device authentication without a user. The default is false.",
- "type": "boolean"
- },
- "keyCredentials": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/KeyCredential"
- },
- "description": "A collection of KeyCredential objects."
- },
- "knownClientApplications": {
- "description": "Client applications that are tied to this resource application. Consent to any of the known client applications will result in implicit consent to the resource application through a combined consent dialog (showing the OAuth permission scopes required by the client and the resource).",
+ "replyUrls": {
"type": "array",
"items": {
"type": "string"
- }
+ },
+ "description": "A collection of reply URLs for the application."
},
- "logoutUrl": {
+ "homepage": {
"type": "string",
- "description": "the url of the logout page"
+ "description": "The home page of the application."
},
"oauth2AllowImplicitFlow": {
"type": "boolean",
"description": "Whether to allow implicit grant flow for OAuth2"
},
- "oauth2AllowUrlPathMatching": {
- "description": "Specifies whether during a token Request Azure AD will allow path matching of the redirect URI against the applications collection of replyURLs. The default is false.",
- "type": "boolean"
- },
- "oauth2Permissions": {
- "description": "The collection of OAuth 2.0 permission scopes that the web API (resource) application exposes to client applications. These permission scopes may be granted to client applications during consent.",
+ "requiredResourceAccess": {
"type": "array",
"items": {
- "$ref": "#/definitions/OAuth2Permission"
- }
- },
- "oauth2RequirePostResponse": {
- "description": "Specifies whether, as part of OAuth 2.0 token requests, Azure AD will allow POST requests, as opposed to GET requests. The default is false, which specifies that only GET requests will be allowed.",
- "type": "boolean"
+ "$ref": "#/definitions/RequiredResourceAccess"
+ },
+ "description": "Specifies resources that this application requires access to and the set of OAuth permission scopes and application roles that it needs under each of those resources. This pre-configuration of required resource access drives the consent experience."
},
- "orgRestrictions": {
- "description": "A list of tenants allowed to access application.",
+ "keyCredentials": {
"type": "array",
"items": {
- "type": "string"
- }
- },
- "optionalClaims": {
- "$ref": "#/definitions/OptionalClaims"
+ "$ref": "#/definitions/KeyCredential"
+ },
+ "description": "A collection of KeyCredential objects."
},
"passwordCredentials": {
"type": "array",
@@ -3129,47 +2763,6 @@
"$ref": "#/definitions/PasswordCredential"
},
"description": "A collection of PasswordCredential objects"
- },
- "preAuthorizedApplications": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PreAuthorizedApplication"
- },
- "description": "list of pre-authorized applications."
- },
- "publicClient": {
- "description": "Specifies whether this application is a public client (such as an installed application running on a mobile device). Default is false.",
- "type": "boolean"
- },
- "publisherDomain": {
- "description": "Reliable domain which can be used to identify an application.",
- "type": "string"
- },
- "replyUrls": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "A collection of reply URLs for the application."
- },
- "requiredResourceAccess": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/RequiredResourceAccess"
- },
- "description": "Specifies resources that this application requires access to and the set of OAuth permission scopes and application roles that it needs under each of those resources. This pre-configuration of required resource access drives the consent experience."
- },
- "samlMetadataUrl": {
- "description": "The URL to the SAML metadata for the application.",
- "type": "string"
- },
- "signInAudience": {
- "description": "Audience for signing in to the application (AzureADMyOrganization, AzureADAllOrganizations, AzureADAndMicrosoftAccounts).",
- "type": "string"
- },
- "wwwHomepage": {
- "description": "The primary Web page.",
- "type": "string"
}
},
"description": "Active Directory application information."
@@ -3198,14 +2791,14 @@
"type": "string",
"description": "Unique role identifier inside the appRoles collection."
},
- "allowedMemberTypes": {
+ "allowedMemberTypes":{
"type": "array",
"items": {
"type": "string"
},
"description": "Specifies whether this app role definition can be assigned to users and groups by setting to 'User', or to other applications (that are accessing this application in daemon service scenarios) by setting to 'Application', or to both. "
},
- "description": {
+ "description" : {
"type": "string",
"description": "Permission help text that appears in the admin app assignment and consent experiences."
},
@@ -3475,57 +3068,76 @@
},
"description": "Server response for IsMemberOf API call"
},
- "ServicePrincipalBase": {
+ "ServicePrincipalCreateParameters": {
"type": "object",
- "description": "Active Directory service principal common properties shared among GET, POST and PATCH",
"properties": {
"accountEnabled": {
- "description": "whether or not the service principal account is enabled",
- "type": "string"
+ "type": "boolean",
+ "description": "Whether the account is enabled"
+ },
+ "appId": {
+ "type": "string",
+ "description": "application Id"
},
"appRoleAssignmentRequired": {
- "description": "Specifies whether an AppRoleAssignment to a user or group is required before Azure AD will issue a user or access token to the application.",
- "type": "boolean"
+ "type": "boolean",
+ "description": "Specifies whether an AppRoleAssignment to a user or group is required before Azure AD will issue a user or access token to the application."
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The display name for the service principal."
+ },
+ "errorUrl": {
+ "type": "string"
+ },
+ "homepage": {
+ "type": "string",
+ "description": "The URL to the homepage of the associated application."
},
"keyCredentials": {
- "description": "The collection of key credentials associated with the service principal.",
"type": "array",
"items": {
"$ref": "#/definitions/KeyCredential"
- }
+ },
+ "description": "A collection of KeyCredential objects."
},
"passwordCredentials": {
- "description": "The collection of password credentials associated with the service principal.",
"type": "array",
"items": {
"$ref": "#/definitions/PasswordCredential"
- }
+ },
+ "description": "A collection of PasswordCredential objects"
},
- "servicePrincipalType": {
+ "publisherName": {
"type": "string",
- "description": "the type of the service principal"
+ "description": "The display name of the tenant in which the associated application is specified."
+ },
+ "replyUrls": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A collection of reply URLs for the service principal."
+ },
+ "samlMetadataUrl": {
+ "type": "string"
+ },
+ "servicePrincipalNames": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A collection of service principal names."
},
"tags": {
- "description": "Optional list of tags that you can apply to your service principals. Not nullable.",
"type": "array",
"items": {
"type": "string"
}
}
- }
- },
- "ServicePrincipalCreateParameters": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/ServicePrincipalBase"
- }
- ],
- "properties": {
- "appId": {
- "type": "string",
- "description": "The application ID."
- }
+ },
+ "additionalProperties": {
+ "type": "object"
},
"required": [
"appId"
@@ -3534,114 +3146,57 @@
},
"ServicePrincipalUpdateParameters": {
"type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/ServicePrincipalBase"
- }
- ],
- "description": "Request parameters for update an existing service principal."
- },
- "ServicePrincipal": {
- "type": "object",
- "description": "Active Directory service principal information.",
- "allOf": [
- {
- "$ref": "#/definitions/DirectoryObject"
- }
- ],
"properties": {
"accountEnabled": {
- "description": "whether or not the service principal account is enabled",
- "type": "string"
- },
- "alternativeNames": {
- "description": "alternative names",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "appDisplayName": {
- "description": "The display name exposed by the associated application.",
- "readOnly": true,
- "type": "string"
+ "type": "boolean",
+ "description": "Whether the account is enabled"
},
"appId": {
"type": "string",
- "description": "The application ID."
- },
- "appOwnerTenantId": {
- "readOnly": true,
- "type": "string"
+ "description": "application Id"
},
"appRoleAssignmentRequired": {
- "description": "Specifies whether an AppRoleAssignment to a user or group is required before Azure AD will issue a user or access token to the application.",
- "type": "boolean"
- },
- "appRoles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AppRole"
- },
- "description": "The collection of application roles that an application may declare. These roles can be assigned to users, groups or service principals."
+ "type": "boolean",
+ "description": "Specifies whether an AppRoleAssignment to a user or group is required before Azure AD will issue a user or access token to the application."
},
"displayName": {
"type": "string",
- "description": "The display name of the service principal."
+ "description": "The display name for the service principal."
},
"errorUrl": {
- "type": "string",
- "description": "A URL provided by the author of the associated application to report errors when using the application."
+ "type": "string"
},
"homepage": {
- "description": "The URL to the homepage of the associated application.",
- "type": "string"
+ "type": "string",
+ "description": "The URL to the homepage of the associated application."
},
"keyCredentials": {
- "description": "The collection of key credentials associated with the service principal.",
"type": "array",
"items": {
"$ref": "#/definitions/KeyCredential"
- }
- },
- "logoutUrl": {
- "type": "string",
- "description": "A URL provided by the author of the associated application to logout"
-
- },
- "oauth2Permissions": {
- "description": "The OAuth 2.0 permissions exposed by the associated application.",
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/OAuth2Permission"
- }
+ },
+ "description": "A collection of KeyCredential objects."
},
"passwordCredentials": {
- "description": "The collection of password credentials associated with the service principal.",
"type": "array",
"items": {
"$ref": "#/definitions/PasswordCredential"
- }
- },
- "preferredTokenSigningKeyThumbprint": {
- "description": "The thumbprint of preferred certificate to sign the token",
- "type": "string"
+ },
+ "description": "A collection of PasswordCredential objects"
},
"publisherName": {
- "description": "The publisher's name of the associated application",
- "type": "string"
+ "type": "string",
+ "description": "The display name of the tenant in which the associated application is specified."
},
"replyUrls": {
- "description": "The URLs that user tokens are sent to for sign in with the associated application. The redirect URIs that the oAuth 2.0 authorization code and access tokens are sent to for the associated application.",
"type": "array",
"items": {
"type": "string"
- }
+ },
+ "description": "A collection of reply URLs for the service principal."
},
"samlMetadataUrl": {
- "type": "string",
- "description": "The URL to the SAML metadata of the associated application"
+ "type": "string"
},
"servicePrincipalNames": {
"type": "array",
@@ -3650,18 +3205,50 @@
},
"description": "A collection of service principal names."
},
- "servicePrincipalType": {
- "type": "string",
- "description": "the type of the service principal"
- },
"tags": {
- "description": "Optional list of tags that you can apply to your service principals. Not nullable.",
"type": "array",
"items": {
"type": "string"
}
}
- }
+ },
+ "additionalProperties": {
+ "type": "object"
+ },
+ "description": "Request parameters for creating a new service principal."
+ },
+ "ServicePrincipal": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/DirectoryObject"
+ }
+ ],
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "description": "The display name of the service principal."
+ },
+ "appId": {
+ "type": "string",
+ "description": "The application ID."
+ },
+ "appRoles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AppRole"
+ },
+ "description": "The collection of application roles that an application may declare. These roles can be assigned to users, groups or service principals."
+ },
+ "servicePrincipalNames": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A collection of service principal names."
+ }
+ },
+ "description": "Active Directory service principal information."
},
"ServicePrincipalListResult": {
"type": "object",
@@ -4009,80 +3596,51 @@
},
"description": "Server response for Get tenant domains API call."
},
- "OAuth2PermissionGrant": {
- "properties": {
- "odata.type": {
- "type": "string",
+ "Permissions" : {
+ "properties" : {
+ "odata.type" : {
+ "type" : "string",
"description": "Microsoft.DirectoryServices.OAuth2PermissionGrant"
},
- "clientId": {
- "type": "string",
- "description": "The id of the resource's service principal granted consent to impersonate the user when accessing the resource (represented by the resourceId property)."
+ "clientId" : {
+ "type" : "string",
+ "description": "The objectId of the Service Principal associated with the app"
},
- "objectId": {
- "type": "string",
- "description": "The id of the permission grant"
+ "consentType" : {
+ "type" : "string",
+ "description": "Typically set to AllPrincipals"
},
- "consentType": {
- "type": "string",
- "description": "Indicates if consent was provided by the administrator (on behalf of the organization) or by an individual.",
- "enum": [
- "AllPrincipals",
- "Principal"
- ],
- "x-ms-enum": {
- "name": "ConsentType",
- "modelAsString": true
- }
+ "principalId" : {
+ "type" : "object",
+ "description": "Set to null if AllPrincipals is set"
},
- "principalId": {
- "type": "string",
- "description": "When consent type is Principal, this property specifies the id of the user that granted consent and applies only for that user."
+ "resourceId" : {
+ "type" : "string",
+ "description" : "Service Principal Id of the resource you want to grant"
},
- "resourceId": {
- "type": "string",
- "description": "Object Id of the resource you want to grant"
- },
- "scope": {
- "type": "string",
- "description": "Specifies the value of the scope claim that the resource application should expect in the OAuth 2.0 access token. For example, User.Read"
+ "scope" : {
+ "type" : "string",
+ "description": "Typically set to user_impersonation"
},
- "startTime": {
- "type": "string",
- "description": "Start time for TTL"
+ "startTime" : {
+ "type" : "string",
+ "description" : "Start time for TTL"
},
- "expiryTime": {
- "type": "string",
- "description": "Expiry time for TTL"
+ "expiryTime" : {
+ "type" : "string",
+ "description" : "Expiry time for TTL"
}
},
- "example": {
- "odata.type": "odata.type",
- "resourceId": "resourceId",
- "clientId": "clientId",
- "scope": "scope",
- "expiryTime": "expiryTime",
- "consentType": "consentType",
- "principalId": "",
- "startTime": "startTime"
+ "example" : {
+ "odata.type" : "odata.type",
+ "resourceId" : "resourceId",
+ "clientId" : "clientId",
+ "scope" : "scope",
+ "expiryTime" : "expiryTime",
+ "consentType" : "consentType",
+ "principalId" : "",
+ "startTime" : "startTime"
}
- },
- "OAuth2PermissionGrantListResult": {
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/OAuth2PermissionGrant"
- },
- "description": "the list of oauth2 permissions grants"
- },
- "odata.nextLink": {
- "type": "string",
- "description": "the URL to get the next set of results."
- }
- },
- "description": "Server response for get oauth2 permissions grants"
}
},
"parameters": {
diff --git a/specification/graphrbac/data-plane/readme.md b/specification/graphrbac/data-plane/readme.md
index c65c065e5dad..2f5731187931 100644
--- a/specification/graphrbac/data-plane/readme.md
+++ b/specification/graphrbac/data-plane/readme.md
@@ -39,18 +39,6 @@ input-file:
- Microsoft.GraphRbac/stable/1.6/graphrbac.json
```
-## Suppression
-
-``` yaml
-directive:
- - suppress: D5001
- reason: this spec never has examples. It is owned by the SDK group and we already have CLI commands testing it
- - suppress: R2058
- reason: existing since the spec started
- - suppress: R3016
- reason: existing since the spec started
-```
-
---
# Code Generation
diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/CreateImageTemplate.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/CreateImageTemplate.json
deleted file mode 100644
index 6725b6f27811..000000000000
--- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/CreateImageTemplate.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-02-01-preview",
- "imageTemplateName": "myImageTemplate",
- "parameters": {
- "location": "westus",
- "tags": {
- "imagetemplate_tag1": "IT_T1",
- "imagetemplate_tag2": "IT_T2"
- },
- "properties": {
- "source": {
- "type": "ISO",
- "sourceURI": "http://redhat.com/path/to/installation.iso",
- "sha256Checksum": "120acbca7b3d55465eb9f8ef53ad7365f2997d42d4f83d7cc285bf5c71e1131f"
- },
- "customize": [
- {
- "type": "shell",
- "name": "Shell Customizer Example",
- "script": "https://example.com/path/to/script.sh"
- }
- ],
- "distribute": [
- {
- "type": "managedImage",
- "location": "1_location",
- "runOutputName": "image_it_pir_1",
- "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/image_it_1",
- "tags": {
- "tagName": "value"
- }
- }
- ]
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate",
- "name": "myImageTemplate",
- "location": "westus",
- "type": "Microsoft.VirtualMachineImages/imageTemplate",
- "properties": {
- "source": {
- "type": "ISO",
- "sourceURI": "http://redhat.com/path/to/installation.iso",
- "sha256Checksum": "120acbca7b3d55465eb9f8ef53ad7365f2997d42d4f83d7cc285bf5c71e1131f"
- },
- "customize": [
- {
- "type": "shell",
- "name": "Shell Customizer Example",
- "script": "https://example.com/path/to/script.sh"
- }
- ],
- "distribute": [
- {
- "type": "managedImage",
- "location": "1_location",
- "runOutputName": "image_it_pir_1",
- "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/image_it_1",
- "tags": {
- "tagName": "value"
- }
- }
- ]
- }
- }
- }
- }
-}
diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/DeleteImageTemplate.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/DeleteImageTemplate.json
deleted file mode 100644
index 80fe8d5c44d6..000000000000
--- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/DeleteImageTemplate.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "imageTemplateName":"myImageTemplate",
- "api-version": "2018-02-01-preview"
- },
- "responses":{
- "202": {
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.VirtualMachineImages/locations/westus/operations/85506efc-36f7-11e9-a0c2-000d3afd16e3?api-version=2018-02-01-preview"
- }
- }
- }
-}
diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/GetImageTemplate.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/GetImageTemplate.json
deleted file mode 100644
index 6ff707552339..000000000000
--- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/GetImageTemplate.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-02-01-preview",
- "imageTemplateName": "myImageTemplate"
- },
- "responses": {
- "202": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate",
- "name": "myImageTemplate",
- "location": "westus",
- "type": "Microsoft.VirtualMachineImages/imageTemplate",
- "properties": {
- "source": {
- "type": "ISO",
- "sourceURI": "http://redhat.com/path/to/installation.iso",
- "sha256Checksum": "120acbca7b3d55465eb9f8ef53ad7365f2997d42d4f83d7cc285bf5c71e1131f"
- },
- "customize": [
- {
- "type": "shell",
- "name": "Shell Customizer Example",
- "script": "https://example.com/path/to/script.sh"
- }
- ],
- "distribute": [
- {
- "type": "managedImage",
- "location": "1_location",
- "runOutputName": "image_it_pir_1",
- "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/image_it_1",
- "tags": {
- "tagName": "value"
- }
- }
- ]
- }
- }
- }
- }
-}
diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/GetRunOutput.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/GetRunOutput.json
deleted file mode 100644
index d7ef1d1c3a52..000000000000
--- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/GetRunOutput.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "imageTemplateName":"myImageTemplate",
- "runOutputName": "myManagedImageOutput",
- "api-version": "2018-02-01-preview"
- },
- "responses":{
- "200": {
- "body":{
- "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate/runOutputs/myManagedImageOutput",
- "name": "myManagedImageOutput",
- "properties": {
- "artifactId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/output_managed_image",
- "provisioningState": "Succeeded"
- },
- "type": "Microsoft.VirtualMachineImages/imageTemplates/runOutputs"
- }
- }
- }
-}
diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/ListImageTemplates.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/ListImageTemplates.json
deleted file mode 100644
index 62546513c8cf..000000000000
--- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/ListImageTemplates.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "api-version": "2018-02-01-preview"
- },
- "responses": {
- "202": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate",
- "name": "myImageTemplate",
- "location": "westus",
- "type": "Microsoft.VirtualMachineImages/imageTemplate",
- "properties": {
- "source": {
- "type": "ISO",
- "sourceURI": "http://redhat.com/path/to/installation.iso",
- "sha256Checksum": "120acbca7b3d55465eb9f8ef53ad7365f2997d42d4f83d7cc285bf5c71e1131f"
- },
- "customize": [
- {
- "type": "shell",
- "name": "Shell customization example",
- "script": "https://example.com/path/to/script.sh"
- }
- ],
- "distribute": [
- {
- "type": "managedImage",
- "location": "1_location",
- "runOutputName": "image_it_pir_1",
- "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/image_it_1",
- "tags": {
- "tagName": "value"
- }
- }
- ]
- }
- },
- {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myOtherResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/mySecondImageTemplate",
- "name": "mySecondImageTemplate",
- "location": "westus",
- "type": "Microsoft.VirtualMachineImages/imageTemplate",
- "properties": {
- "source": {
- "type": "PlatformImage",
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.04-LTS",
- "version": "18.04.201902121"
- },
- "customize": [
- {
- "type": "shell",
- "name": "Shell customization example",
- "script": "https://example.com/path/to/script.sh"
- }
- ],
- "distribute": [
- {
- "type": "managedImage",
- "location": "eastus",
- "runOutputName": "eus",
- "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/mySecondImage-eus",
- "tags": {
- "stage": "development"
- }
- }
- ]
- }
- }
- ],
- "nextLink": "/subscriptions/{subscription-id}/providers/Microsoft.VirtualMachineImages/imageTemplates?api-version=2018-02-01-preview&skip-token=2"
- }
- }
- }
-}
diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/ListImageTemplatesByRg.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/ListImageTemplatesByRg.json
deleted file mode 100644
index d74c8cf3ef8b..000000000000
--- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/ListImageTemplatesByRg.json
+++ /dev/null
@@ -1,84 +0,0 @@
-{
- "parameters": {
- "subscritionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "api-version": "2018-02-01-preview"
- },
- "responses": {
- "202": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate",
- "name": "myImageTemplate",
- "location": "westus",
- "type": "Microsoft.VirtualMachineImages/imageTemplate",
- "properties": {
- "source": {
- "type": "ISO",
- "sourceURI": "http://redhat.com/path/to/installation.iso",
- "sha256Checksum": "120acbca7b3d55465eb9f8ef53ad7365f2997d42d4f83d7cc285bf5c71e1131f"
- },
- "customize": [
- {
- "type": "shell",
- "name": "Shell customization example",
- "script": "https://example.com/path/to/script.sh"
- }
- ],
- "distribute": [
- {
- "type": "managedImage",
- "location": "1_location",
- "runOutputName": "image_it_pir_1",
- "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/image_it_1",
- "tags": {
- "tagName": "value"
- }
- }
- ]
- }
- },
- {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myOtherImageTemplate",
- "name": "myOtherImageTemplate",
- "location": "eastus",
- "type": "Microsoft.VirtualMachineImages/imageTemplate",
- "properties": {
- "source": {
- "type": "PlatformImage",
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.04-LTS",
- "version": "18.04.201902121"
- },
- "customize": [
- {
- "type": "shell",
- "name": "Shell customization example",
- "script": "https://example.com/path/to/script.sh"
- }
- ],
- "distribute": [
- {
- "type": "managedImage",
- "location": "centralus",
- "runOutputName": "singleImage",
- "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/baseimage-cus"
- },
- {
- "type": "sharedImage",
- "galleryImageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/gallery/baseimages/images/baseimage",
- "replicationRegions":[ "eastus", "westus"],
- "runOutputName": "gallery",
- "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/baseimage-eus"
- }
- ]
- }
- }
- ],
- "nextLink": "/subscriptions/{subscription-id}/resourceGroup/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates?api-version=2018-02-01-preview&skip-token=2"
- }
- }
- }
-}
diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/ListRunOutputs.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/ListRunOutputs.json
deleted file mode 100644
index 40491e85e862..000000000000
--- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/ListRunOutputs.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "imageTemplateName":"myImageTemplate",
- "api-version": "2018-02-01-preview"
- },
- "responses":{
- "200": {
- "body":{
- "value": [
- {
- "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate/runOutputs/myManagedImageOutput",
- "name": "myManagedImageOutput",
- "properties": {
- "artifactId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/output_managed_image",
- "provisioningState": "Succeeded"
- },
- "type": "Microsoft.VirtualMachineImages/imageTemplates/runOutputs"
- },
- {
- "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate/runOutputs/mySharedImageOutput",
- "name": "mySharedImageOutput",
- "properties": {
- "artifactId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/galleries/Gallery1/images/SharedImageOutput/imageversions/1.2.3",
- "provisioningState": "Succeeded"
- },
- "type": "Microsoft.VirtualMachineImages/imageTemplates/runOutputs"
- }
- ],
- "nextLink": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate/runOutputs?api-version=2018-02-01-preview&$skipToken=3"
- }
- }
- }
-}
diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/RunImageTemplate.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/RunImageTemplate.json
deleted file mode 100644
index 30261f6efacf..000000000000
--- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/RunImageTemplate.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "imageTemplateName":"myImageTemplate",
- "api-version": "2018-02-01-preview"
- },
- "responses":{
- "202":{
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.VirtualMachineImages/locations/westus/operations/777b2050-36f8-11e9-b8fa-000d3afd16e3?api-version=2018-02-01-preview"
- }
- }
- }
-}
diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/UpdateImageTemplateTags.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/UpdateImageTemplateTags.json
deleted file mode 100644
index 937bea1ea289..000000000000
--- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/examples/UpdateImageTemplateTags.json
+++ /dev/null
@@ -1,51 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "myResourceGroup",
- "imageTemplateName":"myImageTemplate",
- "api-version": "2018-02-01-preview",
- "parameters":{
- "tags": {
- "new-tag": "new-value"
- }
- }
- },
- "responses":{
- "200": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VirtualMachineImages/imageTemplates/myImageTemplate",
- "name": "myImageTemplate",
- "location": "westus",
- "type": "Microsoft.VirtualMachineImages/imageTemplate",
- "tags": {
- "new-tag": "new-value"
- },
- "properties": {
- "source": {
- "type": "ISO",
- "sourceURI": "http://redhat.com/path/to/installation.iso",
- "sha256Checksum": "120acbca7b3d55465eb9f8ef53ad7365f2997d42d4f83d7cc285bf5c71e1131f"
- },
- "customize": [
- {
- "type": "shell",
- "name": "Shell customization example",
- "script": "https://example.com/path/to/script.sh"
- }
- ],
- "distribute": [
- {
- "type": "managedImage",
- "location": "1_location",
- "runOutputName": "image_it_pir_1",
- "imageId": "/subscriptions/{subscription-id}/resourceGroups/rg1/providers/Microsoft.Compute/images/image_it_1",
- "tags": {
- "tagName": "value"
- }
- }
- ]
- }
- }
- }
- }
-}
diff --git a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/imagebuilder.json b/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/imagebuilder.json
deleted file mode 100644
index d347af32d4bc..000000000000
--- a/specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/imagebuilder.json
+++ /dev/null
@@ -1,1069 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "VirtualMachineImageTemplate",
- "description": "Virtual Machine Image Template",
- "version": "2018-02-01-preview"
- },
- "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": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.VirtualMachineImages/imageTemplates": {
- "get": {
- "tags": [
- "VirtualMachineImageTemplate"
- ],
- "operationId": "VirtualMachineImageTemplate_List",
- "description": "Gets information about the VM image templates associated with the subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ImageTemplateListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ApiError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List images by subscription.": {
- "$ref": "./examples/ListImageTemplates.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates": {
- "get": {
- "tags": [
- "VirtualMachineImageTemplate"
- ],
- "operationId": "VirtualMachineImageTemplate_ListByResourceGroup",
- "description": "Gets information about the VM image templates associated with the specified resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ImageTemplateListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ApiError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List images by resource group": {
- "$ref": "./examples/ListImageTemplatesByRg.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}": {
- "put": {
- "tags": [
- "VirtualMachineImageTemplate"
- ],
- "operationId": "VirtualMachineImageTemplate_CreateOrUpdate",
- "description": "Create or Update a Virtual Machine Image Template",
- "parameters": [
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ImageTemplate"
- },
- "description": "Parameters supplied to the Create Image Template"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ImageTemplateNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ImageTemplate"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/ImageTemplate"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ApiError"
- }
- }
- },
- "x-ms-examples": {
- "Create an Image Template.": {
- "$ref": "./examples/CreateImageTemplate.json"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via":"azure-async-operation"
- }
- },
- "patch": {
- "tags": [
- "VirtualMachineImageTemplate"
- ],
- "operationId": "VirtualMachineImageTemplate_Update",
- "description": "Update the tags for this Virtual Machine Image Template",
- "parameters": [
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ImageTemplateUpdateParameters"
- },
- "description": "Additional parameters for Image Template update."
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ImageTemplateNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ImageTemplate"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ApiError"
- }
- }
- },
- "x-ms-examples": {
- "Update the tags for an Image Template.": {
- "$ref": "./examples/UpdateImageTemplateTags.json"
- }
- }
- },
- "get": {
- "tags": [
- "VirtualMachineImageTemplate"
- ],
- "operationId": "VirtualMachineImageTemplate_Get",
- "description": "Get Information about Virtual Machine Image Template",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ImageTemplateNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ImageTemplate"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ApiError"
- }
- }
- },
- "x-ms-examples": {
- "Retrieve an Image Template.": {
- "$ref": "./examples/GetImageTemplate.json"
- }
- }
- },
- "delete": {
- "tags": [
- "VirtualMachineImageTemplate"
- ],
- "operationId": "VirtualMachineImageTemplate_Delete",
- "description": "Delete Virtual Machine Image Template",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ImageTemplateNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The operation was successful."
- },
- "202": {
- "description": "The operation will be completed asynchronously."
- },
- "204": {
- "description": "NoContent -- VM image template does not exist in the subscription."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ApiError"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via":"azure-async-operation"
- },
- "x-ms-examples": {
- "Delete an Image Template.": {
- "$ref": "./examples/DeleteImageTemplate.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/run": {
- "post": {
- "tags": [
- "VirtualMachineImageTemplate"
- ],
- "operationId": "VirtualMachineImageTemplate_run",
- "description": "Create artifacts from a existing Image Template",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ImageTemplateNameParameter"
- }
- ],
- "responses": {
- "204": {
- "description": "The operation was successful."
- },
- "202": {
- "description": "The operation will be completed asynchronously."
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ApiError"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via":"azure-async-operation"
- },
- "x-ms-examples": {
- "Create image(s) from existing imageTemplate.": {
- "$ref": "./examples/RunImageTemplate.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/runOutputs": {
- "get": {
- "tags": [
- "VirtualMachineImageTemplate"
- ],
- "operationId": "VirtualMachineImageTemplate_ListRunOutputs",
- "description": "List all run outputs for the specified Image Template resource",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ImageTemplateNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/RunOutputCollection"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ApiError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "Retrieve a list of all outputs created by the last run of an Image Template": {
- "$ref": "./examples/ListRunOutputs.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}/runOutputs/{runOutputName}": {
- "get": {
- "tags": [
- "VirtualMachineImageTemplate"
- ],
- "operationId": "VirtualMachineImageTemplate_GetRunOutput",
- "description": "Get the specified run output for the specified Template resource",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ImageTemplateNameParameter"
- },
- {
- "$ref": "#/parameters/RunOutputNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/RunOutput"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ApiError"
- }
- }
- },
- "x-ms-examples": {
- "Retrieve single runOutput": {
- "$ref": "./examples/GetRunOutput.json"
- }
- }
- }
- },
- "/providers/Microsoft.VirtualMachineImages/operations": {
- "get": {
- "tags": [
- "Operations"
- ],
- "operationId": "Operations_List",
- "description": "Lists available operations for the Microsoft.VirtualMachineImages provider",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The operation was successful. The response contains the list of available operations.",
- "schema": {
- "$ref": "#/definitions/OperationListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ApiError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "ImageTemplateListResult" : {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ImageTemplate"
- }
- },
- "nextLink": {
- "type": "string",
- "description": "The continuation token."
- }
- }
- },
- "ImageTemplateSource": {
- "discriminator": "type",
- "properties": {
- "type": {
- "type": "string",
- "description": "Specifies the type of source image you want to start with."
- }
- },
- "required": [
- "type"
- ]
- },
- "ImageTemplateIsoSource": {
- "description": "Describes an image source that is an installation ISO. Currently only supports Red Hat Enterprise Linux 7.2-7.5 ISO's.",
- "x-ms-discriminator-value": "ISO",
- "allOf": [
- {
- "$ref": "#/definitions/ImageTemplateSource"
- }
- ],
- "properties": {
- "sourceURI": {
- "type": "string",
- "description": "URL to get the ISO image. This URL has to be accessible to the resource provider at the time of the imageTemplate creation."
- },
- "sha256Checksum": {
- "type": "string",
- "description": "SHA256 Checksum of the ISO image."
- }
- },
- "required": [
- "sourceURI",
- "sha256Checksum"
- ]
- },
- "ImageTemplatePlatformImageSource": {
- "description": "Describes an image source from [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages).",
- "x-ms-discriminator-value": "PlatformImage",
- "allOf": [
- {
- "$ref": "#/definitions/ImageTemplateSource"
- }
- ],
- "properties": {
- "publisher": {
- "type": "string",
- "description": "Image Publisher in [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages)."
- },
- "offer": {
- "type": "string",
- "description": "Image offer from the [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages)."
- },
- "sku": {
- "type": "string",
- "description": "Image sku from the [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages)."
- },
- "version": {
- "type": "string",
- "description": "Image version from the [Azure Gallery Images](https://docs.microsoft.com/en-us/rest/api/compute/virtualmachineimages)."
- }
- }
- },
- "ImageTemplateCustomizer": {
- "discriminator": "type",
- "properties": {
- "type": {
- "type": "string",
- "description": "The type of customization tool you want to use on the Image. For example, \"shell\" can be shellCustomizer"
- },
- "name": {
- "type": "string",
- "description": "Friendly Name to provide context on what this customization step does"
- }
- },
- "required": [
- "type"
- ]
- },
- "ImageTemplateShellCustomizer": {
- "description": "Runs a shell script during the customization phase",
- "x-ms-discriminator-value": "shell",
- "allOf": [
- {
- "$ref": "#/definitions/ImageTemplateCustomizer"
- }
- ],
- "properties": {
- "script": {
- "type": "string",
- "description": "The shell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc"
- }
- }
- },
- "ImageTemplateDistributor": {
- "type": "object",
- "description": "Generic distribution object",
- "discriminator": "type",
- "properties": {
- "type": {
- "type": "string",
- "description": "Type of distribution."
- },
- "runOutputName": {
- "type": "string",
- "description": "The name to be used for the associated RunOutput.",
- "pattern": "^[A-Za-z0-9-_]{1,64}$"
- },
- "artifactTags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Tags that will be applied to the artifact once it has been created/updated by the distributor."
- }
- },
- "required": [
- "type",
- "runOutputName"
- ]
- },
- "ImageTemplateManagedImageDistributor": {
- "x-ms-discriminator-value": "managedImage",
- "description": "Distribute as a Managed Disk Image.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/ImageTemplateDistributor"
- }
- ],
- "properties": {
- "imageId": {
- "type": "string",
- "description": "Resource Id of the Managed Disk Image"
- },
- "location": {
- "type": "string",
- "description": "Azure location for the image, should match if image already exists"
- }
- },
- "required": [
- "imageId",
- "location"
- ]
- },
- "ImageTemplateSharedImageDistributor": {
- "x-ms-discriminator-value": "sharedImage",
- "description": "Distribute via Shared Image Gallery.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/ImageTemplateDistributor"
- }
- ],
- "properties": {
- "galleryImageId": {
- "type": "string",
- "description": "Resource Id of the Shared Image Gallery image"
- },
- "replicationRegions": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "galleryImageId",
- "replicationRegions"
- ]
- },
- "ProvisioningState": {
- "type": "string",
- "enum": [
- "Creating",
- "Succeeded",
- "Failed",
- "Deleting"
- ],
- "description": "Provisioning state of the resource"
- },
- "ProvisioningError": {
- "properties": {
- "provisioningErrorCode": {
- "type": "string",
- "enum": [
- "BadSourceType",
- "BadPIRSource",
- "BadISOSource",
- "BadCustomizerType",
- "NoCustomizerShellScript",
- "ServerError",
- "Other"
- ],
- "description": "Error code of the provisioning failure"
- },
- "message": {
- "type":"string",
- "description": "Verbose error message about the provisioning failure"
- }
- }
- },
- "ImageTemplateLastRunStatus": {
- "properties": {
- "startTime": {
- "type": "string",
- "format": "date-time",
- "description": "Start time of the last run (UTC)"
- },
- "endTime": {
- "type": "string",
- "format": "date-time",
- "description": "End time of the last run (UTC)"
- },
- "runState": {
- "type": "string",
- "enum": [
- "ready",
- "running",
- "succeeded",
- "partiallySucceeded",
- "failed"
- ],
- "description": "State of the last run"
- },
- "runSubState": {
- "type": "string",
- "enum": [
- "queued",
- "building",
- "customizing",
- "distributing"
- ],
- "description": "Sub state of the last run"
- },
- "message": {
- "type": "string",
- "description": "Verbose information about the last run state"
- }
- }
- },
- "ImageTemplateProperties": {
- "properties": {
- "source": {
- "$ref": "#/definitions/ImageTemplateSource",
- "description": "Specifies the properties used to describe the source image."
- },
- "customize": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ImageTemplateCustomizer"
- },
- "description": "Specifies the properties used to describe the customization steps of the image, like Image source etc"
- },
- "distribute": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ImageTemplateDistributor"
- },
- "description": "The distribution targets where the image output needs to go to."
- },
- "provisioningState": {
- "$ref": "#/definitions/ProvisioningState",
- "description": "Provisioning state of the resource",
- "readOnly": true
- },
- "provisioningError": {
- "$ref": "#/definitions/ProvisioningError",
- "description": "Provisioning error, if any",
- "readOnly": true
- },
- "lastRunStatus": {
- "$ref": "#/definitions/ImageTemplateLastRunStatus",
- "description": "State of 'run' that is currently executing or was last executed.",
- "readOnly": true
- }
- },
- "required": [
- "source",
- "distribute"
- ]
- },
- "RunOutputProperties": {
- "properties": {
- "artifactId": {
- "type": "string",
- "description": "The resource id of the artifact."
- },
- "provisioningState": {
- "$ref": "#/definitions/ProvisioningState",
- "description": "Provisioning state of the resource",
- "readOnly": true
- }
- }
- },
- "ImageTemplate": {
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ImageTemplateProperties"
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ]
- },
- "ImageTemplateUpdateParameters": {
- "properties": {
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "The user-specified tags associated with the image template."
- }
- },
- "description": "Parameters for updating an image template."
- },
- "RunOutput": {
- "description": "Represents an output that was created by running an image template.",
- "allOf": [
- {
- "$ref": "#/definitions/SubResource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/RunOutputProperties",
- "x-ms-client-flatten": true
- }
- }
- },
- "RunOutputCollection": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/RunOutput"
- }
- },
- "nextLink": {
- "type": "string",
- "description": "The continuation token."
- }
- }
- },
- "Resource": {
- "description": "The Resource model definition.",
- "properties": {
- "id": {
- "readOnly": true,
- "type": "string",
- "description": "Resource Id"
- },
- "name": {
- "readOnly": true,
- "type": "string",
- "description": "Resource name"
- },
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Resource type"
- },
- "location": {
- "type": "string",
- "description": "Resource location",
- "x-ms-mutability": [ "create", "read" ]
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "required": [
- "location"
- ],
- "x-ms-azure-resource": true
- },
- "SubResource": {
- "description": "The Sub Resource model definition.",
- "properties": {
- "id": {
- "readOnly": true,
- "type": "string",
- "description": "Resource Id"
- },
- "name": {
- "type": "string",
- "description": "Resource name"
- },
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Resource type"
- }
- },
- "required": [
- "name"
- ]
- },
- "Operation": {
- "title": "A REST API operation",
- "type": "object",
- "properties": {
- "name": {
- "title": "The operation name.",
- "description": "This is of the format {provider}/{resource}/{operation}",
- "type": "string"
- },
- "display": {
- "title": "The object that describes the operation.",
- "properties": {
- "provider": {
- "title": "Friendly name of the resource provider.",
- "type": "string"
- },
- "operation": {
- "title": "The operation type.",
- "description": "For example: read, write, delete, or listKeys/action",
- "type": "string"
- },
- "resource": {
- "title": "The resource type on which the operation is performed.",
- "type": "string"
- },
- "description": {
- "title": "The friendly name of the operation",
- "type": "string"
- }
- }
- },
- "origin": {
- "title": "The intended executor of the operation.",
- "type": "string"
- },
- "properties": {
- "title": "Properties of the operation.",
- "type": "object"
- }
- }
- },
- "OperationListResult": {
- "title": "Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next set of results.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Operation"
- },
- "title": "The list of operations supported by the resource provider."
- },
- "nextLink": {
- "type": "string",
- "title": "The URL to get the next set of operation list results if there are any."
- }
- }
- },
- "ApiErrorBase": {
- "properties": {
- "code": {
- "type": "string",
- "description": "The error code."
- },
- "target": {
- "type": "string",
- "description": "The target of the particular error."
- },
- "message": {
- "type": "string",
- "description": "The error message."
- }
- },
- "description": "Api error base."
- },
- "InnerError": {
- "properties": {
- "exceptiontype": {
- "type": "string",
- "description": "The exception type."
- },
- "errordetail": {
- "type": "string",
- "description": "The internal error message or exception dump."
- }
- },
- "description": "Inner error details."
- },
- "ApiError": {
- "properties": {
- "details": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ApiErrorBase"
- },
- "description": "The Api error details"
- },
- "innererror": {
- "$ref": "#/definitions/InnerError",
- "description": "The Api inner error"
- },
- "code": {
- "type": "string",
- "description": "The error code."
- },
- "target": {
- "type": "string",
- "description": "The target of the particular error."
- },
- "message": {
- "type": "string",
- "description": "The error message."
- }
- },
- "description": "Api error."
- }
- },
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
- },
- "ResourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group.",
- "x-ms-parameter-location": "method"
- },
- "ImageTemplateNameParameter": {
- "name": "imageTemplateName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the image Template",
- "pattern": "^[A-Za-z0-9-_]{1,64}$",
- "x-ms-parameter-location": "method"
- },
- "RunOutputNameParameter": {
- "name": "runOutputName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the run output",
- "pattern": "^[A-Za-z0-9-_]{1,64}$",
- "x-ms-parameter-location": "method"
- },
- "LocationParameter": {
- "name": "location",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "Location of the service.",
- "x-ms-parameter-location": "method"
- },
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
- }
- }
-}
diff --git a/specification/imagebuilder/resource-manager/readme.go.md b/specification/imagebuilder/resource-manager/readme.go.md
deleted file mode 100644
index 74ba899777f3..000000000000
--- a/specification/imagebuilder/resource-manager/readme.go.md
+++ /dev/null
@@ -1,25 +0,0 @@
-## Go
-
-These settings apply only when `--go` is specified on the command line.
-
-``` yaml $(go)
- license-header: MICROSOFT_APACHE_NO_VERSION
- namespace: virtualmachineimagebuilder
- clear-output-folder: true
-```
-
-### Go multi-api
-
-``` yaml $(go) && $(multiapi)
-batch:
- - tag: package-2018-02
-```
-
-### Tag: package-2018-02
-
-These settings apply only when `--tag=package-2018-02 --go` is specified on the command line.
-Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag) == 'package-2018-02' && $(go)
-output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-02-01-preview/$(namespace)
-```
diff --git a/specification/imagebuilder/resource-manager/readme.md b/specification/imagebuilder/resource-manager/readme.md
deleted file mode 100644
index 978b85857c1a..000000000000
--- a/specification/imagebuilder/resource-manager/readme.md
+++ /dev/null
@@ -1,128 +0,0 @@
-# Virtual Machine Image Builder
-
-> see https://aka.ms/autorest
-
-This is the AutoRest configuration file for Virtual Machine Image Builder.
-
-
-
----
-## Getting Started
-To build the SDK for Virtual Machine Image Builder, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
-
-> `autorest`
-
-To see additional help and options, run:
-
-> `autorest --help`
----
-
-## Configuration
-
-
-
-### Basic Information
-These are the global settings for the Virtual Machine Image Builder API.
-
-``` yaml
-title: ImageBuilderClient
-description: Azure Virtual Machine Image Builder Client
-openapi-type: arm
-tag: package-2018-02
-azure-arm: true
-```
-
-
-### Tag: package-2018-02
-
-These settings apply only when `--tag=package-2018-02` is specified on the command line.
-
-``` yaml $(tag) == 'package-2018-02'
-input-file:
-- Microsoft.VirtualMachineImages/preview/2018-02-01-preview/imagebuilder.json
-```
-
-# Code Generation
-
-
-## Swagger to SDK
-
-This section describes what SDK should be generated by the automatic system.
-This is not used by Autorest itself.
-
-``` yaml $(swagger-to-sdk)
-swagger-to-sdk:
- - repo: azure-sdk-for-python
- - repo: azure-sdk-for-java
- - repo: azure-sdk-for-go
- - repo: azure-sdk-for-js
- - repo: azure-sdk-for-node
-```
-
-## Python
-
-These settings apply only when `--python` is specified on the command line.
-Please also specify `--python-sdks-folder=`.
-Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
-
-``` yaml $(python)
-python-mode: create
-python:
- azure-arm: true
- license-header: MICROSOFT_MIT_NO_VERSION
- payload-flattening-threshold: 2
- namespace: azure.mgmt.imagebuilder
- package-name: azure-mgmt-imagebuilder
- clear-output-folder: true
- package-version: 0.1.0
-```
-``` yaml $(python) && $(python-mode) == 'update'
-python:
- no-namespace-folders: true
- output-folder: $(python-sdks-folder)/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder
-```
-``` yaml $(python) && $(python-mode) == 'create'
-python:
- basic-setup-py: true
- output-folder: $(python-sdks-folder)/azure-mgmt-imagebuilder
-```
-
-## Go
-
-See configuration in [readme.go.md](./readme.go.md)
-
-## Java
-
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(java)
-azure-arm: true
-fluent: true
-namespace: com.microsoft.azure.management.imagebuilder
-license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
-output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-imagebuilder
-```
-
-### Java multi-api
-
-``` yaml $(java) && $(multiapi)
-batch:
- - tag: package-2018-02
-```
-
-### Tag: package-2018-02 and java
-
-These settings apply only when `--tag=package-2018-02 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2018-02' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.imagebuilder.v2018_02_01_preview
- output-folder: $(azure-libraries-for-java-folder)/imagebuilder/resource-manager/v2018_02_01_preview
-regenerate-manager: true
-generate-interface: true
-```
-
-
diff --git a/specification/imagebuilder/resource-manager/readme.typescript.md b/specification/imagebuilder/resource-manager/readme.typescript.md
deleted file mode 100644
index 934968e2480d..000000000000
--- a/specification/imagebuilder/resource-manager/readme.typescript.md
+++ /dev/null
@@ -1,12 +0,0 @@
-## TypeScript
-
-These settings apply only when `--typescript` is specified on the command line.
-Please also specify `--typescript-sdks-folder=`.
-
-``` yaml $(typescript)
-typescript:
- azure-arm: true
- package-name: "@azure/arm-imagebuilder"
- output-folder: "$(typescript-sdks-folder)/packages/@azure/arm-imagebuilder"
- generate-metadata: true
-```
diff --git a/specification/iothub/resource-manager/Microsoft.Devices/preview/2018-12-01-preview/iothub.json b/specification/iothub/resource-manager/Microsoft.Devices/preview/2018-12-01-preview/iothub.json
index e78b09697e1b..2a8609972583 100644
--- a/specification/iothub/resource-manager/Microsoft.Devices/preview/2018-12-01-preview/iothub.json
+++ b/specification/iothub/resource-manager/Microsoft.Devices/preview/2018-12-01-preview/iothub.json
@@ -2698,7 +2698,7 @@
"type": "string"
},
"healthStatus": {
- "description": "Health statuses have following meanings. The 'healthy' status shows that the endpoint is accepting messages as expected. The 'unhealthy' status shows that the endpoint is not accepting messages as expected and IoT Hub is retrying to send data to this endpoint. The status of an unhealthy endpoint will be updated to healthy when IoT Hub has established an eventually consistent state of health. The 'dead' status shows that the endpoint is not accepting messages, after IoT Hub retried sending messages for the retrial period. See IoT Hub metrics to identify errors and monitor issues with endpoints. The 'unknown' status shows that the IoT Hub has not established a connection with the endpoint. No messages have been delivered to or rejected from this endpoint",
+ "description": "Health status",
"enum": [
"unknown",
"healthy",
diff --git a/specification/iothub/resource-manager/Microsoft.Devices/stable/2018-04-01/iothub.json b/specification/iothub/resource-manager/Microsoft.Devices/stable/2018-04-01/iothub.json
index 439527990cf7..ed9e7bc1b5d5 100644
--- a/specification/iothub/resource-manager/Microsoft.Devices/stable/2018-04-01/iothub.json
+++ b/specification/iothub/resource-manager/Microsoft.Devices/stable/2018-04-01/iothub.json
@@ -2675,7 +2675,7 @@
"type": "string"
},
"healthStatus": {
- "description": "Health statuses have following meanings. The 'healthy' status shows that the endpoint is accepting messages as expected. The 'unhealthy' status shows that the endpoint is not accepting messages as expected and IoT Hub is retrying to send data to this endpoint. The status of an unhealthy endpoint will be updated to healthy when IoT Hub has established an eventually consistent state of health. The 'dead' status shows that the endpoint is not accepting messages, after IoT Hub retried sending messages for the retrial period. See IoT Hub metrics to identify errors and monitor issues with endpoints. The 'unknown' status shows that the IoT Hub has not established a connection with the endpoint. No messages have been delivered to or rejected from this endpoint",
+ "description": "Health status",
"enum": [
"unknown",
"healthy",
diff --git a/specification/machinelearning/resource-manager/readme.md b/specification/machinelearning/resource-manager/readme.md
index 0ae0315ff137..30b840b2f321 100644
--- a/specification/machinelearning/resource-manager/readme.md
+++ b/specification/machinelearning/resource-manager/readme.md
@@ -83,7 +83,7 @@ directive:
- suppress: TrackedResourcePatchOperation
from: commitmentPlans.json
where: $.definitions.CommitmentAssociation
- reason: The CommitmentAssociation is an internal association from a Web Service to a Commitment Plan, which can only be created or updated by Web Service Resource Provider.
+ reason: The CommitmentAssociation is an internal asscociation from a Web Service to a Commitment Plan, which can only be created or updated by Web Service Resource Provider.
```
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/CheckNameAvailability.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/CheckNameAvailability.json
deleted file mode 100644
index d547976bab99..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/CheckNameAvailability.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "nameAvailabilityRequest": {
- "name": "name1",
- "type": "Microsoft.DBforMariaDB"
- }
- },
- "responses": {
- "200": {
- "body": {
- "nameAvailable": true,
- "message": "",
- "reason": ""
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationCreateOrUpdate.json
deleted file mode 100644
index be1a20a77a7a..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationCreateOrUpdate.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "parameters": {
- "configurationName": "event_scheduler",
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "properties":{
- "value": "off",
- "source": "user-override"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "properties": {
- "value": "ON",
- "description": "Indicates the status of the Event Scheduler.",
- "defaultValue": "OFF",
- "dataType": "Enumeration",
- "allowedValues": "ON,OFF,DISABLED",
- "source": "user-override"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/configurations/event_scheduler",
- "name": "event_scheduler",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationGet.json
deleted file mode 100644
index c742fb75969e..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationGet.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "parameters": {
- "configurationName": "event_scheduler",
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {
- "body": {
- "properties": {
- "value": "ON",
- "description": "Indicates the status of the Event Scheduler.",
- "defaultValue": "OFF",
- "dataType": "Enumeration",
- "allowedValues": "ON,OFF,DISABLED",
- "source": "user-override"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/configurations/event_scheduler",
- "name": "event_scheduler",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationListByServer.json
deleted file mode 100644
index 9d6f937021cf..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ConfigurationListByServer.json
+++ /dev/null
@@ -1,601 +0,0 @@
-{
- "parameters": {
- "serverName": "mariadbtestsvc1",
- "resourceGroupName": "testrg",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "properties": {
- "value": "OFF",
- "description": "Indicates the status of the Event Scheduler.",
- "defaultValue": "OFF",
- "dataType": "Enumeration",
- "allowedValues": "ON,OFF,DISABLED",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/event_scheduler",
- "name": "event_scheduler",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "4",
- "description": "Number of digits by which to increase the scale of the result of division operations.",
- "defaultValue": "4",
- "dataType": "Integer",
- "allowedValues": "0-30",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/div_precision_increment",
- "name": "div_precision_increment",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "1024",
- "description": "Maximum allowed result length in bytes for the GROUP_CONCAT().",
- "defaultValue": "1024",
- "dataType": "Integer",
- "allowedValues": "4-16777216",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/group_concat_max_len",
- "name": "group_concat_max_len",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "ON",
- "description": "Whether innodb adaptive hash indexes are enabled or disabled.",
- "defaultValue": "ON",
- "dataType": "Enumeration",
- "allowedValues": "ON,OFF",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/innodb_adaptive_hash_index",
- "name": "innodb_adaptive_hash_index",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "50",
- "description": "The length of time in seconds an InnoDB transaction waits for a row lock before giving up.",
- "defaultValue": "50",
- "dataType": "Integer",
- "allowedValues": "1-3600",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/innodb_lock_wait_timeout",
- "name": "innodb_lock_wait_timeout",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "1800",
- "description": "Number of seconds the server waits for activity on an interactive connection before closing it.",
- "defaultValue": "1800",
- "dataType": "Integer",
- "allowedValues": "10-1800",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/interactive_timeout",
- "name": "interactive_timeout",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "OFF",
- "description": "Logs queries that are expected to retrieve all rows to slow query log.",
- "defaultValue": "OFF",
- "dataType": "Enumeration",
- "allowedValues": "ON,OFF",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/log_queries_not_using_indexes",
- "name": "log_queries_not_using_indexes",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "0",
- "description": "Limits the number of such queries per minute that can be written to the slow query log.",
- "defaultValue": "0",
- "dataType": "Integer",
- "allowedValues": "0-4294967295",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/log_throttle_queries_not_using_indexes",
- "name": "log_throttle_queries_not_using_indexes",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "OFF",
- "description": "Include slow administrative statements in the statements written to the slow query log.",
- "defaultValue": "OFF",
- "dataType": "Enumeration",
- "allowedValues": "ON,OFF",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/log_slow_admin_statements",
- "name": "log_slow_admin_statements",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "OFF",
- "description": "When the slow query log is enabled, this variable enables logging for queries that have taken more than long_query_time seconds to execute on the slave.",
- "defaultValue": "OFF",
- "dataType": "Enumeration",
- "allowedValues": "ON,OFF",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/log_slow_slave_statements",
- "name": "log_slow_slave_statements",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "OFF",
- "description": "This variable applies when binary logging is enabled. It controls whether stored function creators can be trusted not to create stored functions that will cause unsafe events to be written to the binary log.",
- "defaultValue": "OFF",
- "dataType": "Enumeration",
- "allowedValues": "ON,OFF",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/log_bin_trust_function_creators",
- "name": "log_bin_trust_function_creators",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "10",
- "description": "If a query takes longer than this many seconds, the server increments the Slow_queries status variable.",
- "defaultValue": "10",
- "dataType": "Numeric",
- "allowedValues": "0-1E+100",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/long_query_time",
- "name": "long_query_time",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "0",
- "description": "Can be used to cause queries which examine fewer than the stated number of rows not to be logged.",
- "defaultValue": "0",
- "dataType": "Integer",
- "allowedValues": "0-18446744073709551615",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/min_examined_row_limit",
- "name": "min_examined_row_limit",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "OFF",
- "description": "Enable or disable the slow query log",
- "defaultValue": "OFF",
- "dataType": "Enumeration",
- "allowedValues": "ON,OFF",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/slow_query_log",
- "name": "slow_query_log",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "",
- "description": "The current server SQL mode.",
- "defaultValue": "",
- "dataType": "Set",
- "allowedValues": ",ALLOW_INVALID_DATES,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO,HIGH_NOT_PRECEDENCE,IGNORE_SPACE,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_BACKSLASH_ESCAPES,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION,NO_FIELD_OPTIONS,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_UNSIGNED_SUBTRACTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,PAD_CHAR_TO_FULL_LENGTH,PIPES_AS_CONCAT,REAL_AS_FLOAT,STRICT_ALL_TABLES,STRICT_TRANS_TABLES",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/sql_mode",
- "name": "sql_mode",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "120",
- "description": "The number of seconds the server waits for activity on a noninteractive connection before closing it.",
- "defaultValue": "120",
- "dataType": "Integer",
- "allowedValues": "60-86400",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/wait_timeout",
- "name": "wait_timeout",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "120",
- "description": "The number of seconds the server waits for network reading action, especially for LOAD DATA LOCAL FILE.",
- "defaultValue": "120",
- "dataType": "Integer",
- "allowedValues": "10-3600",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/net_read_timeout",
- "name": "net_read_timeout",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "240",
- "description": "The number of seconds the server waits for network writing action, especially for LOAD DATA LOCAL FILE.",
- "defaultValue": "240",
- "dataType": "Integer",
- "allowedValues": "10-3600",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/net_write_timeout",
- "name": "net_write_timeout",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "1381286943",
- "description": "The server ID, used in replication to give each master and slave a unique identity.",
- "defaultValue": "1000",
- "dataType": "Integer",
- "allowedValues": "1000-4294967295",
- "source": "user-override"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/server_id",
- "name": "server_id",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "536870912",
- "description": "The maximum size of one packet or any generated/intermediate string, or any parameter sent by the mariadb_stmt_send_long_data() C API function.",
- "defaultValue": "536870912",
- "dataType": "Integer",
- "allowedValues": "1024-1073741824",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/max_allowed_packet",
- "name": "max_allowed_packet",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "60",
- "description": "The number of seconds to wait for more data from the master before the slave considers the connection broken, aborts the read, and tries to reconnect.",
- "defaultValue": "60",
- "dataType": "Integer",
- "allowedValues": "30-3600",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/slave_net_timeout",
- "name": "slave_net_timeout",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "SYSTEM",
- "description": "The server time zone",
- "defaultValue": "SYSTEM",
- "dataType": "String",
- "allowedValues": "[+|-][0]{0,1}[0-9]:[0-5][0-9]|[+|-][1][0-2]:[0-5][0-9]|SYSTEM",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/time_zone",
- "name": "time_zone",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "1000",
- "description": "Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk.",
- "defaultValue": "1000",
- "dataType": "Integer",
- "allowedValues": "0,11-1000000",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/binlog_group_commit_sync_delay",
- "name": "binlog_group_commit_sync_delay",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "0",
- "description": "The maximum number of transactions to wait for before aborting the current delay as specified by binlog-group-commit-sync-delay.",
- "defaultValue": "0",
- "dataType": "Integer",
- "allowedValues": "0-1000000",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/binlog_group_commit_sync_no_delay_count",
- "name": "binlog_group_commit_sync_no_delay_count",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "latin1",
- "description": "Use charset_name as the default server character set.",
- "defaultValue": "latin1",
- "dataType": "Enumeration",
- "allowedValues": "BIG5,DEC8,CP850,HP8,KOI8R,LATIN1,LATIN2,SWE7,ASCII,UJIS,SJIS,HEBREW,TIS620,EUCKR,KOI8U,GB2312,GREEK,CP1250,GBK,LATIN5,ARMSCII8,UTF8,UCS2,CP866,KEYBCS2,MACCE,MACROMAN,CP852,LATIN7,UTF8MB4,CP1251,UTF16,CP1256,CP1257,UTF32,BINARY,GEOSTD8,CP932,EUCJPMS",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/character_set_server",
- "name": "character_set_server",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "262144",
- "description": "The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.",
- "defaultValue": "262144",
- "dataType": "Integer",
- "allowedValues": "128-2097152",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/join_buffer_size",
- "name": "join_buffer_size",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "2000",
- "description": "The number of open tables for all threads.",
- "defaultValue": "2000",
- "dataType": "Integer",
- "allowedValues": "1-4000",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/table_open_cache",
- "name": "table_open_cache",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "1",
- "description": "If set to 1, table names are stored in lowercase on disk and comparisons are not case sensitive. If set to 2, table names are stored as given but compared in lowercase.",
- "defaultValue": "1",
- "dataType": "Enumeration",
- "allowedValues": "1,2",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/lower_case_table_names",
- "name": "lower_case_table_names",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "OFF",
- "description": "This option places an upper limit on the total size in bytes of all relay logs on the slave.",
- "defaultValue": "OFF",
- "dataType": "Enumeration",
- "allowedValues": "ON,OFF",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/slave_compressed_protocol",
- "name": "slave_compressed_protocol",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "200",
- "description": "Sets an upper limit on I/O activity performed by InnoDB background tasks, such as flushing pages from the buffer pool and merging data from the change buffer.",
- "defaultValue": "200",
- "dataType": "Integer",
- "allowedValues": "100-1500",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/innodb_io_capacity",
- "name": "innodb_io_capacity",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "4",
- "description": "The number of I/O threads for read operations in InnoDB.",
- "defaultValue": "4",
- "dataType": "Integer",
- "allowedValues": "1-64",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/innodb_read_io_threads",
- "name": "innodb_read_io_threads",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "0",
- "description": "InnoDB tries to keep the number of operating system threads concurrently inside InnoDB less than or equal to the limit given by this variable.",
- "defaultValue": "0",
- "dataType": "Integer",
- "allowedValues": "0-1000",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/innodb_thread_concurrency",
- "name": "innodb_thread_concurrency",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "4",
- "description": "The number of I/O threads for write operations in InnoDB.",
- "defaultValue": "4",
- "dataType": "Integer",
- "allowedValues": "1-64",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/innodb_write_io_threads",
- "name": "innodb_write_io_threads",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "4",
- "description": "The number of page cleaner threads that flush dirty pages from buffer pool instances.",
- "defaultValue": "4",
- "dataType": "Integer",
- "allowedValues": "1-64",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/innodb_page_cleaners",
- "name": "innodb_page_cleaners",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "134217728",
- "description": "Specifies an upper limit on the size of the temporary log files used during online DDL operations for InnoDB tables.",
- "defaultValue": "134217728",
- "dataType": "Integer",
- "allowedValues": "65536-2147483648",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/innodb_online_alter_log_max_size",
- "name": "innodb_online_alter_log_max_size",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "",
- "description": "A string to be executed by the server for each client that connects.",
- "defaultValue": "",
- "dataType": "String",
- "allowedValues": "",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/init_connect",
- "name": "init_connect",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "REPEATABLE-READ",
- "description": "The default transaction isolation level.",
- "defaultValue": "REPEATABLE-READ",
- "dataType": "Enumeration",
- "allowedValues": "READ-UNCOMMITTED,READ-COMMITTED,REPEATABLE-READ,SERIALIZABLE",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/tx_isolation",
- "name": "tx_isolation",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "200",
- "description": "This variable indicates the number of equality ranges in an equality comparison condition when the optimizer should switch from using index dives to index statistics in estimating the number of qualifying rows.",
- "defaultValue": "200",
- "dataType": "Integer",
- "allowedValues": "0-4294967295",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/eq_range_index_dive_limit",
- "name": "eq_range_index_dive_limit",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "37",
- "description": "Specifies the approximate percentage of the InnoDB buffer pool used for the old block sublist.",
- "defaultValue": "37",
- "dataType": "Integer",
- "allowedValues": "5-95",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/innodb_old_blocks_pct",
- "name": "innodb_old_blocks_pct",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "1000",
- "description": "Non-zero values protect against the buffer pool being filled by data that is referenced only for a brief period, such as during a full table scan.",
- "defaultValue": "1000",
- "dataType": "Integer",
- "allowedValues": "0-4294967295",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/innodb_old_blocks_time",
- "name": "innodb_old_blocks_time",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "56",
- "description": "Controls the sensitivity of linear read-ahead that InnoDB uses to prefetch pages into the buffer pool.",
- "defaultValue": "56",
- "dataType": "Integer",
- "allowedValues": "0-64",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/innodb_read_ahead_threshold",
- "name": "innodb_read_ahead_threshold",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "1024",
- "description": "The cutoff on the size of index values that determines which filesort algorithm to use.",
- "defaultValue": "1024",
- "dataType": "Integer",
- "allowedValues": "4-8388608",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/max_length_for_sort_data",
- "name": "max_length_for_sort_data",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "100",
- "description": "If more than this many successive connection requests from a host are interrupted without a successful connection, the server blocks that host from further connections.",
- "defaultValue": "100",
- "dataType": "Integer",
- "allowedValues": "1-18446744073709551615",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/max_connect_errors",
- "name": "max_connect_errors",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "10000",
- "description": "Defines how long InnoDB threads sleep before joining the InnoDB queue, in microseconds.",
- "defaultValue": "10000",
- "dataType": "Integer",
- "allowedValues": "0-1000000",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/innodb_thread_sleep_delay",
- "name": "innodb_thread_sleep_delay",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- },
- {
- "properties": {
- "value": "Barracuda",
- "description": "Indicates the InnoDB file format for file-per-table tablespaces.",
- "defaultValue": "Barracuda",
- "dataType": "Enumeration",
- "allowedValues": "Antelope,Barracuda",
- "source": "system-default"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/innodb_file_format",
- "name": "innodb_file_format",
- "type": "Microsoft.DBforMariaDB/servers/configurations"
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseCreate.json
deleted file mode 100644
index 0b0ffa2b8276..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseCreate.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "parameters": {
- "databaseName": "db1",
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "properties":{
- "charset":"utf8",
- "collation":"utf8_general_ci"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/databases/db1",
- "name": "db1",
- "type": "Microsoft.DBforMariaDB/servers/databases",
- "properties": {
- "charset": "utf8",
- "collation": "utf8_general_ci"
- }
- }
- },
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/databases/db1",
- "name": "db1",
- "type": "Microsoft.DBforMariaDB/servers/databases",
- "properties": {
- "charset": "utf8",
- "collation": "utf8_general_ci"
- }
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseDelete.json
deleted file mode 100644
index 8fb3bae30a47..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseDelete.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "parameters": {
- "databaseName": "db1",
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {},
- "202": {},
- "204": {}
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseGet.json
deleted file mode 100644
index 9a48aa456d70..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseGet.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "parameters": {
- "databaseName": "db1",
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/databases/db1",
- "name": "db1",
- "type": "Microsoft.DBforMariaDB/servers/databases",
- "properties": {
- "charset": "utf8",
- "collation": "utf8_general_ci"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseListByServer.json
deleted file mode 100644
index 0307a92f626f..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/DatabaseListByServer.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "parameters": {
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/databases/db1",
- "name": "db1",
- "type": "Microsoft.DBforMariaDB/servers/databases",
- "properties": {
- "charset": "utf8",
- "collation": "utf8_general_ci"
- }
- },
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/databases/db2",
- "name": "db2",
- "type": "Microsoft.DBforMariaDB/servers/databases",
- "properties": {
- "charset": "utf8",
- "collation": "utf8_general_ci"
- }
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleCreate.json
deleted file mode 100644
index a788d945e9e0..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleCreate.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "parameters": {
- "firewallRuleName": "rule1",
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "properties":{
- "startIpAddress":"0.0.0.0",
- "endIpAddress":"255.255.255.255"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/firewallRules/rule1",
- "name": "rule1",
- "type": "Microsoft.DBforMariaDB/servers/firewallRules",
- "properties": {
- "startIpAddress": "0.0.0.0",
- "endIpAddress": "255.255.255.255"
- }
- }
- },
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/firewallRules/rule1",
- "name": "rule1",
- "type": "Microsoft.DBforMariaDB/servers/firewallRules",
- "properties": {
- "startIpAddress": "0.0.0.0",
- "endIpAddress": "255.255.255.255"
- }
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleDelete.json
deleted file mode 100644
index 322a072c0209..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleDelete.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "parameters": {
- "firewallRuleName": "rule1",
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {},
- "202": {},
- "204": {}
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleGet.json
deleted file mode 100644
index e073fbc225d4..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleGet.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "parameters": {
- "firewallRuleName": "rule1",
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/firewallRules/rule1",
- "name": "rule1",
- "type": "Microsoft.DBforMariaDB/servers/firewallRules",
- "properties": {
- "startIpAddress": "0.0.0.0",
- "endIpAddress": "255.255.255.255"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleListByServer.json
deleted file mode 100644
index 7231a5428143..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/FirewallRuleListByServer.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "parameters": {
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/firewallRules/rule1",
- "name": "rule1",
- "type": "Microsoft.DBforMariaDB/servers/firewallRules",
- "properties": {
- "startIpAddress": "0.0.0.0",
- "endIpAddress": "255.255.255.255"
- }
- },
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver/firewallRules/rule2",
- "name": "rule2",
- "type": "Microsoft.DBforMariaDB/servers/firewallRules",
- "properties": {
- "startIpAddress": "1.0.0.0",
- "endIpAddress": "255.0.0.0"
- }
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/LogFileListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/LogFileListByServer.json
deleted file mode 100644
index 89bf4bb4a8fe..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/LogFileListByServer.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "parameters": {
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "properties": {
- "sizeInKB": 1,
- "createdTime": "0001-01-01T00:00:00+00:00",
- "lastModifiedTime": "2018-03-01T06:09:20+00:00",
- "type": "slowlog",
- "url": "https://wasd2prodwus1afse42.file.core.windows.net/833c99b2f36c47349e5554b903fe0440/serverlogs/mariadb-slow-mariadbtestsvc1-2018022823.log?sv=2015-04-05&sr=f&sig=D9Ga4N5Pa%2BPe5Bmjpvs7A0TPD%2FF7IZpk9e4KWR0jgpM%3D&se=2018-03-01T07%3A12%3A13Z&sp=r"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/logFiles/mariadb-slow-mariadbtestsvc1-2018022823.log",
- "name": "mariadb-slow-mariadbtestsvc1-2018022823.log",
- "type": "Microsoft.DBforMariaDB/servers/logFiles"
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/OperationList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/OperationList.json
deleted file mode 100644
index 5fee21cd2548..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/OperationList.json
+++ /dev/null
@@ -1,217 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "Microsoft.DBforMariaDB/locations/performanceTiers/read",
- "display": {
- "provider": "Microsoft DB for MariaDB",
- "resource": "Performance Tiers",
- "operation": "List Performance Tiers",
- "description": "Returns the list of Performance Tiers available."
- }
- },
- {
- "name": "Microsoft.DBforMariaDB/servers/firewallRules/read",
- "display": {
- "provider": "Microsoft DB for MariaDB",
- "resource": "Firewall Rules",
- "operation": "List/Get Firewall Rules",
- "description": "Return the list of firewall rules for a server or gets the properties for the specified firewall rule."
- }
- },
- {
- "name": "Microsoft.DBforMariaDB/servers/firewallRules/write",
- "display": {
- "provider": "Microsoft DB for MariaDB",
- "resource": "Firewall Rules",
- "operation": "Create/Update Firewall Rule",
- "description": "Creates a firewall rule with the specified parameters or update an existing rule."
- }
- },
- {
- "name": "Microsoft.DBforMariaDB/servers/firewallRules/delete",
- "display": {
- "provider": "Microsoft DB for MariaDB",
- "resource": "Firewall Rules",
- "operation": "Delete Firewall Rule",
- "description": "Deletes an existing firewall rule."
- }
- },
- {
- "name": "Microsoft.DBforMariaDB/servers/read",
- "display": {
- "provider": "Microsoft DB for MariaDB",
- "resource": "MariaDB Server",
- "operation": "List/Get MariaDB Servers",
- "description": "Return the list of servers or gets the properties for the specified server."
- }
- },
- {
- "name": "Microsoft.DBforMariaDB/servers/write",
- "display": {
- "provider": "Microsoft DB for MariaDB",
- "resource": "MariaDB Server",
- "operation": "Create/Update MariaDB Server",
- "description": "Creates a server with the specified parameters or update the properties or tags for the specified server."
- }
- },
- {
- "name": "Microsoft.DBforMariaDB/servers/delete",
- "display": {
- "provider": "Microsoft DB for MariaDB",
- "resource": "MariaDB Server",
- "operation": "Delete MariaDB Server",
- "description": "Deletes an existing server."
- }
- },
- {
- "name": "Microsoft.DBforMariaDB/performanceTiers/read",
- "display": {
- "provider": "Microsoft DB for MariaDB",
- "resource": "Performance Tiers",
- "operation": "List Performance Tiers",
- "description": "Returns the list of Performance Tiers available."
- }
- },
- {
- "name": "Microsoft.DBforMariaDB/servers/recoverableServers/read",
- "display": {
- "provider": "Microsoft DB for MariaDB",
- "resource": "Recoverable MariaDB Server",
- "operation": "Get Recoverable MariaDB Server info",
- "description": "Return the recoverable MariaDB Server info"
- }
- },
- {
- "name": "Microsoft.DBforMariaDB/servers/providers/Microsoft.Insights/metricDefinitions/read",
- "display": {
- "provider": "Microsoft DB for MariaDB",
- "resource": "Database Metric Definition",
- "operation": "Get database metric definitions",
- "description": "Return types of metrics that are available for databases"
- },
- "properties": {
- "serviceSpecification": {
- "metricSpecifications": [
- {
- "name": "cpu_percent",
- "displayName": "CPU percent",
- "displayDescription": "CPU percent",
- "unit": "Percent",
- "aggregationType": "Average",
- "fillGapWithZero": true
- },
- {
- "name": "memory_percent",
- "displayName": "Memory percent",
- "displayDescription": "Memory percent",
- "unit": "Percent",
- "aggregationType": "Average",
- "fillGapWithZero": true
- },
- {
- "name": "io_consumption_percent",
- "displayName": "IO percent",
- "displayDescription": "IO percent",
- "unit": "Percent",
- "aggregationType": "Average",
- "fillGapWithZero": true
- },
- {
- "name": "storage_percent",
- "displayName": "Storage percentage",
- "displayDescription": "Storage percentage",
- "unit": "Percent",
- "aggregationType": "Average"
- },
- {
- "name": "storage_used",
- "displayName": "Storage used",
- "displayDescription": "Storage used",
- "unit": "Bytes",
- "aggregationType": "Average"
- },
- {
- "name": "storage_limit",
- "displayName": "Storage limit",
- "displayDescription": "Storage limit",
- "unit": "Bytes",
- "aggregationType": "Average"
- },
- {
- "name": "serverlog_storage_percent",
- "displayName": "Server Log storage percent",
- "displayDescription": "Server Log storage percent",
- "unit": "Percent",
- "aggregationType": "Average"
- },
- {
- "name": "serverlog_storage_usage",
- "displayName": "Server Log storage used",
- "displayDescription": "Server Log storage used",
- "unit": "Bytes",
- "aggregationType": "Average"
- },
- {
- "name": "serverlog_storage_limit",
- "displayName": "Server Log storage limit",
- "displayDescription": "Server Log storage limit",
- "unit": "Bytes",
- "aggregationType": "Average"
- },
- {
- "name": "active_connections",
- "displayName": "Total active connections",
- "displayDescription": "Total active connections",
- "unit": "Count",
- "aggregationType": "Average",
- "fillGapWithZero": true
- },
- {
- "name": "connections_failed",
- "displayName": "Total failed connections",
- "displayDescription": "Total failed connections",
- "unit": "Count",
- "aggregationType": "Average",
- "fillGapWithZero": true
- },
- {
- "name": "seconds_behind_master",
- "displayName": "Replication lag in seconds",
- "displayDescription": "Replication lag in seconds",
- "unit": "Count",
- "aggregationType": "Average",
- "fillGapWithZero": true
- }
- ]
- }
- }
- },
- {
- "name": "Microsoft.DBforMariaDB/servers/providers/Microsoft.Insights/diagnosticSettings/read",
- "display": {
- "provider": "Microsoft DB for MariaDB",
- "resource": "Database Metric Definition",
- "operation": "Read diagnostic setting",
- "description": "Gets the disagnostic setting for the resource"
- }
- },
- {
- "name": "Microsoft.DBforMariaDB/servers/providers/Microsoft.Insights/diagnosticSettings/write",
- "display": {
- "provider": "Microsoft DB for MariaDB",
- "resource": "Database Metric Definition",
- "operation": "Write diagnostic setting",
- "description": "Creates or updates the diagnostic setting for the resource"
- }
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/PerformanceTiersListByLocation.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/PerformanceTiersListByLocation.json
deleted file mode 100644
index d6c217745b17..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/PerformanceTiersListByLocation.json
+++ /dev/null
@@ -1,95 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "locationName": "WestUS"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "Basic",
- "serviceLevelObjectives": [
- {
- "edition": "Basic",
- "vCore": 1,
- "hardwareGeneration": "Gen4",
- "minStorageMB": 5120,
- "maxStorageMB": 1048576,
- "minBackupRetentionDays": 7,
- "maxBackupRetentionDays": 35,
- "id": "B_Gen4_1"
- },
- {
- "edition": "Basic",
- "vCore": 2,
- "hardwareGeneration": "Gen4",
- "minStorageMB": 5120,
- "maxStorageMB": 1048576,
- "minBackupRetentionDays": 7,
- "maxBackupRetentionDays": 35,
- "id": "B_Gen4_2"
- }
- ]
- },
- {
- "id": "GeneralPurpose",
- "serviceLevelObjectives": [
- {
- "edition": "GeneralPurpose",
- "vCore": 2,
- "hardwareGeneration": "Gen4",
- "minStorageMB": 5120,
- "maxStorageMB": 2097152,
- "minBackupRetentionDays": 7,
- "maxBackupRetentionDays": 35,
- "id": "GP_Gen4_2"
- },
- {
- "edition": "GeneralPurpose",
- "vCore": 4,
- "hardwareGeneration": "Gen4",
- "minStorageMB": 5120,
- "maxStorageMB": 2097152,
- "minBackupRetentionDays": 7,
- "maxBackupRetentionDays": 35,
- "id": "GP_Gen4_4"
- },
- {
- "edition": "GeneralPurpose",
- "vCore": 8,
- "hardwareGeneration": "Gen4",
- "minStorageMB": 5120,
- "maxStorageMB": 2097152,
- "minBackupRetentionDays": 7,
- "maxBackupRetentionDays": 35,
- "id": "GP_Gen4_8"
- },
- {
- "edition": "GeneralPurpose",
- "vCore": 16,
- "hardwareGeneration": "Gen4",
- "minStorageMB": 5120,
- "maxStorageMB": 2097152,
- "minBackupRetentionDays": 7,
- "maxBackupRetentionDays": 35,
- "id": "GP_Gen4_16"
- },
- {
- "edition": "GeneralPurpose",
- "vCore": 32,
- "hardwareGeneration": "Gen4",
- "minStorageMB": 5120,
- "maxStorageMB": 2097152,
- "minBackupRetentionDays": 7,
- "maxBackupRetentionDays": 35,
- "id": "GP_Gen4_32"
- }
- ]
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ReplicasListByServer.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ReplicasListByServer.json
deleted file mode 100644
index 9679de879c33..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ReplicasListByServer.json
+++ /dev/null
@@ -1,109 +0,0 @@
-{
- "parameters": {
- "serverName": "testmaster",
- "resourceGroupName": "TestGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver",
- "name": "testserver",
- "type": "Microsoft.DBforMariaDB/servers",
- "location": "northeurope",
- "tags": {
- "elasticServer": "1"
- },
- "sku": {
- "name": "GP_Gen4_2",
- "tier": "GeneralPurpose",
- "family": "Gen4",
- "capacity": 2
- },
- "properties": {
- "storageProfile": {
- "storageMB": 256000,
- "backupRetentionDays": 35,
- "geoRedundantBackup": "Enabled"
- },
- "administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "testserver.mariadb.database.azure.com",
- "version": "5.6",
- "earliestRestoreDate": "2018-06-11T23:56:54.3+00:00",
- "replicationRole": "Replica",
- "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testmaster",
- "replicaCapacity": 0
- }
- },
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver1",
- "name": "testserver1",
- "type": "Microsoft.DBforMariaDB/servers",
- "location": "northeurope",
- "tags": {
- "elasticServer": "1"
- },
- "sku": {
- "name": "GP_Gen4_2",
- "tier": "GeneralPurpose",
- "family": "Gen4",
- "capacity": 2
- },
- "properties": {
- "storageProfile": {
- "storageMB": 256000,
- "backupRetentionDays": 35,
- "geoRedundantBackup": "Enabled"
- },
- "administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "testserver1.mariadb.database.azure.com",
- "version": "5.6",
- "earliestRestoreDate": "2018-06-11T23:56:54.3+00:00",
- "replicationRole": "Replica",
- "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testmaster",
- "replicaCapacity": 0
- }
- },
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver2",
- "name": "testserver2",
- "type": "Microsoft.DBforMariaDB/servers",
- "location": "northeurope",
- "tags": {
- "elasticServer": "1"
- },
- "sku": {
- "name": "GP_Gen4_2",
- "tier": "GeneralPurpose",
- "family": "Gen4",
- "capacity": 2
- },
- "properties": {
- "storageProfile": {
- "storageMB": 256000,
- "backupRetentionDays": 35,
- "geoRedundantBackup": "Enabled"
- },
- "administratorLogin": "cloudsa",
- "sslEnforcement":"Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "testserver2.mariadb.database.azure.com",
- "version": "5.6",
- "earliestRestoreDate": "2018-06-11T23:56:54.3+00:00",
- "replicationRole": "Replica",
- "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testmaster",
- "replicaCapacity": 0
- }
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreate.json
deleted file mode 100644
index c25bf15f2430..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreate.json
+++ /dev/null
@@ -1,94 +0,0 @@
-{
- "parameters": {
- "serverName": "mariadbtestsvc4",
- "resourceGroupName": "testrg",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "location": "westus",
- "properties": {
- "administratorLogin": "cloudsa",
- "administratorLoginPassword": "pass$w0rd",
- "sslEnforcement": "Enabled",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "createMode": "Default"
- },
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "capacity": 2,
- "family": "Gen5"
- },
- "tags": {
- "ElasticServer": "1"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "mariadbtestsvc4.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- },
- "location": "westus",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc4",
- "name": "mariadbtestsvc4",
- "type": "Microsoft.DBforMariaDB/servers"
- }
- },
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc4",
- "name": "mariadbtestsvc4",
- "type": "Microsoft.DBforMariaDB/servers",
- "location": "westus",
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "elasticServer": "1"
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "mariadbtestsvc4.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- }
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateGeoRestoreMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateGeoRestoreMode.json
deleted file mode 100644
index c8f33b2ee7a5..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateGeoRestoreMode.json
+++ /dev/null
@@ -1,87 +0,0 @@
-{
- "parameters": {
- "serverName": "targetserver",
- "resourceGroupName": "TargetResourceGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "location": "westus",
- "properties": {
- "createMode": "GeoRestore",
- "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver"
- },
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "ElasticServer": "1"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 14,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- },
- "location": "westus",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers"
- }
- },
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers",
- "location": "westus",
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "elasticServer": "1"
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 14,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- }
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreatePointInTimeRestore.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreatePointInTimeRestore.json
deleted file mode 100644
index e8791c551045..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreatePointInTimeRestore.json
+++ /dev/null
@@ -1,88 +0,0 @@
-{
- "parameters": {
- "serverName": "targetserver",
- "resourceGroupName": "TargetResourceGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "location": "brazilsouth",
- "properties": {
- "restorePointInTime": "2017-12-14T00:00:37.467Z",
- "createMode": "PointInTimeRestore",
- "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/SourceResourceGroup/providers/Microsoft.DBforMariaDB/servers/sourceserver"
- },
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "ElasticServer": "1"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- },
- "location": "brazilsouth",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers"
- }
- },
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers",
- "location": "brazilsouth",
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "tags": {
- "elasticServer": "1"
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- }
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateReplicaMode.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateReplicaMode.json
deleted file mode 100644
index f60da39a2c06..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerCreateReplicaMode.json
+++ /dev/null
@@ -1,84 +0,0 @@
-{
- "parameters": {
- "serverName": "targetserver",
- "resourceGroupName": "TargetResourceGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "location": "westus",
- "properties": {
- "createMode": "Replica",
- "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMariaDB/servers/masterserver"
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 14,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00",
- "replicationRole": "Replica",
- "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMariaDB/servers/masterserver",
- "replicaCapacity": 0
- },
- "location": "westus",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers"
- }
- },
- "200": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 14,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "targetserver.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00",
- "replicationRole": "Replica",
- "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/MasterResourceGroup/providers/Microsoft.DBforMariaDB/servers/masterserver",
- "replicaCapacity": 0
- },
- "location": "westus",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TargetResourceGroup/providers/Microsoft.DBforMariaDB/servers/targetserver",
- "name": "targetserver",
- "type": "Microsoft.DBforMariaDB/servers"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerDelete.json
deleted file mode 100644
index 2a1ad22df63e..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerDelete.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "parameters": {
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {},
- "202": {},
- "204": {}
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerGet.json
deleted file mode 100644
index 97bad474fe4b..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerGet.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- "parameters": {
- "serverName": "mariadbtestsvc4",
- "resourceGroupName": "testrg",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "GP_Gen4_2",
- "tier": "GeneralPurpose",
- "family": "Gen4",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "mariadbtestsvc4.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00",
- "replicationRole": "None",
- "masterServerId": "",
- "replicaCapacity": 5
- },
- "location": "westus",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc4",
- "name": "mariadbtestsvc4",
- "type": "Microsoft.DBforMariaDB/servers"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerList.json
deleted file mode 100644
index 2a146eeea7a4..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerList.json
+++ /dev/null
@@ -1,89 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "sku": {
- "name": "B_Gen4_2",
- "tier": "Basic",
- "family": "Gen4",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "testuser",
- "storageProfile": {
- "storageMB": 5120,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Disabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "mariadbtestsvc1.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-02-28T23:56:02.627+00:00"
- },
- "location": "westus",
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1",
- "name": "mariadbtestsvc1",
- "type": "Microsoft.DBforMariaDB/servers"
- },
- {
- "sku": {
- "name": "GP_Gen4_2",
- "tier": "GeneralPurpose",
- "family": "Gen4",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "testuser",
- "storageProfile": {
- "storageMB": 5120,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Disabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "mariadbtstsvc2.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-02-28T23:56:54.3+00:00"
- },
- "location": "westus",
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtstsvc2",
- "name": "mariadbtstsvc2",
- "type": "Microsoft.DBforMariaDB/servers"
- },
- {
- "sku": {
- "name": "GP_Gen4_4",
- "tier": "GeneralPurpose",
- "family": "Gen4",
- "capacity": 4
- },
- "properties": {
- "administratorLogin": "testuser",
- "storageProfile": {
- "storageMB": 102400,
- "backupRetentionDays": 35,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "mariadbtestsvc3.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-02-28T23:59:44.847+00:00"
- },
- "location": "westus",
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg1/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc3",
- "name": "mariadbtestsvc3",
- "type": "Microsoft.DBforMariaDB/servers"
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerListByResourceGroup.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerListByResourceGroup.json
deleted file mode 100644
index 07c4f381084f..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerListByResourceGroup.json
+++ /dev/null
@@ -1,65 +0,0 @@
-{
- "parameters": {
- "resourceGroupName": "testrg",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "sku": {
- "name": "B_Gen4_1",
- "tier": "Basic",
- "family": "Gen4",
- "capacity": 1
- },
- "properties": {
- "administratorLogin": "testuser",
- "storageProfile": {
- "storageMB": 5120,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Disabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "mariadbtestsvc1.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-07T18:17:35.729321+00:00"
- },
- "location": "westus",
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1",
- "name": "mariadbtestsvc1",
- "type": "Microsoft.DBforMariaDB/servers"
- },
- {
- "sku": {
- "name": "GP_Gen4_2",
- "tier": "GeneralPurpose",
- "family": "Gen4",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "testuser",
- "storageProfile": {
- "storageMB": 5120,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Disabled"
- },
- "version": "5.7",
- "sslEnforcement": "Enabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "mariadbtstsvc2.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-07T18:17:35.729321+00:00"
- },
- "location": "westus",
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtstsvc2",
- "name": "mariadbtstsvc2",
- "type": "Microsoft.DBforMariaDB/servers"
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerRestart.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerRestart.json
deleted file mode 100644
index 3a6333f8febc..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerRestart.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "parameters": {
- "serverName": "testserver",
- "resourceGroupName": "TestGroup",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {},
- "202": {}
- }
- }
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMax.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMax.json
deleted file mode 100644
index ddd2caa7654b..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMax.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2018-06-01",
- "parameters": {
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": ["testSecurityAlert@microsoft.com"],
- "disabledAlerts": ["Access_Anomaly", "Usage_Anomaly"],
- "retentionDays": 5,
- "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==",
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": ["testSecurityAlert@microsoft.com"],
- "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"],
- "retentionDays": 5,
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
- },
- "202": {
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMin.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMin.json
deleted file mode 100644
index 704fcf37b4f3..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsCreateMin.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2018-06-01",
- "parameters": {
- "properties": {
- "state": "Disabled",
- "emailAccountAdmins": true
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": true,
- "emailAddresses": [],
- "disabledAlerts": [],
- "retentionDays": 0,
- "storageEndpoint": ""
- }
- }
- },
- "202": {
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsGet.json
deleted file mode 100644
index 6c7833d4d89c..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerSecurityAlertsGet.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "securityAlertPolicyName": "Default",
- "api-version": "2018-06-01"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.DBforMariaDB/servers/securityalert-6440/securityAlertPolicies/default",
- "name": "Default",
- "type": "Microsoft.DBforMariaDB/servers/securityAlertPolicies",
- "properties": {
- "state": "Disabled",
- "emailAccountAdmins": true,
- "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ],
- "disabledAlerts": ["Access_Anomaly"],
- "retentionDays": 0,
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerUpdate.json
deleted file mode 100644
index 046eed085de4..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/ServerUpdate.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "parameters": {
- "serverName": "mariadbtestsvc4",
- "resourceGroupName": "testrg",
- "api-version": "2018-06-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "properties": {
- "administratorLoginPassword": "newpa$$w0rd",
- "sslEnforcement": "Disabled"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "GP_Gen4_2",
- "tier": "GeneralPurpose",
- "family": "Gen4",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "cloudsa",
- "storageProfile": {
- "storageMB": 128000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Enabled"
- },
- "version": "5.7",
- "sslEnforcement": "Disabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "mariadbtestsvc4.mariadb.database.azure.com",
- "earliestRestoreDate": "2018-03-14T18:02:41.577+00:00"
- },
- "location": "westus",
- "tags": {
- "ElasticServer": "1"
- },
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc4",
- "name": "mariadbtestsvc4",
- "type": "Microsoft.DBforMariaDB/servers"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesCreateOrUpdate.json
deleted file mode 100644
index 2df814ab4133..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesCreateOrUpdate.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "resourceGroupName": "TestGroup",
- "serverName": "vnet-test-svr",
- "virtualNetworkRuleName": "vnet-firewall-rule",
- "api-version": "2018-06-01",
- "parameters": {
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json
deleted file mode 100644
index 25b007c52c42..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "resourceGroupName": "TestGroup",
- "serverName": "vnet-test-svr",
- "virtualNetworkRuleName": "vnet-firewall-rule",
- "api-version": "2018-06-01"
- },
- "responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesGet.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesGet.json
deleted file mode 100644
index 1b97f04ccc5a..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesGet.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "resourceGroupName": "TestGroup",
- "serverName": "vnet-test-svr",
- "virtualNetworkRuleName": "vnet-firewall-rule",
- "api-version": "2018-06-01"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesList.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesList.json
deleted file mode 100644
index e3ea4b632c8e..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesList.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "resourceGroupName": "TestGroup",
- "serverName": "vnet-test-svr",
- "virtualNetworkRuleName": "vnet-firewall-rule",
- "api-version": "2018-06-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- },
- {
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/vnet-test-svr/virtualNetworkRules/vnet-firewall-rule",
- "name": "vnet-firewall-rule",
- "type": "Microsoft.DBforMariaDB/servers/virtualNetworkRules",
- "properties": {
- "ignoreMissingVnetServiceEndpoint": false,
- "state": "Ready",
- "virtualNetworkSubnetId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/testsubnet"
- }
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json
deleted file mode 100644
index 546ca981ce57..000000000000
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json
+++ /dev/null
@@ -1,2352 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "MariaDBManagementClient",
- "description": "The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MariaDB resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model.",
- "version": "2018-06-01"
- },
- "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": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}": {
- "put": {
- "tags": [
- "Servers"
- ],
- "operationId": "Servers_Create",
- "x-ms-examples": {
- "Create a new server": {
- "$ref": "./examples/ServerCreate.json"
- },
- "Create a database as a point in time restore": {
- "$ref":"./examples/ServerCreatePointInTimeRestore.json"
- },
- "Create a server as a geo restore ": {
- "$ref": "./examples/ServerCreateGeoRestoreMode.json"
- },
- "Create a replica server": {
- "$ref": "./examples/ServerCreateReplicaMode.json"
- }
- },
- "description": "Creates a new server or updates an existing server. The update action will overwrite the existing server.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ServerForCreate"
- },
- "description": "The required parameters for creating or updating a server."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Server"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/Server"
- }
- },
- "202": {
- "description": "Accepted"
- }
- },
- "x-ms-long-running-operation": true
- },
- "patch": {
- "tags": [
- "Servers"
- ],
- "operationId": "Servers_Update",
- "x-ms-examples": {
- "ServerUpdate": {
- "$ref": "./examples/ServerUpdate.json"
- }
- },
- "description": "Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ServerUpdateParameters"
- },
- "description": "The required parameters for updating a server."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Server"
- }
- },
- "202": {
- "description": "Accepted"
- }
- },
- "x-ms-long-running-operation": true
- },
- "delete": {
- "tags": [
- "Servers"
- ],
- "operationId": "Servers_Delete",
- "x-ms-examples": {
- "ServerDelete": {
- "$ref": "./examples/ServerDelete.json"
- }
- },
- "description": "Deletes a server.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
- },
- "204": {
- "description": "NoContent"
- }
- },
- "x-ms-long-running-operation": true
- },
- "get": {
- "tags": [
- "Servers"
- ],
- "operationId": "Servers_Get",
- "x-ms-examples": {
- "ServerGet": {
- "$ref": "./examples/ServerGet.json"
- }
- },
- "description": "Gets information about a server.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Server"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers": {
- "get": {
- "tags": [
- "Servers"
- ],
- "operationId": "Servers_ListByResourceGroup",
- "x-ms-examples": {
- "ServerListByResourceGroup": {
- "$ref": "./examples/ServerListByResourceGroup.json"
- }
- },
- "description": "List all the servers in a given resource group.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ServerListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.DBforMariaDB/servers": {
- "get": {
- "tags": [
- "Servers"
- ],
- "operationId": "Servers_List",
- "x-ms-examples": {
- "ServerList": {
- "$ref": "./examples/ServerList.json"
- }
- },
- "description": "List all the servers in a given subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ServerListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/restart": {
- "post": {
- "tags": [
- "ServerRestart"
- ],
- "operationId": "Servers_Restart",
- "x-ms-examples": {
- "ServerRestart": { "$ref": "./examples/ServerRestart.json" }
- },
- "description": "Restarts a server.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- }
- },
- "x-ms-long-running-operation": true
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/replicas": {
- "get": {
- "tags": [
- "Replicas"
- ],
- "operationId": "Replicas_ListByServer",
- "x-ms-examples": {
- "ReplicasListByServer": {
- "$ref": "./examples/ReplicasListByServer.json"
- }
- },
- "description": "List all the replicas for a given server.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ServerListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/firewallRules/{firewallRuleName}": {
- "put": {
- "tags": [
- "FirewallRules"
- ],
- "operationId": "FirewallRules_CreateOrUpdate",
- "x-ms-examples": {
- "FirewallRuleCreate": {
- "$ref": "./examples/FirewallRuleCreate.json"
- }
- },
- "description": "Creates a new firewall rule or updates an existing firewall rule.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/FirewallRuleNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/FirewallRule"
- },
- "description": "The required parameters for creating or updating a firewall rule."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/FirewallRule"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/FirewallRule"
- }
- },
- "202": {
- "description": "Accepted"
- }
- },
- "x-ms-long-running-operation": true
- },
- "delete": {
- "tags": [
- "FirewallRules"
- ],
- "operationId": "FirewallRules_Delete",
- "x-ms-examples": {
- "FirewallRuleDelete": {
- "$ref": "./examples/FirewallRuleDelete.json"
- }
- },
- "description": "Deletes a server firewall rule.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/FirewallRuleNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
- },
- "204": {
- "description": "NoContent"
- }
- },
- "x-ms-long-running-operation": true
- },
- "get": {
- "tags": [
- "FirewallRules"
- ],
- "operationId": "FirewallRules_Get",
- "x-ms-examples": {
- "FirewallRuleGet": {
- "$ref": "./examples/FirewallRuleGet.json"
- }
- },
- "description": "Gets information about a server firewall rule.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/FirewallRuleNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/FirewallRule"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/firewallRules": {
- "get": {
- "tags": [
- "FirewallRules"
- ],
- "operationId": "FirewallRules_ListByServer",
- "x-ms-examples": {
- "FirewallRuleList": {
- "$ref": "./examples/FirewallRuleListByServer.json"
- }
- },
- "description": "List all the firewall rules in a given server.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/FirewallRuleListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/virtualNetworkRules/{virtualNetworkRuleName}": {
- "get": {
- "tags": [
- "VirtualNetworkRules"
- ],
- "description": "Gets a virtual network rule.",
- "operationId": "VirtualNetworkRules_Get",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/virtualNetworkRuleNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved a specified virtual network rule.",
- "schema": {
- "$ref": "#/definitions/VirtualNetworkRule"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ResourceNotFound - The requested resource was not found."
- }
- },
- "x-ms-examples": {
- "Gets a virtual network rule": {
- "$ref": "./examples/VirtualNetworkRulesGet.json"
- }
- }
- },
- "put": {
- "tags": [
- "VirtualNetworkRules"
- ],
- "description": "Creates or updates an existing virtual network rule.",
- "operationId": "VirtualNetworkRules_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/virtualNetworkRuleNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "description": "The requested virtual Network Rule Resource state.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/VirtualNetworkRule"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully updated a virtual network rule.",
- "schema": {
- "$ref": "#/definitions/VirtualNetworkRule"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 InvalidResourceId - Invalid resource identifier.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 NullVirtualNetworkRequest - Virtual Network Request is Null\n\n * 400 NullVirtualNetworkRequestParameters - Virtual Network Request Parameters are Null\n\n * 400 NullVirtualNetworkSubnetId - The Virtual Network Subnet Id is null\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 VirtualNetworkRuleNotEnabled - Azure SQL Server Virtual Network Rule feature is not enabled\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation."
- },
- "202": {
- "description": "Accepted"
- },
- "201": {
- "description": "Successfully created a virtual network rule.",
- "schema": {
- "$ref": "#/definitions/VirtualNetworkRule"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Create or update a virtual network rule": {
- "$ref": "./examples/VirtualNetworkRulesCreateOrUpdate.json"
- }
- }
- },
- "delete": {
- "tags": [
- "VirtualNetworkRules"
- ],
- "description": "Deletes the virtual network rule with the given name.",
- "operationId": "VirtualNetworkRules_Delete",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/virtualNetworkRuleNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully deleted the virtual network rule."
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 InvalidResourceId - Invalid resource identifier.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 NullVirtualNetworkRequest - Virtual Network Request is Null\n\n * 400 NullVirtualNetworkRequestParameters - Virtual Network Request Parameters are Null\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation."
- },
- "202": {
- "description": "Accepted"
- },
- "204": {
- "description": "The specified virtual network rule does not exist."
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Delete a virtual network rule": {
- "$ref": "./examples/VirtualNetworkRulesDelete.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/virtualNetworkRules": {
- "get": {
- "tags": [
- "VirtualNetworkRules"
- ],
- "description": "Gets a list of virtual network rules in a server.",
- "operationId": "VirtualNetworkRules_ListByServer",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved the list of virtual network rules.",
- "schema": {
- "$ref": "#/definitions/VirtualNetworkRuleListResult"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ResourceNotFound - The requested resource was not found."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List virtual network rules": {
- "$ref": "./examples/VirtualNetworkRulesList.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/databases/{databaseName}": {
- "put": {
- "tags": [
- "Databases"
- ],
- "operationId": "Databases_CreateOrUpdate",
- "x-ms-examples": {
- "DatabaseCreate": {
- "$ref": "./examples/DatabaseCreate.json"
- }
- },
- "description": "Creates a new database or updates an existing database.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/DatabaseNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Database"
- },
- "description": "The required parameters for creating or updating a database."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Database"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/Database"
- }
- },
- "202": {
- "description": "Accepted"
- }
- },
- "x-ms-long-running-operation": true
- },
- "delete": {
- "tags": [
- "Databases"
- ],
- "operationId": "Databases_Delete",
- "x-ms-examples": {
- "DatabaseDelete": {
- "$ref": "./examples/DatabaseDelete.json"
- }
- },
- "description": "Deletes a database.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/DatabaseNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK"
- },
- "202": {
- "description": "Accepted"
- },
- "204": {
- "description": "NoContent"
- }
- },
- "x-ms-long-running-operation": true
- },
- "get": {
- "tags": [
- "Databases"
- ],
- "operationId": "Databases_Get",
- "x-ms-examples": {
- "DatabaseGet": {
- "$ref": "./examples/DatabaseGet.json"
- }
- },
- "description": "Gets information about a database.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/DatabaseNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Database"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/databases": {
- "get": {
- "tags": [
- "Databases"
- ],
- "operationId": "Databases_ListByServer",
- "x-ms-examples": {
- "DatabaseList": {
- "$ref": "./examples/DatabaseListByServer.json"
- }
- },
- "description": "List all the databases in a given server.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/DatabaseListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/configurations/{configurationName}": {
- "put": {
- "tags": [
- "Configurations"
- ],
- "operationId": "Configurations_CreateOrUpdate",
- "x-ms-examples": {
- "ConfigurationCreateOrUpdate": {
- "$ref": "./examples/ConfigurationCreateOrUpdate.json"
- }
- },
- "description": "Updates a configuration of a server.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/ConfigurationNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Configuration"
- },
- "description": "The required parameters for updating a server configuration."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Configuration"
- }
- },
- "202": {
- "description": "Accepted"
- }
- },
- "x-ms-long-running-operation": true
- },
- "get": {
- "tags": [
- "Configurations"
- ],
- "operationId": "Configurations_Get",
- "x-ms-examples": {
- "ConfigurationGet": {
- "$ref": "./examples/ConfigurationGet.json"
- }
- },
- "description": "Gets information about a configuration of server.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/ConfigurationNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Configuration"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/configurations": {
- "get": {
- "tags": [
- "Configurations"
- ],
- "operationId": "Configurations_ListByServer",
- "x-ms-examples": {
- "ConfigurationList": {
- "$ref": "./examples/ConfigurationListByServer.json"
- }
- },
- "description": "List all the configurations in a given server.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ConfigurationListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/logFiles": {
- "get": {
- "tags": [
- "LogFiles"
- ],
- "operationId": "LogFiles_ListByServer",
- "x-ms-examples": {
- "LogFileList": {
- "$ref": "./examples/LogFileListByServer.json"
- }
- },
- "description": "List all the log files in a given server.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/LogFileListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.DBforMariaDB/locations/{locationName}/performanceTiers": {
- "get": {
- "tags": [
- "LocationBasedPerformanceTier"
- ],
- "operationId": "LocationBasedPerformanceTier_List",
- "x-ms-examples": {
- "PerformanceTiersList": {
- "$ref": "./examples/PerformanceTiersListByLocation.json"
- }
- },
- "description": "List all the performance tiers at specified location in a given subscription.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/LocationNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/PerformanceTierListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.DBforMariaDB/checkNameAvailability": {
- "post": {
- "tags": [
- "CheckNameAvailability"
- ],
- "operationId": "CheckNameAvailability_Execute",
- "x-ms-examples": {
- "NameAvailability": {
- "$ref": "./examples/CheckNameAvailability.json"
- }
- },
- "description": "Check the availability of name for resource",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "nameAvailabilityRequest",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/NameAvailabilityRequest"
- },
- "description": "The required parameters for checking if resource name is available."
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/NameAvailability"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}": {
- "get": {
- "tags": [
- "ServerSecurityAlertPolicies"
- ],
- "description": "Get a server's security alert policy.",
- "operationId": "ServerSecurityAlertPolicies_Get",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- },
- {
- "name": "securityAlertPolicyName",
- "in": "path",
- "description": "The name of the security alert policy.",
- "required": true,
- "type": "string",
- "enum": [
- "Default"
- ],
- "x-ms-enum": {
- "name": "SecurityAlertPolicyName",
- "modelAsString": true
- }
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved the server threat detection policy.",
- "schema": {
- "$ref": "#/definitions/ServerSecurityAlertPolicy"
- }
- },
- "default": {
- "description": "Error response describing why the operation of getting security alert policies failed."
- }
- },
- "x-ms-examples": {
- "Get a server's threat detection policy": {
- "$ref": "./examples/ServerSecurityAlertsGet.json"
- }
- }
- },
- "put": {
- "tags": [
- "ServerSecurityAlertPolicies"
- ],
- "description": "Creates or updates a threat detection policy.",
- "operationId": "ServerSecurityAlertPolicies_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- },
- {
- "name": "securityAlertPolicyName",
- "in": "path",
- "description": "The name of the threat detection policy.",
- "required": true,
- "type": "string",
- "enum": [
- "Default"
- ],
- "x-ms-enum": {
- "name": "SecurityAlertPolicyName",
- "modelAsString": true
- }
- },
- {
- "name": "parameters",
- "in": "body",
- "description": "The server security alert policy.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ServerSecurityAlertPolicy"
- }
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully updated the threat detection policy.",
- "schema": {
- "$ref": "#/definitions/ServerSecurityAlertPolicy"
- }
- },
- "default": {
- "description": "Error response describing why the operation of setting security alert policies failed."
- },
- "202": {
- "description": "Created request to set the server threat detection policy."
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Update a server's threat detection policy with all parameters": {
- "$ref": "./examples/ServerSecurityAlertsCreateMax.json"
- },
- "Update a server's threat detection policy with minimal parameters": {
- "$ref": "./examples/ServerSecurityAlertsCreateMin.json"
- }
- }
- }
- },
- "/providers/Microsoft.DBforMariaDB/operations": {
- "get": {
- "tags": [
- "Operations"
- ],
- "operationId": "Operations_List",
- "x-ms-examples": {
- "OperationList": {
- "$ref": "./examples/OperationList.json"
- }
- },
- "description": "Lists all of the available REST API operations.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/OperationListResult"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "ServerVersion": {
- "type": "string",
- "description": "The version of a server.",
- "enum": [
- "5.6",
- "5.7"
- ],
- "x-ms-enum": {
- "name": "ServerVersion",
- "modelAsString": true
- }
- },
- "SslEnforcement": {
- "type": "string",
- "description": "Enable ssl enforcement or not when connect to server.",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "SslEnforcementEnum",
- "modelAsString": false
- }
- },
- "ProxyResource": {
- "description": "Resource properties.",
- "properties": {
- "id": {
- "readOnly": true,
- "type": "string",
- "description": "Resource ID"
- },
- "name": {
- "readOnly": true,
- "type": "string",
- "description": "Resource name."
- },
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "Resource type."
- }
- },
- "x-ms-azure-resource": true
- },
- "TrackedResource": {
- "description": "Resource properties including location and tags for track resources.",
- "properties": {
- "location": {
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ],
- "description": "The location the resource resides in."
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Application-specific metadata in the form of key-value pairs."
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/ProxyResource"
- }
- ],
- "required": [
- "location"
- ]
- },
- "ServerProperties": {
- "properties": {
- "administratorLogin": {
- "type": "string",
- "description": "The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation)."
- },
- "version": {
- "$ref": "#/definitions/ServerVersion",
- "description": "Server version."
- },
- "sslEnforcement": {
- "$ref": "#/definitions/SslEnforcement",
- "description": "Enable ssl enforcement or not when connect to server."
- },
- "userVisibleState": {
- "type": "string",
- "description": "A state of a server that is visible to user.",
- "enum": [
- "Ready",
- "Dropping",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "ServerState",
- "modelAsString": true
- }
- },
- "fullyQualifiedDomainName": {
- "type": "string",
- "description": "The fully qualified domain name of a server."
- },
- "earliestRestoreDate": {
- "type": "string",
- "format": "date-time",
- "description": "Earliest restore point creation time (ISO8601 format)"
- },
- "storageProfile": {
- "$ref": "#/definitions/StorageProfile",
- "description": "Storage profile of a server."
- },
- "replicationRole": {
- "type": "string",
- "description": "The replication role of the server."
- },
- "masterServerId": {
- "type": "string",
- "description": "The master server id of a replica server."
- },
- "replicaCapacity": {
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "The maximum number of replicas that a master server can have."
- }
- },
- "description": "The properties of a server."
- },
- "StorageProfile": {
- "properties": {
- "backupRetentionDays": {
- "type": "integer",
- "description": "Backup retention days for the server."
- },
- "geoRedundantBackup": {
- "type": "string",
- "description": "Enable Geo-redundant or not for server backup.",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "GeoRedundantBackup",
- "modelAsString": true
- }
- },
- "storageMB": {
- "type": "integer",
- "format": "int32",
- "description": "Max storage allowed for a server."
- }
- },
- "description": "Storage Profile properties of a server"
- },
- "ServerPropertiesForCreate": {
- "discriminator": "createMode",
- "required": [
- "createMode"
- ],
- "properties": {
- "version": {
- "$ref": "#/definitions/ServerVersion",
- "description": "Server version."
- },
- "sslEnforcement": {
- "$ref": "#/definitions/SslEnforcement",
- "description": "Enable ssl enforcement or not when connect to server."
- },
- "storageProfile": {
- "$ref": "#/definitions/StorageProfile",
- "description": "Storage profile of a server."
- },
- "createMode": {
- "type": "string",
- "description": "The mode to create a new server.",
- "enum": [
- "Default",
- "PointInTimeRestore",
- "GeoRestore",
- "Replica"
- ],
- "x-ms-enum": {
- "name": "CreateMode",
- "modelAsString": true
- }
- }
- },
- "description": "The properties used to create a new server."
- },
- "ServerPropertiesForDefaultCreate": {
- "x-ms-discriminator-value": "Default",
- "allOf": [
- {
- "$ref": "#/definitions/ServerPropertiesForCreate"
- }
- ],
- "properties": {
- "administratorLogin": {
- "type": "string",
- "description": "The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation)."
- },
- "administratorLoginPassword": {
- "type": "string",
- "format": "password",
- "description": "The password of the administrator login."
- }
- },
- "required": [
- "administratorLogin",
- "administratorLoginPassword"
- ],
- "description": "The properties used to create a new server."
- },
- "ServerPropertiesForRestore": {
- "x-ms-discriminator-value": "PointInTimeRestore",
- "allOf": [
- {
- "$ref": "#/definitions/ServerPropertiesForCreate"
- }
- ],
- "properties": {
- "sourceServerId": {
- "type": "string",
- "description": "The source server id to restore from."
- },
- "restorePointInTime": {
- "type": "string",
- "format": "date-time",
- "description": "Restore point creation time (ISO8601 format), specifying the time to restore from."
- }
- },
- "required": [
- "sourceServerId",
- "restorePointInTime"
- ],
- "description": "The properties used to create a new server by restoring from a backup."
- },
- "ServerPropertiesForGeoRestore": {
- "x-ms-discriminator-value": "GeoRestore",
- "allOf": [
- {
- "$ref": "#/definitions/ServerPropertiesForCreate"
- }
- ],
- "properties": {
- "sourceServerId": {
- "type": "string",
- "description": "The source server id to restore from."
- }
- },
- "required": [
- "sourceServerId"
- ],
- "description": "The properties used to create a new server by restoring to a different region from a geo replicated backup."
- },
- "ServerPropertiesForReplica": {
- "x-ms-discriminator-value": "Replica",
- "allOf": [
- {
- "$ref": "#/definitions/ServerPropertiesForCreate"
- }
- ],
- "properties": {
- "sourceServerId": {
- "type": "string",
- "description": "The master server id to create replica from."
- }
- },
- "required": [
- "sourceServerId"
- ],
- "description": "The properties to create a new replica."
- },
- "Sku": {
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the sku, typically, tier + family + cores, e.g. B_Gen4_1, GP_Gen5_8."
- },
- "tier": {
- "type": "string",
- "description": "The tier of the particular SKU, e.g. Basic.",
- "enum": [
- "Basic",
- "GeneralPurpose",
- "MemoryOptimized"
- ],
- "x-ms-enum": {
- "name": "SkuTier",
- "modelAsString": true
- }
- },
- "capacity": {
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "The scale up/out capacity, representing server's compute units."
- },
- "size": {
- "type": "string",
- "description": "The size code, to be interpreted by resource as appropriate."
- },
- "family": {
- "type": "string",
- "description": "The family of hardware."
- }
- },
- "description": "Billing information related properties of a server."
- },
- "Server": {
- "properties": {
- "sku": {
- "$ref": "#/definitions/Sku",
- "description": "The SKU (pricing tier) of the server."
- },
- "properties": {
- "$ref": "#/definitions/ServerProperties",
- "x-ms-client-flatten": true,
- "description": "Properties of the server."
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/TrackedResource"
- }
- ],
- "description": "Represents a server."
- },
- "ServerForCreate": {
- "properties": {
- "sku": {
- "$ref": "#/definitions/Sku",
- "description": "The SKU (pricing tier) of the server."
- },
- "properties": {
- "$ref": "#/definitions/ServerPropertiesForCreate",
- "x-ms-client-flatten": false,
- "description": "Properties of the server."
- },
- "location": {
- "type": "string",
- "description": "The location the resource resides in."
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Application-specific metadata in the form of key-value pairs."
- }
- },
- "required": [
- "properties",
- "location"
- ],
- "description": "Represents a server to be created."
- },
- "ServerUpdateParameters": {
- "properties": {
- "sku": {
- "$ref": "#/definitions/Sku",
- "description": "The SKU (pricing tier) of the server."
- },
- "properties": {
- "properties": {
- "storageProfile": {
- "$ref": "#/definitions/StorageProfile",
- "description": "Storage profile of a server."
- },
- "administratorLoginPassword": {
- "type": "string",
- "format": "password",
- "description": "The password of the administrator login."
- },
- "version": {
- "$ref": "#/definitions/ServerVersion",
- "description": "The version of a server."
- },
- "sslEnforcement": {
- "$ref": "#/definitions/SslEnforcement",
- "description": "Enable ssl enforcement or not when connect to server."
- },
- "replicationRole": {
- "type": "string",
- "description": "The replication role of the server."
- }
- },
- "x-ms-client-flatten": true,
- "description": "The properties that can be updated for a server."
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Application-specific metadata in the form of key-value pairs."
- }
- },
- "description": "Parameters allowed to update for a server."
- },
- "ServerListResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Server"
- },
- "description": "The list of servers"
- }
- },
- "description": "A list of servers."
- },
- "FirewallRuleProperties": {
- "properties": {
- "startIpAddress": {
- "type": "string",
- "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$",
- "description": "The start IP address of the server firewall rule. Must be IPv4 format."
- },
- "endIpAddress": {
- "type": "string",
- "pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$",
- "description": "The end IP address of the server firewall rule. Must be IPv4 format."
- }
- },
- "required": [
- "startIpAddress",
- "endIpAddress"
- ],
- "description": "The properties of a server firewall rule."
- },
- "FirewallRule": {
- "properties": {
- "properties": {
- "$ref": "#/definitions/FirewallRuleProperties",
- "x-ms-client-flatten": true,
- "description": "The properties of a firewall rule."
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/ProxyResource"
- }
- ],
- "required": [
- "properties"
- ],
- "description": "Represents a server firewall rule."
- },
- "FirewallRuleListResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/FirewallRule"
- },
- "description": "The list of firewall rules in a server."
- }
- },
- "description": "A list of firewall rules."
- },
- "VirtualNetworkRuleProperties": {
- "description": "Properties of a virtual network rule.",
- "required": [
- "virtualNetworkSubnetId"
- ],
- "type": "object",
- "properties": {
- "virtualNetworkSubnetId": {
- "description": "The ARM resource id of the virtual network subnet.",
- "type": "string"
- },
- "ignoreMissingVnetServiceEndpoint": {
- "description": "Create firewall rule before the virtual network has vnet service endpoint enabled.",
- "type": "boolean"
- },
- "state": {
- "description": "Virtual Network Rule State",
- "enum": [
- "Initializing",
- "InProgress",
- "Ready",
- "Deleting",
- "Unknown"
- ],
- "type": "string",
- "readOnly": true,
- "x-ms-enum": {
- "name": "VirtualNetworkRuleState",
- "modelAsString": true
- }
- }
- }
- },
- "VirtualNetworkRule": {
- "description": "A virtual network rule.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/ProxyResource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/VirtualNetworkRuleProperties",
- "description": "Resource properties.",
- "x-ms-client-flatten": true
- }
- }
- },
- "VirtualNetworkRuleListResult": {
- "description": "A list of virtual network rules.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Array of results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/VirtualNetworkRule"
- },
- "readOnly": true
- },
- "nextLink": {
- "description": "Link to retrieve next page of results.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "DatabaseProperties": {
- "properties": {
- "charset": {
- "type": "string",
- "description": "The charset of the database."
- },
- "collation": {
- "type": "string",
- "description": "The collation of the database."
- }
- },
- "description": "The properties of a database."
- },
- "Database": {
- "properties": {
- "properties": {
- "$ref": "#/definitions/DatabaseProperties",
- "x-ms-client-flatten": true,
- "description": "The properties of a database."
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/ProxyResource"
- }
- ],
- "description": "Represents a Database."
- },
- "DatabaseListResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Database"
- },
- "description": "The list of databases housed in a server"
- }
- },
- "description": "A List of databases."
- },
- "ConfigurationProperties": {
- "properties": {
- "value": {
- "type": "string",
- "description": "Value of the configuration."
- },
- "description": {
- "type": "string",
- "readOnly": true,
- "description": "Description of the configuration."
- },
- "defaultValue": {
- "type": "string",
- "readOnly": true,
- "description": "Default value of the configuration."
- },
- "dataType": {
- "type": "string",
- "readOnly": true,
- "description": "Data type of the configuration."
- },
- "allowedValues": {
- "type": "string",
- "readOnly": true,
- "description": "Allowed values of the configuration."
- },
- "source": {
- "type": "string",
- "description": "Source of the configuration."
- }
- },
- "description": "The properties of a configuration."
- },
- "Configuration": {
- "properties": {
- "properties": {
- "$ref": "#/definitions/ConfigurationProperties",
- "x-ms-client-flatten": true,
- "description": "The properties of a configuration."
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/ProxyResource"
- }
- ],
- "description": "Represents a Configuration."
- },
- "ConfigurationListResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Configuration"
- },
- "description": "The list of server configurations."
- }
- },
- "description": "A list of server configurations."
- },
- "OperationDisplay": {
- "properties": {
- "provider": {
- "type": "string",
- "readOnly": true,
- "description": "Operation resource provider name."
- },
- "resource": {
- "type": "string",
- "readOnly": true,
- "description": "Resource on which the operation is performed."
- },
- "operation": {
- "type": "string",
- "readOnly": true,
- "description": "Localized friendly name for the operation."
- },
- "description": {
- "type": "string",
- "readOnly": true,
- "description": "Operation description."
- }
- },
- "readOnly": true,
- "description": "Display metadata associated with the operation."
- },
- "Operation": {
- "properties": {
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "The name of the operation being performed on this particular object."
- },
- "display": {
- "$ref": "#/definitions/OperationDisplay",
- "readOnly": true,
- "description": "The localized display information for this particular operation or action."
- },
- "origin": {
- "type": "string",
- "readOnly": true,
- "description": "The intended executor of the operation.",
- "enum": [
- "NotSpecified",
- "user",
- "system"
- ],
- "x-ms-enum": {
- "name": "OperationOrigin",
- "modelAsString": true
- }
- },
- "properties": {
- "type": "object",
- "additionalProperties": {
- "type": "object"
- },
- "readOnly": true,
- "x-ms-client-flatten": false,
- "description": "Additional descriptions for the operation."
- }
- },
- "description": "REST API operation definition."
- },
- "OperationListResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Operation"
- },
- "description": "The list of resource provider operations."
- }
- },
- "description": "A list of resource provider operations."
- },
- "LogFileProperties": {
- "properties": {
- "sizeInKB": {
- "type": "integer",
- "format": "int64",
- "description": "Size of the log file."
- },
- "createdTime": {
- "type": "string",
- "readOnly": true,
- "format": "date-time",
- "description": "Creation timestamp of the log file."
- },
- "lastModifiedTime": {
- "type": "string",
- "readOnly": true,
- "format": "date-time",
- "description": "Last modified timestamp of the log file."
- },
- "type": {
- "type": "string",
- "description": "Type of the log file."
- },
- "url": {
- "type": "string",
- "readOnly": true,
- "description": "The url to download the log file from."
- }
- },
- "description": "The properties of a log file."
- },
- "LogFile": {
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the log file."
- },
- "properties": {
- "$ref": "#/definitions/LogFileProperties",
- "x-ms-client-flatten": true,
- "description": "The properties of the log file."
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/ProxyResource"
- }
- ],
- "description": "Represents a log file."
- },
- "LogFileListResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/LogFile"
- },
- "description": "The list of log files."
- }
- },
- "description": "A list of log files."
- },
- "PerformanceTierServiceLevelObjectives": {
- "properties": {
- "id": {
- "type": "string",
- "description": "ID for the service level objective."
- },
- "edition": {
- "type": "string",
- "description": "Edition of the performance tier."
- },
- "vCore": {
- "type": "integer",
- "description": "vCore associated with the service level objective"
- },
- "hardwareGeneration": {
- "type": "string",
- "description": "Hardware generation associated with the service level objective"
- },
- "maxBackupRetentionDays": {
- "type": "integer",
- "description": "Maximum Backup retention in days for the performance tier edition"
- },
- "minBackupRetentionDays": {
- "type": "integer",
- "description": "Minimum Backup retention in days for the performance tier edition"
- },
- "maxStorageMB": {
- "type": "integer",
- "format": "int32",
- "description": "Max storage allowed for a server."
- },
- "minStorageMB": {
- "type": "integer",
- "format": "int32",
- "description": "Max storage allowed for a server."
- }
- },
- "description": "Service level objectives for performance tier."
- },
- "PerformanceTierProperties": {
- "properties": {
- "id": {
- "type": "string",
- "description": "ID of the performance tier."
- },
- "serviceLevelObjectives": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PerformanceTierServiceLevelObjectives"
- },
- "description": "Service level objectives associated with the performance tier"
- }
- },
- "description": "Performance tier properties"
- },
- "PerformanceTierListResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PerformanceTierProperties"
- },
- "description": "The list of performance tiers"
- }
- },
- "description": "A list of performance tiers."
- },
- "NameAvailabilityRequest": {
- "required": [
- "name"
- ],
- "properties": {
- "name": {
- "type": "string",
- "description": "Resource name to verify."
- },
- "type": {
- "type": "string",
- "description": "Resource type used for verification."
- }
- },
- "description": "Request from client to check resource name availability."
- },
- "NameAvailability": {
- "properties": {
- "message": {
- "type": "string",
- "description": "Error Message."
- },
- "nameAvailable": {
- "type": "boolean",
- "description": "Indicates whether the resource name is available."
- },
- "reason": {
- "type": "string",
- "description": "Reason for name being unavailable."
- }
- },
- "description": "Represents a resource name availability."
- },
- "SecurityAlertPolicyProperties": {
- "description": "Properties of a security alert policy.",
- "required": [
- "state"
- ],
- "type": "object",
- "properties": {
- "state": {
- "description": "Specifies the state of the policy, whether it is enabled or disabled.",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "ServerSecurityAlertPolicyState",
- "modelAsString": false
- }
- },
- "disabledAlerts": {
- "description": "Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emailAddresses": {
- "description": "Specifies an array of e-mail addresses to which the alert is sent.",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emailAccountAdmins": {
- "description": "Specifies that the alert is sent to the account administrators.",
- "type": "boolean"
- },
- "storageEndpoint": {
- "description": "Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.",
- "type": "string"
- },
- "storageAccountAccessKey": {
- "description": "Specifies the identifier key of the Threat Detection audit storage account.",
- "type": "string"
- },
- "retentionDays": {
- "format": "int32",
- "description": "Specifies the number of days to keep in the Threat Detection audit logs.",
- "type": "integer"
- }
- }
- },
- "ServerSecurityAlertPolicy": {
- "description": "A server security alert policy.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/ProxyResource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/SecurityAlertPolicyProperties",
- "description": "Resource properties.",
- "x-ms-client-flatten": true
- }
- }
- },
- "CloudError": {
- "x-ms-external": true,
- "properties": {
- "error": {
- "$ref": "#/definitions/CloudErrorBody"
- }
- },
- "description": "An error response from the Batch service."
- },
- "CloudErrorBody": {
- "x-ms-external": true,
- "properties": {
- "code": {
- "type": "string",
- "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
- },
- "message": {
- "type": "string",
- "description": "A message describing the error, intended to be suitable for display in a user interface."
- },
- "target": {
- "type": "string",
- "description": "The target of the particular error. For example, the name of the property in error."
- },
- "details": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/CloudErrorBody"
- },
- "description": "A list of additional details about the error."
- }
- },
- "description": "An error response from the Batch service."
- }
- },
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The subscription ID that identifies an Azure subscription."
- },
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "The API version to use for the request."
- },
- "ResourceGroupParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
- "x-ms-parameter-location": "method"
- },
- "ServerNameParameter": {
- "name": "serverName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the server.",
- "x-ms-parameter-location": "method"
- },
- "FirewallRuleNameParameter": {
- "name": "firewallRuleName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the server firewall rule.",
- "x-ms-parameter-location": "method"
- },
- "virtualNetworkRuleNameParameter": {
- "name": "virtualNetworkRuleName",
- "in": "path",
- "description": "The name of the virtual network rule.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "DatabaseNameParameter": {
- "name": "databaseName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the database.",
- "x-ms-parameter-location": "method"
- },
- "ConfigurationNameParameter": {
- "name": "configurationName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the server configuration.",
- "x-ms-parameter-location": "method"
- },
- "LocationNameParameter": {
- "name": "locationName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the location.",
- "x-ms-parameter-location": "method"
- },
- "SecurityAlertPolicyNameParameter": {
- "name": "securityAlertPolicyName",
- "in": "path",
- "description": "The name of the security alert policy.",
- "required": true,
- "type": "string",
- "enum": [
- "default"
- ],
- "x-ms-parameter-location": "method"
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mariadb/resource-manager/readme.go.md b/specification/mariadb/resource-manager/readme.go.md
index 42ff51dfcfc5..cffb2e5b9082 100644
--- a/specification/mariadb/resource-manager/readme.go.md
+++ b/specification/mariadb/resource-manager/readme.go.md
@@ -13,7 +13,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
- - tag: package-2018-06-01
+ - tag: package-2018-06-01-preview
```
### Tag: package-2018-06-01-preview and go
@@ -24,12 +24,3 @@ Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag) == 'package-2018-06-01' && $(go)
-output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2018-06-01/$(namespace)
-```
diff --git a/specification/mariadb/resource-manager/readme.md b/specification/mariadb/resource-manager/readme.md
index 64d14d12090d..e8389f597f0b 100644
--- a/specification/mariadb/resource-manager/readme.md
+++ b/specification/mariadb/resource-manager/readme.md
@@ -28,7 +28,7 @@ These are the global settings for the MariaDB API.
title: MariaDBManagementClient
description: MariaDB Client
openapi-type: arm
-tag: package-2018-06-01
+tag: package-2018-06-01-preview
```
### Tag: package-2018-06-01-preview
@@ -41,16 +41,6 @@ input-file:
```
-### Tag: package-2018-06-01
-
-These settings apply only when `--tag=package-2018-06-01` is specified on the command line.
-
-``` yaml $(tag) == 'package-2018-06-01'
-input-file:
-- Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json
-```
-
-
---
# Code Generation
@@ -134,18 +124,18 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-mariadb
``` yaml $(java) && $(multiapi)
batch:
- - tag: package-2018-06-01
+ - tag: package-2018-06-01-preview
```
-### Tag: package-2018-06-01 and java
+### Tag: package-2018-06-01-preview and java
-These settings apply only when `--tag=package-2018-06-01 --java` is specified on the command line.
+These settings apply only when `--tag=package-2018-06-01-preview --java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=`.
-``` yaml $(tag) == 'package-2018-06-01' && $(java) && $(multiapi)
+``` yaml $(tag) == 'package-2018-06-01-preview' && $(java) && $(multiapi)
java:
- namespace: com.microsoft.azure.management.mariadb.v2018_06_01
- output-folder: $(azure-libraries-for-java-folder)/mariadb/resource-manager/v2018_06_01
+ namespace: com.microsoft.azure.management.mariadb.v2018_06_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/mariadb/resource-manager/v2018_06_01_preview
regenerate-manager: true
generate-interface: true
```
diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json
index 6d432857774d..a2644211529e 100644
--- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json
+++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json
@@ -155,156 +155,6 @@
"nextLinkName": "nextLink"
}
}
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}/sign": {
- "put": {
- "operationId": "MarketplaceAgreements_Sign",
- "description": "Sign marketplace terms.",
- "x-ms-examples": {
- "SetMarketplaceTerms": {
- "$ref": "./examples/SignMarketplaceTerms.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/PublishersParameter"
- },
- {
- "$ref": "#/parameters/OffersParameter"
- },
- {
- "$ref": "#/parameters/PlansParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request was successfully processed and the terms were accepted.",
- "schema": {
- "$ref": "#/definitions/AgreementTerms"
- }
- },
- "default": {
- "description": "Microsoft.MarketplaceOrdering error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}/cancel": {
- "put": {
- "operationId": "MarketplaceAgreements_Cancel",
- "description": "Cancel marketplace terms.",
- "x-ms-examples": {
- "SetMarketplaceTerms": {
- "$ref": "./examples/CancelMarketplaceTerms.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/PublishersParameter"
- },
- {
- "$ref": "#/parameters/OffersParameter"
- },
- {
- "$ref": "#/parameters/PlansParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request was successfully processed and the terms were rejected.",
- "schema": {
- "$ref": "#/definitions/AgreementTerms"
- }
- },
- "default": {
- "description": "Microsoft.MarketplaceOrdering error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}": {
- "get": {
- "operationId": "MarketplaceAgreements_GetAgreement",
- "description": "Get marketplace agreement.",
- "x-ms-examples": {
- "SetMarketplaceTerms": {
- "$ref": "./examples/GetAgreementMarketplaceTerms.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/PublishersParameter"
- },
- {
- "$ref": "#/parameters/OffersParameter"
- },
- {
- "$ref": "#/parameters/PlansParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Terms returned successfully",
- "schema": {
- "$ref": "#/definitions/AgreementTerms"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements": {
- "get": {
- "operationId": "MarketplaceAgreements_List",
- "description": "List marketplace agreements in the subscription.",
- "x-ms-examples": {
- "SetMarketplaceTerms": {
- "$ref": "./examples/ListMarketplaceTerms.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Terms returned successfully",
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AgreementTerms"
- }
- }
- }
- }
- }
}
},
"parameters": {
@@ -503,4 +353,4 @@
"x-ms-azure-resource": true
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/CancelMarketplaceTerms.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/CancelMarketplaceTerms.json
deleted file mode 100644
index ac515ee654e9..000000000000
--- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/CancelMarketplaceTerms.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "parameters": {
- "api-version": "2016-04-01",
- "subscriptionId": "subid",
- "publisherId": "pubid",
- "offerId": "offid",
- "planId": "planid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "id",
- "name": "planid",
- "type": "Microsoft.MarketplaceOrdering/offertypes",
- "properties": {
- "publisher": "pubid",
- "product": "offid",
- "plan": "planid",
- "licenseTextLink": "test.licenseLink",
- "privacyPolicyLink": "test.privacyPolicyLink",
- "retrieveDatetime": "2017-08-15T11:33:07.12132Z",
- "signature": "ASDFSDAFWEFASDGWERLWER",
- "accepted": false
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetAgreementMarketplaceTerms.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetAgreementMarketplaceTerms.json
deleted file mode 100644
index 792ac83dec9d..000000000000
--- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetAgreementMarketplaceTerms.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "parameters": {
- "api-version": "2016-04-01",
- "subscriptionId": "subid",
- "publisherId": "pubid",
- "offerId": "offid",
- "planId": "planid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "id",
- "name": "planid",
- "type": "Microsoft.MarketplaceOrdering/offertypes",
- "properties": {
- "publisher": "pubid",
- "product": "offid",
- "plan": "planid",
- "licenseTextLink": "test.licenseLink",
- "privacyPolicyLink": "test.privacyPolicyLink",
- "retrieveDatetime": "2017-08-15T11:33:07.12132Z",
- "signature": "ASDFSDAFWEFASDGWERLWER",
- "accepted": true
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/ListMarketplaceTerms.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/ListMarketplaceTerms.json
deleted file mode 100644
index c6ce18a57e3a..000000000000
--- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/ListMarketplaceTerms.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "parameters": {
- "api-version": "2016-04-01",
- "subscriptionId": "subid"
- },
- "responses": {
- "200": {
- "body": [{
- "id": "id",
- "name": "planid",
- "type": "Microsoft.MarketplaceOrdering/offertypes",
- "properties": {
- "publisher": "pubid",
- "product": "offid",
- "plan": "planid",
- "licenseTextLink": "test.licenseLink",
- "privacyPolicyLink": "test.privacyPolicyLink",
- "retrieveDatetime": "2017-08-15T11:33:07.12132Z",
- "signature": "ASDFSDAFWEFASDGWERLWER",
- "accepted": true
- }
- }]
- }
- }
-}
\ No newline at end of file
diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SignMarketplaceTerms.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SignMarketplaceTerms.json
deleted file mode 100644
index 792ac83dec9d..000000000000
--- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SignMarketplaceTerms.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "parameters": {
- "api-version": "2016-04-01",
- "subscriptionId": "subid",
- "publisherId": "pubid",
- "offerId": "offid",
- "planId": "planid"
- },
- "responses": {
- "200": {
- "body": {
- "id": "id",
- "name": "planid",
- "type": "Microsoft.MarketplaceOrdering/offertypes",
- "properties": {
- "publisher": "pubid",
- "product": "offid",
- "plan": "planid",
- "licenseTextLink": "test.licenseLink",
- "privacyPolicyLink": "test.privacyPolicyLink",
- "retrieveDatetime": "2017-08-15T11:33:07.12132Z",
- "signature": "ASDFSDAFWEFASDGWERLWER",
- "accepted": true
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/mixedreality/resource-manager/readme.go.md b/specification/mixedreality/resource-manager/readme.go.md
deleted file mode 100644
index 0bbc755d27b0..000000000000
--- a/specification/mixedreality/resource-manager/readme.go.md
+++ /dev/null
@@ -1,26 +0,0 @@
-## Go
-
-These settings apply only when `--go` is specified on the command line.
-
-``` yaml $(go)
-go:
- license-header: MICROSOFT_APACHE_NO_VERSION
- namespace: mixedreality
- clear-output-folder: true
-```
-
-### Go multi-api
-
-``` yaml $(go) && $(multiapi)
-batch:
- - tag: package-2019-02-preview
-```
-
-### Tag: package-2019-02-preview and go
-
-These settings apply only when `--tag=package-2019-02-preview --go` is specified on the command line.
-Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag) == 'package-2019-02-preview' && $(go)
-output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-02-28/$(namespace)
-```
diff --git a/specification/mixedreality/resource-manager/readme.md b/specification/mixedreality/resource-manager/readme.md
index b7590f5aabc9..cb85fb7c023a 100644
--- a/specification/mixedreality/resource-manager/readme.md
+++ b/specification/mixedreality/resource-manager/readme.md
@@ -25,21 +25,13 @@ These are the global settings for the Mixed Reality Azure Resource Management Cl
title: MixedRealityClient
description: Mixed Reality Client
openapi-type: arm
-tag: package-2019-02-preview
-```
-
-### Tag: package-2019-02-preview
-
-These settings apply only when `--tag=package-2019-02-preview` is specified on the command line.
-
-``` yaml $(tag) == 'package-2019-02-preview'
-input-file:
-- Microsoft.MixedReality/preview/2019-02-28-preview/mixedreality.json
+input-file: Microsoft.MixedReality/preview/2019-02-28-preview/mixedreality.json
```
---
# Code Generation
+
## Swagger to SDK
This section describes what SDK should be generated by the automatic system.
@@ -49,9 +41,7 @@ This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-js
- - repo: azure-sdk-for-go
```
-
## C#
These settings apply only when `--csharp` is specified on the command line.
@@ -94,7 +84,3 @@ python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/azure-mgmt-mixedreality
```
-
-## Go
-
-See configuration in [readme.go.md](./readme.go.md)
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRule-LogToMetricAction.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRule-LogToMetricAction.json
index 3c75479ee262..3adc47b8bfcf 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRule-LogToMetricAction.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRule-LogToMetricAction.json
@@ -6,7 +6,9 @@
"api-version": "2018-04-16",
"parameters": {
"location": "West Europe",
- "tags": { },
+ "tags": {
+ "hidden-link:/subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/Microsoft.OperationalInsights/workspaces/alertsweu": "Resource"
+ },
"properties": {
"description": "log to metric description",
"enabled": "true",
@@ -33,7 +35,9 @@
"name": "logtometricfoo",
"type": "microsoft.insights/scheduledqueryrules",
"location": "westeurope",
- "tags": { },
+ "tags": {
+ "hidden-link:/subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/Microsoft.OperationalInsights/workspaces/alertsweu": "Resource"
+ },
"properties": {
"description": "log to metric description",
"displayName": "logtometricfoo",
@@ -64,7 +68,9 @@
"name": "logtometricfoo",
"type": "microsoft.insights/scheduledqueryrules",
"location": "westeurope",
- "tags": { },
+ "tags": {
+ "hidden-link:/subscriptions/af52d502-a447-4bc6-8cb7-4780fbb00490/resourceGroups/alertsweu/providers/Microsoft.OperationalInsights/workspaces/alertsweu": "Resource"
+ },
"properties": {
"description": "log to metric description",
"enabled": "true",
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRules.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRules.json
index bd449c2b5479..ce34ab53dbf8 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRules.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRules.json
@@ -6,7 +6,9 @@
"api-version": "2018-04-16",
"parameters": {
"location": "eastus",
- "tags": { },
+ "tags": {
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace": "Resource"
+ },
"properties": {
"description": "log alert description",
"enabled": "true",
@@ -51,7 +53,9 @@
"name": "logalertfoo",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "eastus",
- "tags": { },
+ "tags": {
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace": "Resource"
+ },
"properties": {
"description": "log alert description",
"enabled": "true",
@@ -95,7 +99,9 @@
"name": "logalertfoo",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "eastus",
- "tags": { },
+ "tags": {
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.OperationalInsights/workspaces/sampleWorkspace": "Resource"
+ },
"properties": {
"description": "log alert description",
"enabled": "true",
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRuleswithCrossResource.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRuleswithCrossResource.json
index 464d745e7c53..1f5f3929cc15 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRuleswithCrossResource.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/createOrUpdateScheduledQueryRuleswithCrossResource.json
@@ -6,7 +6,9 @@
"api-version": "2018-04-16",
"parameters": {
"location": "eastus",
- "tags": { },
+ "tags": {
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI": "Resource"
+ },
"properties": {
"description": "Sample Cross Resource alert",
"enabled": "true",
@@ -46,7 +48,9 @@
"name": "SampleCrossResourceAlert",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "eastus",
- "tags": { },
+ "tags": {
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI": "Resource"
+ },
"properties": {
"description": "Sample Cross Resource alert",
"enabled": "true",
@@ -87,7 +91,9 @@
"name": "SampleCrossResourceAlert",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "eastus",
- "tags": { },
+ "tags": {
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI": "Resource"
+ },
"properties": {
"description": "Sample Cross Resource alert",
"enabled": "true",
@@ -122,4 +128,4 @@
}
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/getScheduledQueryRules.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/getScheduledQueryRules.json
index 6209f950f657..d76619f03ad3 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/getScheduledQueryRules.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/getScheduledQueryRules.json
@@ -13,7 +13,9 @@
"name": "logalertfoo",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "West US",
- "tags": { },
+ "tags": {
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI": "Resource"
+ },
"properties": {
"description": "log alert description",
"enabled": "true",
@@ -45,4 +47,4 @@
}
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/listScheduledQueryRules.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/listScheduledQueryRules.json
index d07a6c2a311a..81c5d1757134 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/listScheduledQueryRules.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/listScheduledQueryRules.json
@@ -14,7 +14,9 @@
"name": "logalertfoo",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "West US",
- "tags": { },
+ "tags": {
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI": "Resource"
+ },
"properties": {
"description": "log alert description",
"enabled": "false",
@@ -55,7 +57,9 @@
"name": "logalertfoo",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "West US",
- "tags": { },
+ "tags": {
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI": "Resource"
+ },
"properties": {
"description": "log alert description",
"enabled": "true",
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/patchScheduledQueryRules.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/patchScheduledQueryRules.json
index 17f0a237369c..a7275bfcf41d 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/patchScheduledQueryRules.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/examples/patchScheduledQueryRules.json
@@ -18,7 +18,9 @@
"name": "logalertfoo",
"type": "Microsoft.Insights/scheduledQueryRules",
"location": "West US",
- "tags": {},
+ "tags": {
+ "hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/components/sampleAI": "Resource"
+ },
"properties": {
"description": "log alert description",
"enabled": "true",
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json
index 7ccb2411f230..9f99151b5137 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json
@@ -660,6 +660,7 @@
}
},
"required": [
+ "aznsAction",
"trigger",
"severity"
]
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/actionGroups_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/actionGroups_API.json
deleted file mode 100644
index ff39155ebae6..000000000000
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/actionGroups_API.json
+++ /dev/null
@@ -1,862 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "Azure Action Groups API",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2019-03-01"
- },
- "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": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}": {
- "put": {
- "description": "Create a new action group or update an existing one.",
- "operationId": "ActionGroups_CreateOrUpdate",
- "x-ms-examples": {
- "Create or update an action group": {
- "$ref": "./examples/createOrUpdateActionGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "name": "actionGroup",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- },
- "description": "The action group to create or use for the update."
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "An existing action group was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- },
- "201": {
- "description": "A new action group was successfully created.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- },
- "default": {
- "description": "An error occurred and the action group could not be created or updated.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "description": "Get an action group.",
- "operationId": "ActionGroups_Get",
- "x-ms-examples": {
- "Get an action group": {
- "$ref": "./examples/getActionGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- },
- "default": {
- "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "description": "Delete an action group.",
- "operationId": "ActionGroups_Delete",
- "x-ms-examples": {
- "Delete an action group": {
- "$ref": "./examples/deleteActionGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The action group was successfully deleted."
- },
- "204": {
- "description": "The action group does not exist. It may have already been deleted."
- },
- "default": {
- "description": "An error occurred and the action group could not be deleted.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "patch": {
- "description": "Updates an existing action group's tags. To update other fields use the CreateOrUpdate method.",
- "operationId": "ActionGroups_Update",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "actionGroupPatch",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ActionGroupPatchBody"
- },
- "description": "Parameters supplied to the operation."
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "An existing action group was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ActionGroupResource"
- }
- }
- },
- "x-ms-examples": {
- "Patch an action group": {
- "$ref": "./examples/patchActionGroup.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/microsoft.insights/actionGroups": {
- "get": {
- "description": "Get a list of all action groups in a subscription.",
- "operationId": "ActionGroups_ListBySubscriptionId",
- "x-ms-examples": {
- "List action groups": {
- "$ref": "./examples/listActionGroups.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActionGroupList"
- }
- },
- "default": {
- "description": "An error occurred and the list of action groups could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups": {
- "get": {
- "description": "Get a list of all action groups in a resource group.",
- "operationId": "ActionGroups_ListByResourceGroup",
- "x-ms-examples": {
- "List action groups": {
- "$ref": "./examples/listActionGroups.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActionGroupList"
- }
- },
- "default": {
- "description": "An error occurred and the list of action groups could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/actionGroups/{actionGroupName}/subscribe": {
- "post": {
- "description": "Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.",
- "operationId": "ActionGroups_EnableReceiver",
- "x-ms-examples": {
- "Enable the receiver": {
- "$ref": "./examples/enableReceiver.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActionGroupNameParameter"
- },
- {
- "name": "enableRequest",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/EnableRequest"
- },
- "description": "The receiver to re-enable."
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The receiver was successfully enabled."
- },
- "409": {
- "description": "The receiver is already enabled in the action group."
- },
- "default": {
- "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
- }
- },
- "definitions": {
- "Resource": {
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource Id"
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource name"
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource type"
- },
- "location": {
- "type": "string",
- "description": "Resource location",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "required": [
- "location"
- ],
- "x-ms-azure-resource": true,
- "description": "An azure resource object"
- },
- "ActionGroupResource": {
- "description": "An action group resource.",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ActionGroup",
- "description": "The action groups properties of the resource."
- }
- }
- },
- "ActionGroupList": {
- "description": "A list of action groups.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionGroupResource"
- },
- "description": "The list of action groups."
- },
- "nextLink": {
- "type": "string",
- "description": "Provides the link to retrieve the next set of elements."
- }
- }
- },
- "ActionGroup": {
- "description": "An Azure action group.",
- "properties": {
- "groupShortName": {
- "type": "string",
- "maxLength": 12,
- "description": "The short name of the action group. This will be used in SMS messages."
- },
- "enabled": {
- "type": "boolean",
- "default": true,
- "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications."
- },
- "emailReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EmailReceiver"
- },
- "description": "The list of email receivers that are part of this action group."
- },
- "smsReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SmsReceiver"
- },
- "description": "The list of SMS receivers that are part of this action group."
- },
- "webhookReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/WebhookReceiver"
- },
- "description": "The list of webhook receivers that are part of this action group."
- },
- "itsmReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ItsmReceiver"
- },
- "description": "The list of ITSM receivers that are part of this action group."
- },
- "azureAppPushReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AzureAppPushReceiver"
- },
- "description": "The list of AzureAppPush receivers that are part of this action group."
- },
- "automationRunbookReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AutomationRunbookReceiver"
- },
- "description": "The list of AutomationRunbook receivers that are part of this action group."
- },
- "voiceReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceReceiver"
- },
- "description": "The list of voice receivers that are part of this action group."
- },
- "logicAppReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/LogicAppReceiver"
- },
- "description": "The list of logic app receivers that are part of this action group."
- },
- "azureFunctionReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/AzureFunctionReceiver"
- },
- "description": "The list of azure function receivers that are part of this action group."
- },
- "armRoleReceivers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ArmRoleReceiver"
- },
- "description": "The list of ARM role receivers that are part of this action group. Roles are Azure RBAC roles and only built-in roles are supported."
- }
- },
- "required": [
- "groupShortName",
- "enabled"
- ]
- },
- "EmailReceiver": {
- "description": "An email receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the email receiver. Names must be unique across all receivers within an action group."
- },
- "emailAddress": {
- "type": "string",
- "description": "The email address of this receiver."
- },
- "useCommonAlertSchema": {
- "type": "boolean",
- "description": "Indicates whether to use common alert schema."
- },
- "status": {
- "readOnly": true,
- "$ref": "#/definitions/ReceiverStatus",
- "description": "The receiver status of the e-mail."
- }
- },
- "required": [
- "name",
- "emailAddress",
- "useCommonAlertSchema"
- ]
- },
- "SmsReceiver": {
- "description": "An SMS receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the SMS receiver. Names must be unique across all receivers within an action group."
- },
- "countryCode": {
- "type": "string",
- "description": "The country code of the SMS receiver."
- },
- "phoneNumber": {
- "type": "string",
- "description": "The phone number of the SMS receiver."
- },
- "status": {
- "readOnly": true,
- "$ref": "#/definitions/ReceiverStatus",
- "description": "The status of the receiver."
- }
- },
- "required": [
- "name",
- "countryCode",
- "phoneNumber"
- ]
- },
- "WebhookReceiver": {
- "description": "A webhook receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the webhook receiver. Names must be unique across all receivers within an action group."
- },
- "serviceUri": {
- "type": "string",
- "description": "The URI where webhooks should be sent."
- },
- "useCommonAlertSchema": {
- "type": "boolean",
- "description": "Indicates whether to use common alert schema."
- }
- },
- "required": [
- "name",
- "serviceUri",
- "useCommonAlertSchema"
- ]
- },
- "ItsmReceiver": {
- "description": "An Itsm receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the Itsm receiver. Names must be unique across all receivers within an action group."
- },
- "workspaceId": {
- "type": "string",
- "description": "OMS LA instance identifier."
- },
- "connectionId": {
- "type": "string",
- "description": "Unique identification of ITSM connection among multiple defined in above workspace."
- },
- "ticketConfiguration": {
- "type": "string",
- "description": "JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well."
- },
- "region": {
- "type": "string",
- "description": "Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'"
- }
- },
- "required": [
- "name",
- "workspaceId",
- "connectionId",
- "ticketConfiguration",
- "region"
- ]
- },
- "AzureAppPushReceiver": {
- "description": "The Azure mobile App push notification receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the Azure mobile app push receiver. Names must be unique across all receivers within an action group."
- },
- "emailAddress": {
- "type": "string",
- "description": "The email address registered for the Azure mobile app."
- }
- },
- "required": [
- "name",
- "emailAddress"
- ]
- },
- "AutomationRunbookReceiver": {
- "description": "The Azure Automation Runbook notification receiver.",
- "properties": {
- "automationAccountId": {
- "type": "string",
- "description": "The Azure automation account Id which holds this runbook and authenticate to Azure resource."
- },
- "runbookName": {
- "type": "string",
- "description": "The name for this runbook."
- },
- "webhookResourceId": {
- "type": "string",
- "description": "The resource id for webhook linked to this runbook."
- },
- "isGlobalRunbook": {
- "type": "boolean",
- "description": "Indicates whether this instance is global runbook."
- },
- "name": {
- "type": "string",
- "description": "Indicates name of the webhook."
- },
- "serviceUri": {
- "type": "string",
- "description": "The URI where webhooks should be sent."
- },
- "useCommonAlertSchema": {
- "type": "boolean",
- "description": "Indicates whether to use common alert schema."
- }
- },
- "required": [
- "automationAccountId",
- "runbookName",
- "webhookResourceId",
- "isGlobalRunbook",
- "useCommonAlertSchema"
- ]
- },
- "VoiceReceiver": {
- "description": "A voice receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the voice receiver. Names must be unique across all receivers within an action group."
- },
- "countryCode": {
- "type": "string",
- "description": "The country code of the voice receiver."
- },
- "phoneNumber": {
- "type": "string",
- "description": "The phone number of the voice receiver."
- }
- },
- "required": [
- "name",
- "countryCode",
- "phoneNumber"
- ]
- },
- "LogicAppReceiver": {
- "description": "A logic app receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the logic app receiver. Names must be unique across all receivers within an action group."
- },
- "resourceId": {
- "type": "string",
- "description": "The azure resource id of the logic app receiver."
- },
- "callbackUrl": {
- "type": "string",
- "description": "The callback url where http request sent to."
- },
- "useCommonAlertSchema": {
- "type": "boolean",
- "description": "Indicates whether to use common alert schema."
- }
- },
- "required": [
- "name",
- "resourceId",
- "callbackUrl",
- "useCommonAlertSchema"
- ]
- },
- "AzureFunctionReceiver": {
- "description": "An azure function receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the azure function receiver. Names must be unique across all receivers within an action group."
- },
- "functionAppResourceId": {
- "type": "string",
- "description": "The azure resource id of the function app."
- },
- "functionName": {
- "type": "string",
- "description": "The function name in the function app."
- },
- "httpTriggerUrl": {
- "type": "string",
- "description": "The http trigger url where http request sent to."
- },
- "useCommonAlertSchema": {
- "type": "boolean",
- "description": "Indicates whether to use common alert schema."
- }
- },
- "required": [
- "name",
- "functionAppResourceId",
- "functionName",
- "httpTriggerUrl",
- "useCommonAlertSchema"
- ]
- },
- "ArmRoleReceiver": {
- "description": "An arm role receiver.",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the arm role receiver. Names must be unique across all receivers within an action group."
- },
- "roleId": {
- "type": "string",
- "description": "The arm role id."
- },
- "useCommonAlertSchema": {
- "type": "boolean",
- "description": "Indicates whether to use common alert schema."
- }
- },
- "required": [
- "name",
- "roleId",
- "useCommonAlertSchema"
- ]
- },
- "ReceiverStatus": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "ReceiverStatus",
- "modelAsString": false
- },
- "description": "Indicates the status of the receiver. Receivers that are not Enabled will not receive any communications."
- },
- "EnableRequest": {
- "description": "Describes a receiver that should be resubscribed.",
- "properties": {
- "receiverName": {
- "type": "string",
- "description": "The name of the receiver to resubscribe."
- }
- },
- "required": [
- "receiverName"
- ]
- },
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
- }
- },
- "ActionGroupPatchBody": {
- "description": "An action group object for the body of patch operations.",
- "properties": {
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ActionGroupPatch",
- "description": "The action group settings for an update operation."
- }
- }
- },
- "ActionGroupPatch": {
- "description": "An Azure action group for patch operations.",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": true,
- "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its actions will be activated."
- }
- }
- }
- },
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Azure subscription Id."
- },
- "ResourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group.",
- "x-ms-parameter-location": "method"
- },
- "ActionGroupNameParameter": {
- "name": "actionGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the action group.",
- "x-ms-parameter-location": "method"
- },
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
- }
- }
-}
\ No newline at end of file
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/createOrUpdateActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/createOrUpdateActionGroup.json
deleted file mode 100644
index 775a40ca8790..000000000000
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/createOrUpdateActionGroup.json
+++ /dev/null
@@ -1,318 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2019-03-01",
- "actionGroup": {
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "useCommonAlertSchema": false
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "useCommonAlertSchema": true
- }
- ],
- "smsReceivers": [
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321"
- }
- ],
- "webhookReceivers": [
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook",
- "useCommonAlertSchema": true
- }
- ],
- "itsmReceivers": [
- {
- "name": "Sample itsm",
- "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
- "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
- "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
- "region": "westcentralus"
- }
- ],
- "azureAppPushReceivers": [
- {
- "name": "Sample azureAppPush",
- "emailAddress": "johndoe@email.com"
- }
- ],
- "automationRunbookReceivers": [
- {
- "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
- "runbookName": "Sample runbook",
- "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
- "isGlobalRunbook": false,
- "name": "testRunbook",
- "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d",
- "useCommonAlertSchema": true
- }
- ],
- "voiceReceivers": [
- {
- "name": "Sample voice",
- "countryCode": "1",
- "phoneNumber": "1234567890"
- }
- ],
- "logicAppReceivers": [
- {
- "name": "Sample logicApp",
- "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
- "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
- "useCommonAlertSchema": false
- }
- ],
- "azureFunctionReceivers": [
- {
- "name": "Sample azureFunction",
- "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
- "functionName": "HttpTriggerCSharp1",
- "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==",
- "useCommonAlertSchema": true
- }
- ],
- "armRoleReceivers": [
- {
- "name": "Sample armRole",
- "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
- "useCommonAlertSchema": true
- }
- ]
- }
- }
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": false
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": true
- }
- ],
- "smsReceivers":[
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers":[
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook",
- "useCommonAlertSchema": true
- }
- ],
- "itsmReceivers": [
- {
- "name": "Sample itsm",
- "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
- "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
- "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
- "region": "westcentralus"
- }
- ],
- "azureAppPushReceivers": [
- {
- "name": "Sample azureAppPush",
- "emailAddress": "johndoe@email.com"
- }
- ],
- "automationRunbookReceivers": [
- {
- "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
- "runbookName": "Sample runbook",
- "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
- "isGlobalRunbook": false,
- "name": "testRunbook",
- "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d",
- "useCommonAlertSchema": true
- }
- ],
- "voiceReceivers": [
- {
- "name": "Sample voice",
- "countryCode": "1",
- "phoneNumber": "1234567890"
- }
- ],
- "logicAppReceivers": [
- {
- "name": "Sample logicApp",
- "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
- "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
- "useCommonAlertSchema": false
- }
- ],
- "azureFunctionReceivers": [
- {
- "name": "Sample azureFunction",
- "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
- "functionName": "HttpTriggerCSharp1",
- "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==",
- "useCommonAlertSchema": true
- }
- ],
- "armRoleReceivers": [
- {
- "name": "Sample armRole",
- "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
- "useCommonAlertSchema": true
- }
- ]
- }
- }
- },
- "201": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": false
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": true
- }
- ],
- "smsReceivers":[
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers":[
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook",
- "useCommonAlertSchema": true
- }
- ],
- "itsmReceivers": [
- {
- "name": "Sample itsm",
- "workspaceId": "5def922a-3ed4-49c1-b9fd-05ec533819a3|55dfd1f8-7e59-4f89-bf56-4c82f5ace23c",
- "connectionId": "a3b9076c-ce8e-434e-85b4-aff10cb3c8f1",
- "ticketConfiguration": "{\"PayloadRevision\":0,\"WorkItemType\":\"Incident\",\"UseTemplate\":false,\"WorkItemData\":\"{}\",\"CreateOneWIPerCI\":false}",
- "region": "westcentralus"
- }
- ],
- "azureAppPushReceivers": [
- {
- "name": "Sample azureAppPush",
- "emailAddress": "johndoe@email.com"
- }
- ],
- "automationRunbookReceivers": [
- {
- "automationAccountId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest",
- "runbookName": "Sample runbook",
- "webhookResourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084",
- "isGlobalRunbook": false,
- "name": "testRunbook",
- "serviceUri": "https://s13events.azure-automation.net/webhooks?token=iimE%2fD19Eg%2bvDy22yUMecIZY6Uiz%2bHfuQ67r8r1wY%2fI%3d",
- "useCommonAlertSchema": true
- }
- ],
- "voiceReceivers": [
- {
- "name": "Sample voice",
- "countryCode": "1",
- "phoneNumber": "1234567890"
- }
- ],
- "logicAppReceivers": [
- {
- "name": "Sample logicApp",
- "resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
- "callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w",
- "useCommonAlertSchema": false
- }
- ],
- "azureFunctionReceivers": [
- {
- "name": "Sample azureFunction",
- "functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
- "functionName": "HttpTriggerCSharp1",
- "httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw==",
- "useCommonAlertSchema": true
- }
- ],
- "armRoleReceivers": [
- {
- "name": "Sample armRole",
- "roleId": "8e3af657-a8ff-443c-a75c-2fe8c4bcb635",
- "useCommonAlertSchema": true
- }
- ]
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/deleteActionGroup.json
deleted file mode 100644
index 3f5e257870b3..000000000000
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/deleteActionGroup.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2019-03-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "204": {
- "headers": {},
- "body": null
- }
- }
-}
\ No newline at end of file
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/enableReceiver.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/enableReceiver.json
deleted file mode 100644
index 460f6864c0eb..000000000000
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/enableReceiver.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2019-03-01",
- "enableRequest": {
- "receiverName": "John Doe's mobile"
- }
- },
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "409": {
- "headers": {},
- "body": null
- }
- }
-}
\ No newline at end of file
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/getActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/getActionGroup.json
deleted file mode 100644
index 2896dd13117d..000000000000
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/getActionGroup.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2019-03-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": true
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Disabled",
- "useCommonAlertSchema": true
- }
- ],
- "smsReceivers": [
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Disabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers": [
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook",
- "useCommonAlertSchema": false
- }
- ]
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/listActionGroups.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/listActionGroups.json
deleted file mode 100644
index 30bec9bfa7ea..000000000000
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/listActionGroups.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "api-version": "2019-03-01"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "value": [
- {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": true
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Disabled",
- "useCommonAlertSchema": true
- }
- ],
- "smsReceivers": [
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Disabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers": [
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook",
- "useCommonAlertSchema": false
- }
- ]
- }
- },
- {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup2",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup2",
- "location": "Global",
- "tags": {},
- "properties": {
- "groupShortName": "sample2",
- "enabled": false,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": true
- }
- ],
- "smsReceivers": [
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers": []
- }
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/patchActionGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/patchActionGroup.json
deleted file mode 100644
index cea90dcf4195..000000000000
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/examples/patchActionGroup.json
+++ /dev/null
@@ -1,65 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-NotificationRules",
- "actionGroupName": "SampleActionGroup",
- "api-version": "2019-03-01",
- "actionGroupPatch": {
- "tags": { "key1": "value1", "key2": "value2" },
- "properties": {
- "enabled": false
- }
- }
- },
- "responses": {
- "200": {
- "headers": { },
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "type": "Microsoft.Insights/ActionGroups",
- "name": "SampleActionGroup",
- "location": "Global",
- "tags": { "key1": "value1", "key2": "value2" },
- "properties": {
- "groupShortName": "sample",
- "enabled": true,
- "emailReceivers": [
- {
- "name": "John Doe's email",
- "emailAddress": "johndoe@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": true
- },
- {
- "name": "Jane Smith's email",
- "emailAddress": "janesmith@email.com",
- "status": "Enabled",
- "useCommonAlertSchema": true
- }
- ],
- "smsReceivers":[
- {
- "name": "John Doe's mobile",
- "countryCode": "1",
- "phoneNumber": "1234567890",
- "status": "Enabled"
- },
- {
- "name": "Jane Smith's mobile",
- "countryCode": "1",
- "phoneNumber": "0987654321",
- "status": "Enabled"
- }
- ],
- "webhookReceivers":[
- {
- "name": "Sample webhook",
- "serviceUri": "http://www.example.com/webhook",
- "useCommonAlertSchema": false
- }
- ]
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/monitor/resource-manager/readme.go.md b/specification/monitor/resource-manager/readme.go.md
index 02fad6d8193b..7e2caacf9103 100644
--- a/specification/monitor/resource-manager/readme.go.md
+++ b/specification/monitor/resource-manager/readme.go.md
@@ -17,7 +17,6 @@ batch:
- tag: package-2018-03
- tag: package-2018-09
- tag: package-2018-11-preview
- - tag: package-2019-03
```
### Tag: package-2017-09 and go
@@ -55,12 +54,3 @@ Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag) == 'package-2019-03' && $(go)
-output-folder: $(go-sdk-folder)/services/preview/monitor/mgmt/2019-03-01/$(namespace)
-```
diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md
index 17458a17ed07..6fe368f32359 100644
--- a/specification/monitor/resource-manager/readme.md
+++ b/specification/monitor/resource-manager/readme.md
@@ -28,35 +28,7 @@ These are the global settings for the MonitorClient API.
title: MonitorClient
description: Monitor Management Client
openapi-type: arm
-tag: package-2019-03
-```
-
-### Tag: package-2019-03
-
-These settings apply only when `--tag=package-2019-03` is specified on the command line.
-
-```yaml $(tag) == 'package-2019-03'
-input-file:
-- Microsoft.Insights/stable/2015-04-01/autoscale_API.json
-- Microsoft.Insights/stable/2015-04-01/operations_API.json
-- Microsoft.Insights/stable/2016-03-01/alertRulesIncidents_API.json
-- Microsoft.Insights/stable/2016-03-01/alertRules_API.json
-- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
-- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
-- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
-- Microsoft.Insights/stable/2019-03-01/actionGroups_API.json
-- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json
-- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
-- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json
-- Microsoft.Insights/stable/2015-04-01/tenantActivityLogs_API.json
-- Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json
-- Microsoft.Insights/stable/2018-01-01/metrics_API.json
-- Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json
-- Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json
-- Microsoft.Insights/stable/2018-03-01/metricAlert_API.json
-- Microsoft.Insights/stable/2018-04-16/scheduledQueryRule_API.json
-- Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json
-- Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json
+tag: package-2018-11-preview
```
### Tag: package-2018-11-preview
@@ -127,7 +99,7 @@ input-file:
- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
-- Microsoft.Insights/stable/2018-03-01/actionGroups_API.json
+- Microsoft.Insights/stable/2018-09-01/actionGroups_API.json
- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json
- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json
@@ -153,7 +125,7 @@ input-file:
- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
-- Microsoft.Insights/stable/2017-04-01/actionGroups_API.json
+- Microsoft.Insights/stable/2018-09-01/actionGroups_API.json
- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json
- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json
@@ -177,7 +149,7 @@ input-file:
- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
-- Microsoft.Insights/stable/2017-04-01/actionGroups_API.json
+- Microsoft.Insights/stable/2018-09-01/actionGroups_API.json
- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json
- Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
- Microsoft.Insights/stable/2015-04-01/eventCategories_API.json
@@ -225,7 +197,7 @@ input-file:
- Microsoft.Insights/stable/2016-03-01/logProfiles_API.json
- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
- Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
-- Microsoft.Insights/stable/2017-04-01/actionGroups_API.json
+- Microsoft.Insights/stable/2018-09-01/actionGroups_API.json
- Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json
```
diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/netapp.json
index 743b0fe364ba..a717585a5e32 100644
--- a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/netapp.json
+++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/netapp.json
@@ -68,7 +68,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts": {
"parameters": [
{
"$ref": "#/parameters/SubscriptionId"
@@ -110,7 +110,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}": {
"parameters": [
{
"$ref": "#/parameters/SubscriptionId"
@@ -257,7 +257,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools": {
"parameters": [
{
"$ref": "#/parameters/SubscriptionId"
@@ -302,7 +302,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}": {
"parameters": [
{
"$ref": "#/parameters/SubscriptionId"
@@ -458,7 +458,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes": {
"parameters": [
{
"$ref": "#/parameters/SubscriptionId"
@@ -506,7 +506,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": {
"parameters": [
{
"$ref": "#/parameters/SubscriptionId"
@@ -665,7 +665,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets": {
"parameters": [
{
"$ref": "#/parameters/SubscriptionId"
@@ -716,7 +716,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": {
"parameters": [
{
"$ref": "#/parameters/SubscriptionId"
@@ -767,7 +767,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": {
"parameters": [
{
"$ref": "#/parameters/SubscriptionId"
@@ -1735,14 +1735,11 @@
"description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
},
"ResourceGroup": {
- "name": "resourceGroupName",
+ "name": "resourceGroup",
"in": "path",
"required": true,
"type": "string",
"description": "The name of the resource group.",
- "pattern": "^[-\\w\\._\\(\\)]+$",
- "minLength": 1,
- "maxLength": 90,
"x-ms-parameter-location": "method"
},
"AccountName": {
diff --git a/specification/netapp/resource-manager/readme.go.md b/specification/netapp/resource-manager/readme.go.md
deleted file mode 100644
index b5c4dc5b8812..000000000000
--- a/specification/netapp/resource-manager/readme.go.md
+++ /dev/null
@@ -1,26 +0,0 @@
-## Go
-
-These settings apply only when `--go` is specified on the command line.
-
-``` yaml $(go)
-go:
- license-header: MICROSOFT_APACHE_NO_VERSION
- namespace: netapp
- clear-output-folder: true
-```
-
-### Go multi-api
-
-``` yaml $(go) && $(multiapi)
-batch:
- - tag: package-2017-08-15
-```
-
-### Tag: package-2017-08-15 and go
-
-These settings apply only when `--tag=package-2017-08-15 --go` is specified on the command line.
-Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag) == 'package-2017-08-15' && $(go)
-output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2017-08-15/$(namespace)
-```
diff --git a/specification/netapp/resource-manager/readme.md b/specification/netapp/resource-manager/readme.md
index b1ceeb839386..12cc5f861a45 100644
--- a/specification/netapp/resource-manager/readme.md
+++ b/specification/netapp/resource-manager/readme.md
@@ -54,7 +54,6 @@ swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-net
- repo: azure-sdk-for-js
- - repo: azure-sdk-for-go
```
@@ -69,7 +68,3 @@ See configuration in [readme.python.md](./readme.python.md)
## JavaScript/TypeScript
See configuration in [readme.typescript.md](./readme.typescript.md)
-
-## Go
-
-See configuration in [readme.go.md](./readme.go.md)
diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/applicationGateway.json
index da459cac97e1..555205c4160a 100644
--- a/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/applicationGateway.json
+++ b/specification/network/resource-manager/Microsoft.Network/stable/2018-12-01/applicationGateway.json
@@ -1832,42 +1832,42 @@
"items": {
"$ref": "#/definitions/ApplicationGatewayIPConfiguration"
},
- "description": "Subnets of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ "description": "Subnets of application the gateway resource."
},
"authenticationCertificates": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGatewayAuthenticationCertificate"
},
- "description": "Authentication certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ "description": "Authentication certificates of the application gateway resource."
},
"trustedRootCertificates": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGatewayTrustedRootCertificate"
},
- "description": "Trusted Root certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ "description": "Trusted Root certificates of the application gateway resource."
},
"sslCertificates": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGatewaySslCertificate"
},
- "description": "SSL certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ "description": "SSL certificates of the application gateway resource."
},
"frontendIPConfigurations": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGatewayFrontendIPConfiguration"
},
- "description": "Frontend IP addresses of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ "description": "Frontend IP addresses of the application gateway resource."
},
"frontendPorts": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGatewayFrontendPort"
},
- "description": "Frontend ports of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ "description": "Frontend ports of the application gateway resource."
},
"probes": {
"type": "array",
@@ -1881,28 +1881,28 @@
"items": {
"$ref": "#/definitions/ApplicationGatewayBackendAddressPool"
},
- "description": "Backend address pool of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ "description": "Backend address pool of the application gateway resource."
},
"backendHttpSettingsCollection": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGatewayBackendHttpSettings"
},
- "description": "Backend http settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ "description": "Backend http settings of the application gateway resource."
},
"httpListeners": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGatewayHttpListener"
},
- "description": "Http listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ "description": "Http listeners of the application gateway resource."
},
"urlPathMaps": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGatewayUrlPathMap"
},
- "description": "URL path map of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ "description": "URL path map of the application gateway resource."
},
"requestRoutingRules": {
"type": "array",
@@ -1923,7 +1923,7 @@
"items": {
"$ref": "#/definitions/ApplicationGatewayRedirectConfiguration"
},
- "description": "Redirect configurations of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
+ "description": "Redirect configurations of the application gateway resource."
},
"webApplicationFirewallConfiguration": {
"$ref": "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration",
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json
index 6fa367e0a113..9195fd5a6021 100644
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json
+++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json
@@ -146,7 +146,7 @@
"$ref": "#/parameters/policyStatesResourceParameter"
},
{
- "$ref": "#/parameters/subscriptionId"
+ "$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
@@ -206,7 +206,7 @@
"$ref": "#/parameters/policyStatesSummaryResourceParameter"
},
{
- "$ref": "#/parameters/subscriptionId"
+ "$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/apiVersionParameter"
@@ -252,7 +252,7 @@
"$ref": "#/parameters/policyStatesResourceParameter"
},
{
- "$ref": "#/parameters/subscriptionId"
+ "$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -310,7 +310,7 @@
"$ref": "#/parameters/policyStatesSummaryResourceParameter"
},
{
- "$ref": "#/parameters/subscriptionId"
+ "$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -467,7 +467,7 @@
"$ref": "#/parameters/policyStatesResourceParameter"
},
{
- "$ref": "#/parameters/subscriptionId"
+ "$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/authorizationNamespaceParameter"
@@ -528,7 +528,7 @@
"$ref": "#/parameters/policyStatesSummaryResourceParameter"
},
{
- "$ref": "#/parameters/subscriptionId"
+ "$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/authorizationNamespaceParameter"
@@ -580,7 +580,7 @@
"$ref": "#/parameters/policyStatesResourceParameter"
},
{
- "$ref": "#/parameters/subscriptionId"
+ "$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/authorizationNamespaceParameter"
@@ -641,7 +641,7 @@
"$ref": "#/parameters/policyStatesSummaryResourceParameter"
},
{
- "$ref": "#/parameters/subscriptionId"
+ "$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/authorizationNamespaceParameter"
@@ -693,7 +693,7 @@
"$ref": "#/parameters/policyStatesResourceParameter"
},
{
- "$ref": "#/parameters/subscriptionId"
+ "$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/authorizationNamespaceParameter"
@@ -754,7 +754,7 @@
"$ref": "#/parameters/policyStatesSummaryResourceParameter"
},
{
- "$ref": "#/parameters/subscriptionId"
+ "$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/authorizationNamespaceParameter"
@@ -806,7 +806,7 @@
"$ref": "#/parameters/policyStatesResourceParameter"
},
{
- "$ref": "#/parameters/subscriptionId"
+ "$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -870,7 +870,7 @@
"$ref": "#/parameters/policyStatesSummaryResourceParameter"
},
{
- "$ref": "#/parameters/subscriptionId"
+ "$ref": "#/parameters/subscriptionIdParameter"
},
{
"$ref": "#/parameters/resourceGroupNameParameter"
@@ -1424,7 +1424,7 @@
"description": "Management group name.",
"x-ms-parameter-location": "method"
},
- "subscriptionId": {
+ "subscriptionIdParameter": {
"name": "subscriptionId",
"in": "path",
"required": true,
@@ -1498,7 +1498,7 @@
"in": "query",
"required": true,
"type": "string",
- "description": "Client Api Version.",
+ "description": "API version to use with the client requests.",
"x-ms-parameter-location": "client"
},
"topParameter": {
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json
index db31a40e2bea..5d2fb40318e2 100644
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json
+++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json
@@ -445,8 +445,7 @@
"in": "query",
"required": true,
"type": "string",
- "description": "Client Api Version.",
- "x-ms-parameter-location": "client"
+ "description": "Client Api Version."
}
}
}
diff --git a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/remediations.json b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/remediations.json
index 147393e8034d..70442559e554 100644
--- a/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/remediations.json
+++ b/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/remediations.json
@@ -1365,8 +1365,7 @@
"in": "query",
"required": true,
"type": "string",
- "description": "Client Api Version.",
- "x-ms-parameter-location": "client"
+ "description": "Client Api Version."
}
}
}
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ReplicasListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ReplicasListByServer.json
deleted file mode 100644
index e0373845ef29..000000000000
--- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ReplicasListByServer.json
+++ /dev/null
@@ -1,156 +0,0 @@
-{
- "parameters": {
- "serverName": "testserver-master",
- "resourceGroupName": "TestGroup_WestCentralUS",
- "api-version": "2017-12-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "sku": {
- "name": "GP_Gen4_16",
- "tier": "GeneralPurpose",
- "family": "Gen4",
- "capacity": 16
- },
- "properties": {
- "administratorLogin": "postgres",
- "storageProfile": {
- "storageMB": 2048000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Disabled"
- },
- "version": "9.6",
- "sslEnforcement": "Disabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "testserver-replica1.postgres.database.azure.com",
- "earliestRestoreDate": "2018-06-12T00:05:03.2695756+00:00",
- "replicationRole": "Replica",
- "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master",
- "replicaCapacity": 0
- },
- "location": "westcentralus",
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-replica1",
- "name": "testserver-replica1",
- "type": "Microsoft.DBforPostgreSQL/servers"
- },
- {
- "sku": {
- "name": "GP_Gen4_16",
- "tier": "GeneralPurpose",
- "family": "Gen4",
- "capacity": 16
- },
- "properties": {
- "administratorLogin": "postgres",
- "storageProfile": {
- "storageMB": 2048000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Disabled"
- },
- "version": "9.6",
- "sslEnforcement": "Disabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "testserver-replica2.postgres.database.azure.com",
- "earliestRestoreDate": "2018-06-12T00:05:03.2695756+00:00",
- "replicationRole": "Replica",
- "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master",
- "replicaCapacity": 0
- },
- "location": "westcentralus",
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-replica2",
- "name": "testserver-replica2",
- "type": "Microsoft.DBforPostgreSQL/servers"
- },
- {
- "sku": {
- "name": "GP_Gen4_16",
- "tier": "GeneralPurpose",
- "family": "Gen4",
- "capacity": 16
- },
- "properties": {
- "administratorLogin": "postgres",
- "storageProfile": {
- "storageMB": 2048000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Disabled"
- },
- "version": "9.6",
- "sslEnforcement": "Disabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "testserver-replica3.postgres.database.azure.com",
- "earliestRestoreDate": "2018-06-12T00:05:03.2695756+00:00",
- "replicationRole": "Replica",
- "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master",
- "replicaCapacity": 0
- },
- "location": "westcentralus",
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-replica3",
- "name": "testserver-replica3",
- "type": "Microsoft.DBforPostgreSQL/servers"
- },
- {
- "sku": {
- "name": "GP_Gen4_16",
- "tier": "GeneralPurpose",
- "family": "Gen4",
- "capacity": 16
- },
- "properties": {
- "administratorLogin": "postgres",
- "storageProfile": {
- "storageMB": 2048000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Disabled"
- },
- "version": "9.6",
- "sslEnforcement": "Disabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "testserver-replica4.postgres.database.azure.com",
- "earliestRestoreDate": "2018-06-12T00:05:03.2695756+00:00",
- "replicationRole": "Replica",
- "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master",
- "replicaCapacity": 0
- },
- "location": "westcentralus",
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-replica4",
- "name": "testserver-replica4",
- "type": "Microsoft.DBforPostgreSQL/servers"
- },
- {
- "sku": {
- "name": "GP_Gen4_16",
- "tier": "GeneralPurpose",
- "family": "Gen4",
- "capacity": 16
- },
- "properties": {
- "administratorLogin": "postgres",
- "storageProfile": {
- "storageMB": 2048000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Disabled"
- },
- "version": "9.6",
- "sslEnforcement": "Disabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "testserver-replica5.postgres.database.azure.com",
- "earliestRestoreDate": "2018-06-12T00:05:03.2695756+00:00",
- "replicationRole": "Replica",
- "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master",
- "replicaCapacity": 0
- },
- "location": "westcentralus",
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-replica5",
- "name": "testserver-replica5",
- "type": "Microsoft.DBforPostgreSQL/servers"
- }
- ]
- }
- }
- }
- }
\ No newline at end of file
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerCreateReplicaMode.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerCreateReplicaMode.json
deleted file mode 100644
index 557e21223125..000000000000
--- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerCreateReplicaMode.json
+++ /dev/null
@@ -1,84 +0,0 @@
-{
- "parameters": {
- "serverName": "testserver-replica1",
- "resourceGroupName": "TestGroup_WestCentralUS",
- "api-version": "2017-12-01",
- "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
- "parameters": {
- "location": "westcentralus",
- "properties": {
- "createMode": "Replica",
- "sourceServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master"
- },
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- }
- }
- },
- "responses": {
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen5",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "postgres",
- "storageProfile": {
- "storageMB": 2048000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Disabled"
- },
- "version": "9.6",
- "sslEnforcement": "Disabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "testserver-replica1.postgres.database.azure.com",
- "earliestRestoreDate": "2018-06-20T00:17:56.677+00:00",
- "replicationRole": "Replica",
- "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master",
- "replicaCapacity": 0
- },
- "location": "westcentralus",
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-replica1",
- "name": "testserver-replica1",
- "type": "Microsoft.DBforPostgreSQL/servers"
- }
- },
- "200": {
- "body": {
- "sku": {
- "name": "GP_Gen5_2",
- "tier": "GeneralPurpose",
- "family": "Gen4",
- "capacity": 2
- },
- "properties": {
- "administratorLogin": "postgres",
- "storageProfile": {
- "storageMB": 2048000,
- "backupRetentionDays": 7,
- "geoRedundantBackup": "Disabled"
- },
- "version": "9.6",
- "sslEnforcement": "Disabled",
- "userVisibleState": "Ready",
- "fullyQualifiedDomainName": "testserver-replica1.postgres.database.azure.com",
- "earliestRestoreDate": "2018-06-20T00:17:56.677+00:00",
- "replicationRole": "Replica",
- "masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-master",
- "replicaCapacity": 0
- },
- "location": "westcentralus",
- "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup_WestCentralUS/providers/Microsoft.DBforPostgreSQL/servers/testserver-replica1",
- "name": "testserver-replica1",
- "type": "Microsoft.DBforPostgreSQL/servers"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerGet.json
index 834ad9933c91..7b8626051cc3 100644
--- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerGet.json
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/examples/ServerGet.json
@@ -25,9 +25,7 @@
"sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "pgtestsvc1.postgres.database.azure.com",
- "earliestRestoreDate": "2018-03-04T21:00:58.9243541+00:00",
- "replicationRole": "",
- "masterServerId": ""
+ "earliestRestoreDate": "2018-03-04T21:00:58.9243541+00:00"
},
"location": "westus",
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/servers/pgtestsvc1",
diff --git a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/postgresql.json
index 2fbaaeae3983..6c17b50a8be3 100644
--- a/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/postgresql.json
+++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2017-12-01/postgresql.json
@@ -49,10 +49,7 @@
},
"Create a server as a geo restore ": {
"$ref": "./examples/ServerCreateGeoRestoreMode.json"
- },
- "Create a replica server": {
- "$ref": "./examples/ServerCreateReplicaMode.json"
- }
+ }
},
"description": "Creates a new server, or will overwrite an existing server.",
"parameters": [
@@ -286,45 +283,6 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/Replicas": {
- "get": {
- "tags": [
- "Replicas"
- ],
- "operationId": "Replicas_ListByServer",
- "x-ms-examples": {
- "ReplicasListByServer": {
- "$ref": "./examples/ReplicasListByServer.json"
- }
- },
- "description": "List all the replicas for a given server.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ServerListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/restart": {
"post": {
"tags": [
@@ -1405,20 +1363,6 @@
"storageProfile": {
"$ref": "#/definitions/StorageProfile",
"description": "Storage profile of a server."
- },
- "replicationRole": {
- "type": "string",
- "description": "The replication role of the server."
- },
- "masterServerId": {
- "type": "string",
- "description": "The master server id of a replica server."
- },
- "replicaCapacity": {
- "type": "integer",
- "format": "int32",
- "minimum": 0,
- "description": "The maximum number of replicas that a master server can have."
}
},
"description": "The properties of a server."
@@ -1473,8 +1417,7 @@
"enum": [
"Default",
"PointInTimeRestore",
- "GeoRestore",
- "Replica"
+ "GeoRestore"
],
"x-ms-enum": {
"name": "CreateMode",
@@ -1550,24 +1493,6 @@
],
"description": "The properties used to create a new server by restoring to a different region from a geo replicated backup."
},
- "ServerPropertiesForReplica": {
- "x-ms-discriminator-value": "Replica",
- "allOf": [
- {
- "$ref": "#/definitions/ServerPropertiesForCreate"
- }
- ],
- "properties": {
- "sourceServerId": {
- "type": "string",
- "description": "The master server id to create replica from."
- }
- },
- "required": [
- "sourceServerId"
- ],
- "description": "The properties to create a new replica."
- },
"Sku": {
"properties": {
"name": {
diff --git a/specification/privatedns/resource-manager/readme.md b/specification/privatedns/resource-manager/readme.md
index 3d4b17011c38..08e79ebc1f83 100644
--- a/specification/privatedns/resource-manager/readme.md
+++ b/specification/privatedns/resource-manager/readme.md
@@ -50,6 +50,8 @@ swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
+ - repo: azure-sdk-for-node
+ - repo: azure-sdk-for-typescript
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
```
@@ -105,7 +107,6 @@ java:
output-folder: $(azure-libraries-for-java-folder)/privatedns/resource-manager/v2018_09_01
regenerate-manager: true
generate-interface: true
-fconfig: '{"moduleName": "privatedns"}'
```
## Suppression
diff --git a/specification/imagebuilder/resource-manager/readme.nodejs.md b/specification/privatedns/resource-manager/readme.nodejs.md
similarity index 74%
rename from specification/imagebuilder/resource-manager/readme.nodejs.md
rename to specification/privatedns/resource-manager/readme.nodejs.md
index c406c9f71bb6..3e0a83c0f707 100644
--- a/specification/imagebuilder/resource-manager/readme.nodejs.md
+++ b/specification/privatedns/resource-manager/readme.nodejs.md
@@ -6,8 +6,8 @@ Please also specify `--node-sdks-folder=",
- "highlightPreTag": "",
- "minimumCoverage": 80,
- "$orderby": [ "search.score() desc", "rating desc" ],
- "queryType": "simple",
- "scoringParameters": [ "currentLocation--122.123,44.77233" ],
- "scoringProfile": "sp",
- "search": "nice hotels",
- "searchFields": [ "title", "description" ],
- "searchMode": "any",
- "$select": [ "docId", "title", "description" ],
- "$skip": 100,
- "$top": 10
- },
- "responses": {
- "200": {
- "body": {
- "@odata.count": 25,
- "@search.coverage": 80,
- "@search.facets": {
- "category": [
- {
- "count": 1,
- "value": "Economy"
- },
- {
- "count": 1,
- "value": "Luxury"
- }
- ]
- },
- "value": [
- {
- "@search.score": 1.50,
- "@search.highlights": {
- "title": [ "Nice Hotel" ]
- },
- "description": "Cheapest hotel in town",
- "docId": "1",
- "title": "Nice Hotel"
- },
- {
- "@search.score": 0.70,
- "@search.highlights": {
- "title": [ "Fancy Hotel" ]
- },
- "description": "Best hotel in town",
- "docId": "2",
- "title": "Fancy Hotel"
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSearchDocumentsPost.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSearchDocumentsPost.json
deleted file mode 100644
index 3fca0afb9ff9..000000000000
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexSearchDocumentsPost.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
- "parameters": {
- "searchServiceName": "myservice",
- "searchDnsSuffix": "search.windows.net",
- "indexName": "myindex",
- "api-version": "2017-11-11-Preview",
- "searchRequest": {
- "count": true,
- "facets": [ "category,count:10,sort:count" ],
- "filter": "rating gt 4.0",
- "highlight": "title",
- "highlightPostTag": "",
- "highlightPreTag": "",
- "minimumCoverage": null,
- "orderby": "search.score() desc,rating desc",
- "queryType": "simple",
- "scoringParameters": [ "currentLocation--122.123,44.77233" ],
- "scoringProfile": "sp",
- "search": "nice hotels",
- "searchFields": "title,description",
- "searchMode": "any",
- "select": "docId,title,description",
- "skip": 0,
- "top": 10
- }
- },
- "responses": {
- "200": {
- "body": {
- "@odata.count": 25,
- "@search.facets": {
- "category": [
- {
- "count": 1,
- "value": "Economy"
- },
- {
- "count": 1,
- "value": "Luxury"
- }
- ]
- },
- "@search.nextPageParameters": {
- "count": true,
- "facets": [ "category,count:10,sort:count" ],
- "filter": "rating gt 4.0",
- "highlight": "title",
- "highlightPostTag": "",
- "highlightPreTag": "",
- "minimumCoverage": null,
- "orderby": "search.score() desc,rating desc",
- "queryType": "simple",
- "scoringParameters": [ "currentLocation--122.123,44.77233" ],
- "scoringProfile": "sp",
- "search": "nice hotels",
- "searchFields": "title,description",
- "searchMode": "any",
- "select": "docId,title,description",
- "skip": 2,
- "top": 8
- },
- "value": [
- {
- "@search.score": 1.50,
- "@search.highlights": {
- "title": [ "Nice Hotel" ]
- },
- "description": "Cheapest hotel in town",
- "docId": "1",
- "title": "Nice Hotel"
- },
- {
- "@search.score": 0.70,
- "@search.highlights": {
- "title": [ "Fancy Hotel" ]
- },
- "description": "Best hotel in town",
- "docId": "2",
- "title": "Fancy Hotel"
- }
- ],
- "@odata.nextLink": "https://myservice.search.windows.net/indexes('myindex')/docs/search.post.search?api-version=2017-11-11-Preview"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/searchindex.json
index 9fe0df3e329f..8fd07f00ae32 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/searchindex.json
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/preview/2017-11-11-preview/searchindex.json
@@ -64,278 +64,6 @@
}
}
},
- "/docs": {
- "get": {
- "tags": [
- "Documents"
- ],
- "operationId": "Documents_SearchGet",
- "externalDocs": {
- "url": "https://docs.microsoft.com/rest/api/searchservice/Search-Documents"
- },
- "x-ms-examples": {
- "SearchIndexSearchDocumentsGet": { "$ref": "./examples/SearchIndexSearchDocumentsGet.json" }
- },
- "description": "Searches for documents in the Azure Search index.",
- "parameters": [
- {
- "name": "search",
- "in": "query",
- "type": "string",
- "description": "A full-text search query expression; Use \"*\" or omit this parameter to match all documents.",
- "x-ms-client-name": "SearchText"
- },
- {
- "name": "$count",
- "in": "query",
- "type": "boolean",
- "description": "A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation.",
- "x-nullable": false,
- "x-ms-client-name": "IncludeTotalResultCount",
- "x-ms-parameter-grouping": {
- "name": "SearchParameters"
- }
- },
- {
- "name": "facet",
- "in": "query",
- "type": "array",
- "items": {
- "type": "string"
- },
- "collectionFormat": "multi",
- "description": "The list of facet expressions to apply to the search query. Each facet expression contains a field name, optionally followed by a comma-separated list of name:value pairs.",
- "x-ms-client-name": "Facets",
- "x-ms-parameter-grouping": {
- "name": "SearchParameters"
- }
- },
- {
- "name": "$filter",
- "in": "query",
- "type": "string",
- "description": "The OData $filter expression to apply to the search query.",
- "x-ms-parameter-grouping": {
- "name": "SearchParameters"
- }
- },
- {
- "name": "highlight",
- "in": "query",
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting.",
- "x-ms-client-name": "HighlightFields",
- "x-ms-parameter-grouping": {
- "name": "SearchParameters"
- }
- },
- {
- "name": "highlightPostTag",
- "in": "query",
- "type": "string",
- "description": "A string tag that is appended to hit highlights. Must be set with highlightPreTag. Default is </em>.",
- "x-ms-parameter-grouping": {
- "name": "SearchParameters"
- }
- },
- {
- "name": "highlightPreTag",
- "in": "query",
- "type": "string",
- "description": "A string tag that is prepended to hit highlights. Must be set with highlightPostTag. Default is <em>.",
- "x-ms-parameter-grouping": {
- "name": "SearchParameters"
- }
- },
- {
- "name": "minimumCoverage",
- "in": "query",
- "type": "number",
- "format": "double",
- "description": "A number between 0 and 100 indicating the percentage of the index that must be covered by a search query in order for the query to be reported as a success. This parameter can be useful for ensuring search availability even for services with only one replica. The default is 100.",
- "x-ms-parameter-grouping": {
- "name": "SearchParameters"
- }
- },
- {
- "name": "$orderby",
- "in": "query",
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, and desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no OrderBy is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses.",
- "x-ms-client-name": "OrderBy",
- "x-ms-parameter-grouping": {
- "name": "SearchParameters"
- }
- },
- {
- "name": "queryType",
- "in": "query",
- "type": "string",
- "enum": [
- "simple",
- "full"
- ],
- "x-ms-enum": {
- "name": "QueryType",
- "modelAsString": false
- },
- "x-nullable": false,
- "description": "A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax.",
- "x-ms-parameter-grouping": {
- "name": "SearchParameters"
- }
- },
- {
- "name": "scoringParameter",
- "in": "query",
- "type": "array",
- "items": {
- "type": "string"
- },
- "collectionFormat": "multi",
- "x-ms-client-name": "ScoringParameters",
- "description": "The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be \"mylocation--122.2,44.8\" (without the quotes).",
- "x-ms-parameter-grouping": {
- "name": "SearchParameters"
- }
- },
- {
- "name": "scoringProfile",
- "in": "query",
- "type": "string",
- "description": "The name of a scoring profile to evaluate match scores for matching documents in order to sort the results.",
- "x-ms-parameter-grouping": {
- "name": "SearchParameters"
- }
- },
- {
- "name": "searchFields",
- "in": "query",
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The list of field names to include in the full-text search.",
- "x-ms-parameter-grouping": {
- "name": "SearchParameters"
- }
- },
- {
- "name": "searchMode",
- "in": "query",
- "type": "string",
- "enum": [
- "any",
- "all"
- ],
- "x-ms-enum": {
- "name": "SearchMode",
- "modelAsString": false
- },
- "x-nullable": false,
- "description": "A value that specifies whether any or all of the search terms must be matched in order to count the document as a match.",
- "x-ms-parameter-grouping": {
- "name": "SearchParameters"
- }
- },
- {
- "name": "$select",
- "in": "query",
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included.",
- "x-ms-parameter-grouping": {
- "name": "SearchParameters"
- }
- },
- {
- "name": "$skip",
- "in": "query",
- "type": "integer",
- "format": "int32",
- "description": "The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use $skip due to this limitation, consider using $orderby on a totally-ordered key and $filter with a range query instead.",
- "x-ms-parameter-grouping": {
- "name": "SearchParameters"
- }
- },
- {
- "name": "$top",
- "in": "query",
- "type": "integer",
- "format": "int32",
- "description": "The number of search results to retrieve. This can be used in conjunction with $skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be used to issue another Search request for the next page of results.",
- "x-ms-parameter-grouping": {
- "name": "SearchParameters"
- }
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/ClientRequestIdParameter"
- }
- ],
- "x-ms-request-id": "request-id",
- "responses": {
- "200": {
- "description": "Response containing documents that match the search criteria.",
- "schema": {
- "$ref": "#/definitions/DocumentSearchResult"
- }
- }
- }
- }
- },
- "/docs/search.post.search": {
- "post": {
- "tags": [
- "Documents"
- ],
- "operationId": "Documents_SearchPost",
- "externalDocs": {
- "url": "https://docs.microsoft.com/rest/api/searchservice/Search-Documents"
- },
- "x-ms-examples": {
- "SearchIndexSearchDocumentsPost": { "$ref": "./examples/SearchIndexSearchDocumentsPost.json" }
- },
- "description": "Searches for documents in the Azure Search index.",
- "parameters": [
- {
- "name": "searchRequest",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/SearchRequest",
- "description": "The Search request."
- },
- "description": "The definition of the Search request."
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/ClientRequestIdParameter"
- }
- ],
- "x-ms-request-id": "request-id",
- "responses": {
- "200": {
- "description": "Response containing documents that match the search criteria.",
- "schema": {
- "$ref": "#/definitions/DocumentSearchResult"
- }
- }
- }
- }
- },
"/docs('{key}')": {
"get": {
"tags": [
@@ -404,7 +132,7 @@
"required": true,
"type": "string",
"description": "The search text to use to suggest documents. Must be at least 1 character, and no more than 100 characters.",
- "x-ms-client-name": "SearchText"
+ "x-ms-client-name": "searchText"
},
{
"name": "suggesterName",
@@ -469,7 +197,7 @@
"type": "string"
},
"x-ms-client-name": "OrderBy",
- "description": "The list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses.",
+ "description": "The comma-separated list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, or desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no $orderby is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses.",
"x-ms-parameter-grouping": {
"name": "SuggestParameters"
}
@@ -481,7 +209,7 @@
"items": {
"type": "string"
},
- "description": "The list of field names to search for the specified search text. Target fields must be included in the specified suggester.",
+ "description": "The list of comma-separated field names to search for the specified search text. Target fields must be included in the specified suggester.",
"x-ms-parameter-grouping": {
"name": "SuggestParameters"
}
@@ -493,7 +221,7 @@
"items": {
"type": "string"
},
- "description": "The list of fields to retrieve. If unspecified, only the key field will be included in the results.",
+ "description": "The comma-separated list of fields to retrieve. If unspecified, only the key field will be included in the results.",
"x-ms-parameter-grouping": {
"name": "SuggestParameters"
}
@@ -570,7 +298,7 @@
"/docs/search.index": {
"post": {
"tags": [
- "Documents"
+ "Document"
],
"operationId": "Documents_Index",
"externalDocs": {
@@ -640,7 +368,7 @@
"type": "string",
"required": true,
"description": "The incomplete term which should be auto-completed.",
- "x-ms-client-name": "SearchText"
+ "x-ms-client-name": "searchText"
},
{
"name": "suggesterName",
@@ -653,7 +381,6 @@
"name": "autocompleteMode",
"in": "query",
"type": "string",
- "x-nullable": false,
"enum": [
"oneTerm",
"twoTerms",
@@ -663,7 +390,7 @@
"name": "AutocompleteMode",
"modelAsString": false
},
- "description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing auto-completed terms.",
+ "description": "Autocomplete mode.",
"x-ms-parameter-grouping": {
"name": "AutocompleteParameters"
}
@@ -713,7 +440,7 @@
"items": {
"type": "string"
},
- "description": "The list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester.",
+ "description": "The comma-separated list of field names to consider when querying for auto-completed terms. Target fields must be included in the specified suggester.",
"x-ms-parameter-grouping": {
"name": "AutocompleteParameters"
}
@@ -786,19 +513,18 @@
},
"definitions": {
"DocumentSuggestResult": {
+ "type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/SuggestResult"
},
- "readOnly": true,
"x-ms-client-name": "Results",
"description": "The sequence of results returned by the query."
},
"@search.coverage": {
"type": "number",
- "readOnly": true,
"format": "double",
"x-ms-client-name": "Coverage",
"description": "A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not set in the request."
@@ -807,10 +533,10 @@
"description": "Response containing suggestion query results from an Azure Search index."
},
"SuggestResult": {
+ "type": "object",
"properties": {
"@search.text": {
"type": "string",
- "readOnly": true,
"description": "The text of the suggestion result.",
"x-ms-client-name": "Text"
}
@@ -818,96 +544,6 @@
"additionalProperties": true,
"description": "A result containing a document found by a suggestion query, plus associated metadata."
},
- "FacetResult": {
- "properties": {
- "count": {
- "type": "integer",
- "format": "int64",
- "readOnly": true,
- "description": "The approximate count of documents falling within the bucket described by this facet."
- }
- },
- "additionalProperties": true,
- "description": "A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval."
- },
- "DocumentSearchResult": {
- "properties": {
- "@odata.count": {
- "type": "integer",
- "format": "int64",
- "readOnly": true,
- "x-ms-client-name": "Count",
- "description": "The total count of results found by the search operation, or null if the count was not requested. If present, the count may be greater than the number of results in this response. This can happen if you use the $top or $skip parameters, or if Azure Search can't return all the requested documents in a single Search response."
- },
- "@search.coverage": {
- "type": "number",
- "format": "double",
- "readOnly": true,
- "x-ms-client-name": "Coverage",
- "description": "A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not specified in the request."
- },
- "@search.facets": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/FacetResult"
- }
- },
- "readOnly": true,
- "x-ms-client-name": "Facets",
- "description": "The facet query results for the search operation, organized as a collection of buckets for each faceted field; null if the query did not include any facet expressions."
- },
- "@search.nextPageParameters": {
- "$ref": "#/definitions/SearchRequest",
- "readOnly": true,
- "x-ms-client-name": "NextPageParameters",
- "description": "Continuation JSON payload returned when Azure Search can't return all the requested results in a single Search response. You can use this JSON along with @odata.nextLink to formulate another POST Search request to get the next part of the search response."
- },
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SearchResult"
- },
- "readOnly": true,
- "x-ms-client-name": "Results",
- "description": "The sequence of results returned by the query."
- },
- "@odata.nextLink": {
- "type": "string",
- "readOnly": true,
- "x-ms-client-name": "NextLink",
- "description": "Continuation URL returned when Azure Search can't return all the requested results in a single Search response. You can use this URL to formulate another GET or POST Search request to get the next part of the search response. Make sure to use the same verb (GET or POST) as the request that produced this response."
- }
- },
- "description": "Response containing search results from an Azure Search index."
- },
- "SearchResult": {
- "properties": {
- "@search.score": {
- "type": "number",
- "format": "double",
- "readOnly": true,
- "x-ms-client-name": "Score",
- "x-nullable": false,
- "description": "The relevance score of the document compared to other documents returned by the query."
- },
- "@search.highlights": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "readOnly": true,
- "x-ms-client-name": "Highlights",
- "description": "Text fragments from the document that indicate the matching search terms, organized by each applicable field; null if hit highlighting was not enabled for the query."
- }
- },
- "additionalProperties": true,
- "description": "Contains a document found by a search query, plus associated metadata."
- },
"IndexBatch": {
"properties": {
"value": {
@@ -990,10 +626,7 @@
"any",
"all"
],
- "x-ms-enum": {
- "name": "SearchMode",
- "modelAsString": false
- },
+ "x-ms-enum": { "name": "SearchMode" },
"description": "Specifies whether any or all of the search terms must be matched in order to count the document as a match."
},
"QueryType": {
@@ -1002,10 +635,7 @@
"simple",
"full"
],
- "x-ms-enum": {
- "name": "QueryType",
- "modelAsString": false
- },
+ "x-ms-enum": { "name": "QueryType" },
"description": "Specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax."
},
"AutocompleteMode": {
@@ -1015,18 +645,15 @@
"twoTerms",
"oneTermWithContext"
],
- "x-ms-enum": {
- "name": "AutocompleteMode",
- "modelAsString" : false
- },
+ "x-ms-enum": { "name": "AutocompleteMode",
+ "modelAsString" : false },
"description": "Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context in producing autocomplete terms."
},
"SearchRequest": {
"properties": {
"count": {
"type": "boolean",
- "description": "A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation.",
- "x-ms-client-name": "IncludeTotalResultCount"
+ "description": "A value that specifies whether to fetch the total count of results. Default is false. Setting this value to true may have a performance impact. Note that the count returned is an approximation."
},
"facets": {
"externalDocs": {
@@ -1047,8 +674,7 @@
},
"highlight": {
"type": "string",
- "description": "The comma-separated list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting.",
- "x-ms-client-name": "HighlightFields"
+ "description": "The comma-separated list of field names to use for hit highlights. Only searchable fields can be used for hit highlighting."
},
"highlightPostTag": {
"type": "string",
@@ -1070,23 +696,25 @@
},
"queryType": {
"$ref": "#/definitions/QueryType",
- "description": "A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax."
+ "description": "Gets or sets a value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax."
},
"scoringParameters": {
"type": "array",
"items": {
"type": "string"
},
- "description": "The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be \"mylocation--122.2,44.8\" (without the quotes)."
+ "description": "The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be \"mylocation--122.2,44.8\"(without the quotes)."
},
"scoringProfile": {
"type": "string",
"description": "The name of a scoring profile to evaluate match scores for matching documents in order to sort the results."
},
"search": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Simple-query-syntax-in-Azure-Search"
+ },
"type": "string",
- "description": "A full-text search query expression; Use \"*\" or omit this parameter to match all documents.",
- "x-ms-client-name": "SearchText"
+ "description": "A full-text search query expression; Use \"*\" or omit this parameter to match all documents."
},
"searchFields": {
"type": "string",
@@ -1103,12 +731,15 @@
"skip": {
"type": "integer",
"format": "int32",
- "description": "The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use skip due to this limitation, consider using orderby on a totally-ordered key and filter with a range query instead."
+ "description": "The number of search results to skip. This value cannot be greater than 100,000. If you need to scan documents in sequence, but cannot use Skip due to this limitation, consider using $orderby on a totally-ordered key and Filter with a range query instead."
},
"top": {
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/rest/api/searchservice/Search-Documents"
+ },
"type": "integer",
"format": "int32",
- "description": "The number of search results to retrieve. This can be used in conjunction with $skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be used to issue another Search request for the next page of results."
+ "description": "The number of search results to retrieve. This can be used in conjunction with Skip to implement client-side paging of search results. If results are truncated due to server-side paging, the response will include a continuation token that can be passed to ContinueSearch to retrieve the next page of results. See DocumentSearchResponse.ContinuationToken for more information."
}
},
"description": "Parameters for filtering, sorting, faceting, paging, and other search query behaviors."
@@ -1124,8 +755,7 @@
},
"fuzzy": {
"type": "boolean",
- "description": "A value indicating whether to use fuzzy matching for the suggestion query. Default is false. When set to true, the query will find suggestions even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy suggestion searches are slower and consume more resources.",
- "x-ms-client-name": "UseFuzzyMatching"
+ "description": "A value indicating whether to use fuzzy matching for the suggestion query. Default is false. When set to true, the query will find suggestions even if there's a substituted or missing character in the search text. While this provides a better experience in some scenarios, it comes at a performance cost as fuzzy suggestion searches are slower and consume more resources."
},
"highlightPostTag": {
"type": "string",
@@ -1147,8 +777,7 @@
},
"search": {
"type": "string",
- "description": "The search text to use to suggest documents. Must be at least 1 character, and no more than 100 characters.",
- "x-ms-client-name": "SearchText"
+ "description": "The search text to use to suggest documents. Must be at least 1 character, and no more than 100 characters."
},
"searchFields": {
"type": "string",
@@ -1175,7 +804,7 @@
"search": {
"type": "string",
"description": "The search text on which to base autocomplete results.",
- "x-ms-client-name": "SearchText"
+ "x-ms-client-name": "searchText"
},
"autocompleteMode": {
"$ref": "#/definitions/AutocompleteMode",
@@ -1233,12 +862,10 @@
"properties": {
"text": {
"type": "string",
- "readOnly": true,
"description": "The completed term."
},
"queryPlusText": {
"type": "string",
- "readOnly": true,
"description": "The query along with the completed term."
}
},
diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md b/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md
index 8fb753afb116..51ba600ea860 100644
--- a/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md
+++ b/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md
@@ -180,7 +180,7 @@ directive:
replace( /(SuggestResult class.\s*\/\/\/ <\/summary>\s*)\/\/\/ Unmatched properties from the\s*\/\/\/ message are deserialized this collection<\/param>/g, "$1/// The document on which the suggested text is based." ).
replace( /(public SuggestResult)\(IDictionary additionalProperties = default\(IDictionary\),/g, "$1(T document = default(T)," ).
replace( /(public SuggestResult\(.*\)\s*{\s*)AdditionalProperties = additionalProperties;/g, "$1Document = document;" ).
- replace( /(\/\/\/ \s*\/\/\/) Gets or sets unmatched properties from the message are deserialized\s*\/\/\/ this collection(\s*\/\/\/ <\/summary>\s*)\[JsonExtensionData\]\s*public IDictionary AdditionalProperties { get; set; }(\s*.*\s*\/\/\/ Gets the text of the suggestion result.)/g, "$1 Gets the document on which the suggested text is based. $2public T Document { get; private set; }$3" ).
+ replace( /(\/\/\/ \s*\/\/\/) Gets or sets unmatched properties from the message are deserialized\s*\/\/\/ this collection(\s*\/\/\/ <\/summary>\s*)\[JsonExtensionData\]\s*public IDictionary AdditionalProperties ({ get; set; }\s*.*\s*\/\/\/ Gets or sets the text of the suggestion result.)/g, "$1 Gets the document on which the suggested text is based. $2public T Document $3" ).
replace( /(SuggestGetWithHttpMessagesAsync)/g, "$1" ).
replace( /(SuggestPostWithHttpMessagesAsync)/g, "$1" ).
replace( /(AzureOperationResponse" ).
@@ -208,69 +208,4 @@ directive:
replace( /(public IndexAction\(.*\)\s*{\s*)AdditionalProperties = additionalProperties;/g, "$1Document = document;" ).
replace( /(\/\/\/ \s*\n\s*\/\/\/) Gets or sets unmatched properties from the message are deserialized\s*\n\s*\/\/\/ this collection(\s*\n\s*\/\/\/ <\/summary>\s*\n\s*)\[JsonExtensionData\]\s*\n\s*public IDictionary AdditionalProperties ({ get; set; }\s*.*\s*\/\/\/ Gets or sets the operation to perform on a document)/g, "$1 Gets the document on which the action will be performed; Fields other than the key are ignored for delete actions. $2public T Document $3" ).
replace( /(IndexWithHttpMessagesAsync)\((IndexBatch)/g, "$1($2" )
-####
- # Make the constructors and AdditionalProperties property of FacetResult internal.
- - from: source-file-csharp
- where: $
- transform: >-
- return $.
- replace( /public (FacetResult\()/g, "internal $1" ).
- replace( /public (IDictionary AdditionalProperties { get; set; }\s*.*\s*\/\/\/ Gets the approximate count of documents falling within the bucket)/g, "internal $1" )
-####
- # Make SearchResult and DocumentSearchResult generic so we can tell the deserializer what type to instantiate.
- # For SearchResult, this means we also have to replace AdditionalProperties with a property of the generic type.
- - from: source-file-csharp
- where: $
- transform: >-
- return $.
- replace( /(public partial class DocumentSearchResult)/g, "$1" ).
- replace( /(IList" ).
- replace( /(public partial class SearchResult)/g, "$1" ).
- replace( /(SearchResult class.\s*\/\/\/ <\/summary>\s*)\/\/\/ Unmatched properties from the\s*\/\/\/ message are deserialized this collection<\/param>/g, "$1/// The document found by the search query." ).
- replace( /(public SearchResult)\(IDictionary additionalProperties = default\(IDictionary\),/g, "$1(T document = default(T)," ).
- replace( /(public SearchResult\(.*\)\s*{\s*)AdditionalProperties = additionalProperties;/g, "$1Document = document;" ).
- replace( /(\/\/\/ \s*\/\/\/) Gets or sets unmatched properties from the message are deserialized\s*\/\/\/ this collection(\s*\/\/\/ <\/summary>\s*)\[JsonExtensionData\]\s*public IDictionary AdditionalProperties { get; set; }(\s*.*\s*\/\/\/ Gets the relevance score of the document compared to other)/g, "$1 Gets the document found by the search query. $2public T Document { get; private set; }$3" ).
- replace( /(SearchGetWithHttpMessagesAsync)/g, "$1" ).
- replace( /(SearchPostWithHttpMessagesAsync)/g, "$1" ).
- replace( /(AzureOperationResponse" ).
- replace( /(DeserializeObject" )
-####
- # Make DocumentSearchResult.NextPageParameters and NextLink internal. The public interface for continuations has
- # historically been the custom-written SearchContinuationToken class, and we want to maintain that for backward
- # compatibility. Also, NextPageParameters is of type SearchRequest, which is internal. For this reason, we also need
- # to make the DocumentSearchResult constructors internal.
- - from: source-file-csharp
- where: $
- transform: >-
- return $.
- replace( /public (SearchRequest NextPageParameters { get; private set; })/g, "internal $1" ).
- replace( /public (string NextLink { get; private set; })/g, "internal $1" ).
- replace( /public (DocumentSearchResult\()/g, "internal $1" )
-####
- # Improve documentation for SearchParameters and make the ScoringParameters property strongly-typed for ease of use
- # and backward compatibility.
- # TODO: Remove the check for JsonIgnore in the ScoringParameters regex below once we have the ability to target
- # specific files. It is currently necessary in order to only modify the property in SearchParameters and not
- # SearchRequest.
- - from: source-file-csharp
- where: $
- transform: >-
- return $.
- replace( /(\/\/\/) Additional parameters for SearchGet operation./g, "$1 Parameters for filtering, sorting, faceting, paging, and other search query behaviors." ).
- replace( /(public SearchParameters\(.*IList<)string(> scoringParameters = default\(IList<)string/g, "$1ScoringParameter$2ScoringParameter" ).
- replace( /(public IList<)string(> ScoringParameters { get; set; }\s*.*\s*.*\s*.*\s*.*\s*\[Newtonsoft.Json.JsonIgnore\])/g, "$1ScoringParameter$2" ).
- replace( /(IList<)string(> scoringParameters = default\(IList<)string(>\);\s*if \(searchParameters != null\))/g, "$1ScoringParameter$2ScoringParameter$3" )
-####
- # Split the generated SearchGet and SearchPost methods into separate parts so we can re-use them for ContinueSearch.
- # TODO: Simplify the regexes below once we have the ability to target specific files. Later, remove this entirely once
- # AutoRest has more flexibility around paging (the current x-ms-pageable implementation doesn't work for us because it
- # doesn't model additional top-level response properties or continuation POST requests).
- - from: source-file-csharp
- where: $
- transform: >-
- return $.
- replace( /(Task>>) (SearchGetWithHttpMessagesAsync)\((.*), (Newtonsoft.Json.JsonSerializerSettings requestSerializerSettings = null, Newtonsoft.Json.JsonSerializerSettings responseDeserializerSettings = null)\);/g, "$1 $2($3, $4);\n\n $1 Continue$2(string url, System.Guid? clientRequestId, Dictionary> customHeaders, bool shouldTrace, string invocationId, CancellationToken cancellationToken, $4);\n" ).
- replace( /(Task>>) (SearchPostWithHttpMessagesAsync)\((.*), (Newtonsoft.Json.JsonSerializerSettings requestSerializerSettings = null, Newtonsoft.Json.JsonSerializerSettings responseDeserializerSettings = null)\);/g, "$1 $2($3, $4);\n\n $1 Continue$2(string url, SearchRequest searchRequest, System.Guid? clientRequestId, Dictionary> customHeaders, bool shouldTrace, string invocationId, CancellationToken cancellationToken, $4);\n" ).
- replace( /(_queryParameters.Add\(string.Format\("searchMode=\{0\}",.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*)(\/\/ Create HTTP transport objects)/g, "$1return await ContinueSearchGetWithHttpMessagesAsync(_url, clientRequestId, customHeaders, _shouldTrace, _invocationId, cancellationToken, requestSerializerSettings, responseDeserializerSettings).ConfigureAwait(false);\n }\n\n public async Task>> ContinueSearchGetWithHttpMessagesAsync(string _url, System.Guid? clientRequestId, Dictionary> customHeaders, bool _shouldTrace, string _invocationId, CancellationToken cancellationToken, JsonSerializerSettings requestSerializerSettings, JsonSerializerSettings responseDeserializerSettings)\n {\n $2" ).
- replace( /(docs\/search.post.search.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*.*\s*)(\/\/ Create HTTP transport objects)/g, "$1return await ContinueSearchPostWithHttpMessagesAsync(_url, searchRequest, clientRequestId, customHeaders, _shouldTrace, _invocationId, cancellationToken, requestSerializerSettings, responseDeserializerSettings);\n }\n\n public async Task>> ContinueSearchPostWithHttpMessagesAsync(string _url, SearchRequest searchRequest, System.Guid? clientRequestId, Dictionary> customHeaders, bool _shouldTrace, string _invocationId, CancellationToken cancellationToken, JsonSerializerSettings requestSerializerSettings, JsonSerializerSettings responseDeserializerSettings)\n {\n $2" )
```
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCreateOrUpdateServiceWithIdentity.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCreateOrUpdateServiceWithIdentity.json
deleted file mode 100644
index 4f7cdf3f1f60..000000000000
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchCreateOrUpdateServiceWithIdentity.json
+++ /dev/null
@@ -1,81 +0,0 @@
-{
- "parameters": {
- "searchServiceName": "mysearchservice",
- "resourceGroupName": "rg1",
- "api-version": "2015-08-19",
- "subscriptionId": "subid",
- "service": {
- "location": "westus",
- "tags": {
- "app-name": "My e-commerce app"
- },
- "sku": {
- "name": "standard"
- },
- "properties": {
- "replicaCount": 3,
- "partitionCount": 1,
- "hostingMode": "default"
- },
- "identity": {
- "type": "SystemAssigned"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
- "name": "mysearchservice",
- "location": "westus",
- "type": "Microsoft.Search/searchServices",
- "tags": {
- "app-name": "My e-commerce app"
- },
- "sku": {
- "name": "standard"
- },
- "properties":{
- "replicaCount": 3,
- "partitionCount": 1,
- "status": "provisioning",
- "statusDetails": "",
- "hostingMode": "default",
- "provisioningState": "provisioning"
- },
- "identity": {
- "type": "SystemAssigned",
- "principalId": "9d1e1f18-2122-4988-a11c-878782e40a5c",
- "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
- "name": "mysearchservice",
- "location": "westus",
- "type": "Microsoft.Search/searchServices",
- "tags": {
- "app-name": "My e-commerce app"
- },
- "sku": {
- "name": "standard"
- },
- "properties":{
- "replicaCount": 3,
- "partitionCount": 1,
- "status": "provisioning",
- "statusDetails": "",
- "hostingMode": "default",
- "provisioningState": "provisioning"
- },
- "identity": {
- "type": "SystemAssigned",
- "principalId": "9d1e1f18-2122-4988-a11c-878782e40a5c",
- "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchUpdateServiceToRemoveIdentity.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchUpdateServiceToRemoveIdentity.json
deleted file mode 100644
index abc3c96c5c68..000000000000
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/examples/SearchUpdateServiceToRemoveIdentity.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- "parameters": {
- "searchServiceName": "mysearchservice",
- "resourceGroupName": "rg1",
- "api-version": "2015-08-19",
- "subscriptionId": "subid",
- "service": {
- "sku": {
- "name": "standard"
- },
- "identity": {
- "type": "None"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Search/searchServices/mysearchservice",
- "name": "mysearchservice",
- "location": "westus",
- "type": "Microsoft.Search/searchServices",
- "tags": {
- },
- "sku": {
- "name": "standard"
- },
- "properties":{
- "replicaCount": 3,
- "partitionCount": 1,
- "status": "running",
- "statusDetails": "",
- "hostingMode": "default",
- "provisioningState": "succeeded"
- },
- "identity": {
- "type": "None"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/search.json b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/search.json
index 170ba677e009..46922b618ba6 100644
--- a/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/search.json
+++ b/specification/search/resource-manager/Microsoft.Search/stable/2015-08-19/search.json
@@ -331,8 +331,7 @@
],
"operationId": "Services_CreateOrUpdate",
"x-ms-examples": {
- "SearchCreateOrUpdateService": { "$ref": "./examples/SearchCreateOrUpdateService.json" },
- "SearchCreateOrUpdateServiceWithIdentity": { "$ref": "./examples/SearchCreateOrUpdateServiceWithIdentity.json" }
+ "SearchCreateOrUpdateService": { "$ref": "./examples/SearchCreateOrUpdateService.json" }
},
"description": "Creates or updates a Search service in the given resource group. If the Search service already exists, all properties will be updated with the given values.",
"externalDocs": {
@@ -396,8 +395,7 @@
],
"operationId": "Services_Update",
"x-ms-examples": {
- "SearchUpdateService": { "$ref": "./examples/SearchUpdateService.json" },
- "SearchUpdateServiceToRemoveIdentity": { "$ref": "./examples/SearchUpdateServiceToRemoveIdentity.json" }
+ "SearchUpdateService": { "$ref": "./examples/SearchUpdateService.json" }
},
"description": "Updates an existing Search service in the given resource group.",
"externalDocs": {
@@ -1066,7 +1064,6 @@
"type": "string",
"description": "The identity type.",
"enum": [
- "None",
"SystemAssigned"
],
"x-ms-enum": {
diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2018-06-01/pricings.json b/specification/security/resource-manager/Microsoft.Security/stable/2018-06-01/pricings.json
index 0e9a4a7e1692..b5d70052f1e5 100644
--- a/specification/security/resource-manager/Microsoft.Security/stable/2018-06-01/pricings.json
+++ b/specification/security/resource-manager/Microsoft.Security/stable/2018-06-01/pricings.json
@@ -189,7 +189,7 @@
]
}
},
- "freeTrialRemainingTime": {
+ "FreeTrialRemainingTime": {
"type": "string",
"format": "duration",
"readOnly": true,
diff --git a/specification/security/resource-manager/readme.csharp.md b/specification/security/resource-manager/readme.csharp.md
deleted file mode 100644
index b02e99f65eb3..000000000000
--- a/specification/security/resource-manager/readme.csharp.md
+++ /dev/null
@@ -1,34 +0,0 @@
-## C#
-
-These settings apply only when `--csharp` is specified on the command line.
-Please also specify `--csharp-sdks-folder=`.
-
-## Common C# settings
-
-``` yaml $(csharp)
-csharp:
- azure-arm: true
- license-header: MICROSOFT_MIT_NO_VERSION
- payload-flattening-threshold: 2
- clear-output-folder: true
-```
-
-``` yaml $(csharp) && !$(multiapi) && !$(profile)
- namespace: Microsoft.Azure.Management.Security
- output-folder: $(csharp-sdks-folder)/SecurityCenter/Management.SecurityCenter/Generated
-```
-
-## Batch settings
-These settings are for batch mode only: (ie, add `--multiapi` to the command line )
-
-``` yaml $(multiapi)
-namespace: Microsoft.Azure.Management.Security.$(ApiVersionName)
-output-folder: $(csharp-sdks-folder)/$(ApiVersionName)/Generated
-
-batch:
- - tag: package-composite-v1
- ApiVersionName: package_composite_v1
-
- - tag: package-composite-v2
- ApiVersionName: package_composite_v2
-```
\ No newline at end of file
diff --git a/specification/security/resource-manager/readme.go.md b/specification/security/resource-manager/readme.go.md
index c1fa9025b582..7aff2b222cfc 100644
--- a/specification/security/resource-manager/readme.go.md
+++ b/specification/security/resource-manager/readme.go.md
@@ -9,12 +9,11 @@ go:
clear-output-folder: true
```
-### Common Go settings
+### Go multi-api
```yaml $(go) && $(multiapi)
batch:
- tag: package-composite-v1
- - tag: package-composite-v2
```
### Tag: package-composite-v1 and go
@@ -23,14 +22,5 @@ These settings apply only when `--tag=package-composite-v1 --go` is specified on
Please also specify `--go-sdk-folder=`.
```yaml $(tag) == 'package-composite-v1' && $(go)
-output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/v1.0/$(namespace)
-```
-
-### Tag: package-composite-v2 and go
-
-These settings apply only when `--tag=package-composite-v2 --go` is specified on the command line.
-Please also specify `--go-sdk-folder=`.
-
-```yaml $(tag) == 'package-composite-v2' && $(go)
-output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/v2.0/$(namespace)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2017-08-01-preview/$(namespace)
```
diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md
index 071d9f0aebeb..9b85bf655a06 100644
--- a/specification/security/resource-manager/readme.md
+++ b/specification/security/resource-manager/readme.md
@@ -38,7 +38,7 @@ These are the global settings for the Security API.
title: SecurityCenter
description: API spec for Microsoft.Security (Azure Security Center) resource provider
openapi-type: arm
-tag: package-composite-v2
+tag: package-composite-v1
```
## Composite packages
@@ -74,35 +74,6 @@ override-info:
title: SecurityCenter
```
-### Tag: package-composite-v2
-
-These settings apply only when `--tag=package-composite-v2` is specified on the command line.
-
-```yaml $(tag) == 'package-composite-v2'
-input-file:
-- Microsoft.Security/stable/2018-06-01/pricings.json
-- Microsoft.Security/preview/2017-08-01-preview/securityContacts.json
-- Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json
-- Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json
-- Microsoft.Security/preview/2017-08-01-preview/compliances.json
-- Microsoft.Security/preview/2017-08-01-preview/advancedThreatProtectionSettings.json
-- Microsoft.Security/preview/2017-08-01-preview/settings.json
-- Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json
-- Microsoft.Security/preview/2015-06-01-preview/operations.json
-- Microsoft.Security/preview/2015-06-01-preview/locations.json
-- Microsoft.Security/preview/2015-06-01-preview/tasks.json
-- Microsoft.Security/stable/2019-01-01/alerts.json
-- Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json
-- Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json
-- Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json
-- Microsoft.Security/preview/2015-06-01-preview/topologies.json
-- Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json
-
-# Needed when there is more than one input file
-override-info:
- title: SecurityCenter
-```
-
---
# Code Generation
@@ -122,7 +93,18 @@ swagger-to-sdk:
## C#
-See configuration in [readme.csharp.md](./readme.csharp.md)
+These settings apply only when `--csharp` is specified on the command line.
+Please also specify `--csharp-sdks-folder=`.
+
+```yaml $(csharp)
+csharp:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ namespace: Microsoft.Azure.Management.Security
+ payload-flattening-threshold: 2
+ output-folder: $(csharp-sdks-folder)/SecurityCenter/Management.SecurityCenter/Generated
+ clear-output-folder: true
+```
## Go
@@ -138,8 +120,4 @@ See configuration in [readme.nodejs.md](./readme.nodejs.md)
## TypeScript
-See configuration in [readme.typescript.md](./readme.typescript.md)
-
-## Ruby
-
-See configuration in [readme.ruby.md](./readme.ruby.md)
\ No newline at end of file
+See configuration in [readme.typescript.md](./readme.typescript.md)
\ No newline at end of file
diff --git a/specification/security/resource-manager/readme.ruby.md b/specification/security/resource-manager/readme.ruby.md
deleted file mode 100644
index 475b93b981df..000000000000
--- a/specification/security/resource-manager/readme.ruby.md
+++ /dev/null
@@ -1,38 +0,0 @@
-## Ruby
-
-These settings apply only when `--ruby` is specified on the command line.
-Please also specify `--node-sdks-folder=`.
-
-``` yaml
-package-name: azure_mgmt_security
-package-version: "1.0.0"
-azure-arm: true
-```
-
-### Ruby multi-api
-
-``` yaml $(ruby) && $(multiapi)
-batch:
- - tag: package-composite-v1
- - tag: package-composite-v2
-```
-
-### Tag: package-composite-v1 and ruby
-
-These settings apply only when `--tag=package-composite-v1 --ruby` is specified on the command line.
-Please also specify `--ruby-sdks-folder=`.
-
-``` yaml $(tag) == 'package-composite-v1' && $(ruby)
- namespace: "Azure::Security::Mgmt::package_composite_v1"
- output-folder: $(ruby-sdks-folder)/management/azure_mgmt_security/lib
-```
-
-### Tag: package-composite-v2 and ruby
-
-These settings apply only when `--tag=package-composite-v2 --ruby` is specified on the command line.
-Please also specify `--ruby-sdks-folder=`.
-
-``` yaml $(tag) == 'package-composite-v2' && $(ruby)
- namespace: "Azure::Security::Mgmt::package_composite_v2"
- output-folder: $(ruby-sdks-folder)/management/azure_mgmt_security/lib
-```
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterDelete.json
deleted file mode 100644
index 3f42e93cfa03..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterDelete.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "20d7082a-0fc7-4468-82bd-542694d5042b",
- "resourceGroupName": "testrg",
- "virtualClusterName": "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2",
- "api-version": "2015-05-01-preview"
- },
- "responses" : {
- "200" : {
- "body" : ""
- },
- "202" : {},
- "204" : {
- "body" : ""
- }
- }
-}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterGet.json
deleted file mode 100644
index db15c5f86827..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterGet.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "20d7082a-0fc7-4468-82bd-542694d5042b",
- "resourceGroupName": "testrg",
- "virtualClusterName": "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2",
- "api-version": "2015-05-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "properties": {
- "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
- "family": "Gen4",
- "childResources": [
- "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance1",
- "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance2"
- ]
- },
- "location": "westeurope",
- "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/virtualClusters/vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2",
- "name": "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2",
- "type": "Microsoft.Sql/virtualClusters"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterList.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterList.json
deleted file mode 100644
index f0a6716337b5..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterList.json
+++ /dev/null
@@ -1,40 +0,0 @@
-{
- "parameters" : {
- "subscriptionId" : "20d7082a-0fc7-4468-82bd-542694d5042b",
- "api-version" : "2015-05-01-preview"
- },
- "responses" : {
- "200" : {
- "body" : {
- "value" : [{
- "properties" : {
- "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
- "family": "Gen4",
- "childResources" : [
- "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance1",
- "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance2"
- ]
- },
- "location" : "westeurope",
- "id" : "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/virtualClusters/vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2",
- "name" : "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2",
- "type" : "Microsoft.Sql/virtualClusters"
- }, {
- "properties" : {
- "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/subnet2",
- "family": "Gen5",
- "childResources" : [
- "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance3",
- "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance4"
- ]
- },
- "location" : "westeurope",
- "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/virtualClusters/vc-subnet2-14b795bd-9c8f-46ec-adb8-2b8eff56ac16",
- "name" : "vc-subnet1-14b795bd-9c8f-46ec-adb8-2b8eff56ac16",
- "type" : "Microsoft.Sql/virtualClusters"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterListByResourceGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterListByResourceGroup.json
deleted file mode 100644
index 09c91aaad600..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterListByResourceGroup.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "parameters" : {
- "subscriptionId" : "20d7082a-0fc7-4468-82bd-542694d5042b",
- "resourceGroupName" : "testrg",
- "api-version" : "2015-05-01-preview"
- },
- "responses" : {
- "200" : {
- "body" : {
- "value" : [{
- "properties" : {
- "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
- "family": "Gen4",
- "childResources" : [
- "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance1",
- "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance2"
- ]
- },
- "location" : "westeurope",
- "id" : "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/virtualClusters/vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2",
- "name" : "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2",
- "type" : "Microsoft.Sql/virtualClusters"
- }, {
- "properties" : {
- "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/subnet2",
- "family": "Gen4",
- "childResources" : [
- "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance3",
- "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance4"
- ]
- },
- "location" : "westeurope",
- "id" : "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/virtualClusters/vc-subnet2-14b795bd-9c8f-46ec-adb8-2b8eff56ac16",
- "name" : "vc-subnet1-14b795bd-9c8f-46ec-adb8-2b8eff56ac16",
- "type" : "Microsoft.Sql/virtualClusters"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterUpdate.json
deleted file mode 100644
index ca3bb3311102..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/examples/VirtualClusterUpdate.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "20d7082a-0fc7-4468-82bd-542694d5042b",
- "resourceGroupName": "testrg",
- "virtualClusterName": "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2",
- "api-version": "2015-05-01-preview",
- "parameters": {
- "tags": {
- "tagKey1": "TagValue1"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "tags": {
- "tagKey1": "TagValue1"
- },
- "properties": {
- "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
- "childResources": [
- "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance1",
- "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance2"
- ]
- },
- "location": "westeurope",
- "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/virtualClusters/vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2",
- "name": "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2",
- "type": "Microsoft.Sql/virtualClusters"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/managedInstances.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/managedInstances.json
index e840451aabf1..c8c7b050df76 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/managedInstances.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/managedInstances.json
@@ -386,7 +386,7 @@
"type": "string"
},
"timezoneId": {
- "description": "Id of the timezone. Allowed values are timezones supported by Windows.\r\nWindows keeps details on supported timezones, including the id, in registry under\r\nKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones.\r\nYou can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM sys.time_zone_info.\r\nList of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell.\r\nAn example of valid timezone id is \"Pacific Standard Time\" or \"W. Europe Standard Time\".",
+ "description": "Id of the timezone. Allowed values are timezones supported by Windows.\r\nWinodws keeps details on supported timezones, including the id, in registry under\r\nKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones.\r\nYou can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM sys.time_zone_info.\r\nList of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell.\r\nAn example of valid timezone id is \"Pacific Standard Time\" or \"W. Europe Standard Time\".",
"type": "string",
"x-ms-mutability": [
"read",
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/virtualclusters.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/virtualclusters.json
deleted file mode 100644
index 2a0b9b040157..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2015-05-01-preview/virtualclusters.json
+++ /dev/null
@@ -1,453 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2015-05-01-preview",
- "title": "SqlManagementClient",
- "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities."
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/virtualClusters": {
- "get": {
- "tags": [
- "VirtualClusters"
- ],
- "description": "Gets a list of all virtualClusters in the subscription.",
- "operationId": "VirtualClusters_List",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved the list of virtual clusters.",
- "schema": {
- "$ref": "#/definitions/VirtualClusterListResult"
- }
- },
- "default": {
- "description": "*** Error Responses: ***"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List virtualClusters": {
- "$ref": "./examples/VirtualClusterList.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/virtualClusters": {
- "get": {
- "tags": [
- "VirtualClusters"
- ],
- "description": "Gets a list of virtual clusters in a resource group.",
- "operationId": "VirtualClusters_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved the list of virtual clusters.",
- "schema": {
- "$ref": "#/definitions/VirtualClusterListResult"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 404 ResourceDoesNotExist - Resource with the name '{0}' does not exist. To continue, specify a valid resource name.\n\n * 404 VirtualClusterNotInSubscriptionResourceGroup - specified virtual cluster does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveVirtualCluster - The requested virtual cluster was not found\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 409 ConflictingVirtualClusterOperation - An operation is currently in progress for the virtual cluster.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List virtual clusters by resource group": {
- "$ref": "./examples/VirtualClusterListByResourceGroup.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/virtualClusters/{virtualClusterName}": {
- "get": {
- "tags": [
- "VirtualClusters"
- ],
- "description": "Gets a virtual cluster.",
- "operationId": "VirtualClusters_Get",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/VirtualClusterNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved the specified virtual cluster.",
- "schema": {
- "$ref": "#/definitions/VirtualCluster"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 404 ResourceDoesNotExist - Resource with the name '{0}' does not exist. To continue, specify a valid resource name.\n\n * 404 VirtualClusterNotInSubscriptionResourceGroup - specified virtual cluster does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveVirtualCluster - The requested virtual cluster was not found\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 409 ConflictingVirtualClusterOperation - An operation is currently in progress for the virtual cluster.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription."
- }
- },
- "x-ms-examples": {
- "Get virtual cluster": {
- "$ref": "./examples/VirtualClusterGet.json"
- }
- }
- },
- "delete": {
- "tags": [
- "VirtualClusters"
- ],
- "description": "Deletes a virtual cluster.",
- "operationId": "VirtualClusters_Delete",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/VirtualClusterNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully deleted the virtual cluster."
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 404 ResourceDoesNotExist - Resource with the name '{0}' does not exist. To continue, specify a valid resource name.\n\n * 404 VirtualClusterNotInSubscriptionResourceGroup - specified virtual cluster does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveVirtualCluster - The requested virtual cluster was not found\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 409 ConflictingVirtualClusterOperation - An operation is currently in progress for the virtual cluster.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation."
- },
- "202": {
- "description": "Deleting the virtual cluster is in progress."
- },
- "204": {
- "description": "The specified virtual cluster does not exist."
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Delete virtual cluster": {
- "$ref": "./examples/VirtualClusterDelete.json"
- }
- }
- },
- "patch": {
- "tags": [
- "VirtualClusters"
- ],
- "description": "Updates a virtual cluster.",
- "operationId": "VirtualClusters_Update",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/VirtualClusterNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "description": "The requested managed instance resource state.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/VirtualClusterUpdate"
- }
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully updated the virtual cluster.",
- "schema": {
- "$ref": "#/definitions/VirtualCluster"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 ManagementServiceFeatureDisabled - User attempted to use a feature which is disabled.\n\n * 404 ResourceDoesNotExist - Resource with the name '{0}' does not exist. To continue, specify a valid resource name.\n\n * 404 VirtualClusterNotInSubscriptionResourceGroup - specified virtual cluster does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveVirtualCluster - The requested virtual cluster was not found\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 409 ConflictingVirtualClusterOperation - An operation is currently in progress for the virtual cluster.\n\n * 429 ConflictingSubscriptionOperation - An operation is currently in progress for the subscription."
- },
- "202": {
- "description": "Accepted"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Update virtual cluster with tags": {
- "$ref": "./examples/VirtualClusterUpdate.json"
- }
- }
- }
- }
- },
- "definitions": {
- "VirtualClusterListResult": {
- "description": "A list of virtual clusters.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Array of results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/VirtualCluster"
- },
- "readOnly": true
- },
- "nextLink": {
- "description": "Link to retrieve next page of results.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "VirtualClusterProperties": {
- "description": "The properties of a virtual cluster.",
- "type": "object",
- "properties": {
- "subnetId": {
- "description": "Subnet resource ID for the virtual cluster.",
- "type": "string",
- "readOnly": true
- },
- "family": {
- "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.",
- "type": "string"
- },
- "childResources": {
- "description": "List of resources in this virtual cluster.",
- "type": "array",
- "items": {
- "type": "string"
- },
- "readOnly": true
- }
- }
- },
- "Resource": {
- "description": "ARM resource.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Resource ID.",
- "type": "string",
- "readOnly": true
- },
- "name": {
- "description": "Resource name.",
- "type": "string",
- "readOnly": true
- },
- "type": {
- "description": "Resource type.",
- "type": "string",
- "readOnly": true
- }
- },
- "x-ms-azure-resource": true
- },
- "TrackedResource": {
- "description": "ARM tracked top level resource.",
- "required": [
- "location"
- ],
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "location": {
- "description": "Resource location.",
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- },
- "tags": {
- "description": "Resource tags.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- }
- }
- },
- "VirtualCluster": {
- "description": "An Azure SQL virtual cluster.",
- "required": [
- "location"
- ],
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/TrackedResource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/VirtualClusterProperties",
- "description": "Resource properties.",
- "x-ms-client-flatten": true
- }
- }
- },
- "VirtualClusterUpdate": {
- "description": "An update request for an Azure SQL Database virtual cluster.",
- "type": "object",
- "properties": {
- "properties": {
- "$ref": "#/definitions/VirtualClusterProperties",
- "description": "Resource properties.",
- "x-ms-client-flatten": true
- },
- "tags": {
- "description": "Resource tags.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- }
- }
- }
- },
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "description": "The subscription ID that identifies an Azure subscription.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "client"
- },
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "description": "The API version to use for the request.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "client"
- },
- "ResourceGroupParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "ServerNameParameter": {
- "name": "serverName",
- "in": "path",
- "description": "The name of the server.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "ManagedInstanceNameParameter": {
- "name": "managedInstanceName",
- "in": "path",
- "description": "The name of the managed instance.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "DatabaseNameParameter": {
- "name": "databaseName",
- "in": "path",
- "description": "The name of the database.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "BlobAuditingPolicyNameParameter": {
- "name": "blobAuditingPolicyName",
- "in": "path",
- "description": "The name of the blob auditing policy.",
- "required": true,
- "type": "string",
- "enum": [
- "default"
- ],
- "x-ms-parameter-location": "method"
- },
- "SqlVirtualMachineInstanceNameParameter": {
- "name": "sqlVirtualMachineInstanceName",
- "in": "path",
- "description": "The name of the SqlVirtualMachineInstance.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "SqlVirtualMachineContainerNameParameter": {
- "name": "sqlVirtualMachineContainerName",
- "in": "path",
- "description": "The name of the SqlVirtualMachineContainer.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "VirtualClusterNameParameter": {
- "name": "virtualClusterName",
- "in": "path",
- "description": "The name of the virtual cluster.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- },
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "description": "Azure Active Directory OAuth2 Flow",
- "flow": "implicit",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedDatabaseSecurityAlertPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedDatabaseSecurityAlertPolicies.json
index d2689712b89b..e9c7dfb489f3 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedDatabaseSecurityAlertPolicies.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedDatabaseSecurityAlertPolicies.json
@@ -159,59 +159,6 @@
}
}
}
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/securityAlertPolicies": {
- "get": {
- "tags": [
- "ManagedDatabaseSecurityAlertPolicies"
- ],
- "description": "Gets a list of managed database's security alert policies.",
- "operationId": "ManagedDatabaseSecurityAlertPolicies_ListByDatabase",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "name": "managedInstanceName",
- "in": "path",
- "description": "The name of the managed instance.",
- "required": true,
- "type": "string"
- },
- {
- "name": "databaseName",
- "in": "path",
- "description": "The name of the managed database for which the security alert policies are defined.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved the managed database security alert policies.",
- "schema": {
- "$ref": "#/definitions/ManagedDatabaseSecurityAlertPolicyListResult"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountCredentials - The provided storage account access key is not valid.\n\n * 400 InvalidServerSecurityAlertPolicyCreateRequest - The create server Threat Detection security alert policy request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 400 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 400 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 409 ServerSecurityAlertPolicyInProgress - Set server security alert policy is already in progress\n\n * 409 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later.\n\n * 500 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 GetServerSecurityAlertPolicyFailed - Failed to get Threat Detection settings"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "Get a list of the database's threat detection policies.": {
- "$ref": "./examples/ManagedDatabaseSecurityAlertListByDatabase.json"
- }
- }
- }
}
},
"definitions": {
@@ -223,7 +170,7 @@
"type": "object",
"properties": {
"state": {
- "description": "Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database.",
+ "description": "Specifies the state of the policy, whether it is enabled or disabled.",
"enum": [
"New",
"Enabled",
@@ -289,25 +236,6 @@
"x-ms-client-flatten": true
}
}
- },
- "ManagedDatabaseSecurityAlertPolicyListResult": {
- "description": "A list of the managed database's security alert policies.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Array of results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ManagedDatabaseSecurityAlertPolicy"
- },
- "readOnly": true
- },
- "nextLink": {
- "description": "Link to retrieve next page of results.",
- "type": "string",
- "readOnly": true
- }
- }
}
},
"parameters": {
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedServerSecurityAlertPolicy.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedServerSecurityAlertPolicy.json
index 24664c4631eb..e7e4e739553b 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedServerSecurityAlertPolicy.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/ManagedServerSecurityAlertPolicy.json
@@ -135,48 +135,6 @@
}
}
}
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/securityAlertPolicies": {
- "get": {
- "tags": [
- "ManagedServerSecurityAlertPolicies"
- ],
- "description": "Get the managed server's threat detection policies.",
- "operationId": "ManagedServerSecurityAlertPolicies_ListByInstance",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ManagedInstanceNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved the managed server threat detection policies.",
- "schema": {
- "$ref": "#/definitions/ManagedServerSecurityAlertPolicyListResult"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountCredentials - The provided storage account access key is not valid.\n\n * 400 InvalidServerSecurityAlertPolicyCreateRequest - The create server Threat Detection security alert policy request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 400 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 400 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 409 ServerSecurityAlertPolicyInProgress - Set server security alert policy is already in progress\n\n * 409 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later.\n\n * 500 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 GetServerSecurityAlertPolicyFailed - Failed to get Threat Detection settings"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "Get the managed server's threat detection policies": {
- "$ref": "./examples/ManagedServerSecurityAlertListByInstance.json"
- }
- }
- }
}
},
"definitions": {
@@ -188,7 +146,7 @@
"type": "object",
"properties": {
"state": {
- "description": "Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database.",
+ "description": "Specifies the state of the policy, whether it is enabled or disabled.",
"enum": [
"New",
"Enabled",
@@ -254,25 +212,6 @@
"x-ms-client-flatten": true
}
}
- },
- "ManagedServerSecurityAlertPolicyListResult": {
- "description": "A list of the managed Server's security alert policies.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Array of results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ManagedServerSecurityAlertPolicy"
- },
- "readOnly": true
- },
- "nextLink": {
- "description": "Link to retrieve next page of results.",
- "type": "string",
- "readOnly": true
- }
- }
}
},
"parameters": {
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertListByDatabase.json
deleted file mode 100644
index 82930bce8189..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedDatabaseSecurityAlertListByDatabase.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-6852",
- "managedInstanceName": "securityalert-2080",
- "databaseName": "testdb",
- "api-version": "2017-03-01=preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-6852/providers/Microsoft.Sql/managedInstances/securityalert-2080/databases/testdb",
- "name": "default",
- "type": "Microsoft.Sql/managedInstances/databases/securityAlertPolicies",
- "location": "Japan East",
- "kind": "V12",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": "true",
- "emailAddresses": ["test@microsoft.com","user@microsoft.com"],
- "disabledAlerts": ["Usage_Anomaly"],
- "retentionDays": 0,
- "storageAccountAccessKey": "",
- "storageEndpoint": ""
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorCreate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorCreate.json
deleted file mode 100644
index 1cdca2d08572..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorCreate.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "managedInstanceName": "managedInstance",
- "administratorName": "ActiveDirectory",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "properties": {
- "administratorType": "ActiveDirectory",
- "login": "bob@contoso.com",
- "sid": "44444444-3333-2222-1111-000000000000",
- "tenantId": "55555555-4444-3333-2222-111111111111"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory",
- "location": "southeastasia",
- "name": "ActiveDirectory",
- "properties": {
- "administratorType": "ActiveDirectory",
- "login": "bob@contoso.com",
- "sid": "44444444-3333-2222-1111-000000000000",
- "tenantId": "55555555-4444-3333-2222-111111111111"
- },
- "type": "Microsoft.Sql/managedInstances/administrators"
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory",
- "location": "southeastasia",
- "name": "ActiveDirectory",
- "properties": {
- "administratorType": "ActiveDirectory",
- "login": "bob@contoso.com",
- "sid": "44444444-3333-2222-1111-000000000000",
- "tenantId": "55555555-4444-3333-2222-111111111111"
- },
- "type": "Microsoft.Sql/managedInstances/administrators"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorDelete.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorDelete.json
deleted file mode 100644
index 528536cb9116..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorDelete.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "managedInstanceName": "managedInstance",
- "administratorName": "ActiveDirectory",
- "api-version": "2017-03-01-preview"
- },
- "responses" : {
- "200" : {
- "body" : ""
- },
- "202" : {}
- }
-}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorGet.json
deleted file mode 100644
index 1fe81559ed4d..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorGet.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "managedInstanceName": "managedInstance",
- "administratorName": "ActiveDirectory",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory",
- "location": "southeastasia",
- "name": "ActiveDirectory",
- "properties": {
- "administratorType": "ActiveDirectory",
- "login": "bob@contoso.com",
- "sid": "44444444-3333-2222-1111-000000000000",
- "tenantId": "55555555-4444-3333-2222-111111111111"
- },
- "type": "Microsoft.Sql/managedInstances/administrators"
- }
- }
- }
-}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorListByInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorListByInstance.json
deleted file mode 100644
index c67a4ba6478c..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorListByInstance.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "managedInstanceName": "managedInstance",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory",
- "location": "southeastasia",
- "name": "ActiveDirectory",
- "properties": {
- "administratorType": "ActiveDirectory",
- "login": "bob@contoso.com",
- "sid": "44444444-3333-2222-1111-000000000000",
- "tenantId": "55555555-4444-3333-2222-111111111111"
- },
- "type": "Microsoft.Sql/managedInstances/administrators"
- }
- ]
- }
- }
- }
-}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorUpdate.json
deleted file mode 100644
index 1cdca2d08572..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedInstanceAdministratorUpdate.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "Default-SQL-SouthEastAsia",
- "managedInstanceName": "managedInstance",
- "administratorName": "ActiveDirectory",
- "api-version": "2017-03-01-preview",
- "parameters": {
- "properties": {
- "administratorType": "ActiveDirectory",
- "login": "bob@contoso.com",
- "sid": "44444444-3333-2222-1111-000000000000",
- "tenantId": "55555555-4444-3333-2222-111111111111"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory",
- "location": "southeastasia",
- "name": "ActiveDirectory",
- "properties": {
- "administratorType": "ActiveDirectory",
- "login": "bob@contoso.com",
- "sid": "44444444-3333-2222-1111-000000000000",
- "tenantId": "55555555-4444-3333-2222-111111111111"
- },
- "type": "Microsoft.Sql/managedInstances/administrators"
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Sql/managedInstances/managedInstance/administrators/ActiveDirectory",
- "location": "southeastasia",
- "name": "ActiveDirectory",
- "properties": {
- "administratorType": "ActiveDirectory",
- "login": "bob@contoso.com",
- "sid": "44444444-3333-2222-1111-000000000000",
- "tenantId": "55555555-4444-3333-2222-111111111111"
- },
- "type": "Microsoft.Sql/managedInstances/administrators"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertListByInstance.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertListByInstance.json
deleted file mode 100644
index ebc42072d9d9..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ManagedServerSecurityAlertListByInstance.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "managedInstanceName": "securityalert-6440",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/managedInstances/securityalert-6440",
- "name": "Default",
- "type": "Microsoft.Sql/managedInstances/securityAlertPolicies",
- "properties": {
- "state": "Disabled",
- "emailAccountAdmins": true,
- "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ],
- "disabledAlerts": ["Access_Anomaly"],
- "retentionDays": 0,
- "storageAccountAccessKey": "",
- "storageEndpoint": ""
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsListByServer.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsListByServer.json
deleted file mode 100644
index cdf9e82f845e..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/examples/ServerSecurityAlertsListByServer.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/servers/securityalert-6440/securityAlertPolicies",
- "name": "Default",
- "type": "Microsoft.Sql/servers/securityAlertPolicies",
- "properties": {
- "state": "Disabled",
- "emailAccountAdmins": true,
- "emailAddresses": [ "test@microsoft.com;user@microsoft.com" ],
- "disabledAlerts": ["Access_Anomaly"],
- "retentionDays": 0,
- "storageAccountAccessKey": "",
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/managedInstanceAdministrators.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/managedInstanceAdministrators.json
deleted file mode 100644
index ece76ba2418a..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/managedInstanceAdministrators.json
+++ /dev/null
@@ -1,420 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2017-03-01-preview",
- "title": "SqlManagementClient",
- "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities."
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/administrators": {
- "get": {
- "tags": [
- "ManagedInstanceAdministrators"
- ],
- "description": "Gets a list of managed instance administrators.",
- "operationId": "ManagedInstanceAdministrators_ListByInstance",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ManagedInstanceNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved the list of managed instance administrators.",
- "schema": {
- "$ref": "#/definitions/ManagedInstanceAdministratorListResult"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 ManagedInstanceNotInSubscriptionResourceGroup - Specified managed instance does not exist in the specified resource group and subscription.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List administrators of managed instance": {
- "$ref": "./examples/ManagedInstanceAdministratorListByInstance.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/administrators/{administratorName}": {
- "get": {
- "tags": [
- "ManagedInstanceAdministrators"
- ],
- "description": "Gets a managed instance administrator.",
- "operationId": "ManagedInstanceAdministrators_Get",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ManagedInstanceNameParameter"
- },
- {
- "name": "administratorName",
- "in": "path",
- "description": "The administrator name.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved the specified managed instance administrator.",
- "schema": {
- "$ref": "#/definitions/ManagedInstanceAdministrator"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidManagedServerAdministratorType - Invalid administrator type specified in properties.\n\n * 400 InvalidResourceRequestBody - The resource or resource properties in the request body is empty or invalid.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 ManagedInstanceNotInSubscriptionResourceGroup - Specified managed instance does not exist in the specified resource group and subscription.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
- }
- },
- "x-ms-examples": {
- "Get administrator of managed instance": {
- "$ref": "./examples/ManagedInstanceAdministratorGet.json"
- }
- }
- },
- "put": {
- "tags": [
- "ManagedInstanceAdministrators"
- ],
- "description": "Creates or updates a managed instance administrator.",
- "operationId": "ManagedInstanceAdministrators_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ManagedInstanceNameParameter"
- },
- {
- "name": "administratorName",
- "in": "path",
- "description": "The requested administrator name.",
- "required": true,
- "type": "string"
- },
- {
- "name": "parameters",
- "in": "body",
- "description": "The requested administrator parameters.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ManagedInstanceAdministrator"
- }
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully updated the managed instance administrator.",
- "schema": {
- "$ref": "#/definitions/ManagedInstanceAdministrator"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidManagedServerAdministratorType - Invalid administrator type specified in properties.\n\n * 400 InvalidResourceRequestBody - The resource or resource properties in the request body is empty or invalid.\n\n * 400 InvalidParameterValue - An invalid value was given to a parameter.\n\n * 400 InvalidLoginName - The provided login name is invalid.\n\n * 400 PrincipalNotFoundInTenant - AzureAD Lookup returned no results for this name.\n\n * 400 ManagedInstanceIsBusy - Managed Instance is busy with another request.\n\n * 400 InvalidPrincipalType - This principal type is not supported in Windows Azure SQL Database.\n\n * 400 TenantNotFoundInActiveDirectory - Tenant is not available in active directory.\n\n * 400 InvalidUsername - Supplied user name contains invalid characters.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 ManagedInstanceNotInSubscriptionResourceGroup - Specified managed instance does not exist in the specified resource group and subscription.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 500 ActiveDirectoryLookupTimedOut - The operation could not be completed at this time. Please try again later.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
- },
- "202": {
- "description": "Accepted"
- },
- "201": {
- "description": "Successfully created the managed instance administrator.",
- "schema": {
- "$ref": "#/definitions/ManagedInstanceAdministrator"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Create administrator of managed instance": {
- "$ref": "./examples/ManagedInstanceAdministratorCreate.json"
- },
- "Update administrator of managed instance": {
- "$ref": "./examples/ManagedInstanceAdministratorUpdate.json"
- }
- }
- },
- "delete": {
- "tags": [
- "ManagedInstanceAdministrators"
- ],
- "description": "Deletes a managed instance administrator.",
- "operationId": "ManagedInstanceAdministrators_Delete",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ManagedInstanceNameParameter"
- },
- {
- "name": "administratorName",
- "in": "path",
- "description": "The administrator name.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully deleted the managed instance administrator."
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidManagedServerAdministratorType - Invalid administrator type specified in properties.\n\n * 400 InvalidResourceRequestBody - The resource or resource properties in the request body is empty or invalid.\n\n * 400 InvalidParameterValue - An invalid value was given to a parameter.\n\n * 400 InvalidLoginName - The provided login name is invalid.\n\n * 400 PrincipalNotFoundInTenant - AzureAD Lookup returned no results for this name.\n\n * 400 ManagedInstanceIsBusy - Managed Instance is busy with another request.\n\n * 400 InvalidPrincipalType - This principal type is not supported in Windows Azure SQL Database.\n\n * 400 TenantNotFoundInActiveDirectory - Tenant is not available in active directory.\n\n * 400 InvalidUsername - Supplied user name contains invalid characters.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 ManagedInstanceNotInSubscriptionResourceGroup - Specified managed instance does not exist in the specified resource group and subscription.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 500 ActiveDirectoryLookupTimedOut - The operation could not be completed at this time. Please try again later.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout."
- },
- "202": {
- "description": "Accepted"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Delete administrator of managed instance": {
- "$ref": "./examples/ManagedInstanceAdministratorDelete.json"
- }
- }
- }
- }
- },
- "definitions": {
- "ManagedInstanceAdministratorListResult": {
- "description": "A list of managed instance administrators.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Array of results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ManagedInstanceAdministrator"
- },
- "readOnly": true
- },
- "nextLink": {
- "description": "Link to retrieve next page of results.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "ManagedInstanceAdministratorProperties": {
- "description": "The properties of a managed instance administrator.",
- "required": [
- "administratorType",
- "login",
- "sid"
- ],
- "type": "object",
- "properties": {
- "administratorType": {
- "description": "Type of the managed instance administrator.",
- "enum": [
- "ActiveDirectory"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "ManagedInstanceAdministratorType",
- "modelAsString": true
- }
- },
- "login": {
- "description": "Login name of the managed instance administrator.",
- "type": "string"
- },
- "sid": {
- "format": "uuid",
- "description": "SID (object ID) of the managed instance administrator.",
- "type": "string"
- },
- "tenantId": {
- "format": "uuid",
- "description": "Tenant ID of the managed instance administrator.",
- "type": "string"
- }
- }
- },
- "Resource": {
- "description": "ARM resource.",
- "type": "object",
- "properties": {
- "id": {
- "description": "Resource ID.",
- "type": "string",
- "readOnly": true
- },
- "name": {
- "description": "Resource name.",
- "type": "string",
- "readOnly": true
- },
- "type": {
- "description": "Resource type.",
- "type": "string",
- "readOnly": true
- }
- },
- "x-ms-azure-resource": true
- },
- "ProxyResource": {
- "description": "ARM proxy resource.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {}
- },
- "ManagedInstanceAdministrator": {
- "description": "An Azure SQL managed instance administrator.",
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/ProxyResource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/ManagedInstanceAdministratorProperties",
- "description": "Resource properties.",
- "x-ms-client-flatten": true
- }
- }
- }
- },
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "description": "The subscription ID that identifies an Azure subscription.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "client"
- },
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "description": "The API version to use for the request.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "client"
- },
- "ResourceGroupParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "ServerNameParameter": {
- "name": "serverName",
- "in": "path",
- "description": "The name of the server.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "ManagedInstanceNameParameter": {
- "name": "managedInstanceName",
- "in": "path",
- "description": "The name of the managed instance.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "DatabaseNameParameter": {
- "name": "databaseName",
- "in": "path",
- "description": "The name of the database.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "BlobAuditingPolicyNameParameter": {
- "name": "blobAuditingPolicyName",
- "in": "path",
- "description": "The name of the blob auditing policy.",
- "required": true,
- "type": "string",
- "enum": [
- "default"
- ],
- "x-ms-parameter-location": "method"
- },
- "SqlVirtualMachineInstanceNameParameter": {
- "name": "sqlVirtualMachineInstanceName",
- "in": "path",
- "description": "The name of the SqlVirtualMachineInstance.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "SqlVirtualMachineContainerNameParameter": {
- "name": "sqlVirtualMachineContainerName",
- "in": "path",
- "description": "The name of the SqlVirtualMachineContainer.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "VirtualClusterNameParameter": {
- "name": "virtualClusterName",
- "in": "path",
- "description": "The name of the virtual cluster.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- },
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "description": "Azure Active Directory OAuth2 Flow",
- "flow": "implicit",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/serverSecurityAlertPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/serverSecurityAlertPolicies.json
index a04d538ba5fe..eeb43a2a1299 100644
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/serverSecurityAlertPolicies.json
+++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/serverSecurityAlertPolicies.json
@@ -135,48 +135,6 @@
}
}
}
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/securityAlertPolicies": {
- "get": {
- "tags": [
- "ServerSecurityAlertPolicies"
- ],
- "description": "Get the server's threat detection policies.",
- "operationId": "ServerSecurityAlertPolicies_ListByServer",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/ServerNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved the server threat detection policies.",
- "schema": {
- "$ref": "#/definitions/LogicalServerSecurityAlertPolicyListResult"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountCredentials - The provided storage account access key is not valid.\n\n * 400 InvalidServerSecurityAlertPolicyCreateRequest - The create server Threat Detection security alert policy request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 400 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 400 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 409 ServerSecurityAlertPolicyInProgress - Set server security alert policy is already in progress\n\n * 409 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later.\n\n * 500 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 GetServerSecurityAlertPolicyFailed - Failed to get Threat Detection settings"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List the server's threat detection policies": {
- "$ref": "./examples/ServerSecurityAlertsListByServer.json"
- }
- }
- }
}
},
"definitions": {
@@ -188,7 +146,7 @@
"type": "object",
"properties": {
"state": {
- "description": "Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database.",
+ "description": "Specifies the state of the policy, whether it is enabled or disabled.",
"enum": [
"New",
"Enabled",
@@ -230,12 +188,6 @@
"format": "int32",
"description": "Specifies the number of days to keep in the Threat Detection audit logs.",
"type": "integer"
- },
- "creationTime": {
- "format": "date-time",
- "description": "Specifies the UTC creation time of the policy.",
- "type": "string",
- "readOnly": true
}
}
},
@@ -254,25 +206,6 @@
"x-ms-client-flatten": true
}
}
- },
- "LogicalServerSecurityAlertPolicyListResult": {
- "description": "A list of the server's security alert policies.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Array of results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ServerSecurityAlertPolicy"
- },
- "readOnly": true
- },
- "nextLink": {
- "description": "Link to retrieve next page of results.",
- "type": "string",
- "readOnly": true
- }
- }
}
},
"parameters": {
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/DatabaseSecurityAlertPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/DatabaseSecurityAlertPolicies.json
deleted file mode 100644
index cb585915d5ec..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/DatabaseSecurityAlertPolicies.json
+++ /dev/null
@@ -1,409 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2018-06-01-preview",
- "title": "SqlManagementClient",
- "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities."
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/securityAlertPolicies/{securityAlertPolicyName}": {
- "get": {
- "tags": [
- "DatabaseSecurityAlertPolicies"
- ],
- "description": "Gets a database's security alert policy.",
- "operationId": "DatabaseSecurityAlertPolicies_Get",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "name": "serverName",
- "in": "path",
- "description": "The name of the server.",
- "required": true,
- "type": "string"
- },
- {
- "name": "databaseName",
- "in": "path",
- "description": "The name of the database for which the security alert policy is defined.",
- "required": true,
- "type": "string"
- },
- {
- "name": "securityAlertPolicyName",
- "in": "path",
- "description": "The name of the security alert policy.",
- "required": true,
- "type": "string",
- "enum": [
- "default"
- ],
- "x-ms-enum": {
- "name": "SecurityAlertPolicyName",
- "modelAsString": true
- }
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved the database security alert policy.",
- "schema": {
- "$ref": "#/definitions/DatabaseSecurityAlertPolicy"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountCredentials - The provided storage account access key is not valid.\n\n * 400 InvalidDatabaseSecurityAlertPolicyCreateRequest - The create database Threat Detection security alert policy request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 400 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 400 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 409 DatabaseSecurityAlertPolicyInProgress - Set database security alert policy is already in progress\n\n * 409 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later.\n\n * 500 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 GetDatabaseSecurityAlertPolicyFailed - Failed to get Threat Detection settings"
- }
- },
- "x-ms-examples": {
- "Get a database's threat detection policy": {
- "$ref": "./examples/DatabaseSecurityAlertGet.json"
- }
- }
- },
- "put": {
- "tags": [
- "DatabaseSecurityAlertPolicies"
- ],
- "description": "Creates or updates a database's security alert policy.",
- "operationId": "DatabaseSecurityAlertPolicies_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "name": "serverName",
- "in": "path",
- "description": "The name of the server.",
- "required": true,
- "type": "string"
- },
- {
- "name": "databaseName",
- "in": "path",
- "description": "The name of the database for which the security alert policy is defined.",
- "required": true,
- "type": "string"
- },
- {
- "name": "securityAlertPolicyName",
- "in": "path",
- "description": "The name of the security alert policy.",
- "required": true,
- "type": "string",
- "enum": [
- "default"
- ],
- "x-ms-enum": {
- "name": "SecurityAlertPolicyName",
- "modelAsString": true
- }
- },
- {
- "name": "parameters",
- "in": "body",
- "description": "The database security alert policy.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/DatabaseSecurityAlertPolicy"
- }
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully set the database security alert policy.",
- "schema": {
- "$ref": "#/definitions/DatabaseSecurityAlertPolicy"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountCredentials - The provided storage account access key is not valid.\n\n * 400 InvalidDatabaseSecurityAlertPolicyCreateRequest - The create database Threat Detection security alert policy request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 400 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 400 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 409 DatabaseSecurityAlertPolicyInProgress - Set database security alert policy is already in progress\n\n * 409 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later.\n\n * 500 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 GetDatabaseSecurityAlertPolicyFailed - Failed to get Threat Detection settings"
- },
- "201": {
- "description": "Successfully created the database security alert policy.",
- "schema": {
- "$ref": "#/definitions/DatabaseSecurityAlertPolicy"
- }
- }
- },
- "x-ms-examples": {
- "Update a database's threat detection policy with minimal parameters": {
- "$ref": "./examples/DatabaseSecurityAlertCreateMin.json"
- },
- "Update a database's threat detection policy with all parameters": {
- "$ref": "./examples/DatabaseSecurityAlertCreateMax.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/securityAlertPolicies": {
- "get": {
- "tags": [
- "DatabaseSecurityAlertPolicies"
- ],
- "description": "Gets a list of database's security alert policies.",
- "operationId": "DatabaseSecurityAlertPolicies_ListByDatabase",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "name": "serverName",
- "in": "path",
- "description": "The name of the server.",
- "required": true,
- "type": "string"
- },
- {
- "name": "databaseName",
- "in": "path",
- "description": "The name of the database for which the security alert policy is defined.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved the database security alert policy.",
- "schema": {
- "$ref": "#/definitions/DatabaseSecurityAlertListResult"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountCredentials - The provided storage account access key is not valid.\n\n * 400 InvalidDatabaseSecurityAlertPolicyCreateRequest - The create database Threat Detection security alert policy request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 400 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 400 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 409 DatabaseSecurityAlertPolicyInProgress - Set database security alert policy is already in progress\n\n * 409 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later.\n\n * 500 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 GetDatabaseSecurityAlertPolicyFailed - Failed to get Threat Detection settings"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "Get the database's threat detection policies": {
- "$ref": "./examples/DatabaseSecurityAlertListByDatabase.json"
- }
- }
- }
- }
- },
- "definitions": {
- "SecurityAlertPolicyProperties": {
- "description": "Properties of a security alert policy.",
- "required": [
- "state"
- ],
- "type": "object",
- "properties": {
- "state": {
- "description": "Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database.",
- "enum": [
- "New",
- "Enabled",
- "Disabled"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "SecurityAlertPolicyState",
- "modelAsString": false
- }
- },
- "disabledAlerts": {
- "description": "Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emailAddresses": {
- "description": "Specifies an array of e-mail addresses to which the alert is sent.",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "emailAccountAdmins": {
- "description": "Specifies that the alert is sent to the account administrators.",
- "type": "boolean"
- },
- "storageEndpoint": {
- "description": "Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.",
- "type": "string"
- },
- "storageAccountAccessKey": {
- "description": "Specifies the identifier key of the Threat Detection audit storage account.",
- "type": "string"
- },
- "retentionDays": {
- "format": "int32",
- "description": "Specifies the number of days to keep in the Threat Detection audit logs.",
- "type": "integer"
- },
- "creationTime": {
- "format": "date-time",
- "description": "Specifies the UTC creation time of the policy.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "DatabaseSecurityAlertPolicy": {
- "description": "A database security alert policy.",
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/ProxyResource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/SecurityAlertPolicyProperties",
- "description": "Resource properties.",
- "x-ms-client-flatten": true
- }
- }
- },
- "DatabaseSecurityAlertListResult": {
- "description": "A list of the database's security alert policies.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Array of results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/DatabaseSecurityAlertPolicy"
- },
- "readOnly": true
- },
- "nextLink": {
- "description": "Link to retrieve next page of results.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "description": "The subscription ID that identifies an Azure subscription.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "client"
- },
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "description": "The API version to use for the request.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "client"
- },
- "ResourceGroupParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "ServerNameParameter": {
- "name": "serverName",
- "in": "path",
- "description": "The name of the server.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "ManagedInstanceNameParameter": {
- "name": "managedInstanceName",
- "in": "path",
- "description": "The name of the managed instance.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "DatabaseNameParameter": {
- "name": "databaseName",
- "in": "path",
- "description": "The name of the database.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "BlobAuditingPolicyNameParameter": {
- "name": "blobAuditingPolicyName",
- "in": "path",
- "description": "The name of the blob auditing policy.",
- "required": true,
- "type": "string",
- "enum": [
- "default"
- ],
- "x-ms-parameter-location": "method"
- },
- "SqlVirtualMachineInstanceNameParameter": {
- "name": "sqlVirtualMachineInstanceName",
- "in": "path",
- "description": "The name of the SqlVirtualMachineInstance.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "SqlVirtualMachineContainerNameParameter": {
- "name": "sqlVirtualMachineContainerName",
- "in": "path",
- "description": "The name of the SqlVirtualMachineContainer.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "VirtualClusterNameParameter": {
- "name": "virtualClusterName",
- "in": "path",
- "description": "The name of the virtual cluster.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- },
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "description": "Azure Active Directory OAuth2 Flow",
- "flow": "implicit",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- }
-}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/CreateOrUpdateInstancePoolMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/CreateOrUpdateInstancePoolMax.json
deleted file mode 100644
index 0c913654fe3b..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/CreateOrUpdateInstancePoolMax.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "group1",
- "instancePoolName": "testIP",
- "api-version": "2018-06-01-preview",
- "parameters": {
- "sku": {
- "name": "GP_Gen5",
- "tier": "GeneralPurpose",
- "family": "Gen5"
- },
- "tags": {
- "a": "b"
- },
- "properties": {
- "subnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1",
- "vCores": 8,
- "licenseType": "LicenseIncluded"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "GP_Gen5",
- "tier": "GeneralPurpose",
- "family": "Gen5"
- },
- "properties": {
- "subnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1",
- "vCores": 8,
- "licenseType": "LicenseIncluded"
- },
- "location": "onebox",
- "tags": {
- "a": "b"
- },
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP",
- "name": "testIP",
- "type": "Microsoft.Sql/instancePools"
- }
- },
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5",
- "tier": "GeneralPurpose",
- "family": "Gen5"
- },
- "properties": {
- "subnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1",
- "vCores": 8,
- "licenseType": "LicenseIncluded"
- },
- "location": "onebox",
- "tags": {
- "a": "b"
- },
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP",
- "name": "testIP",
- "type": "Microsoft.Sql/instancePools"
- }
- },
- "202": {}
- }
-}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/CreateOrUpdateInstancePoolMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/CreateOrUpdateInstancePoolMin.json
deleted file mode 100644
index f89c6c4a9c2b..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/CreateOrUpdateInstancePoolMin.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "group1",
- "instancePoolName": "testIP",
- "api-version": "2018-06-01-preview",
- "parameters": {
- "sku": {
- "name": "GP_Gen5",
- "tier": "GeneralPurpose",
- "family": "Gen5"
- },
- "properties": {
- "subnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1",
- "vCores": 8,
- "licenseType": "LicenseIncluded"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "GP_Gen5",
- "tier": "GeneralPurpose",
- "family": "Gen5"
- },
- "properties": {
- "subnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1",
- "vCores": 8,
- "licenseType": "LicenseIncluded"
- },
- "location": "onebox",
- "tags": {},
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP",
- "name": "testIP",
- "type": "Microsoft.Sql/instancePools"
- }
- },
- "201": {
- "body": {
- "sku": {
- "name": "GP_Gen5",
- "tier": "GeneralPurpose",
- "family": "Gen5"
- },
- "properties": {
- "subnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1",
- "vCores": 8,
- "licenseType": "LicenseIncluded"
- },
- "location": "onebox",
- "tags": {},
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP",
- "name": "testIP",
- "type": "Microsoft.Sql/instancePools"
- }
- },
- "202": {}
- }
-}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMax.json
deleted file mode 100644
index 56720e8b38d7..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMax.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "databaseName": "testdb",
- "securityAlertPolicyName": "default",
- "api-version": "2018-06-01-preview",
- "databaseSecurityAlertPolicyResource": {
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": "true",
- "emailAddresses": [ "test@microsoft.com", "user@microsoft.com" ],
- "disabledAlerts": [ "Sql_Injection", "Usage_Anomaly" ],
- "retentionDays": 6,
- "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==",
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/servers/securityalert-6440/databases/testdb",
- "name": "default",
- "type": "Microsoft.Sql/servers/databases/securityAlertPolicies",
- "kind": "V12",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": "true",
- "emailAddresses": ["test@microsoft.com","user@microsoft.com"],
- "disabledAlerts": ["Sql_Injection","Usage_Anomaly"],
- "retentionDays": 6,
- "storageAccountAccessKey": "",
- "storageEndpoint": "https://mystorage.blob.core.windows.net"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/servers/securityalert-6440/databases/testdb",
- "name": "default",
- "type": "Microsoft.Sql/servers/databases/securityAlertPolicies",
- "kind": "V12",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": "true",
- "emailAddresses": ["test@microsoft.com","user@microsoft.com"],
- "disabledAlerts": ["Access_Anomaly","Usage_Anomaly"],
- "retentionDays": 6,
- "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==",
- "storageEndpoint": "https://mystorage.blob.core.windows.net",
- "useServerDefault": "Disabled"
- }
- }
- }
- }
-}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMin.json
deleted file mode 100644
index 8105ddfadfce..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertCreateMin.json
+++ /dev/null
@@ -1,51 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-4799",
- "serverName": "securityalert-6440",
- "databaseName": "testdb",
- "securityAlertPolicyName": "default",
- "api-version": "2018-06-01-preview",
- "databaseSecurityAlertPolicyResource": {
- "properties": {
- "state": "Enabled"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/servers/securityalert-6440/databases/testdb",
- "name": "default",
- "type": "Microsoft.Sql/servers/databases/securityAlertPolicies",
- "kind": "V12",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": "true",
- "emailAddresses": [],
- "disabledAlerts": [],
- "retentionDays": 0,
- "storageAccountAccessKey": "",
- "storageEndpoint": ""
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Sql/servers/securityalert-6440/databases/testdb",
- "name": "default",
- "type": "Microsoft.Sql/servers/databases/securityAlertPolicies",
- "kind": "V12",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": "true",
- "emailAddresses": [],
- "disabledAlerts": [],
- "retentionDays": 0,
- "storageAccountAccessKey": "",
- "storageEndpoint": ""
- }
- }
- }
- }
-}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertGet.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertGet.json
deleted file mode 100644
index 0fb4bbc6fb1f..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertGet.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-6852",
- "serverName": "securityalert-2080",
- "databaseName": "testdb",
- "securityAlertPolicyName": "default",
- "api-version": "2018-06-01=preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-6852/providers/Microsoft.Sql/servers/securityalert-2080/databases/testdb",
- "name": "default",
- "type": "Microsoft.Sql/servers/databases/securityAlertPolicies",
- "location": "Japan East",
- "kind": "V12",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": "true",
- "emailAddresses": ["test@microsoft.com","user@microsoft.com"],
- "disabledAlerts": ["Usage_Anomaly"],
- "retentionDays": 0,
- "storageAccountAccessKey": "",
- "creationTime": "10/8/2018 12:00:00 AM"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertListByDatabase.json
deleted file mode 100644
index 43269f16c807..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DatabaseSecurityAlertListByDatabase.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "securityalert-6852",
- "serverName": "securityalert-2080",
- "databaseName": "testdb",
- "api-version": "2018-06-01=preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-6852/providers/Microsoft.Sql/servers/securityalert-2080/databases/testdb",
- "name": "default",
- "type": "Microsoft.Sql/servers/databases/securityAlertPolicies",
- "location": "Japan East",
- "kind": "V12",
- "properties": {
- "state": "Enabled",
- "emailAccountAdmins": "true",
- "emailAddresses": ["test@microsoft.com","user@microsoft.com"],
- "disabledAlerts": ["Usage_Anomaly"],
- "retentionDays": 0,
- "storageAccountAccessKey": "",
- "creationTime": "10/8/2018 12:00:00 AM"
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DeleteInstancePool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DeleteInstancePool.json
deleted file mode 100644
index ac2aa9603066..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/DeleteInstancePool.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "group1",
- "instancePoolName": "testIP",
- "api-version": "2018-06-01-preview"
- },
- "responses": {
- "200": {},
- "202": {},
- "204": {}
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/GetInstancePool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/GetInstancePool.json
deleted file mode 100644
index 3f67d1f95f1f..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/GetInstancePool.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "group1",
- "instancePoolName": "testIP",
- "api-version": "2018-06-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "GP_Gen5",
- "tier": "GeneralPurpose",
- "family": "Gen5"
- },
- "properties": {
- "subnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1",
- "vCores": 8,
- "licenseType": "LicenseIncluded"
- },
- "location": "onebox",
- "tags": {
- "a": "b"
- },
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP",
- "name": "testIP",
- "type": "Microsoft.Sql/instancePools"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolsByResourceGroup.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolsByResourceGroup.json
deleted file mode 100644
index 1d0bc444bbd4..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolsByResourceGroup.json
+++ /dev/null
@@ -1,53 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "group1",
- "api-version": "2018-06-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "sku": {
- "name": "GP_Gen5",
- "tier": "GeneralPurpose",
- "family": "Gen5"
- },
- "properties": {
- "subnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1",
- "vCores": 8,
- "licenseType": "LicenseIncluded"
- },
- "location": "onebox",
- "tags": {
- "a": "b"
- },
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP",
- "name": "testIP",
- "type": "Microsoft.Sql/instancePools"
- },
- {
- "sku": {
- "name": "GP_Gen5",
- "tier": "GeneralPurpose",
- "family": "Gen5"
- },
- "properties": {
- "subnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1",
- "vCores": 8,
- "licenseType": "LicenseIncluded"
- },
- "location": "onebox",
- "tags": {
- "a": "b"
- },
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP2",
- "name": "testIP2",
- "type": "Microsoft.Sql/instancePools"
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolsBySubscriptionId.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolsBySubscriptionId.json
deleted file mode 100644
index f39f18416b1a..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/ListInstancePoolsBySubscriptionId.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "api-version": "2018-06-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "sku": {
- "name": "GP_Gen5",
- "tier": "GeneralPurpose",
- "family": "Gen5"
- },
- "properties": {
- "subnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1",
- "vCores": 8,
- "licenseType": "LicenseIncluded"
- },
- "location": "onebox",
- "tags": {
- "a": "b"
- },
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP",
- "name": "testIP",
- "type": "Microsoft.Sql/instancePools"
- },
- {
- "sku": {
- "name": "GP_Gen5",
- "tier": "GeneralPurpose",
- "family": "Gen5"
- },
- "properties": {
- "subnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group2/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1",
- "vCores": 8,
- "licenseType": "LicenseIncluded"
- },
- "location": "onebox",
- "tags": {
- "a": "b"
- },
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group2/providers/Microsoft.Sql/instancePools/testIP2",
- "name": "testIP2",
- "type": "Microsoft.Sql/instancePools"
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/PatchInstancePool.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/PatchInstancePool.json
deleted file mode 100644
index ec3deec20cfe..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/examples/PatchInstancePool.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "group1",
- "instancePoolName": "testIP",
- "api-version": "2018-06-01-preview",
- "parameters": {
- "tags": {
- "x": "y"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "sku": {
- "name": "GP_Gen5",
- "tier": "GeneralPurpose",
- "family": "Gen5"
- },
- "properties": {
- "subnetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Network/virtualNetwork/myvnet/subnets/mysubnet1",
- "vCores": 8,
- "licenseType": "LicenseIncluded"
- },
- "location": "onebox",
- "tags": {
- "x": "y"
- },
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/group1/providers/Microsoft.Sql/instancePools/testIP",
- "name": "testIP",
- "type": "Microsoft.Sql/instancePools"
- }
- },
- "202": {}
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/instancePools.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/instancePools.json
deleted file mode 100644
index 05a14f92609d..000000000000
--- a/specification/sql/resource-manager/Microsoft.Sql/preview/2018-06-01-preview/instancePools.json
+++ /dev/null
@@ -1,497 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2018-06-01-preview",
- "title": "SqlManagementClient",
- "description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities."
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}": {
- "get": {
- "tags": [
- "InstancePools"
- ],
- "description": "Gets an instance pool.",
- "operationId": "InstancePools_Get",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "name": "instancePoolName",
- "in": "path",
- "description": "The name of the instance pool to be retrieved.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved the specified instance pool.",
- "schema": {
- "$ref": "#/definitions/InstancePool"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 404 InstancePoolNotFound - An instance pool cannot be found"
- }
- },
- "x-ms-examples": {
- "Get an instance pool": {
- "$ref": "./examples/GetInstancePool.json"
- }
- }
- },
- "put": {
- "tags": [
- "InstancePools"
- ],
- "description": "Creates or updates an instance pool.",
- "operationId": "InstancePools_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "name": "instancePoolName",
- "in": "path",
- "description": "The name of the instance pool to be created or updated.",
- "required": true,
- "type": "string"
- },
- {
- "name": "parameters",
- "in": "body",
- "description": "The requested instance pool resource state.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/InstancePool"
- }
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully updated the instance pool.",
- "schema": {
- "$ref": "#/definitions/InstancePool"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 InvalidResourceRequestBody - The resource or resource properties in the request body is empty or invalid.\n\n * 400 MissingSkuName - Sku name is required.\n\n * 400 InstancePoolRequestedVcoreCountIsInvalid - Requested vcore count for instance pool is invalid\n\n * 400 InstancePoolRequestMissingSku - Instance pool request is missing sku\n\n * 400 InstancePoolRequestMissingSkuTier - Instance pool request is missing sku tier\n\n * 400 InstancePoolRequestMissingSkuFamily - Instance pool request is missing sku family\n\n * 400 InstancePoolRequestedSubnetResourceIdIsInvalid - Subnet id for instance pool is null or empty\n\n * 409 InstancePoolBusy - An instance pool is busy with another ongoing operation"
- },
- "202": {
- "description": "Accepted"
- },
- "201": {
- "description": "Successfully created the instance pool.",
- "schema": {
- "$ref": "#/definitions/InstancePool"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Create an instance pool with all properties.": {
- "$ref": "./examples/CreateOrUpdateInstancePoolMax.json"
- },
- "Create an instance pool with min properties.": {
- "$ref": "./examples/CreateOrUpdateInstancePoolMin.json"
- }
- }
- },
- "delete": {
- "tags": [
- "InstancePools"
- ],
- "description": "Deletes an instance pool",
- "operationId": "InstancePools_Delete",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "name": "instancePoolName",
- "in": "path",
- "description": "The name of the instance pool to be deleted",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully deleted the instance pool."
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 InstancePoolNotEmpty - An instance pool is not empty\n\n * 404 InstancePoolNotFound - An instance pool cannot be found\n\n * 404 InstancePoolNotFound - An instance pool cannot be found\n\n * 409 InstancePoolBusy - An instance pool is busy with another ongoing operation"
- },
- "202": {
- "description": "Accepted"
- },
- "204": {
- "description": "The specified instance pool does not exist."
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Delete an instance pool": {
- "$ref": "./examples/DeleteInstancePool.json"
- }
- }
- },
- "patch": {
- "tags": [
- "InstancePools"
- ],
- "description": "Updates an instance pool.",
- "operationId": "InstancePools_Update",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "name": "instancePoolName",
- "in": "path",
- "description": "The name of the instance pool to be updated.",
- "required": true,
- "type": "string"
- },
- {
- "name": "parameters",
- "in": "body",
- "description": "The requested instance pool resource state.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/InstancePoolUpdate"
- }
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully updated the instance pool.",
- "schema": {
- "$ref": "#/definitions/InstancePool"
- }
- },
- "default": {
- "description": "*** Error Responses: ***\n\n * 400 InvalidResourceRequestBody - The resource or resource properties in the request body is empty or invalid."
- },
- "202": {
- "description": "Accepted"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-examples": {
- "Patch an instance pool": {
- "$ref": "./examples/PatchInstancePool.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools": {
- "get": {
- "tags": [
- "InstancePools"
- ],
- "description": "Gets a list of instance pools in the resource group",
- "operationId": "InstancePools_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved the list of instance pools.",
- "schema": {
- "$ref": "#/definitions/InstancePoolListResult"
- }
- },
- "default": {
- "description": "*** Error Responses: ***"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List instance pools by resource group": {
- "$ref": "./examples/ListInstancePoolsByResourceGroup.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/instancePools": {
- "get": {
- "tags": [
- "InstancePools"
- ],
- "description": "Gets a list of all instance pools in the subscription.",
- "operationId": "InstancePools_List",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successfully retrieved the list of instance pools in a subscription.",
- "schema": {
- "$ref": "#/definitions/InstancePoolListResult"
- }
- },
- "default": {
- "description": "*** Error Responses: ***"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "List instance pools in the subscription": {
- "$ref": "./examples/ListInstancePoolsBySubscriptionId.json"
- }
- }
- }
- }
- },
- "definitions": {
- "InstancePoolProperties": {
- "description": "Properties of an instance pool.",
- "required": [
- "subnetId",
- "vCores",
- "licenseType"
- ],
- "type": "object",
- "properties": {
- "subnetId": {
- "description": "Resource ID of the subnet to place this instance pool in.",
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- },
- "vCores": {
- "format": "int32",
- "description": "Count of vCores belonging to this instance pool.",
- "type": "integer",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- },
- "licenseType": {
- "description": "The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price).",
- "enum": [
- "LicenseIncluded",
- "BasePrice"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "InstancePoolLicenseType",
- "modelAsString": true
- },
- "x-ms-mutability": [
- "read",
- "create"
- ]
- }
- }
- },
- "InstancePool": {
- "description": "An Azure SQL instance pool.",
- "required": [
- "location"
- ],
- "type": "object",
- "allOf": [
- {
- "$ref": "../../../common/v1/types.json#/definitions/TrackedResource"
- }
- ],
- "properties": {
- "sku": {
- "$ref": "../../../common/v1/types.json#/definitions/Sku",
- "description": "The name and tier of the SKU."
- },
- "properties": {
- "$ref": "#/definitions/InstancePoolProperties",
- "description": "Resource properties.",
- "x-ms-client-flatten": true
- }
- }
- },
- "InstancePoolUpdate": {
- "description": "An update to an Instance pool.",
- "type": "object",
- "properties": {
- "tags": {
- "description": "Resource tags.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- }
- }
- },
- "InstancePoolListResult": {
- "description": "A list of Azure SQL instance pools.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Array of results.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/InstancePool"
- },
- "readOnly": true
- },
- "nextLink": {
- "description": "Link to retrieve next page of results.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "description": "The subscription ID that identifies an Azure subscription.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "client"
- },
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "description": "The API version to use for the request.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "client"
- },
- "ResourceGroupParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "description": "The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "ServerNameParameter": {
- "name": "serverName",
- "in": "path",
- "description": "The name of the server.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "ManagedInstanceNameParameter": {
- "name": "managedInstanceName",
- "in": "path",
- "description": "The name of the managed instance.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "DatabaseNameParameter": {
- "name": "databaseName",
- "in": "path",
- "description": "The name of the database.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "BlobAuditingPolicyNameParameter": {
- "name": "blobAuditingPolicyName",
- "in": "path",
- "description": "The name of the blob auditing policy.",
- "required": true,
- "type": "string",
- "enum": [
- "default"
- ],
- "x-ms-parameter-location": "method"
- },
- "SqlVirtualMachineInstanceNameParameter": {
- "name": "sqlVirtualMachineInstanceName",
- "in": "path",
- "description": "The name of the SqlVirtualMachineInstance.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "SqlVirtualMachineContainerNameParameter": {
- "name": "sqlVirtualMachineContainerName",
- "in": "path",
- "description": "The name of the SqlVirtualMachineContainer.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- },
- "VirtualClusterNameParameter": {
- "name": "virtualClusterName",
- "in": "path",
- "description": "The name of the virtual cluster.",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method"
- }
- },
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "description": "Azure Active Directory OAuth2 Flow",
- "flow": "implicit",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md
index 88564d5841d5..0b49e055c4d4 100644
--- a/specification/sql/resource-manager/readme.md
+++ b/specification/sql/resource-manager/readme.md
@@ -1,4 +1,4 @@
-# Sql
+# Sql
> see https://aka.ms/autorest
@@ -81,7 +81,6 @@ input-file:
- Microsoft.Sql/preview/2015-05-01-preview/syncGroups.json
- Microsoft.Sql/preview/2015-05-01-preview/syncMembers.json
- Microsoft.Sql/preview/2015-05-01-preview/usages.json
-- Microsoft.Sql/preview/2015-05-01-preview/virtualclusters.json
- Microsoft.Sql/preview/2015-05-01-preview/virtualNetworkRules.json
- Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json
- Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessmentBaselines.json
@@ -172,7 +171,6 @@ input-file:
- Microsoft.Sql/preview/2015-05-01-preview/syncGroups.json
- Microsoft.Sql/preview/2015-05-01-preview/syncMembers.json
- Microsoft.Sql/preview/2015-05-01-preview/usages.json
-- Microsoft.Sql/preview/2015-05-01-preview/virtualclusters.json
- Microsoft.Sql/preview/2015-05-01-preview/virtualNetworkRules.json
- Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json
- Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessmentBaselines.json
@@ -255,7 +253,6 @@ input-file:
- Microsoft.Sql/preview/2015-05-01-preview/syncGroups.json
- Microsoft.Sql/preview/2015-05-01-preview/syncMembers.json
- Microsoft.Sql/preview/2015-05-01-preview/usages.json
-- Microsoft.Sql/preview/2015-05-01-preview/virtualclusters.json
- Microsoft.Sql/preview/2015-05-01-preview/virtualNetworkRules.json
- Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json
- Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessmentBaselines.json
@@ -336,7 +333,6 @@ input-file:
- Microsoft.Sql/preview/2015-05-01-preview/syncGroups.json
- Microsoft.Sql/preview/2015-05-01-preview/syncMembers.json
- Microsoft.Sql/preview/2015-05-01-preview/usages.json
-- Microsoft.Sql/preview/2015-05-01-preview/virtualclusters.json
- Microsoft.Sql/preview/2017-03-01-preview/blobAuditing.json
- Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessmentBaselines.json
- Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessments.json
@@ -401,7 +397,6 @@ input-file:
- Microsoft.Sql/preview/2015-05-01-preview/syncGroups.json
- Microsoft.Sql/preview/2015-05-01-preview/syncMembers.json
- Microsoft.Sql/preview/2015-05-01-preview/usages.json
-- Microsoft.Sql/preview/2015-05-01-preview/virtualclusters.json
- Microsoft.Sql/preview/2015-05-01-preview/virtualNetworkRules.json
# Needed when there is more than one input file
@@ -448,8 +443,6 @@ These can be regenerated by running the following PowerShell script from this re
``` yaml $(tag) == 'package-pure-2018-06-preview'
input-file:
- - ./Microsoft.Sql/preview/2018-06-01-preview/DatabaseSecurityAlertPolicies.json
- - ./Microsoft.Sql/preview/2018-06-01-preview/managedDatabaseSensitivityLabels.json
- ./Microsoft.Sql/preview/2018-06-01-preview/ManagedInstanceVulnerabilityAssessments.json
- ./Microsoft.Sql/preview/2018-06-01-preview/ServerVulnerabilityAssessments.json
@@ -556,7 +549,6 @@ input-file:
- ./Microsoft.Sql/preview/2015-05-01-preview/syncGroups.json
- ./Microsoft.Sql/preview/2015-05-01-preview/syncMembers.json
- ./Microsoft.Sql/preview/2015-05-01-preview/usages.json
- - ./Microsoft.Sql/preview/2015-05-01-preview/virtualclusters.json
- ./Microsoft.Sql/preview/2015-05-01-preview/virtualNetworkRules.json
# Needed when there is more than one input file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/blob.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/blob.json
deleted file mode 100644
index a0550f4e456c..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/blob.json
+++ /dev/null
@@ -1,1161 +0,0 @@
- {
- "swagger": "2.0",
- "info": {
- "version": "2018-11-01",
- "title": "StorageManagementClient",
- "description": "The Azure Storage Management API."
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}": {
- "put": {
- "tags": [
- "BlobService"
- ],
- "operationId": "BlobServices_SetServiceProperties",
- "x-ms-examples": {
- "PutBlobServices": {
- "$ref": "./examples/BlobServicesPut.json"
- }
- },
- "description": "Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. ",
- "parameters": [
- {
- "$ref": "./storage.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "./storage.json#/parameters/StorageAccountName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/BlobServicesName"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/BlobServiceProperties"
- },
- "description": "The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules."
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Sets The properties of a storage account’s Blob service successfully.",
- "schema": {
- "$ref": "#/definitions/BlobServiceProperties"
- }
- }
- }
- },
- "get": {
- "tags": [
- "BlobService"
- ],
- "operationId": "BlobServices_GetServiceProperties",
- "x-ms-examples": {
- "GetBlobServices": {
- "$ref": "./examples/BlobServicesGet.json"
- }
- },
- "description": "Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.",
- "parameters": [
- {
- "$ref": "./storage.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "./storage.json#/parameters/StorageAccountName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/BlobServicesName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- returned the properties of a storage account’s Blob service.",
- "schema": {
- "$ref": "#/definitions/BlobServiceProperties"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers": {
- "get": {
- "tags": [
- "BlobContainers"
- ],
- "operationId": "BlobContainers_List",
- "x-ms-examples": {
- "ListContainers": {
- "$ref": "./examples/BlobContainersList.json"
- }
- },
- "description": "Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.",
- "parameters": [
- {
- "$ref": "./storage.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "./storage.json#/parameters/StorageAccountName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- List Container operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/ListContainerItems"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}": {
- "put": {
- "tags": [
- "BlobContainers"
- ],
- "operationId": "BlobContainers_Create",
- "x-ms-examples": {
- "PutContainers": {
- "$ref": "./examples/BlobContainersPut.json"
- }
- },
- "description": "Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. ",
- "parameters": [
- {
- "$ref": "./storage.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "./storage.json#/parameters/StorageAccountName"
- },
- {
- "$ref": "#/parameters/ContainerName"
- },
- {
- "name": "blobContainer",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/BlobContainer"
- },
- "description": "Properties of the blob container to create."
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "201": {
- "description": "Created -- Create Container operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/BlobContainer"
- }
- }
- }
- },
- "patch": {
- "tags": [
- "BlobContainers"
- ],
- "operationId": "BlobContainers_Update",
- "x-ms-examples": {
- "UpdateContainers": {
- "$ref": "./examples/BlobContainersPatch.json"
- }
- },
- "description": "Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. ",
- "parameters": [
- {
- "$ref": "./storage.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "./storage.json#/parameters/StorageAccountName"
- },
- {
- "$ref": "#/parameters/ContainerName"
- },
- {
- "name": "blobContainer",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/BlobContainer"
- },
- "description": "Properties to update for the blob container."
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Update Container operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/BlobContainer",
- "description": "Properties of the updated blob container."
- }
- }
- }
- },
- "get": {
- "tags": [
- "BlobContainers"
- ],
- "operationId": "BlobContainers_Get",
- "x-ms-examples": {
- "GetContainers": {
- "$ref": "./examples/BlobContainersGet.json"
- }
- },
- "description": "Gets properties of a specified container. ",
- "parameters": [
- {
- "$ref": "./storage.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "./storage.json#/parameters/StorageAccountName"
- },
- {
- "$ref": "#/parameters/ContainerName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Get Container operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/BlobContainer"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "BlobContainers"
- ],
- "operationId": "BlobContainers_Delete",
- "x-ms-examples": {
- "DeleteContainers": {
- "$ref": "./examples/BlobContainersDelete.json"
- }
- },
- "description": "Deletes specified container under its account.",
- "parameters": [
- {
- "$ref": "./storage.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "./storage.json#/parameters/StorageAccountName"
- },
- {
- "$ref": "#/parameters/ContainerName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Delete Container operation completed successfully."
- },
- "204": {
- "description": "No Content -- The Container not exist."
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold": {
- "post": {
- "tags": [
- "BlobContainers"
- ],
- "operationId": "BlobContainers_SetLegalHold",
- "x-ms-examples": {
- "SetLegalHoldContainers": {
- "$ref": "./examples/BlobContainersSetLegalHold.json"
- }
- },
- "description": "Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.",
- "parameters": [
- {
- "$ref": "./storage.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "./storage.json#/parameters/StorageAccountName"
- },
- {
- "$ref": "#/parameters/ContainerName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "LegalHold",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/LegalHold"
- },
- "description": "The LegalHold property that will be set to a blob container."
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Set legal hold tags for Container completed successfully.",
- "schema": {
- "$ref": "#/definitions/LegalHold"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold": {
- "post": {
- "tags": [
- "BlobContainers"
- ],
- "operationId": "BlobContainers_ClearLegalHold",
- "x-ms-examples": {
- "ClearLegalHoldContainers": {
- "$ref": "./examples/BlobContainersClearLegalHold.json"
- }
- },
- "description": "Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.",
- "parameters": [
- {
- "$ref": "./storage.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "./storage.json#/parameters/StorageAccountName"
- },
- {
- "$ref": "#/parameters/ContainerName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "LegalHold",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/LegalHold"
- },
- "description": "The LegalHold property that will be clear from a blob container."
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Clear legal hold tags for Container completed successfully.",
- "schema": {
- "$ref": "#/definitions/LegalHold"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}": {
- "put": {
- "tags": [
- "BlobContainers"
- ],
- "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy",
- "x-ms-examples": {
- "CreateOrUpdateImmutabilityPolicy": {
- "$ref": "./examples/BlobContainersPutImmutabilityPolicy.json"
- }
- },
- "description": "Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.",
- "parameters": [
- {
- "$ref": "./storage.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "./storage.json#/parameters/StorageAccountName"
- },
- {
- "$ref": "#/parameters/ContainerName"
- },
- {
- "$ref": "#/parameters/ImmutabilityPolicyName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "schema": {
- "$ref": "#/definitions/ImmutabilityPolicy"
- },
- "description": "The ImmutabilityPolicy Properties that will be created or updated to a blob container."
- },
- {
- "name": "If-Match",
- "in": "header",
- "required": false,
- "type": "string",
- "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied."
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Creates or updates container ImmutabilityPolicy operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/ImmutabilityPolicy"
- },
- "headers": {
- "ETag": {
- "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.",
- "type": "string"
- }
- }
- }
- }
- },
- "get": {
- "tags": [
- "BlobContainers"
- ],
- "operationId": "BlobContainers_GetImmutabilityPolicy",
- "x-ms-examples": {
- "GetImmutabilityPolicy": {
- "$ref": "./examples/BlobContainersGetImmutabilityPolicy.json"
- }
- },
- "description": "Gets the existing immutability policy along with the corresponding ETag in response headers and body.",
- "parameters": [
- {
- "$ref": "./storage.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "./storage.json#/parameters/StorageAccountName"
- },
- {
- "$ref": "#/parameters/ContainerName"
- },
- {
- "$ref": "#/parameters/ImmutabilityPolicyName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "If-Match",
- "in": "header",
- "required": false,
- "type": "string",
- "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied."
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Gets container ImmutabilityPolicy operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/ImmutabilityPolicy"
- },
- "headers": {
- "ETag": {
- "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.",
- "type": "string"
- }
- }
- }
- }
- },
- "delete": {
- "tags": [
- "BlobContainers"
- ],
- "operationId": "BlobContainers_DeleteImmutabilityPolicy",
- "x-ms-examples": {
- "DeleteImmutabilityPolicy": {
- "$ref": "./examples/BlobContainersDeleteImmutabilityPolicy.json"
- }
- },
- "description": "Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, only way is to delete the container after deleting all blobs inside the container.",
- "parameters": [
- {
- "$ref": "./storage.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "./storage.json#/parameters/StorageAccountName"
- },
- {
- "$ref": "#/parameters/ContainerName"
- },
- {
- "$ref": "#/parameters/ImmutabilityPolicyName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "If-Match",
- "in": "header",
- "required": true,
- "type": "string",
- "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied."
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Deletes container ImmutabilityPolicy operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/ImmutabilityPolicy"
- },
- "headers": {
- "ETag": {
- "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.",
- "type": "string"
- }
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock": {
- "post": {
- "tags": [
- "BlobContainers"
- ],
- "operationId": "BlobContainers_LockImmutabilityPolicy",
- "x-ms-examples": {
- "LockImmutabilityPolicy": {
- "$ref": "./examples/BlobContainersLockImmutabilityPolicy.json"
- }
- },
- "description": "Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.",
- "parameters": [
- {
- "$ref": "./storage.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "./storage.json#/parameters/StorageAccountName"
- },
- {
- "$ref": "#/parameters/ContainerName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "If-Match",
- "in": "header",
- "required": true,
- "type": "string",
- "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied."
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Locks container ImmutabilityPolicy operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/ImmutabilityPolicy"
- },
- "headers": {
- "ETag": {
- "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.",
- "type": "string"
- }
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend": {
- "post": {
- "tags": [
- "BlobContainers"
- ],
- "operationId": "BlobContainers_ExtendImmutabilityPolicy",
- "x-ms-examples": {
- "ExtendImmutabilityPolicy": {
- "$ref": "./examples/BlobContainersExtendImmutabilityPolicy.json"
- }
- },
- "description": "Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.",
- "parameters": [
- {
- "$ref": "./storage.json#/parameters/ResourceGroupName"
- },
- {
- "$ref": "./storage.json#/parameters/StorageAccountName"
- },
- {
- "$ref": "#/parameters/ContainerName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "schema": {
- "$ref": "#/definitions/ImmutabilityPolicy"
- },
- "description": "The ImmutabilityPolicy Properties that will be extended for a blob container."
- },
- {
- "name": "If-Match",
- "in": "header",
- "required": true,
- "type": "string",
- "description": "The entity state (ETag) version of the immutability policy to update. A value of \"*\" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied."
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Extends container ImmutabilityPolicy operation completed successfully..",
- "schema": {
- "$ref": "#/definitions/ImmutabilityPolicy"
- },
- "headers": {
- "ETag": {
- "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.",
- "type": "string"
- }
- }
- }
- }
- }
- }
- },
- "definitions": {
- "ContainerProperties": {
- "properties": {
- "publicAccess": {
- "type": "string",
- "enum": [
- "Container",
- "Blob",
- "None"
- ],
- "x-ms-enum": {
- "name": "PublicAccess",
- "modelAsString": false
- },
- "description": "Specifies whether data in the container may be accessed publicly and the level of access."
- },
- "lastModifiedTime": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "Returns the date and time the container was last modified."
- },
- "leaseStatus": {
- "type": "string",
- "readOnly": true,
- "enum": [
- "Locked",
- "Unlocked"
- ],
- "x-ms-enum": {
- "name": "LeaseStatus",
- "modelAsString": true
- },
- "description": "The lease status of the container."
- },
- "leaseState": {
- "type": "string",
- "readOnly": true,
- "enum": [
- "Available",
- "Leased",
- "Expired",
- "Breaking",
- "Broken"
- ],
- "x-ms-enum": {
- "name": "LeaseState",
- "modelAsString": true
- },
- "description": "Lease state of the container."
- },
- "leaseDuration": {
- "type": "string",
- "readOnly": true,
- "enum": [
- "Infinite",
- "Fixed"
- ],
- "x-ms-enum": {
- "name": "LeaseDuration",
- "modelAsString": true
- },
- "description": "Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased."
- },
- "metadata": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "A name-value pair to associate with the container as metadata."
- },
- "immutabilityPolicy": {
- "readOnly": true,
- "$ref": "#/definitions/ImmutabilityPolicyProperties",
- "x-ms-client-name": "ImmutabilityPolicy",
- "description": "The ImmutabilityPolicy property of the container."
- },
- "legalHold": {
- "readOnly": true,
- "$ref": "#/definitions/LegalHoldProperties",
- "description": "The LegalHold property of the container."
- },
- "hasLegalHold": {
- "type": "boolean",
- "readOnly": true,
- "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account."
- },
- "hasImmutabilityPolicy": {
- "type": "boolean",
- "readOnly": true,
- "description": "The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container."
- }
- },
- "description": "The properties of a container."
- },
- "BlobContainer": {
- "properties": {
- "properties": {
- "$ref": "#/definitions/ContainerProperties",
- "x-ms-client-flatten": true,
- "x-ms-client-name": "ContainerProperties",
- "description": "Properties of the blob container."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource"
- }
- ],
- "description": "Properties of the blob container, including Id, resource name, resource type, Etag."
- },
- "ImmutabilityPolicyProperty": {
- "properties": {
- "immutabilityPeriodSinceCreationInDays": {
- "type": "integer",
- "description": "The immutability period for the blobs in the container since the policy creation, in days."
- },
- "state": {
- "type": "string",
- "readOnly": true,
- "enum": [
- "Locked",
- "Unlocked"
- ],
- "x-ms-enum": {
- "name": "ImmutabilityPolicyState",
- "modelAsString": true
- },
- "description": "The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked."
- }
- },
- "required": [
- "immutabilityPeriodSinceCreationInDays"
- ],
- "description": "The properties of an ImmutabilityPolicy of a blob container."
- },
- "ImmutabilityPolicyProperties": {
- "properties": {
- "properties": {
- "$ref": "#/definitions/ImmutabilityPolicyProperty",
- "x-ms-client-flatten": true,
- "description": "The properties of an ImmutabilityPolicy of a blob container."
- },
- "etag": {
- "type": "string",
- "readOnly": true,
- "description": "ImmutabilityPolicy Etag."
- },
- "updateHistory": {
- "type": "array",
- "readOnly": true,
- "items": {
- "$ref": "#/definitions/UpdateHistoryProperty"
- },
- "description": "The ImmutabilityPolicy update history of the blob container."
- }
- },
- "description": "The properties of an ImmutabilityPolicy of a blob container."
- },
- "ImmutabilityPolicy": {
- "properties": {
- "properties": {
- "$ref": "#/definitions/ImmutabilityPolicyProperty",
- "x-ms-client-flatten": true,
- "description": "The properties of an ImmutabilityPolicy of a blob container."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource"
- }
- ],
- "required": [
- "properties"
- ],
- "description": "The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag."
- },
- "UpdateHistoryProperty": {
- "properties": {
- "update": {
- "type": "string",
- "readOnly": true,
- "enum": [
- "put",
- "lock",
- "extend"
- ],
- "x-ms-enum": {
- "name": "ImmutabilityPolicyUpdateType",
- "modelAsString": true
- },
- "description": "The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend."
- },
- "immutabilityPeriodSinceCreationInDays": {
- "type": "integer",
- "readOnly": true,
- "description": "The immutability period for the blobs in the container since the policy creation, in days."
- },
- "timestamp": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "Returns the date and time the ImmutabilityPolicy was updated."
- },
- "objectIdentifier": {
- "type": "string",
- "readOnly": true,
- "description": "Returns the Object ID of the user who updated the ImmutabilityPolicy."
- },
- "tenantId": {
- "type": "string",
- "readOnly": true,
- "description": "Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy."
- },
- "upn": {
- "type": "string",
- "readOnly": true,
- "description": "Returns the User Principal Name of the user who updated the ImmutabilityPolicy."
- }
- },
- "description": "An update history of the ImmutabilityPolicy of a blob container."
- },
- "LegalHoldProperties": {
- "properties": {
- "hasLegalHold": {
- "type": "boolean",
- "readOnly": true,
- "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account."
- },
- "tags": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TagProperty"
- },
- "description": "The list of LegalHold tags of a blob container."
- }
- },
- "description": "The LegalHold property of a blob container."
- },
- "TagProperty": {
- "properties": {
- "tag": {
- "type": "string",
- "readOnly": true,
- "description": "The tag value."
- },
- "timestamp": {
- "type": "string",
- "format": "date-time",
- "readOnly": true,
- "description": "Returns the date and time the tag was added."
- },
- "objectIdentifier": {
- "type": "string",
- "readOnly": true,
- "description": "Returns the Object ID of the user who added the tag."
- },
- "tenantId": {
- "type": "string",
- "readOnly": true,
- "description": "Returns the Tenant ID that issued the token for the user who added the tag."
- },
- "upn": {
- "type": "string",
- "readOnly": true,
- "description": "Returns the User Principal Name of the user who added the tag."
- }
- },
- "description": "A tag of the LegalHold of a blob container."
- },
- "LegalHold": {
- "properties": {
- "hasLegalHold": {
- "type": "boolean",
- "readOnly": true,
- "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account."
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string",
- "maxLength": 23,
- "minLength": 3
- },
- "description": "Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP."
- }
- },
- "required": [
- "tags"
- ],
- "description": "The LegalHold property of a blob container."
- },
- "ListContainerItem": {
- "properties": {
- "properties": {
- "$ref": "#/definitions/ContainerProperties",
- "x-ms-client-flatten": true,
- "description": "The blob container properties be listed out."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource"
- }
- ],
- "description": "The blob container properties be listed out."
- },
- "ListContainerItems": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ListContainerItem"
- },
- "description": "The list of blob containers."
- }
- },
- "description": "The list of blob containers."
- },
- "BlobServiceProperties": {
- "properties": {
- "properties": {
- "properties": {
- "cors": {
- "$ref": "#/definitions/CorsRules",
- "description": "Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service."
- },
- "defaultServiceVersion": {
- "type": "string",
- "description": "DefaultServiceVersion indicates the default version to use for requests to the Blob service if an incoming request’s version is not specified. Possible values include version 2008-10-27 and all more recent versions."
- },
- "deleteRetentionPolicy": {
- "$ref": "#/definitions/DeleteRetentionPolicy",
- "description": "The blob service properties for soft delete."
- }
- },
- "x-ms-client-flatten": true,
- "x-ms-client-name": "BlobServiceProperties",
- "description": "The properties of a storage account’s Blob service."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
- }
- ],
- "description": "The properties of a storage account’s Blob service."
- },
- "DeleteRetentionPolicy": {
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Indicates whether DeleteRetentionPolicy is enabled for the Blob service."
- },
- "days": {
- "type": "integer",
- "minimum": 1,
- "maximum": 365,
- "description": "Indicates the number of days that the deleted blob should be retained. The minimum specified value can be 1 and the maximum value can be 365."
- }
- },
- "description": "The blob service properties for soft delete."
- },
- "CorsRules": {
- "properties": {
- "corsRules": {
- "type": "array",
- "items": {
- "description": "Specifies a CORS rule for the Blob service. ",
- "$ref": "#/definitions/CorsRule"
- },
- "description": "The List of CORS rules. You can include up to five CorsRule elements in the request. "
- }
- },
- "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. "
- },
- "CorsRule": {
- "properties": {
- "allowedOrigins": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or \"*\" to allow all domains"
- },
- "allowedMethods": {
- "type": "array",
- "items": {
- "type": "string",
- "enum": ["DELETE","GET","HEAD","MERGE","POST","OPTIONS","PUT"]
- },
- "description": "Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin."
- },
- "maxAgeInSeconds": {
- "type": "integer",
- "description": "Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response."
- },
- "exposedHeaders": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Required if CorsRule element is present. A list of response headers to expose to CORS clients."
- },
- "allowedHeaders": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request."
- }
- },
- "required": [
- "allowedOrigins",
- "allowedMethods",
- "maxAgeInSeconds",
- "exposedHeaders",
- "allowedHeaders"
- ],
- "description": "Specifies a CORS rule for the Blob service."
- }
- },
- "parameters": {
- "ContainerName": {
- "name": "containerName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.",
- "maxLength": 63,
- "minLength": 3,
- "x-ms-parameter-location": "method"
- },
- "ImmutabilityPolicyName": {
- "name": "immutabilityPolicyName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default'",
- "enum":[
- "default"
- ],
- "x-ms-parameter-location": "method"
- },
- "BlobServicesName": {
- "name": "BlobServicesName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the blob Service within the specified storage account. Blob Service Name must be 'default'",
- "enum":[
- "default"
- ],
- "x-ms-parameter-location": "method"
- }
- },
- "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"
- }
- }
- },
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ]
- }
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersClearLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersClearLegalHold.json
deleted file mode 100644
index 7321d39a1a42..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersClearLegalHold.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res4303",
- "accountName": "sto7280",
- "containerName": "container8723",
- "api-version": "2018-11-01",
- "monitor": "true",
- "LegalHold": {
- "tags": [
- "tag1",
- "tag2",
- "tag3"
- ]
- }
- },
- "responses": {
- "200": {
- "body": {
- "hasLegalHold": false,
- "tags": []
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersDelete.json
deleted file mode 100644
index 3c85d214edf3..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersDelete.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res4079",
- "accountName": "sto4506",
- "containerName": "container9689",
- "api-version": "2018-11-01",
- "monitor": "true"
- },
- "responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersDeleteImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersDeleteImmutabilityPolicy.json
deleted file mode 100644
index fc4e01e268bc..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersDeleteImmutabilityPolicy.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res1581",
- "accountName": "sto9621",
- "containerName": "container4910",
- "immutabilityPolicyName": "default",
- "If-Match": "\"8d59f81a7fa7be0\"",
- "api-version": "2018-11-01",
- "monitor": "true"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res1581/providers/Microsoft.Storage/storageAccounts/sto9621/blobServices/default/containers/container4910/immutabilityPolicies/default",
- "name": "default",
- "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies",
- "etag": "\"8d59f81a87b40c0\"",
- "properties": {
- "immutabilityPeriodSinceCreationInDays": 0,
- "state": "Unlocked"
- }
- }
- }
- }
-}
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersExtendImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersExtendImmutabilityPolicy.json
deleted file mode 100644
index ff22023adb8b..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersExtendImmutabilityPolicy.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res6238",
- "accountName": "sto232",
- "containerName": "container5023",
- "If-Match": "\"8d59f830d0c3bf9\"",
- "api-version": "2018-11-01",
- "monitor": "true",
- "parameters": {
- "properties": {
- "immutabilityPeriodSinceCreationInDays": 100
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res6238/providers/Microsoft.Storage/storageAccounts/sto232/blobServices/default/containers/container5023/immutabilityPolicies/default",
- "name": "default",
- "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies",
- "etag": "\"8d57a8b2ff50332\"",
- "properties": {
- "immutabilityPeriodSinceCreationInDays": 100,
- "state": "Locked"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersGet.json
deleted file mode 100644
index 25034a60c12e..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersGet.json
+++ /dev/null
@@ -1,81 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res9871",
- "accountName": "sto6217",
- "containerName": "container1634",
- "api-version": "2018-11-01",
- "monitor": "true"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/blobServices/default/containers/container1634",
- "name": "container1634",
- "type": "Microsoft.Storage/storageAccounts/blobServices/containers",
- "etag": "\"0x8D592D74CC20EBA\"",
- "properties": {
- "publicAccess": "None",
- "leaseStatus": "Unlocked",
- "leaseState": "Available",
- "lastModifiedTime": "2018-03-26T05:06:14Z",
- "immutabilityPolicy": {
- "etag": "\"8d592d74cb3011a\"",
- "properties": {
- "immutabilityPeriodSinceCreationInDays": 100,
- "state": "Locked"
- },
- "updateHistory": [
- {
- "update": "put",
- "immutabilityPeriodSinceCreationInDays": 3,
- "timestamp": "2018-03-26T05:06:11.431403Z",
- "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b",
- "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
- },
- {
- "update": "lock",
- "immutabilityPeriodSinceCreationInDays": 3,
- "timestamp": "2018-03-26T05:06:13.0907641Z",
- "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b",
- "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
- },
- {
- "update": "extend",
- "immutabilityPeriodSinceCreationInDays": 100,
- "timestamp": "2018-03-26T05:06:14.7097716Z",
- "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b",
- "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
- }
- ]
- },
- "legalHold": {
- "hasLegalHold": true,
- "tags": [
- {
- "tag": "tag1",
- "timestamp": "2018-03-26T05:06:09.6964643Z",
- "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b",
- "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
- },
- {
- "tag": "tag2",
- "timestamp": "2018-03-26T05:06:09.6964643Z",
- "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b",
- "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
- },
- {
- "tag": "tag3",
- "timestamp": "2018-03-26T05:06:09.6964643Z",
- "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b",
- "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47"
- }
- ]
- },
- "hasImmutabilityPolicy": true,
- "hasLegalHold": true
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersGetImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersGetImmutabilityPolicy.json
deleted file mode 100644
index c20e1d46b025..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersGetImmutabilityPolicy.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res5221",
- "accountName": "sto9177",
- "containerName": "container3489",
- "immutabilityPolicyName": "default",
- "api-version": "2018-11-01",
- "monitor": "true"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res5221/providers/Microsoft.Storage/storageAccounts/sto9177/blobServices/default/containers/container3489/immutabilityPolicies/default",
- "name": "default",
- "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies",
- "etag": "\"8d59f828e64b75c\"",
- "properties": {
- "immutabilityPeriodSinceCreationInDays": 5,
- "state": "Unlocked"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersList.json
deleted file mode 100644
index ca77b15a674b..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersList.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res9290",
- "accountName": "sto1590",
- "api-version": "2018-11-01",
- "monitor": "true"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container1644",
- "name": "container1644",
- "type": "Microsoft.Storage/storageAccounts/blobServices/containers",
- "etag": "\"0x8D589847D51C7DE\"",
- "properties": {
- "publicAccess": "Container",
- "leaseStatus": "Unlocked",
- "leaseState": "Available",
- "lastModifiedTime": "2018-03-14T08:20:47Z",
- "hasImmutabilityPolicy": false,
- "hasLegalHold": false
- }
- },
- {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container4052",
- "name": "container4052",
- "type": "Microsoft.Storage/storageAccounts/blobServices/containers",
- "etag": "\"0x8D589847DAB5AF9\"",
- "properties": {
- "publicAccess": "None",
- "leaseStatus": "Unlocked",
- "leaseState": "Available",
- "lastModifiedTime": "2018-03-14T08:20:47Z",
- "hasImmutabilityPolicy": false,
- "hasLegalHold": false
- }
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersLockImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersLockImmutabilityPolicy.json
deleted file mode 100644
index a23d9942e9f7..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersLockImmutabilityPolicy.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res2702",
- "accountName": "sto5009",
- "containerName": "container1631",
- "If-Match": "\"8d59f825b721dd3\"",
- "api-version": "2018-11-01",
- "monitor": "true"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res2702/providers/Microsoft.Storage/storageAccounts/sto5009/blobServices/default/containers/container1631/immutabilityPolicies/default",
- "name": "default",
- "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies",
- "etag": "\"8d57a8a5edb084a\"",
- "properties": {
- "immutabilityPeriodSinceCreationInDays": 3,
- "state": "Locked"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPatch.json
deleted file mode 100644
index 3546dfdcbf0a..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPatch.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res3376",
- "accountName": "sto328",
- "containerName": "container6185",
- "api-version": "2018-11-01",
- "monitor": "true",
- "blobContainer": {
- "properties": {
- "publicAccess": "Container",
- "metadata": {
- "metadata": "true"
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185",
- "name": "container6185",
- "type": "Microsoft.Storage/storageAccounts/blobServices/containers",
- "properties": {
- "metadata": {
- "metadata": "true"
- },
- "publicAccess": "Container",
- "hasImmutabilityPolicy": false,
- "hasLegalHold": false
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPut.json
deleted file mode 100644
index 0c8df4343c55..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPut.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res3376",
- "accountName": "sto328",
- "containerName": "container6185",
- "api-version": "2018-11-01",
- "monitor": "true",
- "blobContainer": {}
- },
- "responses": {
- "201": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185",
- "name": "container6185",
- "type": "Microsoft.Storage/storageAccounts/blobServices/containers"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPutImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPutImmutabilityPolicy.json
deleted file mode 100644
index 3d5fd50e80c4..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersPutImmutabilityPolicy.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res1782",
- "accountName": "sto7069",
- "containerName": "container6397",
- "immutabilityPolicyName": "default",
- "api-version": "2018-11-01",
- "monitor": "true",
- "parameters": {
- "properties": {
- "immutabilityPeriodSinceCreationInDays": 3
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res1782/providers/Microsoft.Storage/storageAccounts/sto7069/blobServices/default/containers/container6397/immutabilityPolicies/default",
- "name": "default",
- "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies",
- "etag": "\"8d59f830cb130e5\"",
- "properties": {
- "immutabilityPeriodSinceCreationInDays": 3,
- "state": "Unlocked"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersSetLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersSetLegalHold.json
deleted file mode 100644
index e7c307faed58..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobContainersSetLegalHold.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res4303",
- "accountName": "sto7280",
- "containerName": "container8723",
- "api-version": "2018-11-01",
- "monitor": "true",
- "LegalHold": {
- "tags": [
- "tag1",
- "tag2",
- "tag3"
- ]
- }
- },
- "responses": {
- "200": {
- "body": {
- "hasLegalHold": true,
- "tags": [
- "tag1",
- "tag2",
- "tag3"
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobServicesGet.json
deleted file mode 100644
index ad8aa05f1a04..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobServicesGet.json
+++ /dev/null
@@ -1,86 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res4410",
- "accountName": "sto8607",
- "BlobServicesName": "default",
- "api-version": "2018-11-01",
- "monitor": "true"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default",
- "name": "default",
- "type": "Microsoft.Storage/storageAccounts/blobServices",
- "properties": {
- "cors": {
- "corsRules": [{
- "allowedOrigins": [
- "http://www.contoso.com",
- "http://www.fabrikam.com"
- ],
- "allowedMethods": [
- "GET",
- "HEAD",
- "POST",
- "OPTIONS",
- "MERGE",
- "PUT"
- ],
- "maxAgeInSeconds": 100,
- "exposedHeaders": [
- "x-ms-meta-*"
- ],
- "allowedHeaders": [
- "x-ms-meta-abc",
- "x-ms-meta-data*",
- "x-ms-meta-target*"
- ]
- },
- {
- "allowedOrigins": [
- "*"
- ],
- "allowedMethods": [
- "GET"
- ],
- "maxAgeInSeconds": 2,
- "exposedHeaders": [
- "*"
- ],
- "allowedHeaders": [
- "*"
- ]
- },
- {
- "allowedOrigins": [
- "http://www.abc23.com",
- "https://www.fabrikam.com/*"
- ],
- "allowedMethods": [
- "GET",
- "PUT"
- ],
- "maxAgeInSeconds": 2000,
- "exposedHeaders": [
- "x-ms-meta-abc",
- "x-ms-meta-data*",
- "x -ms-meta-target*"
- ],
- "allowedHeaders": [
- "x-ms-meta-12345675754564*"
- ]
- }
- ]
- },
- "defaultServiceVersion": "2017-07-29",
- "deleteRetentionPolicy": {
- "enabled": true,
- "days": 300
- }
- }
- }
- }
- }
-}
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobServicesPut.json
deleted file mode 100644
index f3f25587065b..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/BlobServicesPut.json
+++ /dev/null
@@ -1,155 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res4410",
- "accountName": "sto8607",
- "BlobServicesName": "default",
- "api-version": "2018-11-01",
- "monitor": "true",
- "parameters": {
- "properties": {
- "cors": {
- "corsRules": [{
- "allowedOrigins": [
- "http://www.contoso.com",
- "http://www.fabrikam.com"
- ],
- "allowedMethods": [
- "GET",
- "HEAD",
- "POST",
- "OPTIONS",
- "MERGE",
- "PUT"
- ],
- "maxAgeInSeconds": 100,
- "exposedHeaders": [
- "x-ms-meta-*"
- ],
- "allowedHeaders": [
- "x-ms-meta-abc",
- "x-ms-meta-data*",
- "x-ms-meta-target*"
- ]
- },
- {
- "allowedOrigins": [
- "*"
- ],
- "allowedMethods": [
- "GET"
- ],
- "maxAgeInSeconds": 2,
- "exposedHeaders": [
- "*"
- ],
- "allowedHeaders": [
- "*"
- ]
- },
- {
- "allowedOrigins": [
- "http://www.abc23.com",
- "https://www.fabrikam.com/*"
- ],
- "allowedMethods": [
- "GET",
- "PUT"
- ],
- "maxAgeInSeconds": 2000,
- "exposedHeaders": [
- "x-ms-meta-abc",
- "x-ms-meta-data*",
- "x -ms-meta-target*"
- ],
- "allowedHeaders": [
- "x-ms-meta-12345675754564*"
- ]
- }
- ]
- },
- "defaultServiceVersion": "2017-07-29",
- "deleteRetentionPolicy": {
- "enabled": true,
- "days": 300
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default",
- "name": "default",
- "type": "Microsoft.Storage/storageAccounts/blobServices",
- "properties": {
- "cors": {
- "corsRules": [{
- "allowedOrigins": [
- "http://www.contoso.com",
- "http://www.fabrikam.com"
- ],
- "allowedMethods": [
- "GET",
- "HEAD",
- "POST",
- "OPTIONS",
- "MERGE",
- "PUT"
- ],
- "maxAgeInSeconds": 100,
- "exposedHeaders": [
- "x-ms-meta-*"
- ],
- "allowedHeaders": [
- "x-ms-meta-abc",
- "x-ms-meta-data*",
- "x-ms-meta-target*"
- ]
- },
- {
- "allowedOrigins": [
- "*"
- ],
- "allowedMethods": [
- "GET"
- ],
- "maxAgeInSeconds": 2,
- "exposedHeaders": [
- "*"
- ],
- "allowedHeaders": [
- "*"
- ]
- },
- {
- "allowedOrigins": [
- "http://www.abc23.com",
- "https://www.fabrikam.com/*"
- ],
- "allowedMethods": [
- "GET",
- "PUT"
- ],
- "maxAgeInSeconds": 2000,
- "exposedHeaders": [
- "x-ms-meta-abc",
- "x-ms-meta-data*",
- "x -ms-meta-target*"
- ],
- "allowedHeaders": [
- "x-ms-meta-12345675754564*"
- ]
- }
- ]
- },
- "defaultServiceVersion": "2017-07-29",
- "deleteRetentionPolicy": {
- "enabled": true,
- "days": 300
- }
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/OperationsList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/OperationsList.json
deleted file mode 100644
index 783b3da4a1a7..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/OperationsList.json
+++ /dev/null
@@ -1,473 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-11-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "name": "Microsoft.Storage/storageAccounts/write",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Storage Accounts",
- "operation": "Create/Update Storage Account",
- "description": "Creates a storage account with the specified parameters or update the properties or tags or adds custom domain for the specified storage account."
- }
- },
- {
- "name": "Microsoft.Storage/storageAccounts/delete",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Storage Accounts",
- "operation": "Delete Storage Account",
- "description": "Deletes an existing storage account."
- }
- },
- {
- "name": "Microsoft.Storage/storageAccounts/listkeys/action",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Storage Accounts",
- "operation": "List Storage Account Keys",
- "description": "Returns the access keys for the specified storage account."
- }
- },
- {
- "name": "Microsoft.Storage/storageAccounts/regeneratekey/action",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Storage Accounts",
- "operation": "Regenerate Storage Account Keys",
- "description": "Regenerates the access keys for the specified storage account."
- }
- },
- {
- "name": "Microsoft.Storage/checknameavailability/read",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Name Availability",
- "operation": "Check Name Availability",
- "description": "Checks that account name is valid and is not in use."
- }
- },
- {
- "name": "Microsoft.Storage/storageAccounts/read",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Storage Accounts",
- "operation": "List/Get Storage Account(s)",
- "description": "Returns the list of storage accounts or gets the properties for the specified storage account."
- }
- },
- {
- "name": "Microsoft.Storage/usages/read",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Usage Metrics",
- "operation": "Get Subscription Usages",
- "description": "Returns the limit and the current usage count for resources in the specified subscription"
- }
- },
- {
- "name": "Microsoft.Storage/storageAccounts/listAccountSas/action",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Storage Account SAS Token",
- "operation": "Returns Storage Account SAS Token",
- "description": "Returns the Account SAS token for the specified storage account."
- }
- },
- {
- "name": "Microsoft.Storage/storageAccounts/listServiceSas/action",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Returns the Service SAS token for the specified storage account.",
- "operation": "Returns Storage Service SAS Token",
- "description": "Storage Service SAS Token"
- }
- },
- {
- "name": "Microsoft.Storage/locations/deleteVirtualNetworkOrSubnets/action",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Location",
- "operation": "Delete virtual network or subnets notifications",
- "description": "Notifies Microsoft.Storage that virtual network or subnet is being deleted"
- }
- },
- {
- "name": "Microsoft.Storage/operations/read",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Operations",
- "operation": "Poll Asynchronous Operation",
- "description": "Polls the status of an asynchronous operation."
- }
- },
- {
- "name": "Microsoft.Storage/register/action",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Storage Resource Provider",
- "operation": "Registers the Storage Resource Provider",
- "description": "Registers the subscription for the storage resource provider and enables the creation of storage accounts."
- }
- },
- {
- "name": "Microsoft.Storage/skus/read",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Skus",
- "operation": "List Skus",
- "description": "Lists the Skus supported by Microsoft.Storage."
- }
- },
- {
- "name": "Microsoft.Storage/storageAccounts/services/diagnosticSettings/write",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Storage Accounts",
- "operation": "Create/Update Diagnostic Settings",
- "description": "Create/Update storage account diagnostic settings."
- }
- },
- {
- "name": "Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/metricDefinitions/read",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Storage Accounts",
- "operation": "Get list of Microsoft Storage Metrics definitions",
- "description": "Get list of Microsoft Storage Metrics definitions."
- },
- "origin": "system",
- "properties": {
- "serviceSpecification": {
- "metricSpecifications": [
- {
- "name": "UsedCapacity",
- "displayName": "Used capacity",
- "displayDescription": "Account used capacity",
- "unit": "Bytes",
- "aggregationType": "Average",
- "fillGapWithZero": false,
- "category": "Capacity",
- "resourceIdDimensionNameOverride": "AccountResourceId"
- }
- ]
- }
- }
- },
- {
- "name": "Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/read",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Storage Accounts",
- "operation": "Read diagnostic setting",
- "description": "Gets the diagnostic setting for the resource."
- },
- "origin": "system"
- },
- {
- "name": "Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/write",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Storage Accounts",
- "operation": "Write diagnostic setting",
- "description": "Creates or updates the diagnostic setting for the resource."
- },
- "origin": "system"
- },
- {
- "name": "Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/metricDefinitions/read",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Blob service",
- "operation": "Get list of Microsoft Storage Metrics definitions",
- "description": "Get list of Microsoft Storage Metrics definitions."
- },
- "origin": "system",
- "properties": {
- "serviceSpecification": {
- "metricSpecifications": [
- {
- "name": "BlobCapacity",
- "displayName": "Blob Capacity",
- "displayDescription": "The amount of storage used by the storage account’s Blob service in bytes.",
- "unit": "Bytes",
- "aggregationType": "Average",
- "dimensions": [
- {
- "name": "BlobType",
- "displayName": "Blob type"
- }
- ],
- "fillGapWithZero": false,
- "category": "Capacity"
- },
- {
- "name": "BlobCount",
- "displayName": "Blob Count",
- "displayDescription": "The number of Blob in the storage account’s Blob service.",
- "unit": "Count",
- "aggregationType": "Average",
- "dimensions": [
- {
- "name": "BlobType",
- "displayName": "Blob type"
- }
- ],
- "fillGapWithZero": false,
- "category": "Capacity"
- },
- {
- "name": "ContainerCount",
- "displayName": "Blob Container Count",
- "displayDescription": "The number of containers in the storage account’s Blob service.",
- "unit": "Count",
- "aggregationType": "Average",
- "fillGapWithZero": false,
- "category": "Capacity"
- },
- {
- "name": "BlobProvisionedSize",
- "displayName": "Blob Provisioned Size",
- "displayDescription": "The amount of storage provisioned in the storage account’s Blob service in bytes.",
- "unit": "Bytes",
- "aggregationType": "Average",
- "dimensions": [
- {
- "name": "BlobType",
- "displayName": "Blob type"
- }
- ],
- "fillGapWithZero": false,
- "category": "Capacity"
- }
- ]
- }
- }
- },
- {
- "name": "Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/read",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Blob service",
- "operation": "Read diagnostic setting",
- "description": "Gets the diagnostic setting for the resource."
- },
- "origin": "system"
- },
- {
- "name": "Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/write",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Blob service",
- "operation": "Write diagnostic setting",
- "description": "Creates or updates the diagnostic setting for the resource."
- },
- "origin": "system"
- },
- {
- "name": "Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/metricDefinitions/read",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Table service",
- "operation": "Get list of Microsoft Storage Metrics definitions",
- "description": "Get list of Microsoft Storage Metrics definitions."
- },
- "origin": "system",
- "properties": {
- "serviceSpecification": {
- "metricSpecifications": [
- {
- "name": "TableCapacity",
- "displayName": "Table Capacity",
- "displayDescription": "The amount of storage used by the storage account’s Table service in bytes.",
- "unit": "Bytes",
- "aggregationType": "Average",
- "fillGapWithZero": false,
- "category": "Capacity"
- },
- {
- "name": "TableCount",
- "displayName": "Table Count",
- "displayDescription": "The number of table in the storage account’s Table service.",
- "unit": "Count",
- "aggregationType": "Average",
- "fillGapWithZero": false,
- "category": "Capacity"
- },
- {
- "name": "TableEntityCount",
- "displayName": "Table Entity Count",
- "displayDescription": "The number of table entities in the storage account’s Table service.",
- "unit": "Count",
- "aggregationType": "Average",
- "fillGapWithZero": false,
- "category": "Capacity"
- }
- ]
- }
- }
- },
- {
- "name": "Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/read",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Table service",
- "operation": "Read diagnostic setting",
- "description": "Gets the diagnostic setting for the resource."
- },
- "origin": "system"
- },
- {
- "name": "Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/write",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Table service",
- "operation": "Write diagnostic setting",
- "description": "Creates or updates the diagnostic setting for the resource."
- },
- "origin": "system"
- },
- {
- "name": "Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/metricDefinitions/read",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Queue service",
- "operation": "Get list of Microsoft Storage Metrics definitions",
- "description": "Get list of Microsoft Storage Metrics definitions."
- },
- "origin": "system",
- "properties": {
- "serviceSpecification": {
- "metricSpecifications": [
- {
- "name": "QueueCapacity",
- "displayName": "Queue Capacity",
- "displayDescription": "The amount of storage used by the storage account’s Queue service in bytes.",
- "unit": "Bytes",
- "aggregationType": "Average",
- "fillGapWithZero": false,
- "category": "Capacity"
- },
- {
- "name": "QueueCount",
- "displayName": "Queue Count",
- "displayDescription": "The number of queue in the storage account’s Queue service.",
- "unit": "Count",
- "aggregationType": "Average",
- "fillGapWithZero": false,
- "category": "Capacity"
- },
- {
- "name": "QueueMessageCount",
- "displayName": "Queue Message Count",
- "displayDescription": "The approximate number of queue messages in the storage account’s Queue service.",
- "unit": "Count",
- "aggregationType": "Average",
- "fillGapWithZero": false,
- "category": "Capacity"
- }
- ]
- }
- }
- },
- {
- "name": "Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/read",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Queue service",
- "operation": "Read diagnostic setting",
- "description": "Gets the diagnostic setting for the resource."
- },
- "origin": "system"
- },
- {
- "name": "Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/write",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "Queue service",
- "operation": "Write diagnostic setting",
- "description": "Creates or updates the diagnostic setting for the resource."
- },
- "origin": "system"
- },
- {
- "name": "Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/metricDefinitions/read",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "File service",
- "operation": "Get list of Microsoft Storage Metrics definitions",
- "description": "Get list of Microsoft Storage Metrics definitions."
- },
- "origin": "system",
- "properties": {
- "serviceSpecification": {
- "metricSpecifications": [
- {
- "name": "FileCapacity",
- "displayName": "File Capacity",
- "displayDescription": "The amount of storage used by the storage account’s File service in bytes.",
- "unit": "Bytes",
- "aggregationType": "Average",
- "fillGapWithZero": false,
- "category": "Capacity"
- },
- {
- "name": "FileProvisionedSize",
- "displayName": "File Provisioned Size",
- "displayDescription": "The amount of storage provisioned in the storage account’s File service in bytes.",
- "unit": "Bytes",
- "aggregationType": "Average",
- "fillGapWithZero": false,
- "category": "Capacity"
- },
- {
- "name": "FileCount",
- "displayName": "File Count",
- "displayDescription": "The number of file in the storage account’s File service.",
- "unit": "Count",
- "aggregationType": "Average",
- "fillGapWithZero": false,
- "category": "Capacity"
- },
- {
- "name": "FileShareCount",
- "displayName": "File Share Count",
- "displayDescription": "The number of file shares in the storage account’s File service.",
- "unit": "Count",
- "aggregationType": "Average",
- "fillGapWithZero": false,
- "category": "Capacity"
- }
- ]
- }
- }
- },
- {
- "name": "Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/read",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "File service",
- "operation": "Read diagnostic setting",
- "description": "Gets the diagnostic setting for the resource."
- },
- "origin": "system"
- },
- {
- "name": "Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/write",
- "display": {
- "provider": "Microsoft Storage",
- "resource": "File service",
- "operation": "Write diagnostic setting",
- "description": "Creates or updates the diagnostic setting for the resource."
- },
- "origin": "system"
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/SKUList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/SKUList.json
deleted file mode 100644
index fdae16487cb1..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/SKUList.json
+++ /dev/null
@@ -1,6454 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "api-version": "2018-11-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "eastus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "eastus"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "eastus"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "eastus"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastus2"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastus2"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastus2"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastus2"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "eastus2"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "eastus2"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "true"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "eastus2"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "eastus2"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastus2(stage)"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastus2(stage)"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastus2(stage)"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastus2(stage)"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "eastus2(stage)"
- ],
- "capabilities": [
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "eastus2(stage)"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "true"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "eastus2(stage)"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "true"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "eastus2(stage)"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "true"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "westus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "westus"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "westus"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "westus"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westeurope"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westeurope"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westeurope"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westeurope"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "westeurope"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "westeurope"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "westeurope"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "westeurope"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastasia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastasia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastasia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastasia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "eastasia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "eastasia"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "eastasia"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "eastasia"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "southeastasia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "southeastasia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "southeastasia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "southeastasia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "southeastasia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "southeastasia"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "southeastasia"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "southeastasia"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "japaneast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "japaneast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "japaneast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "japaneast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "japaneast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "japaneast"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "japaneast"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "japaneast"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "japanwest"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "japanwest"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "japanwest"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "japanwest"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "japanwest"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "japanwest"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "japanwest"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "japanwest"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "northcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "northcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "northcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "northcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "northcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "northcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "northcentralus"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "northcentralus"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "southcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "southcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "southcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "southcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "southcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "southcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "southcentralus"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "southcentralus"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "centralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "centralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "centralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "centralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "centralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "centralus"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "centralus"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "centralus"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "northeurope"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "northeurope"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "northeurope"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "northeurope"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "northeurope"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "northeurope"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "northeurope"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "northeurope"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "brazilsouth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "brazilsouth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "brazilsouth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "brazilsouth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "brazilsouth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "brazilsouth"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "brazilsouth"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "brazilsouth"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "australiaeast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "australiaeast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "australiaeast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "australiaeast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "australiaeast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "australiaeast"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "australiaeast"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "australiaeast"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "australiasoutheast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "australiasoutheast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "australiasoutheast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "australiasoutheast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "australiasoutheast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "australiasoutheast"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "australiasoutheast"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "australiasoutheast"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "southindia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "southindia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "southindia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "southindia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "southindia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "southindia"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "southindia"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "southindia"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "centralindia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "centralindia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "centralindia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "centralindia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "centralindia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "centralindia"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "centralindia"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "centralindia"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westindia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westindia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westindia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westindia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "westindia"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "westindia"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "westindia"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "westindia"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "canadaeast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "canadaeast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "canadaeast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "canadaeast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "canadaeast"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "canadaeast"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "canadaeast"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "canadaeast"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "canadacentral"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "canadacentral"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "canadacentral"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "canadacentral"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "canadacentral"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "canadacentral"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "canadacentral"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "canadacentral"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westus2"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westus2"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westus2"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westus2"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "westus2"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "westus2"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "westus2"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "westus2"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "westcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "westcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "westcentralus"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "westcentralus"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "westcentralus"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "true"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "uksouth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "uksouth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "uksouth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "uksouth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "uksouth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "uksouth"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "uksouth"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "uksouth"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "ukwest"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "ukwest"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "ukwest"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "ukwest"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "ukwest"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "ukwest"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "ukwest"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "ukwest"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "koreacentral"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "koreacentral"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "koreacentral"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "koreacentral"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "koreacentral"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "koreacentral"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "koreacentral"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "koreacentral"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "koreasouth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "koreasouth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "koreasouth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "koreasouth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "koreasouth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "koreasouth"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "koreasouth"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "koreasouth"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "uknorth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "uknorth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "uknorth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "uknorth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "uknorth"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "uknorth"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "uknorth"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "uknorth"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "uksouth2"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "uksouth2"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "uksouth2"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "uksouth2"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "uksouth2"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "uksouth2"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "uksouth2"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "uksouth2"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "false"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastus2euap"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastus2euap"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastus2euap"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "eastus2euap"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "eastus2euap"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "eastus2euap"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "true"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "eastus2euap"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "true"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "eastus2euap"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "true"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "centraluseuap"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_ZRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "centraluseuap"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "centraluseuap"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "Storage",
- "locations": [
- "centraluseuap"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "true"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Premium_LRS",
- "tier": "Premium",
- "kind": "Storage",
- "locations": [
- "centraluseuap"
- ],
- "capabilities": [
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_LRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "centraluseuap"
- ],
- "capabilities": [
- {
- "name": "supportsarchivepreview",
- "value": "false"
- },
- {
- "name": "supportschangenotification",
- "value": "true"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_GRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "centraluseuap"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "true"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "true"
- }
- ],
- "restrictions": []
- },
- {
- "resourceType": "storageAccounts",
- "name": "Standard_RAGRS",
- "tier": "Standard",
- "kind": "BlobStorage",
- "locations": [
- "centraluseuap"
- ],
- "capabilities": [
- {
- "name": "supportschangenotification",
- "value": "true"
- },
- {
- "name": "supportsfileencryption",
- "value": "false"
- },
- {
- "name": "supportshoeboxcapacitymetrics",
- "value": "false"
- },
- {
- "name": "supportsnetworkacls",
- "value": "false"
- }
- ],
- "restrictions": []
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountCheckNameAvailability.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountCheckNameAvailability.json
deleted file mode 100644
index dc0f8f08eeb4..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountCheckNameAvailability.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "api-version": "2018-11-01",
- "accountName": {
- "name": "sto3363",
- "type": "Microsoft.Storage/storageAccounts"
- }
- },
- "responses": {
- "200": {
- "body": {
- "nameAvailable": true
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountCreate.json
deleted file mode 100644
index f318cef23fa5..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountCreate.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res9101",
- "accountName": "sto4445",
- "api-version": "2018-11-01",
- "parameters": {
- "sku": {
- "name": "Standard_GRS"
- },
- "kind": "Storage",
- "location": "eastus2euap",
- "properties": {
- "isHnsEnabled": true,
- "azureFilesAadIntegration": true
- },
- "tags": {
- "key1": "value1",
- "key2": "value2"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445",
- "kind": "Storage",
- "location": "eastus2euap",
- "name": "sto4445",
- "properties": {
- "isHnsEnabled": true,
- "azureFilesAadIntegration": true,
- "creationTime": "2017-05-24T13:25:33.4863236Z",
- "primaryEndpoints": {
- "web": "https://sto4445.web.core.windows.net/",
- "dfs": "https://sto4445.dfs.core.windows.net/",
- "blob": "https://sto4445.blob.core.windows.net/",
- "file": "https://sto4445.file.core.windows.net/",
- "queue": "https://sto4445.queue.core.windows.net/",
- "table": "https://sto4445.table.core.windows.net/"
- },
- "primaryLocation": "eastus2euap",
- "provisioningState": "Succeeded",
- "secondaryLocation": "centraluseuap",
- "statusOfPrimary": "available",
- "statusOfSecondary": "available",
- "supportsHttpsTrafficOnly": false
- },
- "sku": {
- "name": "Standard_GRS",
- "tier": "Standard"
- },
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "type": "Microsoft.Storage/storageAccounts"
- }
- },
- "202": {
- "body": ""
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountDelete.json
deleted file mode 100644
index 0c1cacc118a5..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountDelete.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res4228",
- "accountName": "sto2434",
- "api-version": "2018-11-01",
- "monitor": "true"
- },
- "responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountDeleteManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountDeleteManagementPolicy.json
deleted file mode 100644
index 8d58ea35a4ef..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountDeleteManagementPolicy.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res6977",
- "accountName": "sto2527",
- "managementPolicyName": "default",
- "api-version": "2018-11-01",
- "monitor": "true"
- },
- "responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountFailover.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountFailover.json
deleted file mode 100644
index 0692c44bbb6d..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountFailover.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res4228",
- "accountName": "sto2434",
- "api-version": "2018-11-01",
- "monitor": "true"
- },
- "responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountGetManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountGetManagementPolicy.json
deleted file mode 100644
index 728c2c7fb188..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountGetManagementPolicy.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res6977",
- "accountName": "sto2527",
- "managementPolicyName": "default",
- "api-version": "2018-11-01",
- "monitor": "true"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default",
- "name": "DefaultManagementPolicy",
- "type": "Microsoft.Storage/storageAccounts/managementPolicies",
- "properties": {
- "policy": {
- "version": "0.5",
- "rules": [
- {
- "name": "olcmtest",
- "type": "Lifecycle",
- "definition": {
- "filters": {
- "blobTypes": [
- "blockBlob"
- ],
- "prefixMatch": [
- "olcmtestcontainer"
- ]
- },
- "actions": {
- "baseBlob": {
- "tierToCool": {
- "daysAfterModificationGreaterThan": 30
- },
- "tierToArchive": {
- "daysAfterModificationGreaterThan": 90
- },
- "delete": {
- "daysAfterModificationGreaterThan": 1000
- }
- },
- "snapshot": {
- "delete": {
- "daysAfterCreationGreaterThan": 30
- }
- }
- }
- }
- }
- ]
- },
- "lastModifiedTime": "2018-06-08T03:01:55.7168089Z"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountGetProperties.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountGetProperties.json
deleted file mode 100644
index e2dde7a3e15e..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountGetProperties.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res9407",
- "accountName": "sto8596",
- "api-version": "2018-11-01",
- "monitor": "true"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596",
- "kind": "Storage",
- "location": "eastus2(stage)",
- "name": "sto8596",
- "properties": {
- "geoReplicationStats": {
- "status": "Live",
- "lastSyncTime": "2018-10-30T00:25:34Z",
- "canFailover": true
- },
- "isHnsEnabled": true,
- "azureFilesAadIntegration": true,
- "creationTime": "2017-06-01T02:42:41.7633306Z",
- "networkAcls": {
- "bypass": "AzureServices",
- "defaultAction": "Allow",
- "ipRules": [],
- "virtualNetworkRules": []
- },
- "primaryEndpoints": {
- "web": "https://sto8596.web.core.windows.net/",
- "dfs": "https://sto8596.dfs.core.windows.net/",
- "blob": "https://sto8596.blob.core.windows.net/",
- "file": "https://sto8596.file.core.windows.net/",
- "queue": "https://sto8596.queue.core.windows.net/",
- "table": "https://sto8596.table.core.windows.net/"
- },
- "primaryLocation": "eastus2(stage)",
- "provisioningState": "Succeeded",
- "secondaryLocation": "northcentralus(stage)",
- "statusOfPrimary": "available",
- "statusOfSecondary": "available",
- "supportsHttpsTrafficOnly": false
- },
- "sku": {
- "name": "Standard_GRS",
- "tier": "Standard"
- },
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "type": "Microsoft.Storage/storageAccounts"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountList.json
deleted file mode 100644
index b7cdecd1b691..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountList.json
+++ /dev/null
@@ -1,184 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "api-version": "2018-11-01",
- "monitor": "true"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125",
- "kind": "Storage",
- "location": "eastus2euap",
- "name": "sto1125",
- "properties": {
- "isHnsEnabled": true,
- "azureFilesAadIntegration": true,
- "creationTime": "2017-05-24T13:28:53.4540398Z",
- "primaryEndpoints": {
- "web": "https://sto1125.web.core.windows.net/",
- "dfs": "https://sto1125.dfs.core.windows.net/",
- "blob": "https://sto1125.blob.core.windows.net/",
- "file": "https://sto1125.file.core.windows.net/",
- "queue": "https://sto1125.queue.core.windows.net/",
- "table": "https://sto1125.table.core.windows.net/"
- },
- "primaryLocation": "eastus2euap",
- "provisioningState": "Succeeded",
- "secondaryLocation": "centraluseuap",
- "statusOfPrimary": "available",
- "statusOfSecondary": "available",
- "supportsHttpsTrafficOnly": false
- },
- "sku": {
- "name": "Standard_GRS",
- "tier": "Standard"
- },
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "type": "Microsoft.Storage/storageAccounts"
- },
- {
- "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto3699",
- "identity": {
- "principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b",
- "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47",
- "type": "SystemAssigned"
- },
- "kind": "Storage",
- "location": "eastus2euap",
- "name": "sto3699",
- "properties": {
- "creationTime": "2017-05-24T10:06:30.6093014Z",
- "primaryEndpoints": {
- "blob": "https://sto3699.blob.core.windows.net/",
- "file": "https://sto3699.file.core.windows.net/",
- "queue": "https://sto3699.queue.core.windows.net/",
- "table": "https://sto3699.table.core.windows.net/"
- },
- "primaryLocation": "eastus2euap",
- "provisioningState": "Succeeded",
- "secondaryLocation": "centraluseuap",
- "statusOfPrimary": "available",
- "statusOfSecondary": "available",
- "supportsHttpsTrafficOnly": false
- },
- "sku": {
- "name": "Standard_GRS",
- "tier": "Standard"
- },
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "type": "Microsoft.Storage/storageAccounts"
- },
- {
- "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto6637",
- "identity": {
- "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66",
- "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47",
- "type": "SystemAssigned"
- },
- "kind": "Storage",
- "location": "eastus2euap",
- "name": "sto6637",
- "properties": {
- "creationTime": "2017-05-24T10:09:39.5625175Z",
- "primaryEndpoints": {
- "blob": "https://sto6637.blob.core.windows.net/",
- "file": "https://sto6637.file.core.windows.net/",
- "queue": "https://sto6637.queue.core.windows.net/",
- "table": "https://sto6637.table.core.windows.net/"
- },
- "primaryLocation": "eastus2euap",
- "provisioningState": "Succeeded",
- "secondaryLocation": "centraluseuap",
- "statusOfPrimary": "available",
- "statusOfSecondary": "available",
- "supportsHttpsTrafficOnly": false
- },
- "sku": {
- "name": "Standard_GRS",
- "tier": "Standard"
- },
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "type": "Microsoft.Storage/storageAccounts"
- },
- {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res8186/providers/Microsoft.Storage/storageAccounts/sto834",
- "kind": "Storage",
- "location": "eastus2euap",
- "name": "sto834",
- "properties": {
- "creationTime": "2017-05-24T13:28:20.8686541Z",
- "primaryEndpoints": {
- "blob": "https://sto834.blob.core.windows.net/",
- "file": "https://sto834.file.core.windows.net/",
- "queue": "https://sto834.queue.core.windows.net/",
- "table": "https://sto834.table.core.windows.net/"
- },
- "primaryLocation": "eastus2euap",
- "provisioningState": "Succeeded",
- "secondaryLocation": "centraluseuap",
- "statusOfPrimary": "available",
- "statusOfSecondary": "available",
- "supportsHttpsTrafficOnly": false
- },
- "sku": {
- "name": "Standard_GRS",
- "tier": "Standard"
- },
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "type": "Microsoft.Storage/storageAccounts"
- },
- {
- "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto9174",
- "identity": {
- "principalId": "933e3ddf-1802-4a51-9469-18a33b576f88",
- "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47",
- "type": "SystemAssigned"
- },
- "kind": "Storage",
- "location": "eastus2euap",
- "name": "sto9174",
- "properties": {
- "creationTime": "2017-05-24T09:46:19.6556989Z",
- "primaryEndpoints": {
- "blob": "https://sto9174.blob.core.windows.net/",
- "file": "https://sto9174.file.core.windows.net/",
- "queue": "https://sto9174.queue.core.windows.net/",
- "table": "https://sto9174.table.core.windows.net/"
- },
- "primaryLocation": "eastus2euap",
- "provisioningState": "Succeeded",
- "secondaryLocation": "centraluseuap",
- "statusOfPrimary": "available",
- "statusOfSecondary": "available",
- "supportsHttpsTrafficOnly": false
- },
- "sku": {
- "name": "Standard_GRS",
- "tier": "Standard"
- },
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "type": "Microsoft.Storage/storageAccounts"
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListAccountSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListAccountSAS.json
deleted file mode 100644
index d36038171133..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListAccountSAS.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res7985",
- "accountName": "sto8588",
- "api-version": "2018-11-01",
- "monitor": "true",
- "parameters": {
- "signedServices": "b",
- "signedResourceTypes": "s",
- "signedPermission": "r",
- "signedProtocol": "https,http",
- "signedStart": "2017-05-24T10:42:03.1567373Z",
- "signedExpiry": "2017-05-24T11:42:03.1567373Z",
- "keyToSign": "key1"
- }
- },
- "responses": {
- "200": {
- "body": {
- "accountSasToken": "sv=2015-04-05&ss=b&srt=s&sp=r&st=2017-05-24T10%3A42%3A03Z&se=2017-05-24T11%3A42%3A03Z&spr=https,http&sig=Z0I%2BEpM%2BPPlTC8ApfUf%2BcffO2aahMgZim3U0iArqsS0%3D"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListByResourceGroup.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListByResourceGroup.json
deleted file mode 100644
index b6724e0a3055..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListByResourceGroup.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res6117",
- "api-version": "2018-11-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res6117/providers/Microsoft.Storage/storageAccounts/sto4036",
- "kind": "Storage",
- "location": "eastus2euap",
- "name": "sto4036",
- "properties": {
- "isHnsEnabled": true,
- "azureFilesAadIntegration": true,
- "creationTime": "2017-05-24T13:24:47.818801Z",
- "primaryEndpoints": {
- "web": "https://sto4036.web.core.windows.net/",
- "dfs": "https://sto4036.dfs.core.windows.net/",
- "blob": "https://sto4036.blob.core.windows.net/",
- "file": "https://sto4036.file.core.windows.net/",
- "queue": "https://sto4036.queue.core.windows.net/",
- "table": "https://sto4036.table.core.windows.net/"
- },
- "primaryLocation": "eastus2euap",
- "provisioningState": "Succeeded",
- "secondaryLocation": "centraluseuap",
- "statusOfPrimary": "available",
- "statusOfSecondary": "available",
- "supportsHttpsTrafficOnly": false
- },
- "sku": {
- "name": "Standard_GRS",
- "tier": "Standard"
- },
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "type": "Microsoft.Storage/storageAccounts"
- },
- {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res6117/providers/Microsoft.Storage/storageAccounts/sto4452",
- "kind": "Storage",
- "location": "eastus2euap",
- "name": "sto4452",
- "properties": {
- "creationTime": "2017-05-24T13:24:15.7068366Z",
- "primaryEndpoints": {
- "blob": "https://sto4452.blob.core.windows.net/",
- "file": "https://sto4452.file.core.windows.net/",
- "queue": "https://sto4452.queue.core.windows.net/",
- "table": "https://sto4452.table.core.windows.net/"
- },
- "primaryLocation": "eastus2euap",
- "provisioningState": "Succeeded",
- "secondaryLocation": "centraluseuap",
- "statusOfPrimary": "available",
- "statusOfSecondary": "available",
- "supportsHttpsTrafficOnly": false
- },
- "sku": {
- "name": "Standard_GRS",
- "tier": "Standard"
- },
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "type": "Microsoft.Storage/storageAccounts"
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListKeys.json
deleted file mode 100644
index 4985a252eaab..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListKeys.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res418",
- "accountName": "sto2220",
- "api-version": "2018-11-01",
- "monitor": "true"
- },
- "responses": {
- "200": {
- "body": {
- "keys": [
- {
- "keyName": "key1",
- "permissions": "Full",
- "value": "nVF7aKIvr9mV/RM5lOD0sYoi8ThXTRHQP7o66hvUmjCDkPKR3qxPu/otJcNciz2aQdqPuzJH3ECG4TU2yZjQ7Q=="
- },
- {
- "keyName": "key2",
- "permissions": "Full",
- "value": "dNJvKnULO586Ji3nFzB7987TJs4ovnGZhyGXeiVQ75HZGPhBmBfe8lXrI7EfyATff6S5ucxffCoEAQOWbmPK/Q=="
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListLocationUsage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListLocationUsage.json
deleted file mode 100644
index 968a8b130938..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListLocationUsage.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "location": "eastus2(stage)",
- "api-version": "2018-11-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "unit": "Count",
- "currentValue": 55,
- "limit": 250,
- "name": {
- "value": "StorageAccounts",
- "localizedValue": "Storage Accounts"
- }
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListServiceSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListServiceSAS.json
deleted file mode 100644
index 5c2edb036ba5..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountListServiceSAS.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res7439",
- "accountName": "sto1299",
- "api-version": "2018-11-01",
- "monitor": "true",
- "parameters": {
- "canonicalizedResource": "/blob/sto1299/music",
- "signedResource": "c",
- "signedPermission": "l",
- "signedExpiry": "2017-05-24T11:32:48.8457197Z"
- }
- },
- "responses": {
- "200": {
- "body": {
- "serviceSasToken": "sv=2015-04-05&sr=c&se=2017-05-24T11%3A32%3A48Z&sp=l&sig=PoF8yBUGixsjzwroLmw7vG3VbGz4KB2woZC2D4C2oio%3D"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountRegenerateKey.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountRegenerateKey.json
deleted file mode 100644
index eb21a8d05093..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountRegenerateKey.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res4167",
- "accountName": "sto3539",
- "api-version": "2018-11-01",
- "monitor": "true",
- "regenerateKey": {
- "keyName": "key2"
- }
- },
- "responses": {
- "200": {
- "body": {
- "keys": [
- {
- "keyName": "key1",
- "permissions": "Full",
- "value": "7xl+yQ4MrVpZCHspveCfy4f8jgTY1wv42gHO8k4bAX+EPvN4hY5uPau/bpofgeye+K9FtgvjkadkLISPfOxlMw=="
- },
- {
- "keyName": "key2",
- "permissions": "Full",
- "value": "uC+kyJ9/gT81E/+9I1Go4xtOe8sW5rdIm3n6PNIyQ5kGO5OpFq69aWnrn3jLeFIyItzpln9P392U0353RYKvbg=="
- }
- ]
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountSetManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountSetManagementPolicy.json
deleted file mode 100644
index 75128fa29150..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountSetManagementPolicy.json
+++ /dev/null
@@ -1,100 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res7687",
- "accountName": "sto9699",
- "managementPolicyName": "default",
- "api-version": "2018-11-01",
- "monitor": "true",
- "properties": {
- "properties": {
- "policy": {
- "version": "0.5",
- "rules": [
- {
- "name": "olcmtest",
- "type": "Lifecycle",
- "definition": {
- "filters": {
- "blobTypes": [
- "blockBlob"
- ],
- "prefixMatch": [
- "olcmtestcontainer"
- ]
- },
- "actions": {
- "baseBlob": {
- "tierToCool": {
- "daysAfterModificationGreaterThan": 30
- },
- "tierToArchive": {
- "daysAfterModificationGreaterThan": 90
- },
- "delete": {
- "daysAfterModificationGreaterThan": 1000
- }
- },
- "snapshot": {
- "delete": {
- "daysAfterCreationGreaterThan": 30
- }
- }
- }
- }
- }
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default",
- "name": "DefaultManagementPolicy",
- "type": "Microsoft.Storage/storageAccounts/managementPolicies",
- "properties": {
- "policy": {
- "version": "0.5",
- "rules": [
- {
- "name": "olcmtest",
- "type": "Lifecycle",
- "definition": {
- "filters": {
- "blobTypes": [
- "blockBlob"
- ],
- "prefixMatch": [
- "olcmtestcontainer"
- ]
- },
- "actions": {
- "baseBlob": {
- "tierToCool": {
- "daysAfterModificationGreaterThan": 30
- },
- "tierToArchive": {
- "daysAfterModificationGreaterThan": 90
- },
- "delete": {
- "daysAfterModificationGreaterThan": 1000
- }
- },
- "snapshot": {
- "delete": {
- "daysAfterCreationGreaterThan": 30
- }
- }
- }
- }
- }
- ]
- },
- "lastModifiedTime": "2018-06-08T02:53:39.0932539Z"
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountUpdate.json
deleted file mode 100644
index b871c1eef657..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/examples/StorageAccountUpdate.json
+++ /dev/null
@@ -1,60 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "{subscription-id}",
- "resourceGroupName": "res9407",
- "accountName": "sto8596",
- "api-version": "2018-11-01",
- "monitor": "true",
- "parameters": {
- "properties": {
- "networkAcls": {
- "defaultAction": "Allow"
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596",
- "kind": "Storage",
- "location": "eastus2(stage)",
- "name": "sto8596",
- "properties": {
- "isHnsEnabled": true,
- "azureFilesAadIntegration": true,
- "creationTime": "2017-06-01T02:42:41.7633306Z",
- "networkAcls": {
- "bypass": "AzureServices",
- "defaultAction": "Allow",
- "ipRules": [],
- "virtualNetworkRules": []
- },
- "primaryEndpoints": {
- "web": "https://sto8596.web.core.windows.net/",
- "dfs": "https://sto8596.dfs.core.windows.net/",
- "blob": "https://sto8596.blob.core.windows.net/",
- "file": "https://sto8596.file.core.windows.net/",
- "queue": "https://sto8596.queue.core.windows.net/",
- "table": "https://sto8596.table.core.windows.net/"
- },
- "primaryLocation": "eastus2(stage)",
- "provisioningState": "Succeeded",
- "secondaryLocation": "northcentralus(stage)",
- "statusOfPrimary": "available",
- "statusOfSecondary": "available",
- "supportsHttpsTrafficOnly": false
- },
- "sku": {
- "name": "Standard_GRS",
- "tier": "Standard"
- },
- "tags": {
- "key1": "value1",
- "key2": "value2"
- },
- "type": "Microsoft.Storage/storageAccounts"
- }
- }
- }
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/storage.json
deleted file mode 100644
index 83c4ae164a69..000000000000
--- a/specification/storage/resource-manager/Microsoft.Storage/stable/2018-11-01/storage.json
+++ /dev/null
@@ -1,2318 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "StorageManagementClient",
- "description": "The Azure Storage Management API.",
- "version": "2018-11-01"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/providers/Microsoft.Storage/operations": {
- "get": {
- "tags": [
- "Operations"
- ],
- "description": "Lists all of the available Storage Rest API operations.",
- "operationId": "Operations_List",
- "x-ms-examples": {
- "OperationsList": {
- "$ref": "./examples/OperationsList.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The request has succeeded.",
- "schema": {
- "$ref": "#/definitions/OperationListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus": {
- "get": {
- "tags": [
- "Skus"
- ],
- "operationId": "Skus_List",
- "description": "Lists the available SKUs supported by Microsoft.Storage for given subscription.",
- "x-ms-examples": {
- "SkuList": {
- "$ref": "./examples/SKUList.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- List of storage SKUs in the given subscription retrieved and returned successfully.",
- "schema": {
- "$ref": "#/definitions/StorageSkuListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability": {
- "post": {
- "tags": [
- "StorageAccounts"
- ],
- "operationId": "StorageAccounts_CheckNameAvailability",
- "description": "Checks that the storage account name is valid and is not already in use.",
- "x-ms-examples": {
- "StorageAccountCheckNameAvailability": {
- "$ref": "./examples/StorageAccountCheckNameAvailability.json"
- }
- },
- "parameters": [
- {
- "name": "accountName",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/StorageAccountCheckNameAvailabilityParameters"
- },
- "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only."
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Operation to check the storage account name availability was successful.",
- "schema": {
- "$ref": "#/definitions/CheckNameAvailabilityResult"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}": {
- "put": {
- "tags": [
- "StorageAccounts"
- ],
- "operationId": "StorageAccounts_Create",
- "description": "Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.",
- "x-ms-examples": {
- "StorageAccountCreate": {
- "$ref": "./examples/StorageAccountCreate.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/StorageAccountName"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/StorageAccountCreateParameters"
- },
- "description": "The parameters to provide for the created account."
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- returned when the storage account was already created from a previous request with the same properties specified in the request body.",
- "schema": {
- "$ref": "#/definitions/StorageAccount"
- }
- },
- "202": {
- "description": "Accepted -- Create or update request accepted; operation will complete asynchronously."
- }
- },
- "x-ms-long-running-operation": true
- },
- "delete": {
- "tags": [
- "StorageAccounts"
- ],
- "operationId": "StorageAccounts_Delete",
- "description": "Deletes a storage account in Microsoft Azure.",
- "x-ms-examples": {
- "StorageAccountDelete": {
- "$ref": "./examples/StorageAccountDelete.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/StorageAccountName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- storage account deleted successfully."
- },
- "204": {
- "description": "NoContent -- account does not exist in the subscription."
- }
- }
- },
- "get": {
- "tags": [
- "StorageAccounts"
- ],
- "operationId": "StorageAccounts_GetProperties",
- "description": "Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.",
- "x-ms-examples": {
- "StorageAccountGetProperties": {
- "$ref": "./examples/StorageAccountGetProperties.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/StorageAccountName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "$expand",
- "description": "May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats.",
- "in": "query",
- "required": false,
- "type": "string",
- "enum": [
- "geoReplicationStats"
- ],
- "x-ms-enum": {
- "name": "StorageAccountExpand",
- "modelAsString": false
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- properties retrieved successfully for the storage account.",
- "schema": {
- "$ref": "#/definitions/StorageAccount"
- }
- }
- }
- },
- "patch": {
- "tags": [
- "StorageAccounts"
- ],
- "operationId": "StorageAccounts_Update",
- "description": "The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation.",
- "x-ms-examples": {
- "StorageAccountUpdate": {
- "$ref": "./examples/StorageAccountUpdate.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/StorageAccountName"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/StorageAccountUpdateParameters"
- },
- "description": "The parameters to provide for the updated account."
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- storage account properties updated successfully.",
- "schema": {
- "$ref": "#/definitions/StorageAccount"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts": {
- "get": {
- "tags": [
- "StorageAccounts"
- ],
- "operationId": "StorageAccounts_List",
- "description": "Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.",
- "x-ms-examples": {
- "StorageAccountList": {
- "$ref": "./examples/StorageAccountList.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- List of storage accounts was retrieved and returned successfully.",
- "schema": {
- "$ref": "#/definitions/StorageAccountListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts": {
- "get": {
- "tags": [
- "StorageAccounts"
- ],
- "operationId": "StorageAccounts_ListByResourceGroup",
- "description": "Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this.",
- "x-ms-examples": {
- "StorageAccountListByResourceGroup": {
- "$ref": "./examples/StorageAccountListByResourceGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- List of storage accounts in the given resource group retrieved and returned successfully.",
- "schema": {
- "$ref": "#/definitions/StorageAccountListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys": {
- "post": {
- "tags": [
- "StorageAccounts"
- ],
- "operationId": "StorageAccounts_ListKeys",
- "description": "Lists the access keys for the specified storage account.",
- "x-ms-examples": {
- "StorageAccountListKeys": {
- "$ref": "./examples/StorageAccountListKeys.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/StorageAccountName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- list of keys retrieved and returned successfully.",
- "schema": {
- "$ref": "#/definitions/StorageAccountListKeysResult"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey": {
- "post": {
- "tags": [
- "StorageAccounts"
- ],
- "operationId": "StorageAccounts_RegenerateKey",
- "description": "Regenerates one of the access keys for the specified storage account.",
- "x-ms-examples": {
- "StorageAccountRegenerateKey": {
- "$ref": "./examples/StorageAccountRegenerateKey.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/StorageAccountName"
- },
- {
- "name": "regenerateKey",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/StorageAccountRegenerateKeyParameters"
- },
- "description": "Specifies name of the key which should be regenerated -- key1 or key2."
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- specified key regenerated successfully.",
- "schema": {
- "$ref": "#/definitions/StorageAccountListKeysResult"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages": {
- "get": {
- "tags": [
- "LocationUsage"
- ],
- "operationId": "Usages_ListByLocation",
- "description": "Gets the current usage count and the limit for the resources of the location under the subscription.",
- "x-ms-examples": {
- "UsageList": { "$ref": "./examples/StorageAccountListLocationUsage.json"}
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "location",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The location of the Azure Storage resource."
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- current usage count and limit retrieved and returned successfully.",
- "schema": {
- "$ref": "#/definitions/UsageListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas": {
- "post": {
- "tags": [
- "StorageAccounts"
- ],
- "operationId": "StorageAccounts_ListAccountSAS",
- "description": "List SAS credentials of a storage account.",
- "x-ms-examples": {
- "StorageAccountListAccountSAS": {
- "$ref": "./examples/StorageAccountListAccountSAS.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/StorageAccountName"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/AccountSasParameters"
- },
- "description": "The parameters to provide to list SAS credentials for the storage account."
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- returned the account SAS created for the storage account requested.",
- "schema": {
- "$ref": "#/definitions/ListAccountSasResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas": {
- "post": {
- "tags": [
- "StorageAccounts"
- ],
- "operationId": "StorageAccounts_ListServiceSAS",
- "description": "List service SAS credentials of a specific resource.",
- "x-ms-examples": {
- "StorageAccountListServiceSAS": {
- "$ref": "./examples/StorageAccountListServiceSAS.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/StorageAccountName"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ServiceSasParameters"
- },
- "description": "The parameters to provide to list service SAS credentials."
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- returned the service SAS created for the storage service requested.",
- "schema": {
- "$ref": "#/definitions/ListServiceSasResponse"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover": {
- "post": {
- "tags": [
- "StorageAccounts"
- ],
- "operationId": "StorageAccounts_Failover",
- "description": "Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover.",
- "x-ms-examples": {
- "StorageAccountCreate": {
- "$ref": "./examples/StorageAccountFailover.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/StorageAccountName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Returned when the storage account failover is completed, and the secondary cluster has become primary."
- },
- "202": {
- "description": "Accepted -- Failover request accepted; operation will complete asynchronously."
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}": {
- "get": {
- "tags": [
- "ManagementPolicies"
- ],
- "operationId": "ManagementPolicies_Get",
- "description": "Gets the managementpolicy associated with the specified storage account.",
- "x-ms-examples": {
- "StorageAccountGetManagementPolicies": { "$ref": "./examples/StorageAccountGetManagementPolicy.json" }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/StorageAccountName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ManagementPolicyName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Get the managementpolicy successfully.",
- "schema": {
- "$ref": "#/definitions/ManagementPolicy"
- }
- }
- }
- },
- "put": {
- "tags": [
- "ManagementPolicies"
- ],
- "operationId": "ManagementPolicies_CreateOrUpdate",
- "description": "Sets the managementpolicy to the specified storage account.",
- "x-ms-examples": {
- "StorageAccountSetManagementPolicies": { "$ref": "./examples/StorageAccountSetManagementPolicy.json" }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/StorageAccountName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ManagementPolicyName"
- },
- {
- "name": "properties",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ManagementPolicy"
- },
- "description": "The ManagementPolicy set to a storage account."
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Get managementpolicy successfully.",
- "schema": {
- "$ref": "#/definitions/ManagementPolicy"
- }
- }
- }
- },
- "delete": {
- "tags": [
- "ManagementPolicies"
- ],
- "operationId": "ManagementPolicies_Delete",
- "description": "Deletes the managementpolicy associated with the specified storage account.",
- "x-ms-examples": {
- "StorageAccountDeleteManagementPolicies": { "$ref": "./examples/StorageAccountDeleteManagementPolicy.json" }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupName"
- },
- {
- "$ref": "#/parameters/StorageAccountName"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ManagementPolicyName"
- }
- ],
- "responses": {
- "200": {
- "description": "OK -- Delete the managementpolicy successfully."
- },
- "204": {
- "description": "No Content -- The managementpolicy does not exist."
- }
- }
- }
- }
- },
- "definitions": {
- "OperationListResult": {
- "description": "Result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Operation"
- },
- "description": "List of Storage operations supported by the Storage resource provider."
- }
- }
- },
- "Operation": {
- "description": "Storage REST API operation definition.",
- "type": "object",
- "properties": {
- "name": {
- "description": "Operation name: {provider}/{resource}/{operation}",
- "type": "string"
- },
- "display": {
- "description": "Display metadata associated with the operation.",
- "properties": {
- "provider": {
- "description": "Service provider: Microsoft Storage.",
- "type": "string"
- },
- "resource": {
- "description": "Resource on which the operation is performed etc.",
- "type": "string"
- },
- "operation": {
- "description": "Type of operation: get, read, delete, etc.",
- "type": "string"
- },
- "description": {
- "description": "Description of the operation.",
- "type": "string"
- }
- }
- },
- "origin": {
- "type": "string",
- "description": "The origin of operations."
- },
- "properties": {
- "description": "Properties of operation, include metric specifications.",
- "x-ms-client-flatten": true,
- "x-ms-client-name": "OperationProperties",
- "$ref": "#/definitions/OperationProperties"
- }
- }
- },
- "OperationProperties": {
- "description": "Properties of operation, include metric specifications.",
- "properties": {
- "serviceSpecification": {
- "$ref": "#/definitions/ServiceSpecification",
- "description": "One property of operation, include metric specifications."
- }
- }
- },
- "ServiceSpecification": {
- "description": "One property of operation, include metric specifications.",
- "properties": {
- "metricSpecifications": {
- "description": "Metric specifications of operation.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/MetricSpecification"
- }
- }
- }
- },
- "MetricSpecification": {
- "description": "Metric specification of operation.",
- "properties": {
- "name": {
- "type": "string",
- "description": "Name of metric specification."
- },
- "displayName": {
- "type": "string",
- "description": "Display name of metric specification."
- },
- "displayDescription": {
- "type": "string",
- "description": "Display description of metric specification."
- },
- "unit": {
- "type": "string",
- "description": "Unit could be Bytes or Count."
- },
- "dimensions": {
- "description": "Dimensions of blobs, including blob type and access tier.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Dimension"
- }
- },
- "aggregationType": {
- "type": "string",
- "description": "Aggregation type could be Average."
- },
- "fillGapWithZero": {
- "type": "boolean",
- "description": "The property to decide fill gap with zero or not."
- },
- "category": {
- "type": "string",
- "description": "The category this metric specification belong to, could be Capacity."
- },
- "resourceIdDimensionNameOverride": {
- "type": "string",
- "description": "Account Resource Id."
- }
- }
- },
- "Dimension": {
- "description": "Dimension of blobs, possibly be blob type or access tier.",
- "properties": {
- "name": {
- "type": "string",
- "description": "Display name of dimension."
- },
- "displayName": {
- "type": "string",
- "description": "Display name of dimension."
- }
- }
- },
- "StorageAccountCheckNameAvailabilityParameters": {
- "properties": {
- "name": {
- "type": "string",
- "description": "The storage account name."
- },
- "type": {
- "type": "string",
- "enum": [
- "Microsoft.Storage/storageAccounts"
- ],
- "x-ms-enum": {
- "name": "Type",
- "modelAsString": false
- },
- "description": "The type of resource, Microsoft.Storage/storageAccounts"
- }
- },
- "required": [
- "name",
- "type"
- ],
- "description": "The parameters used to check the availability of the storage account name."
- },
- "SKUCapability": {
- "properties": {
- "name": {
- "readOnly": true,
- "type": "string",
- "description": "The name of capability, The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc."
- },
- "value": {
- "readOnly": true,
- "type": "string",
- "description": "A string value to indicate states of given capability. Possibly 'true' or 'false'."
- }
- },
- "description": "The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc."
- },
- "Restriction": {
- "properties": {
- "type": {
- "readOnly": true,
- "type": "string",
- "description": "The type of restrictions. As of now only possible value for this is location."
- },
- "values": {
- "readOnly": true,
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted."
- },
- "reasonCode": {
- "type": "string",
- "enum": [
- "QuotaId",
- "NotAvailableForSubscription"
- ],
- "x-ms-enum": {
- "name": "ReasonCode",
- "modelAsString": true
- },
- "description": "The reason for the restriction. As of now this can be \"QuotaId\" or \"NotAvailableForSubscription\". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The \"NotAvailableForSubscription\" is related to capacity at DC."
- }
- },
- "description": "The restriction because of which SKU cannot be used."
- },
- "StorageSkuListResult": {
- "properties": {
- "value": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sku"
- },
- "description": "Get the list result of storage SKUs and their properties."
- }
- },
- "description": "The response from the List Storage SKUs operation."
- },
- "CheckNameAvailabilityResult": {
- "properties": {
- "nameAvailable": {
- "readOnly": true,
- "type": "boolean",
- "description": "Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used."
- },
- "reason": {
- "readOnly": true,
- "type": "string",
- "description": "Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false.",
- "enum": [
- "AccountNameInvalid",
- "AlreadyExists"
- ],
- "x-ms-enum": {
- "name": "Reason",
- "modelAsString": false
- }
- },
- "message": {
- "readOnly": true,
- "type": "string",
- "description": "Gets an error message explaining the Reason value in more detail."
- }
- },
- "description": "The CheckNameAvailability operation response."
- },
- "Sku": {
- "properties": {
- "name": {
- "type": "string",
- "description": "Gets or sets the SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.",
- "enum": [
- "Standard_LRS",
- "Standard_GRS",
- "Standard_RAGRS",
- "Standard_ZRS",
- "Premium_LRS",
- "Premium_ZRS"
- ],
- "x-ms-enum": {
- "name": "SkuName",
- "modelAsString": false
- }
- },
- "tier": {
- "readOnly": true,
- "type": "string",
- "description": "Gets the SKU tier. This is based on the SKU name.",
- "enum": [
- "Standard",
- "Premium"
- ],
- "x-ms-enum": {
- "name": "SkuTier",
- "modelAsString": false
- }
- },
- "resourceType": {
- "readOnly": true,
- "type": "string",
- "description": "The type of the resource, usually it is 'storageAccounts'."
- },
- "kind": {
- "readOnly": true,
- "type": "string",
- "description": "Indicates the type of storage account.",
- "enum": [
- "Storage",
- "StorageV2",
- "BlobStorage",
- "FileStorage",
- "BlockBlobStorage"
- ],
- "x-ms-enum": {
- "name": "Kind",
- "modelAsString": false
- }
- },
- "locations": {
- "readOnly": true,
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.)."
- },
- "capabilities": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/SKUCapability"
- },
- "description": "The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc."
- },
- "restrictions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Restriction"
- },
- "description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions."
- }
- },
- "required": [
- "name"
- ],
- "description": "The SKU of the storage account."
- },
- "CustomDomain": {
- "properties": {
- "name": {
- "type": "string",
- "description": "Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source."
- },
- "useSubDomainName": {
- "type": "boolean",
- "description": "Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates."
- }
- },
- "required": [
- "name"
- ],
- "description": "The custom domain assigned to this storage account. This can be set via Update."
- },
- "EncryptionService": {
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "A boolean indicating whether or not the service encrypts the data as it is stored."
- },
- "lastEnabledTime": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "Gets a rough estimate of the date/time when the encryption was last enabled by the user. Only returned when encryption is enabled. There might be some unencrypted blobs which were written after this time, as it is just a rough estimate."
- }
- },
- "description": "A service that allows server-side encryption to be used."
- },
- "EncryptionServices": {
- "properties": {
- "blob": {
- "$ref": "#/definitions/EncryptionService",
- "description": "The encryption function of the blob storage service."
- },
- "file": {
- "$ref": "#/definitions/EncryptionService",
- "description": "The encryption function of the file storage service."
- },
- "table": {
- "$ref": "#/definitions/EncryptionService",
- "readOnly": true,
- "description": "The encryption function of the table storage service."
- },
- "queue": {
- "$ref": "#/definitions/EncryptionService",
- "readOnly": true,
- "description": "The encryption function of the queue storage service."
- }
- },
- "description": "A list of services that support encryption."
- },
- "KeyVaultProperties": {
- "description": "Properties of key vault.",
- "properties": {
- "keyname": {
- "type": "string",
- "description": "The name of KeyVault key.",
- "x-ms-client-name": "KeyName"
- },
- "keyversion": {
- "type": "string",
- "description": "The version of KeyVault key.",
- "x-ms-client-name": "KeyVersion"
- },
- "keyvaulturi": {
- "type": "string",
- "description": "The Uri of KeyVault.",
- "x-ms-client-name": "KeyVaultUri"
- }
- }
- },
- "Encryption": {
- "properties": {
- "services": {
- "$ref": "#/definitions/EncryptionServices",
- "description": "List of services which support encryption."
- },
- "keySource": {
- "type": "string",
- "description": "The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault",
- "enum": [
- "Microsoft.Storage",
- "Microsoft.Keyvault"
- ],
- "x-ms-enum": {
- "name": "KeySource",
- "modelAsString": true
- },
- "default": "Microsoft.Storage"
- },
- "keyvaultproperties": {
- "$ref": "#/definitions/KeyVaultProperties",
- "x-ms-client-name": "KeyVaultProperties",
- "description": "Properties provided by key vault."
- }
- },
- "required": [
- "keySource"
- ],
- "description": "The encryption settings on the storage account."
- },
- "VirtualNetworkRule": {
- "properties": {
- "id": {
- "type": "string",
- "x-ms-client-name": "VirtualNetworkResourceId",
- "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}."
- },
- "action": {
- "type": "string",
- "enum": [
- "Allow"
- ],
- "x-ms-enum": {
- "name": "Action",
- "modelAsString": false
- },
- "default": "Allow",
- "description": "The action of virtual network rule."
- },
- "state": {
- "type": "string",
- "enum": [
- "provisioning",
- "deprovisioning",
- "succeeded",
- "failed",
- "networkSourceDeleted"
- ],
- "x-ms-enum": {
- "name": "State",
- "modelAsString": false
- },
- "description": "Gets the state of virtual network rule."
- }
- },
- "required": [
- "id"
- ],
- "description": "Virtual Network rule."
- },
- "IPRule": {
- "properties": {
- "value": {
- "type": "string",
- "x-ms-client-name": "IPAddressOrRange",
- "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed."
- },
- "action": {
- "type": "string",
- "enum": [
- "Allow"
- ],
- "x-ms-enum": {
- "name": "Action",
- "modelAsString": false
- },
- "default": "Allow",
- "description": "The action of IP ACL rule."
- }
- },
- "required": [
- "value"
- ],
- "description": "IP rule with specific IP or IP range in CIDR format."
- },
- "NetworkRuleSet": {
- "properties": {
- "bypass": {
- "type": "string",
- "enum": [
- "None",
- "Logging",
- "Metrics",
- "AzureServices"
- ],
- "x-ms-enum": {
- "name": "Bypass",
- "modelAsString": true
- },
- "x-ms-client-name": "Bypass",
- "default": "AzureServices",
- "description": "Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, \"Logging, Metrics\"), or None to bypass none of those traffics."
- },
- "virtualNetworkRules": {
- "type": "array",
- "items": {
- "description": "Virtual Network rule.",
- "$ref": "#/definitions/VirtualNetworkRule"
- },
- "description": "Sets the virtual network rules"
- },
- "ipRules": {
- "type": "array",
- "items": {
- "description": "IP rule with specific IP or IP range in CIDR format.",
- "$ref": "#/definitions/IPRule"
- },
- "description": "Sets the IP ACL rules"
- },
- "defaultAction": {
- "type": "string",
- "enum": [
- "Allow",
- "Deny"
- ],
- "x-ms-enum": {
- "name": "DefaultAction",
- "modelAsString": false
- },
- "default": "Allow",
- "description": "Specifies the default action of allow or deny when no other rules match."
- }
- },
- "required": [
- "defaultAction"
- ],
- "description": "Network rule set"
- },
- "StorageAccountPropertiesCreateParameters": {
- "properties": {
- "customDomain": {
- "$ref": "#/definitions/CustomDomain",
- "description": "User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property."
- },
- "encryption": {
- "$ref": "#/definitions/Encryption",
- "description": "Provides the encryption settings on the account. If left unspecified the account encryption settings will remain the same. The default setting is unencrypted."
- },
- "networkAcls": {
- "$ref": "#/definitions/NetworkRuleSet",
- "x-ms-client-name": "NetworkRuleSet",
- "description": "Network rule set"
- },
- "accessTier": {
- "type": "string",
- "description": "Required for storage accounts where kind = BlobStorage. The access tier used for billing.",
- "enum": [
- "Hot",
- "Cool"
- ],
- "x-ms-enum": {
- "name": "AccessTier",
- "modelAsString": false
- }
- },
- "azureFilesAadIntegration": {
- "type": "boolean",
- "x-ms-client-name": "EnableAzureFilesAadIntegration",
- "description": "Enables Azure Files AAD Integration for SMB if sets to true."
- },
- "supportsHttpsTrafficOnly": {
- "type": "boolean",
- "x-ms-client-name": "EnableHttpsTrafficOnly",
- "description": "Allows https traffic only to storage service if sets to true."
- },
- "isHnsEnabled": {
- "type": "boolean",
- "x-ms-client-name": "IsHnsEnabled",
- "description": "Account HierarchicalNamespace enabled if sets to true."
- }
- },
- "description": "The parameters used to create the storage account."
- },
- "Identity": {
- "properties": {
- "principalId": {
- "readOnly": true,
- "type": "string",
- "description": "The principal ID of resource identity."
- },
- "tenantId": {
- "readOnly": true,
- "type": "string",
- "description": "The tenant ID of resource."
- },
- "type": {
- "type": "string",
- "description": "The identity type.",
- "enum": [
- "SystemAssigned"
- ],
- "x-ms-enum": {
- "name": "IdentityType",
- "modelAsString": false
- }
- }
- },
- "required": [
- "type"
- ],
- "description": "Identity for the resource."
- },
- "StorageAccountCreateParameters": {
- "properties": {
- "sku": {
- "$ref": "#/definitions/Sku",
- "description": "Required. Gets or sets the SKU name."
- },
- "kind": {
- "type": "string",
- "description": "Required. Indicates the type of storage account.",
- "enum": [
- "Storage",
- "StorageV2",
- "BlobStorage",
- "FileStorage",
- "BlockBlobStorage"
- ],
- "x-ms-enum": {
- "name": "Kind",
- "modelAsString": false
- }
- },
- "location": {
- "type": "string",
- "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed."
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters."
- },
- "identity": {
- "$ref": "#/definitions/Identity",
- "description": "The identity of the resource."
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/StorageAccountPropertiesCreateParameters",
- "description": "The parameters used to create the storage account."
- }
- },
- "required": [
- "sku",
- "kind",
- "location"
- ],
- "description": "The parameters used when creating a storage account."
- },
- "Endpoints": {
- "properties": {
- "blob": {
- "readOnly": true,
- "type": "string",
- "description": "Gets the blob endpoint."
- },
- "queue": {
- "readOnly": true,
- "type": "string",
- "description": "Gets the queue endpoint."
- },
- "table": {
- "readOnly": true,
- "type": "string",
- "description": "Gets the table endpoint."
- },
- "file": {
- "readOnly": true,
- "type": "string",
- "description": "Gets the file endpoint."
- },
- "web": {
- "readOnly": true,
- "type": "string",
- "description": "Gets the web endpoint."
- },
- "dfs": {
- "readOnly": true,
- "type": "string",
- "description": "Gets the dfs endpoint."
- }
- },
- "description": "The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object."
- },
- "GeoReplicationStats": {
- "properties": {
- "status": {
- "readOnly": true,
- "type": "string",
- "description": "The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary location is temporarily unavailable.",
- "enum": [
- "Live",
- "Bootstrap",
- "Unavailable"
- ],
- "x-ms-enum": {
- "name": "GeoReplicationStatus",
- "modelAsString": true
- }
- },
- "lastSyncTime": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "All primary writes preceding this UTC date/time value are guaranteed to be available for read operations. Primary writes following this point in time may or may not be available for reads. Element may be default value if value of LastSyncTime is not available, this can happen if secondary is offline or we are in bootstrap."
- },
- "canFailover": {
- "readOnly": true,
- "type": "boolean",
- "description": "A boolean flag which indicates whether or not account failover is supported for the account."
- }
- },
- "description": "Statistics related to replication for storage account's Blob, Table, Queue and File services. It is only available when geo-redundant replication is enabled for the storage account."
- },
- "StorageAccountProperties": {
- "properties": {
- "provisioningState": {
- "readOnly": true,
- "type": "string",
- "description": "Gets the status of the storage account at the time the operation was called.",
- "enum": [
- "Creating",
- "ResolvingDNS",
- "Succeeded"
- ],
- "x-ms-enum": {
- "name": "ProvisioningState",
- "modelAsString": false
- }
- },
- "primaryEndpoints": {
- "$ref": "#/definitions/Endpoints",
- "readOnly": true,
- "description": "Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint."
- },
- "primaryLocation": {
- "readOnly": true,
- "type": "string",
- "description": "Gets the location of the primary data center for the storage account."
- },
- "statusOfPrimary": {
- "readOnly": true,
- "type": "string",
- "description": "Gets the status indicating whether the primary location of the storage account is available or unavailable.",
- "enum": [
- "available",
- "unavailable"
- ],
- "x-ms-enum": {
- "name": "AccountStatus",
- "modelAsString": false
- }
- },
- "lastGeoFailoverTime": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "Gets the timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS."
- },
- "secondaryLocation": {
- "readOnly": true,
- "type": "string",
- "description": "Gets the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS."
- },
- "statusOfSecondary": {
- "readOnly": true,
- "type": "string",
- "description": "Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS.",
- "enum": [
- "available",
- "unavailable"
- ],
- "x-ms-enum": {
- "name": "AccountStatus",
- "modelAsString": false
- }
- },
- "creationTime": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "Gets the creation date and time of the storage account in UTC."
- },
- "customDomain": {
- "$ref": "#/definitions/CustomDomain",
- "readOnly": true,
- "description": "Gets the custom domain the user assigned to this storage account."
- },
- "secondaryEndpoints": {
- "$ref": "#/definitions/Endpoints",
- "readOnly": true,
- "description": "Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS."
- },
- "encryption": {
- "$ref": "#/definitions/Encryption",
- "readOnly": true,
- "description": "Gets the encryption settings on the account. If unspecified, the account is unencrypted."
- },
- "accessTier": {
- "readOnly": true,
- "type": "string",
- "description": "Required for storage accounts where kind = BlobStorage. The access tier used for billing.",
- "enum": [
- "Hot",
- "Cool"
- ],
- "x-ms-enum": {
- "name": "AccessTier",
- "modelAsString": false
- }
- },
- "azureFilesAadIntegration": {
- "type": "boolean",
- "x-ms-client-name": "EnableAzureFilesAadIntegration",
- "description": "Enables Azure Files AAD Integration for SMB if sets to true."
- },
- "supportsHttpsTrafficOnly": {
- "type": "boolean",
- "x-ms-client-name": "EnableHttpsTrafficOnly",
- "description": "Allows https traffic only to storage service if sets to true."
- },
- "networkAcls": {
- "$ref": "#/definitions/NetworkRuleSet",
- "x-ms-client-name": "NetworkRuleSet",
- "description": "Network rule set",
- "readOnly": true
- },
- "isHnsEnabled": {
- "type": "boolean",
- "x-ms-client-name": "IsHnsEnabled",
- "description": "Account HierarchicalNamespace enabled if sets to true."
- },
- "geoReplicationStats": {
- "$ref": "#/definitions/GeoReplicationStats",
- "x-ms-client-name": "GeoReplicationStats",
- "description": "Geo Replication Stats",
- "readOnly": true
- },
- "failoverInProgress": {
- "type": "boolean",
- "x-ms-client-name": "FailoverInProgress",
- "description": "If the failover is in progress, the value will be true, otherwise, it will be null.",
- "readOnly": true
- }
- },
- "description": "Properties of the storage account."
- },
- "StorageAccount": {
- "properties": {
- "sku": {
- "$ref": "#/definitions/Sku",
- "readOnly": true,
- "description": "Gets the SKU."
- },
- "kind": {
- "readOnly": true,
- "type": "string",
- "description": "Gets the Kind.",
- "enum": [
- "Storage",
- "StorageV2",
- "BlobStorage",
- "FileStorage",
- "BlockBlobStorage"
- ],
- "x-ms-enum": {
- "name": "Kind",
- "modelAsString": false
- }
- },
- "identity": {
- "$ref": "#/definitions/Identity",
- "description": "The identity of the resource."
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/StorageAccountProperties",
- "description": "Properties of the storage account."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource"
- }
- ],
- "description": "The storage account."
- },
- "StorageAccountKey": {
- "properties": {
- "keyName": {
- "readOnly": true,
- "type": "string",
- "description": "Name of the key."
- },
- "value": {
- "readOnly": true,
- "type": "string",
- "description": "Base 64-encoded value of the key."
- },
- "permissions": {
- "readOnly": true,
- "type": "string",
- "description": "Permissions for the key -- read-only or full permissions.",
- "enum": [
- "Read",
- "Full"
- ],
- "x-ms-enum": {
- "name": "KeyPermission",
- "modelAsString": false
- }
- }
- },
- "description": "An access key for the storage account."
- },
- "StorageAccountListResult": {
- "properties": {
- "value": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/StorageAccount"
- },
- "description": "Gets the list of storage accounts and their properties."
- }
- },
- "description": "The response from the List Storage Accounts operation."
- },
- "StorageAccountListKeysResult": {
- "properties": {
- "keys": {
- "readOnly": true,
- "type": "array",
- "items": {
- "$ref": "#/definitions/StorageAccountKey"
- },
- "description": "Gets the list of storage account keys and their properties for the specified storage account."
- }
- },
- "description": "The response from the ListKeys operation."
- },
- "StorageAccountRegenerateKeyParameters": {
- "properties": {
- "keyName": {
- "type": "string",
- "description": "The name of storage keys that want to be regenerated, possible values are key1, key2."
- }
- },
- "required": [
- "keyName"
- ],
- "description": "The parameters used to regenerate the storage account key."
- },
- "StorageAccountPropertiesUpdateParameters": {
- "properties": {
- "customDomain": {
- "$ref": "#/definitions/CustomDomain",
- "description": "Custom domain assigned to the storage account by the user. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property."
- },
- "encryption": {
- "$ref": "#/definitions/Encryption",
- "description": "Provides the encryption settings on the account. The default setting is unencrypted."
- },
- "accessTier": {
- "type": "string",
- "description": "Required for storage accounts where kind = BlobStorage. The access tier used for billing.",
- "enum": [
- "Hot",
- "Cool"
- ],
- "x-ms-enum": {
- "name": "AccessTier",
- "modelAsString": false
- }
- },
- "azureFilesAadIntegration": {
- "type": "boolean",
- "x-ms-client-name": "EnableAzureFilesAadIntegration",
- "description": "Enables Azure Files AAD Integration for SMB if sets to true."
- },
- "supportsHttpsTrafficOnly": {
- "type": "boolean",
- "x-ms-client-name": "EnableHttpsTrafficOnly",
- "description": "Allows https traffic only to storage service if sets to true."
- },
- "networkAcls": {
- "description": "Network rule set",
- "x-ms-client-name": "NetworkRuleSet",
- "$ref": "#/definitions/NetworkRuleSet"
- }
- },
- "description": "The parameters used when updating a storage account."
- },
- "StorageAccountUpdateParameters": {
- "properties": {
- "sku": {
- "$ref": "#/definitions/Sku",
- "description": "Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value."
- },
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters."
- },
- "identity": {
- "$ref": "#/definitions/Identity",
- "description": "The identity of the resource."
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/StorageAccountPropertiesUpdateParameters",
- "description": "The parameters used when updating a storage account."
- },
- "kind": {
- "type": "string",
- "description": "Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server.",
- "enum": [
- "Storage",
- "StorageV2",
- "BlobStorage",
- "FileStorage",
- "BlockBlobStorage"
- ],
- "x-ms-enum": {
- "name": "Kind",
- "modelAsString": false
- }
- }
- },
- "description": "The parameters that can be provided when updating the storage account properties."
- },
- "UsageName": {
- "properties": {
- "value": {
- "readOnly": true,
- "type": "string",
- "description": "Gets a string describing the resource name."
- },
- "localizedValue": {
- "readOnly": true,
- "type": "string",
- "description": "Gets a localized string describing the resource name."
- }
- },
- "description": "The usage names that can be used; currently limited to StorageAccount."
- },
- "Usage": {
- "properties": {
- "unit": {
- "readOnly": true,
- "type": "string",
- "description": "Gets the unit of measurement.",
- "enum": [
- "Count",
- "Bytes",
- "Seconds",
- "Percent",
- "CountsPerSecond",
- "BytesPerSecond"
- ],
- "x-ms-enum": {
- "name": "UsageUnit",
- "modelAsString": false
- }
- },
- "currentValue": {
- "readOnly": true,
- "type": "integer",
- "format": "int32",
- "description": "Gets the current count of the allocated resources in the subscription."
- },
- "limit": {
- "readOnly": true,
- "type": "integer",
- "format": "int32",
- "description": "Gets the maximum count of the resources that can be allocated in the subscription."
- },
- "name": {
- "$ref": "#/definitions/UsageName",
- "readOnly": true,
- "description": "Gets the name of the type of usage."
- }
- },
- "description": "Describes Storage Resource Usage."
- },
- "UsageListResult": {
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Usage"
- },
- "description": "Gets or sets the list of Storage Resource Usages."
- }
- },
- "description": "The response from the List Usages operation."
- },
- "AccountSasParameters": {
- "properties": {
- "signedServices": {
- "type": "string",
- "enum": [
- "b",
- "q",
- "t",
- "f"
- ],
- "x-ms-enum": {
- "name": "Services",
- "modelAsString": true
- },
- "x-ms-client-name": "Services",
- "description": "The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f)."
- },
- "signedResourceTypes": {
- "type": "string",
- "enum": [
- "s",
- "c",
- "o"
- ],
- "x-ms-enum": {
- "name": "SignedResourceTypes",
- "modelAsString": true
- },
- "x-ms-client-name": "ResourceTypes",
- "description": "The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files."
- },
- "signedPermission": {
- "type": "string",
- "enum": [
- "r",
- "d",
- "w",
- "l",
- "a",
- "c",
- "u",
- "p"
- ],
- "x-ms-enum": {
- "name": "Permissions",
- "modelAsString": true
- },
- "x-ms-client-name": "Permissions",
- "description": "The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p)."
- },
- "signedIp": {
- "type": "string",
- "x-ms-client-name": "IPAddressOrRange",
- "description": "An IP address or a range of IP addresses from which to accept requests."
- },
- "signedProtocol": {
- "type": "string",
- "enum": [
- "https,http",
- "https"
- ],
- "x-ms-enum": {
- "name": "HttpProtocol",
- "modelAsString": false
- },
- "x-ms-client-name": "Protocols",
- "description": "The protocol permitted for a request made with the account SAS."
- },
- "signedStart": {
- "type": "string",
- "format": "date-time",
- "x-ms-client-name": "SharedAccessStartTime",
- "description": "The time at which the SAS becomes valid."
- },
- "signedExpiry": {
- "type": "string",
- "format": "date-time",
- "x-ms-client-name": "SharedAccessExpiryTime",
- "description": "The time at which the shared access signature becomes invalid."
- },
- "keyToSign": {
- "type": "string",
- "description": "The key to sign the account SAS token with."
- }
- },
- "required": [
- "signedServices",
- "signedResourceTypes",
- "signedPermission",
- "signedExpiry"
- ],
- "description": "The parameters to list SAS credentials of a storage account."
- },
- "ListAccountSasResponse": {
- "properties": {
- "accountSasToken": {
- "readOnly": true,
- "type": "string",
- "description": "List SAS credentials of storage account."
- }
- },
- "description": "The List SAS credentials operation response."
- },
- "ServiceSasParameters": {
- "properties": {
- "canonicalizedResource": {
- "type": "string",
- "description": "The canonical path to the signed resource."
- },
- "signedResource": {
- "type": "string",
- "enum": [
- "b",
- "c",
- "f",
- "s"
- ],
- "x-ms-enum": {
- "name": "signedResource",
- "modelAsString": true
- },
- "x-ms-client-name": "Resource",
- "description": "The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s)."
- },
- "signedPermission": {
- "type": "string",
- "enum": [
- "r",
- "d",
- "w",
- "l",
- "a",
- "c",
- "u",
- "p"
- ],
- "x-ms-enum": {
- "name": "Permissions",
- "modelAsString": true
- },
- "x-ms-client-name": "Permissions",
- "description": "The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p)."
- },
- "signedIp": {
- "type": "string",
- "x-ms-client-name": "IPAddressOrRange",
- "description": "An IP address or a range of IP addresses from which to accept requests."
- },
- "signedProtocol": {
- "type": "string",
- "enum": [
- "https,http",
- "https"
- ],
- "x-ms-enum": {
- "name": "HttpProtocol",
- "modelAsString": false
- },
- "x-ms-client-name": "Protocols",
- "description": "The protocol permitted for a request made with the account SAS."
- },
- "signedStart": {
- "type": "string",
- "format": "date-time",
- "x-ms-client-name": "SharedAccessStartTime",
- "description": "The time at which the SAS becomes valid."
- },
- "signedExpiry": {
- "type": "string",
- "format": "date-time",
- "x-ms-client-name": "SharedAccessExpiryTime",
- "description": "The time at which the shared access signature becomes invalid."
- },
- "signedIdentifier": {
- "type": "string",
- "maxLength": 64,
- "x-ms-client-name": "Identifier",
- "description": "A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table."
- },
- "startPk": {
- "type": "string",
- "x-ms-client-name": "PartitionKeyStart",
- "description": "The start of partition key."
- },
- "endPk": {
- "type": "string",
- "x-ms-client-name": "PartitionKeyEnd",
- "description": "The end of partition key."
- },
- "startRk": {
- "type": "string",
- "x-ms-client-name": "RowKeyStart",
- "description": "The start of row key."
- },
- "endRk": {
- "type": "string",
- "x-ms-client-name": "RowKeyEnd",
- "description": "The end of row key."
- },
- "keyToSign": {
- "type": "string",
- "description": "The key to sign the account SAS token with."
- },
- "rscc": {
- "type": "string",
- "x-ms-client-name": "CacheControl",
- "description": "The response header override for cache control."
- },
- "rscd": {
- "type": "string",
- "x-ms-client-name": "ContentDisposition",
- "description": "The response header override for content disposition."
- },
- "rsce": {
- "type": "string",
- "x-ms-client-name": "ContentEncoding",
- "description": "The response header override for content encoding."
- },
- "rscl": {
- "type": "string",
- "x-ms-client-name": "ContentLanguage",
- "description": "The response header override for content language."
- },
- "rsct": {
- "type": "string",
- "x-ms-client-name": "ContentType",
- "description": "The response header override for content type."
- }
- },
- "required": [
- "canonicalizedResource"
- ],
- "description": "The parameters to list service SAS credentials of a specific resource."
- },
- "ListServiceSasResponse": {
- "properties": {
- "serviceSasToken": {
- "readOnly": true,
- "type": "string",
- "description": "List service SAS credentials of specific resource."
- }
- },
- "description": "The List service SAS credentials operation response."
- },
- "ManagementPolicy": {
- "properties": {
- "properties": {
- "$ref": "#/definitions/ManagementPolicyProperties",
- "x-ms-client-flatten": true,
- "readOnly": true,
- "description": "Returns the Storage Account Data Policies Rules."
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
- }
- ],
- "description": "The Get Storage Account ManagementPolicies operation response."
- },
- "ManagementPolicyProperties": {
- "properties": {
- "lastModifiedTime": {
- "readOnly": true,
- "type": "string",
- "format": "date-time",
- "description": "Returns the date and time the ManagementPolicies was last modified."
- },
- "policy": {
- "$ref": "#/definitions/ManagementPolicySchema",
- "description": "The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts."
- }
- },
- "required": ["policy"],
- "description": "The Storage Account ManagementPolicy properties."
- },
- "ManagementPolicySchema":{
- "properties": {
- "rules": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ManagementPolicyRule"
- },
- "description": "The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts."
- }
- },
- "required": ["rules"],
- "description": "The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts."
- },
- "ManagementPolicyRule": {
- "properties": {
- "enabled": {
- "type": "boolean",
- "description": "Rule is enabled if set to true."
- },
- "name": {
- "type": "string",
- "description": "A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy."
- },
- "type": {
- "type": "string",
- "description": "The valid value is Lifecycle",
- "enum": [
- "Lifecycle"
- ],
- "x-ms-enum": {
- "name": "type",
- "modelAsString": true
- }
- },
- "definition": {
- "$ref": "#/definitions/ManagementPolicyDefinition",
- "description": "An object that defines the Lifecycle rule."
- }
- },
- "required": ["name", "type", "definition"],
- "description": "An object that wraps the Lifecycle rule. Each rule is uniquely defined by name."
- },
- "ManagementPolicyDefinition": {
- "properties": {
- "actions": {
- "$ref": "#/definitions/ManagementPolicyAction",
- "description": "An object that defines the action set."
- },
- "filters": {
- "$ref": "#/definitions/ManagementPolicyFilter",
- "description": "An object that defines the filter set."
- }
- },
- "required": ["actions"],
- "description": "An object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set."
- },
- "ManagementPolicyFilter": {
- "properties": {
- "prefixMatch": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "An array of strings for prefixes to be match."
- },
- "blobTypes": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "An array of predefined enum values. Only blockBlob is supported."
- }
- },
- "required": [ "blobTypes" ],
- "description": "Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters. "
- },
- "ManagementPolicyAction": {
- "properties": {
- "baseBlob": {
- "$ref": "#/definitions/ManagementPolicyBaseBlob",
- "description": "The management policy action for base blob"
- },
- "snapshot": {
- "$ref": "#/definitions/ManagementPolicySnapShot",
- "description": "The management policy action for snapshot"
- }
- },
- "description": "Actions are applied to the filtered blobs when the execution condition is met."
- },
- "ManagementPolicyBaseBlob": {
- "properties": {
- "tierToCool": {
- "$ref": "#/definitions/DateAfterModification",
- "description": "The function to tier blobs to cool storage. Support blobs currently at Hot tier"
- },
- "tierToArchive": {
- "$ref": "#/definitions/DateAfterModification",
- "description": "The function to tier blobs to archive storage. Support blobs currently at Hot or Cool tier"
- },
- "delete": {
- "$ref": "#/definitions/DateAfterModification",
- "description": "The function to delete the blob"
- }
- },
- "description": "Management policy action for base blob."
- },
- "ManagementPolicySnapShot": {
- "properties": {
- "delete": {
- "$ref": "#/definitions/DateAfterCreation",
- "description": "The function to delete the blob snapshot"
- }
- },
- "description": "Management policy action for snapshot."
- },
- "DateAfterModification": {
- "properties": {
- "daysAfterModificationGreaterThan": {
- "type": "integer",
- "minimum": 0,
- "description": "Integer value indicating the age in days after last modification"
- }
- },
- "required": ["daysAfterModificationGreaterThan"],
- "description": "Object to define the number of days after last modification."
- },
- "DateAfterCreation": {
- "properties": {
- "daysAfterCreationGreaterThan": {
- "type": "integer",
- "minimum": 0,
- "description": "Integer value indicating the age in days after creation"
- }
- },
- "required": ["daysAfterCreationGreaterThan"],
- "description": "Object to define the number of days after creation."
- }
- },
- "parameters": {
- "ResourceGroupName": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group within the user's subscription. The name is case insensitive.",
- "pattern": "^[-\\w\\._\\(\\)]+$",
- "minLength": 1,
- "maxLength": 90,
- "x-ms-parameter-location": "method"
- },
- "StorageAccountName": {
- "name": "accountName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.",
- "maxLength": 24,
- "minLength": 3,
- "x-ms-parameter-location": "method"
- },
- "ManagementPolicyName": {
- "name": "managementPolicyName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the Storage Account Management Policy. It should always be 'default'",
- "enum":[
- "default"
- ],
- "x-ms-enum": {
- "name": "ManagementPolicyName",
- "modelAsString": true
- },
- "x-ms-parameter-location": "method"
- }
- },
- "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"
- }
- }
- },
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ]
-}
\ No newline at end of file
diff --git a/specification/storage/resource-manager/readme.md b/specification/storage/resource-manager/readme.md
index ff49e1d03cb2..8ef24654829e 100644
--- a/specification/storage/resource-manager/readme.md
+++ b/specification/storage/resource-manager/readme.md
@@ -26,31 +26,7 @@ These are the global settings for the Storage API.
``` yaml
openapi-type: arm
-tag: package-2018-11
-```
-
-### Tag: package-2018-11
-
-These settings apply only when `--tag=package-2018-11` is specified on the command line.
-
-``` yaml $(tag) == 'package-2018-11'
-input-file:
-- Microsoft.Storage/stable/2018-11-01/storage.json
-- Microsoft.Storage/stable/2018-11-01/blob.json
-
-directive:
- - suppress: R3018
- reason: Existing boolean properties
- approved-by: "@fearthecowboy"
-
- - where:
- - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold"].post.operationId
- - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold"].post.operationId
- - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey"].post.operationId
- suppress: R1003
- reason: APIs return array of values, is not actually a 'list' operation
- approved-by: "@fearthecowboy"
-
+tag: package-2018-07
```
### Tag: package-2018-07
diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/AppServiceEnvironments.json
index dab6c56541f2..8748d4d25ae9 100644
--- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/AppServiceEnvironments.json
+++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/AppServiceEnvironments.json
@@ -539,56 +539,6 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/inboundNetworkDependenciesEndpoints": {
- "get": {
- "tags": [
- "AppServiceEnvironments"
- ],
- "summary": "Get the network endpoints of all inbound dependencies of an App Service Environment.",
- "description": "Get the network endpoints of all inbound dependencies of an App Service Environment.",
- "operationId": "AppServiceEnvironments_GetInboundNetworkDependenciesEndpoints",
- "parameters": [
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "name": "name",
- "in": "path",
- "description": "Name of the App Service Environment.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/InboundEnvironmentEndpointCollection"
- }
- },
- "default": {
- "description": "App Service error response.",
- "schema": {
- "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Inbound Network Dependencies Endpoints": {
- "$ref": "./examples/GetInboundNetworkDependenciesEndpoints.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/metricdefinitions": {
"get": {
"tags": [
@@ -1259,56 +1209,6 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/outboundNetworkDependenciesEndpoints": {
- "get": {
- "tags": [
- "AppServiceEnvironments"
- ],
- "summary": "Get the network endpoints of all outbound dependencies of an App Service Environment.",
- "description": "Get the network endpoints of all outbound dependencies of an App Service Environment.",
- "operationId": "AppServiceEnvironments_GetOutboundNetworkDependenciesEndpoints",
- "parameters": [
- {
- "$ref": "#/parameters/resourceGroupNameParameter"
- },
- {
- "name": "name",
- "in": "path",
- "description": "Name of the App Service Environment.",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/subscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/apiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/OutboundEnvironmentEndpointCollection"
- }
- },
- "default": {
- "description": "App Service error response.",
- "schema": {
- "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Outbound Network Dependencies Endpoints": {
- "$ref": "./examples/GetOutboundNetworkDependenciesEndpoints.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/reboot": {
"post": {
"tags": [
@@ -2263,47 +2163,6 @@
}
}
},
- "EndpointDependency": {
- "description": "A domain name that a service is reached at, including details of the current connection status.",
- "type": "object",
- "properties": {
- "domainName": {
- "description": "The domain name of the dependency.",
- "type": "string"
- },
- "endpointDetails": {
- "description": "The IP Addresses and Ports used when connecting to DomainName.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/EndpointDetail"
- }
- }
- }
- },
- "EndpointDetail": {
- "description": "Current TCP connectivity information from the App Service Environment to a single endpoint.",
- "type": "object",
- "properties": {
- "ipAddress": {
- "description": "An IP Address that Domain Name currently resolves to.",
- "type": "string"
- },
- "port": {
- "format": "int32",
- "description": "The port an endpoint is connected to.",
- "type": "integer"
- },
- "latency": {
- "format": "double",
- "description": "The time in milliseconds it takes for a TCP connection to be created from the App Service Environment to this IpAddress at this Port.",
- "type": "number"
- },
- "isAccessable": {
- "description": "Whether it is possible to create a TCP connection from the App Service Environment to this IpAddress at this Port.",
- "type": "boolean"
- }
- }
- },
"HostingEnvironmentDiagnostics": {
"description": "Diagnostics for an App Service Environment.",
"type": "object",
@@ -2318,51 +2177,6 @@
}
}
},
- "InboundEnvironmentEndpoint": {
- "description": "The IP Addresses and Ports that require inbound network access to and within the subnet of the App Service Environment.",
- "type": "object",
- "properties": {
- "description": {
- "description": "Short text describing the purpose of the network traffic.",
- "type": "string"
- },
- "endpoints": {
- "description": "The IP addresses that network traffic will originate from in cidr notation.",
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "ports": {
- "description": "The ports that network traffic will arrive to the App Service Environment at.",
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- },
- "InboundEnvironmentEndpointCollection": {
- "description": "Collection of Inbound Environment Endpoints",
- "required": [
- "value"
- ],
- "type": "object",
- "properties": {
- "value": {
- "description": "Collection of resources.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/InboundEnvironmentEndpoint"
- }
- },
- "nextLink": {
- "description": "Link to next page of resources.",
- "type": "string",
- "readOnly": true
- }
- }
- },
"MetricAvailabilily": {
"description": "Metric availability and retention.",
"type": "object",
@@ -2417,44 +2231,6 @@
}
}
},
- "OutboundEnvironmentEndpoint": {
- "description": "Endpoints accessed for a common purpose that the App Service Environment requires outbound network access to.",
- "type": "object",
- "properties": {
- "category": {
- "description": "The type of service accessed by the App Service Environment, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.",
- "type": "string"
- },
- "endpoints": {
- "description": "The endpoints that the App Service Environment reaches the service at.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/EndpointDependency"
- }
- }
- }
- },
- "OutboundEnvironmentEndpointCollection": {
- "description": "Collection of Outbound Environment Endpoints",
- "required": [
- "value"
- ],
- "type": "object",
- "properties": {
- "value": {
- "description": "Collection of resources.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/OutboundEnvironmentEndpoint"
- }
- },
- "nextLink": {
- "description": "Link to next page of resources.",
- "type": "string",
- "readOnly": true
- }
- }
- },
"SkuInfo": {
"description": "SKU discovery information.",
"type": "object",
@@ -2691,4 +2467,4 @@
]
}
]
-}
+}
\ No newline at end of file
diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/CommonDefinitions.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/CommonDefinitions.json
index da30e23dc16e..929ec3a077e7 100644
--- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/CommonDefinitions.json
+++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/CommonDefinitions.json
@@ -1326,23 +1326,12 @@
"type": "string",
"readOnly": true
},
- "userAssignedIdentities": {
- "description": "The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}",
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "principalId": {
- "description": "Principal Id of user assigned identity",
- "type": "string",
- "readOnly": true
- },
- "clientId": {
- "description": "Client Id of user assigned identity",
- "type": "string",
- "readOnly": true
- }
- }
+ "identityIds": {
+ "description": "Array of UserAssigned managed service identities.",
+ "type": "array",
+ "items": {
+ "description": "Resource Id for UserAssigned managed service identity",
+ "type": "string"
}
}
}
diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetInboundNetworkDependenciesEndpoints.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetInboundNetworkDependenciesEndpoints.json
deleted file mode 100644
index 5b085c34022f..000000000000
--- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetInboundNetworkDependenciesEndpoints.json
+++ /dev/null
@@ -1,80 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "Sample-WestUSResourceGroup",
- "name": "SampleAse",
- "api-version": "2018-02-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "description": "App Service management",
- "endpoints": [
- "70.37.57.58/32",
- "157.55.208.185/32",
- "23.102.188.65/32",
- "191.236.154.88/32",
- "52.174.22.21/32",
- "13.94.149.179/32",
- "13.94.143.126/32",
- "13.94.141.115/32",
- "52.178.195.197/32",
- "52.178.190.65/32",
- "52.178.184.149/32",
- "52.178.177.147/32",
- "13.75.127.117/32",
- "40.83.125.161/32",
- "40.83.121.56/32",
- "40.83.120.64/32",
- "52.187.56.50/32",
- "52.187.63.37/32",
- "52.187.59.251/32",
- "52.187.63.19/32",
- "52.165.158.140/32",
- "52.165.152.214/32",
- "52.165.154.193/32",
- "52.165.153.122/32",
- "104.44.129.255/32",
- "104.44.134.255/32",
- "104.44.129.243/32",
- "104.44.129.141/32",
- "65.52.193.203/32",
- "70.37.89.222/32",
- "13.64.115.203/32",
- "52.225.177.153/32",
- "65.52.172.237/32"
- ],
- "ports": [
- "454",
- "455"
- ]
- },
- {
- "description": "App Service Environment VIP",
- "endpoints": [
- "52.247.209.18/32"
- ],
- "ports": [
- "454",
- "455",
- "16001"
- ]
- },
- {
- "description": "App Service Environment subnet",
- "endpoints": [
- "192.168.250.0/24"
- ],
- "ports": [
- "All"
- ]
- }
- ],
- "nextLink": null,
- "id": null
- }
- }
- }
-}
diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetOutboundNetworkDependenciesEndpoints.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetOutboundNetworkDependenciesEndpoints.json
deleted file mode 100644
index 6ff7e6f0c857..000000000000
--- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/examples/GetOutboundNetworkDependenciesEndpoints.json
+++ /dev/null
@@ -1,803 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "Sample-WestUSResourceGroup",
- "name": "SampleAse",
- "api-version": "2018-02-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "category": "Azure Storage",
- "endpoints": [
- {
- "domainName": "blob.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "52.183.104.36",
- "port": 80,
- "latency": 42.0469,
- "isAccessable": true
- },
- {
- "ipAddress": "52.183.104.36",
- "port": 443,
- "latency": 41.7038,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "queue.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "52.183.104.25",
- "port": 80,
- "latency": 37.326,
- "isAccessable": true
- },
- {
- "ipAddress": "52.183.104.25",
- "port": 443,
- "latency": 37.513600000000004,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "table.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "52.183.104.26",
- "port": 80,
- "latency": 32.789,
- "isAccessable": true
- },
- {
- "ipAddress": "52.183.104.26",
- "port": 443,
- "latency": 1.8702,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "file.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "52.183.104.28",
- "port": 80,
- "latency": 36.7378,
- "isAccessable": true
- },
- {
- "ipAddress": "52.183.104.28",
- "port": 443,
- "latency": 36.7108,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "blob.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.64",
- "port": 80,
- "latency": 4.0261000000000005,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.64",
- "port": 443,
- "latency": 3.8264,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "queue.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.73",
- "port": 80,
- "latency": 40.8523,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.73",
- "port": 443,
- "latency": 40.7501,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "table.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.74",
- "port": 80,
- "latency": 1.2071,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.74",
- "port": 443,
- "latency": 38.2975,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "file.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.76",
- "port": 80,
- "latency": 59.383700000000005,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.76",
- "port": 443,
- "latency": 60.0775,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "blob.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.64",
- "port": 80,
- "latency": 3.5512,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.64",
- "port": 443,
- "latency": 2.6777,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "queue.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.73",
- "port": 80,
- "latency": 3.5204,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.73",
- "port": 443,
- "latency": 2.8193,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "table.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.74",
- "port": 80,
- "latency": 3.2720000000000002,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.74",
- "port": 443,
- "latency": 3.0147,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "file.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.76",
- "port": 80,
- "latency": 3.2387,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.76",
- "port": 443,
- "latency": 3.2804,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "blob.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.66.176.16",
- "port": 80,
- "latency": 43.025200000000005,
- "isAccessable": true
- },
- {
- "ipAddress": "13.66.176.16",
- "port": 443,
- "latency": 43.1683,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "queue.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.66.176.25",
- "port": 80,
- "latency": 41.8598,
- "isAccessable": true
- },
- {
- "ipAddress": "13.66.176.25",
- "port": 443,
- "latency": 41.9805,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "table.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.66.176.26",
- "port": 80,
- "latency": 30.542900000000003,
- "isAccessable": true
- },
- {
- "ipAddress": "13.66.176.26",
- "port": 443,
- "latency": 0.98320000000000007,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "file.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.66.176.28",
- "port": 80,
- "latency": 35.9562,
- "isAccessable": true
- },
- {
- "ipAddress": "13.66.176.28",
- "port": 443,
- "latency": 36.0643,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "blob.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.64",
- "port": 80,
- "latency": 3.2829,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.64",
- "port": 443,
- "latency": 2.3393,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "queue.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.73",
- "port": 80,
- "latency": 3.4103000000000003,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.73",
- "port": 443,
- "latency": 4.1032,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "table.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.74",
- "port": 80,
- "latency": 3.1141,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.74",
- "port": 443,
- "latency": 3.0247,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "file.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.76",
- "port": 80,
- "latency": 2.834,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.76",
- "port": 443,
- "latency": 2.8198000000000003,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "blob.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.64",
- "port": 80,
- "latency": 1.3855000000000002,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.64",
- "port": 443,
- "latency": 1.0594000000000001,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "queue.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.73",
- "port": 80,
- "latency": 2.4717000000000002,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.73",
- "port": 443,
- "latency": 2.4827,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "table.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.74",
- "port": 80,
- "latency": 3.395,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.74",
- "port": 443,
- "latency": 3.1701,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "file.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.76",
- "port": 80,
- "latency": 1.4308,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.76",
- "port": 443,
- "latency": 22.5866,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "blob.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.64",
- "port": 80,
- "latency": 2.5372,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.64",
- "port": 443,
- "latency": 2.4626,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "queue.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.73",
- "port": 80,
- "latency": 3.7873,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.73",
- "port": 443,
- "latency": 4.1911000000000005,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "table.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.74",
- "port": 80,
- "latency": 2.9162000000000003,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.74",
- "port": 443,
- "latency": 2.7896,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "file.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.77.184.76",
- "port": 80,
- "latency": 26.723100000000002,
- "isAccessable": true
- },
- {
- "ipAddress": "13.77.184.76",
- "port": 443,
- "latency": 26.735200000000003,
- "isAccessable": true
- }
- ]
- }
- ]
- },
- {
- "category": "Azure SQL Database",
- "endpoints": [
- {
- "domainName": "database.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "13.66.226.202",
- "port": 1433,
- "latency": 1.5964,
- "isAccessable": true
- }
- ]
- }
- ]
- },
- {
- "category": "Azure Management",
- "endpoints": [
- {
- "domainName": "management.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "23.102.135.246",
- "port": 443,
- "latency": 46.5764,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "admin.core.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "23.102.135.247",
- "port": 443,
- "latency": 47.408,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "management.azure.com",
- "endpointDetails": [
- {
- "ipAddress": "52.151.25.45",
- "port": 443,
- "latency": 3.9529,
- "isAccessable": true
- }
- ]
- }
- ]
- },
- {
- "category": "Azure Active Directory",
- "endpoints": [
- {
- "domainName": "graph.windows.net",
- "endpointDetails": [
- {
- "ipAddress": "20.190.133.83",
- "port": 443,
- "latency": 3.2264,
- "isAccessable": true
- },
- {
- "ipAddress": "20.190.133.81",
- "port": 443,
- "latency": 3.2264,
- "isAccessable": true
- },
- {
- "ipAddress": "20.190.133.67",
- "port": 443,
- "latency": 3.2264,
- "isAccessable": true
- },
- {
- "ipAddress": "40.126.5.34",
- "port": 443,
- "latency": 3.2264,
- "isAccessable": true
- }
- ]
- }
- ]
- },
- {
- "category": "Regional Service",
- "endpoints": [
- {
- "domainName": "gr-prod-mwh.cloudapp.net",
- "endpointDetails": [
- {
- "ipAddress": "13.66.225.188",
- "port": 443,
- "latency": 3.3826,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "az-prod.metrics.nsatc.net",
- "endpointDetails": [
- {
- "ipAddress": "40.77.24.27",
- "port": 443,
- "latency": 38.5647,
- "isAccessable": true
- }
- ]
- }
- ]
- },
- {
- "category": "SSL Certificate Verification",
- "endpoints": [
- {
- "domainName": "ocsp.msocsp.com",
- "endpointDetails": [
- {
- "ipAddress": "104.18.25.243",
- "port": 80,
- "latency": 6.0651,
- "isAccessable": true
- },
- {
- "ipAddress": "104.18.25.243",
- "port": 443,
- "latency": 12.888,
- "isAccessable": true
- },
- {
- "ipAddress": "104.18.24.243",
- "port": 80,
- "latency": 6.0651,
- "isAccessable": true
- },
- {
- "ipAddress": "104.18.24.243",
- "port": 443,
- "latency": 12.888,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "mscrl.microsoft.com",
- "endpointDetails": [
- {
- "ipAddress": "152.199.4.33",
- "port": 80,
- "latency": 6.7429000000000006,
- "isAccessable": true
- },
- {
- "ipAddress": "152.199.4.33",
- "port": 443,
- "latency": 7.4361000000000006,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "crl.microsoft.com",
- "endpointDetails": [
- {
- "ipAddress": "23.215.102.10",
- "port": 80,
- "latency": 25.136200000000002,
- "isAccessable": true
- },
- {
- "ipAddress": "23.215.102.10",
- "port": 443,
- "latency": 25.0085,
- "isAccessable": true
- },
- {
- "ipAddress": "23.215.102.42",
- "port": 80,
- "latency": 25.136200000000002,
- "isAccessable": true
- },
- {
- "ipAddress": "23.215.102.42",
- "port": 443,
- "latency": 25.0085,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "www.microsoft.com",
- "endpointDetails": [
- {
- "ipAddress": "23.49.13.56",
- "port": 80,
- "latency": 7.9229,
- "isAccessable": true
- },
- {
- "ipAddress": "23.49.13.56",
- "port": 443,
- "latency": 8.4871,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "crl3.digicert.com",
- "endpointDetails": [
- {
- "ipAddress": "72.21.91.29",
- "port": 80,
- "latency": 5.4074,
- "isAccessable": true
- },
- {
- "ipAddress": "72.21.91.29",
- "port": 443,
- "latency": 5.577,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "ocsp.digicert.com",
- "endpointDetails": [
- {
- "ipAddress": "72.21.91.29",
- "port": 80,
- "latency": 6.8989,
- "isAccessable": true
- },
- {
- "ipAddress": "72.21.91.29",
- "port": 443,
- "latency": 5.6674000000000007,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "cacerts.digicert.com",
- "endpointDetails": [
- {
- "ipAddress": "104.18.11.39",
- "port": 80,
- "latency": 10.772400000000001,
- "isAccessable": true
- },
- {
- "ipAddress": "104.18.11.39",
- "port": 443,
- "latency": 10.7705,
- "isAccessable": true
- },
- {
- "ipAddress": "104.18.10.39",
- "port": 80,
- "latency": 10.772400000000001,
- "isAccessable": true
- },
- {
- "ipAddress": "104.18.10.39",
- "port": 443,
- "latency": 10.7705,
- "isAccessable": true
- }
- ]
- },
- {
- "domainName": "www.thawte.com",
- "endpointDetails": [
- {
- "ipAddress": "54.69.98.161",
- "port": 80,
- "latency": 47.532900000000005,
- "isAccessable": true
- },
- {
- "ipAddress": "54.69.98.161",
- "port": 443,
- "latency": 48.5362,
- "isAccessable": true
- },
- {
- "ipAddress": "35.167.62.148",
- "port": 80,
- "latency": 47.532900000000005,
- "isAccessable": true
- },
- {
- "ipAddress": "35.167.62.148",
- "port": 443,
- "latency": 48.5362,
- "isAccessable": true
- }
- ]
- }
- ]
- }
- ],
- "nextLink": null,
- "id": null
- }
- }
- }
-}