Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .azure-pipelines-preproduction/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .azure-pipelines-preproduction/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"license": "MIT",
"devDependencies": {
"@azure/avocado": "^0.6.2",
"@azure/rest-api-specs-scripts": "^0.6.7",
"@azure/rest-api-specs-scripts": "^0.6.8",
"@ts-common/commonmark-to-markdown": "^1.2.0",
"@ts-common/fs": "0.2.0",
"@ts-common/iterator": "^0.3.6",
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"license": "MIT",
"devDependencies": {
"@azure/avocado": "^0.6.2",
"@azure/rest-api-specs-scripts": "^0.6.7",
"@azure/rest-api-specs-scripts": "^0.6.8",
"@ts-common/commonmark-to-markdown": "^1.2.0",
"@ts-common/fs": "0.2.0",
"@ts-common/iterator": "^0.3.6",
Expand Down
10 changes: 10 additions & 0 deletions specification/advisor/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,21 @@ go:

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2020-01
- tag: package-2017-04
- tag: package-2017-03
- tag: package-2016-07-preview
```

### Tag: package-2020-01 and go

These settings apply only when `--tag=package-2020-01 --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'package-2020-01' && $(go)
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-01-01/$(namespace)
```

### Tag: package-2017-04 and go

These settings apply only when `--tag=package-2017-04 --go` is specified on the command line.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1462,28 +1462,30 @@
"description": "The client tenant id of the identity."
},
"userAssignedIdentities": {
"description": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"principalId": {
"readOnly": true,
"type": "string",
"description": "The principal id of user assigned identity."
},
"clientId": {
"readOnly": true,
"type": "string",
"description": "The client id of user assigned identity."
}
}
"$ref": "#/definitions/UserIdentityProperties"
}
}
},
"required": [
"type"
]
},
"UserIdentityProperties": {
"type": "object",
"properties": {
"principalId": {
"description": "The principal id of user assigned identity.",
"type": "string"
},
"clientId": {
"description": "The client id of user assigned identity.",
"type": "string"
}
}
},
"Operation": {
"description": "REST API operation",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "KustoClusterRPTest4",
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1",
"api-version": "2020-02-15",
"parameters": {
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
"databaseName": "db1",
"defaultPrincipalsModificationKind": "Union"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1",
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
"databaseName": "db1",
"defaultPrincipalsModificationKind": "Union",
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1",
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
"databaseName": "db1",
"defaultPrincipalsModificationKind": "Union",
"provisioningState": "Creating"
}
}
},
"202": {
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/attachedDatabaseConfigurations/attachedDatabaseConfigurations1",
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
"databaseName": "db1",
"defaultPrincipalsModificationKind": "Union",
"provisioningState": "Creating"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "KustoClusterRPTest4",
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1",
"api-version": "2020-02-15"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "KustoClusterRPTest4",
"attachedDatabaseConfigurationName": "attachedDatabaseConfigurations1",
"api-version": "2020-02-15"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/attachedDatabaseConfigurations1",
"name": "KustoClusterRPTest4/attachedDatabaseConfigurations1",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4",
"databaseName": "*",
"defaultPrincipalsModificationKind": "Union",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "KustoClusterRPTest4",
"api-version": "2020-02-15"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase8",
"name": "KustoClusterRPTest4/KustoDatabase8",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
"databaseName": "db1",
"defaultPrincipalsModificationKind": "Union",
"provisioningState": "Succeeded"
}
},
{
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterRPTest4/AttachedDatabaseConfigurations/KustoDatabase9",
"name": "KustoClusterRPTest4/KustoDatabase9",
"type": "Microsoft.Kusto/Clusters/AttachedDatabaseConfigurations",
"location": "westus",
"properties": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/Clusters/KustoClusterLeader",
"databaseName": "db1",
"defaultPrincipalsModificationKind": "Union",
"provisioningState": "Succeeded"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "KustoClusterRPTest4",
"api-version": "2020-02-15",
"languageExtensionsToAdd": {
"value": [
{
"languageExtensionName": "PYTHON"
},
{
"languageExtensionName": "R"
}
]
}
},
"responses": {
"200": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "KustoClusterRPTest4",
"api-version": "2020-02-15",
"followerDatabaseToRemove": {
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/leader4",
"attachedDatabaseConfigurationName": "myAttachedDatabaseConfiguration"
}
},
"responses": {
"200": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-123456789098",
"resourceGroupName": "kustorptest",
"clusterName": "KustoClusterRPTest4",
"api-version": "2020-02-15"
},
"responses": {
"200": {
"body": {
"value": [
{
"attachedDatabaseConfigurationName": "attachedDbConfiguration",
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower1",
"databaseName": "*"
},
{
"attachedDatabaseConfigurationName": "attachedDbConfiguration2",
"clusterResourceId": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/kustorptest/providers/Microsoft.Kusto/clusters/follower4",
"databaseName": "db1"
}
]
}
}
}
}
Loading