Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Introducing new API version 2021-12-01 for Azure Site Recovery service #25

Open
wants to merge 32 commits into
base: users/viananth/asr20211101-3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
6a7c020
add x-ms-enum for orbital (#17238)
ArcturusZhang Jan 7, 2022
577c034
Fixed property names (#17222)
omrodrig Jan 7, 2022
42b4c59
config readme (#17276)
BigCat20196 Jan 7, 2022
23ca45b
Microsoft.OperationalInsights: Renaming Upsert command to CreateOrUpd…
dulikvor Jan 7, 2022
068f1ec
Adding ReadOnlyDatabase object to Synapse model. (#17213)
amirdach Jan 7, 2022
409af02
[SRP] Add "2021-08-01" API version (#16659)
zfchen95 Jan 7, 2022
8253d07
Updated json files to reflect that ReadScale and HighAvailabilityRepl…
christianvalencia7 Jan 10, 2022
8ccb478
config oep readme python (#17291)
BigCat20196 Jan 10, 2022
2fd8d84
config labservice readme python (#17292)
BigCat20196 Jan 10, 2022
d8242e8
config botservice readme python (#17294)
BigCat20196 Jan 10, 2022
3715b1e
fix x-ms-client-name (#17290)
alankashiwa Jan 10, 2022
5e455f9
Modified description of maxTaskRetryCount to include default value an…
NickKouds Jan 10, 2022
bf54625
Added Changes to fix S360 issues (#17064)
adalmia96 Jan 11, 2022
63a4b37
[Hub Generated] Review request for Microsoft.KeyVault to add version …
osmuller Jan 11, 2022
d8c6bf8
sync RPSaaSMaster branch to main branch (#17166)
PingZhu2232 Jan 11, 2022
e1b3893
Fix response code in spec to correct reflect the approve or reject pr…
yingru97 Jan 11, 2022
3e6ca59
add java directive to security insight (#17295)
XiaofeiCao Jan 11, 2022
e6a2296
Revert "[DO NOT MERGE ] Introduce new scanners resource type (#17107)…
ruowan Jan 11, 2022
5d117a8
Add Check zone peers to Subscription.json (#17050)
tjegbejimba Jan 12, 2022
f203c1b
[Hub Generated] Public private branch 'dev-hsm-2018-10-31-preview-SKU…
sunil-archt Jan 12, 2022
a82659d
change codeowners (#17317)
msyyc Jan 12, 2022
cc7ba44
Add swagger definitions for deletedAutomationAccounts resource type (…
ravydv Jan 12, 2022
691920c
add x-ms-enum (#17225)
ArcturusZhang Jan 12, 2022
02fce64
Creates a new swagger file to implement the 2022-01-11-preview2 SDK v…
lucasrsant Jan 12, 2022
1f1d5b0
Add TranslatorBatch API v1.1 (#16705)
FadyEssam2 Jan 12, 2022
574f790
Introducing new API version 2021-11-01 for Azure Site Recovery servic…
viananth Jan 13, 2022
682e7f0
Update pull_request_assignment.yml (#17075)
ruowan Jan 13, 2022
8e47463
Fixing the incorrect description of a field (#17262)
anantshankar17 Jan 13, 2022
c6f6d27
[Go] add directive to rename (#17323)
Alancere Jan 13, 2022
44f723c
Initial commit with 2021-11-01 api version
prsadhu-ms-idc Jan 11, 2022
6764ccc
New api-version 2021-12-01 in ASR
prsadhu-ms-idc Jan 11, 2022
7ee2372
Add readme.md changes
prsadhu-ms-idc Jan 11, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/pull_request_assignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@
- changlong-liu
- msyyc
- qiaozha
- weidong
- dw511214992
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@
/specification/**/resource-manager/**/readme.az.md @jsntcy @qiaozha
/specification/**/resource-manager/**/readme.cli.md @jsntcy @qiaozha
/specification/**/resource-manager/**/readme.go.md @ArcturusZhang
/specification/**/resource-manager/**/readme.python.md @msyyc @RAY-316 @BigCat20196
/specification/**/resource-manager/**/readme.python.md @msyyc @BigCat20196
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1781,6 +1781,7 @@ runtimes
rwdlacup
rwxrw
Saas
Safenet
salesforcetables
saling
salinuxvm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,11 @@
"enum": [
"asc",
"desc"
]
],
"x-ms-enum": {
"name": "SortOrder",
"modelAsString": true
}
},
"select": {
"description": "This filter allows to selection of the fields(comma separated) which would be part of the essential section. This would allow to project only the required fields rather than getting entire content. Default is to fetch all the fields in the essentials section.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,11 @@
"enum": [
"asc",
"desc"
]
],
"x-ms-enum": {
"name": "SortOrder",
"modelAsString": true
}
}
},
"definitions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
}
],
"responses": {
"201": {
"202": {
"description": "Request to approve or reject private endpoint connection. Location header contains the URL where the status of the long running operation can be checked."
},
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
},
"responses": {
"201": {
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/tempgroup?api-version=2021-08-01&asyncId=5c730e343244df1b9cb56e85&asyncCode=201"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
{
"swagger": "2.0",
"info": {
"title": "AutomationManagement",
"version": "2022-01-31",
"x-ms-code-generation-settings": {
"useDateTimeOffset": true
}
},
"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.Automation/deletedAutomationAccounts": {
"get": {
"tags": [
"DeletedAutomationAccounts"
],
"operationId": "deletedAutomationAccounts_ListBySubscription",
"description": "Retrieve deleted automation account.",
"x-ms-examples": {
"Get deleted automation account": {
"$ref": "./examples/getDeletedAutomationAccount.json"
}
},
"parameters": [
{
"$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../common/v1/definitions.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/DeletedAutomationAccountListResult"
}
},
"default": {
"description": "Automation error response describing why the operation failed.",
"schema": {
"$ref": "../../common/v1/definitions.json#/definitions/ErrorResponse"
}
}
}
}
}
},
"definitions": {
"DeletedAutomationAccountListResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/DeletedAutomationAccount"
},
"description": "Gets or sets the list of deleted automation accounts."
}
},
"description": "The response model for the list deleted automation account."
},
"DeletedAutomationAccount": {
"type": "object",
"properties": {
"properties": {
"$ref": "#/definitions/DeletedAutomationAccountProperties",
"x-ms-client-flatten": true,
"description": "Gets or sets the automation account properties."
},
"id": {
"description": "The resource id.",
"type": "string"
},
"name": {
"type": "string",
"description": "Gets or sets name of the resource."
},
"type": {
"type": "string",
"description": "The resource type."
},
"location": {
"type": "string",
"description": "Gets or sets the location of the resource."
}
},
"description": "Definition of the deleted automation account type."
},
"DeletedAutomationAccountProperties": {
"type": "object",
"properties": {
"automationAccountResourceId": {
"type": "string",
"description": "Gets or sets the Automation Account Resource Id."
},
"automationAccountId": {
"type": "string",
"description": "Gets or sets the Automation Account Id."
},
"location": {
"type": "string",
"description": "Gets or sets the location of the resource."
},
"deletedTime": {
"type": "string",
"format": "date-time",
"readOnly": true,
"description": "Gets the creation time.",
"x-nullable": false
}
},
"description": "Definition of the deleted automation account properties."
}
},
"parameters": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"subscriptionId": "subid",
"api-version": "2022-01-31"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/subscriptions/subid/resourceGroups/msitest/providers/Microsoft.Automation/deletedAutomationAccounts/myAutomationAccount",
"name": "myAutomationAccount",
"type": "Microsoft.Automation/deletedAutomationAccounts",
"location": "westus",
"properties": {
"automationAccountResourceId": "/subscriptions/subid/resourceGroups/msitest/providers/Microsoft.Automation/automationAccounts/myAutomationAccount",
"automationAccountId": "cb855f13-0223-4fe4-8260-9e6583dfef24",
"location": "westus",
"deletedTime": "2018-04-24T16:30:55+00:00"
}
}
]
}
}
}
}
43 changes: 43 additions & 0 deletions specification/automation/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,46 @@ input-file:
- Microsoft.Automation/stable/2021-06-22/hybridRunbookWorker.json
```

### Tag: package-2022-01-31

These settings apply only when `--tag=package-2022-01-31` is specified on the command line.

``` yaml $(tag) == 'package-2022-01-31'
input-file:
- Microsoft.Automation/preview/2020-01-13-preview/privateEndpointConnection.json
- Microsoft.Automation/preview/2020-01-13-preview/privateLinkResources.json
- Microsoft.Automation/preview/2020-01-13-preview/python2package.json
- Microsoft.Automation/preview/2020-01-13-preview/dscNode.json
- Microsoft.Automation/preview/2020-01-13-preview/dscNodeConfiguration.json
- Microsoft.Automation/preview/2020-01-13-preview/dscCompilationJob.json
- Microsoft.Automation/preview/2020-01-13-preview/dscNodeCounts.json
- Microsoft.Automation/preview/2020-01-13-preview/sourceControl.json
- Microsoft.Automation/preview/2020-01-13-preview/sourceControlSyncJob.json
- Microsoft.Automation/preview/2020-01-13-preview/sourceControlSyncJobStreams.json
- Microsoft.Automation/stable/2021-06-22/account.json
- Microsoft.Automation/preview/2020-01-13-preview/certificate.json
- Microsoft.Automation/preview/2020-01-13-preview/connection.json
- Microsoft.Automation/preview/2020-01-13-preview/connectionType.json
- Microsoft.Automation/preview/2020-01-13-preview/credential.json
- Microsoft.Automation/stable/2021-06-22/hybridRunbookWorkerGroup.json
- Microsoft.Automation/preview/2020-01-13-preview/jobSchedule.json
- Microsoft.Automation/preview/2020-01-13-preview/linkedWorkspace.json
- Microsoft.Automation/preview/2020-01-13-preview/module.json
- Microsoft.Automation/preview/2020-01-13-preview/schedule.json
- Microsoft.Automation/preview/2020-01-13-preview/variable.json
- Microsoft.Automation/preview/2020-01-13-preview/watcher.json
- Microsoft.Automation/stable/2019-06-01/dscConfiguration.json
- Microsoft.Automation/stable/2019-06-01/job.json
- Microsoft.Automation/stable/2021-06-22/operations.json
- Microsoft.Automation/stable/2019-06-01/softwareUpdateConfiguration.json
- Microsoft.Automation/stable/2019-06-01/softwareUpdateConfigurationRun.json
- Microsoft.Automation/stable/2019-06-01/softwareUpdateConfigurationMachineRun.json
- Microsoft.Automation/stable/2018-06-30/runbook.json
- Microsoft.Automation/stable/2015-10-31/webhook.json
- Microsoft.Automation/stable/2021-06-22/hybridRunbookWorker.json
- Microsoft.Automation/stable/2022-01-31/deletedAutomationAccount.json
```

---
## Suppression
``` yaml
Expand Down Expand Up @@ -311,6 +351,9 @@ directive:
- suppress: RequiredPropertiesMissingInResourceModel
from: hybridRunbookWorkerGroup.json
reason: This body format is already part of the previous api, cannot change it as it will result in breaking change.
- suppress: DefaultErrorResponseSchema
from: deletedAutomationAccount.json
reason: This error format is already part of the previous api, cannot change it as it will result in breaking change.
```

---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11646,7 +11646,7 @@
"type": "integer",
"format": "int32",
"title": "The maximum number of times each Task may be retried. The Batch service retries a Task if its exit code is nonzero.",
"description": "Note that this value specifically controls the number of retries. The Batch service will try each Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries a Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry Tasks. If the maximum retry count is -1, the Batch service retries Tasks without limit. The default value is 0 (no retries)."
"description": "Note that this value specifically controls the number of retries. The Batch service will try each Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries a Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry Tasks. If the maximum retry count is -1, the Batch service retries the Task without limit, however this is not recommended for a start task or any task. The default value is 0 (no retries)"
}
},
"title": "The execution constraints for a Job."
Expand Down Expand Up @@ -12080,7 +12080,7 @@
"type": "integer",
"format": "int32",
"title": "The maximum number of times the Task may be retried. The Batch service retries a Task if its exit code is nonzero.",
"description": "Note that this value specifically controls the number of retries for the Task executable due to a nonzero exit code. The Batch service will try the Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the Task after the first attempt. If the maximum retry count is -1, the Batch service retries the Task without limit."
"description": "Note that this value specifically controls the number of retries for the Task executable due to a nonzero exit code. The Batch service will try the Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the Task after the first attempt. If the maximum retry count is -1, the Batch service retries the Task without limit, however this is not recommended for a start task or any task. The default value is 0 (no retries)"
}
},
"title": "Execution constraints to apply to a Task."
Expand Down Expand Up @@ -12366,7 +12366,7 @@
"type": "integer",
"format": "int32",
"title": "The maximum number of times the Task may be retried.",
"description": "The Batch service retries a Task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the Task. If the maximum retry count is -1, the Batch service retries the Task without limit."
"description": "The Batch service retries a Task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the Task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the Task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the Task. If the maximum retry count is -1, the Batch service retries the Task without limit, however this is not recommended for a start task or any task. The default value is 0 (no retries)"
},
"waitForSuccess": {
"type": "boolean",
Expand Down
2 changes: 1 addition & 1 deletion specification/botservice/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ python:
payload-flattening-threshold: 2
namespace: azure.mgmt.botservice
package-name: azure-mgmt-botservice
package-version: 0.2.0
package-version: 1.0.0
clear-output-folder: true
```

Expand Down
4 changes: 4 additions & 0 deletions specification/cdn/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ module-name: sdk/resourcemanager/cdn/armcdn
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
directive:
- rename-model:
from: 'CdnEndpoint'
to: 'EndpointModel'
```
### Go multi-api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Configuration for generating Translator Text SDK.

The current release is `release_3_0`.

The current document batch preview release is `release_1_0_preview.1'`.
The current document batch release is `release_1_1'`.

``` yaml

Expand All @@ -17,13 +17,7 @@ openapi-type: data-plane

``` yaml

tag: release_1_0_preview.1
add-credentials: true
openapi-type: data-plane
```
``` yaml

tag: release_1_0
tag: release_1_1
add-credentials: true
openapi-type: data-plane
```
Expand All @@ -41,6 +35,12 @@ This setting is for batch document translator and only applied when `--tag=relea
input-file: stable/v1.0/TranslatorBatch.json
```

### 1.1 Batch API
This setting is for batch document translator and only applied when `--tag=release_1_1` is specified on the command line.
``` yaml $(tag) == 'release_1_1'
input-file: stable/v1.1/TranslatorBatch.json
```

### Release 3.0
These settings apply only when `--tag=release_3_0` is specified on the command line.

Expand Down
Loading