Skip to content

Commit

Permalink
Updates API version in new specs and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-soohwan committed Mar 30, 2022
1 parent 252ad37 commit 98c1081
Show file tree
Hide file tree
Showing 43 changed files with 50 additions and 50 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"version": "2021-10-01",
"version": "2021-12-01-preview",
"title": "KeyVaultManagementClient",
"description": "The Azure management API provides a RESTful set of web services that interact with Azure Key Vault."
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "hsm1",
"location": "westus",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down Expand Up @@ -40,7 +40,7 @@
}
}
],
"nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/deletedManagedHSMs?api-version=2021-10-01&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
"nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/deletedManagedHSMs?api-version=2021-12-01-preview&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "hsm1",
"location": "westus",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"202": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"resourceGroupName": "hsm-group",
"name": "hsm1",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01",
"api-version": "2021-12-01-preview",
"parameters": {
"properties": {
"tenantId": "00000000-0000-0000-0000-000000000000",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"resourceGroupName": "hsm-group",
"name": "hsm1",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"resourceGroupName": "hsm-group",
"name": "hsm1",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down Expand Up @@ -37,7 +37,7 @@
"202": {
"headers": {
"Retry-After": "60",
"Location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.KeyVault/managedHSMs/hsm1?api-version=2021-10-01&kv-operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9"
"Location": "https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.KeyVault/managedHSMs/hsm1?api-version=2021-12-01-preview&kv-operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9"
}
},
"204": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"resourceGroupName": "hsm-group",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down Expand Up @@ -61,7 +61,7 @@
}
}
],
"nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.KeyVault/managedHSMs?api-version=2021-10-01&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
"nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.KeyVault/managedHSMs?api-version=2021-12-01-preview&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down Expand Up @@ -60,7 +60,7 @@
}
}
],
"nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/managedHSMs?api-version=2021-10-01&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
"nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/managedHSMs?api-version=2021-12-01-preview&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "sample-group",
"name": "sample-mhsm",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"resourceGroupName": "hsm-group",
"name": "hsm1",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01",
"api-version": "2021-12-01-preview",
"parameters": {
"tags": {
"Dept": "hsm",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "sample-group",
"name": "sample-mhsm",
"privateEndpointConnectionName": "sample-pec",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "sample-group",
"name": "sample-mhsm",
"privateEndpointConnectionName": "sample-pec",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "sample-group",
"name": "sample-mhsm",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "sample-group",
"name": "sample-mhsm",
"privateEndpointConnectionName": "sample-pec",
"api-version": "2021-10-01",
"api-version": "2021-12-01-preview",
"properties": {
"properties": {
"privateLinkServiceConnectionState": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01",
"api-version": "2021-12-01-preview",
"vaultName": {
"name": "sample-vault",
"type": "Microsoft.KeyVault/vaults"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "sample-group",
"vaultName": "sample-vault-name",
"keyName": "sample-key-name",
"api-version": "2021-10-01",
"api-version": "2021-12-01-preview",
"parameters": {
"properties": {
"kty": "RSA"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"vaultName": "sample-vault",
"secretName": "secret-name",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01",
"api-version": "2021-12-01-preview",
"parameters": {
"properties": {
"value": "secret-value"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"resourceGroupName": "sample-resource-group",
"vaultName": "sample-vault",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01",
"api-version": "2021-12-01-preview",
"parameters": {
"location": "westus",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"resourceGroupName": "sample-resource-group",
"vaultName": "sample-vault",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01",
"api-version": "2021-12-01-preview",
"parameters": {
"location": "westus",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"resourceGroupName": "sample-resource-group",
"vaultName": "sample-vault",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"vaultName": "sample-vault",
"location": "westus",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "sample-group",
"vaultName": "sample-vault-name",
"keyName": "sample-key-name",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"vaultName": "sample-vault-name",
"keyName": "sample-key-name",
"keyVersion": "fd618d9519b74f9aae94ade66b876acc",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"vaultName": "sample-vault",
"secretName": "secret-name",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"resourceGroupName": "sample-resource-group",
"vaultName": "sample-vault",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"$top": 1,
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand All @@ -22,7 +22,7 @@
}
}
],
"nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/deletedVaults?api-version=2021-10-01&%24skiptoken=HY3RaoMwAEX%2fRcbeYhJrnRXKYNWOuqpME0sfNcYui0Yxade19N8ne7hcDlzOvVuKX81eKKmt4G4dooLQwgqsL2NGHUDYV6o68Z4rY1e388RtNvRQn2vNJjEaMSgNvcbneMUcsKg8BFwft8DndQ0w9hu2QOiFLRs4TsNFNHzSMBFsGvTQGvuD%2f5bVuTOw4R03vPkH%2fVqNAlzm5SxfOwh7ACOA8POTlvPjILlaU1ke8jImOc23JCppQVfZnna0DXc4ISc3vSVuRo5zJE6%2bj25C3vwk2v2kEV2mMn7PyOc1DbtNGkonnzuLym1G400uI5QRZj0efw%3d%3d"
"nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/deletedVaults?api-version=2021-12-01-preview&%24skiptoken=HY3RaoMwAEX%2fRcbeYhJrnRXKYNWOuqpME0sfNcYui0Yxade19N8ne7hcDlzOvVuKX81eKKmt4G4dooLQwgqsL2NGHUDYV6o68Z4rY1e388RtNvRQn2vNJjEaMSgNvcbneMUcsKg8BFwft8DndQ0w9hu2QOiFLRs4TsNFNHzSMBFsGvTQGvuD%2f5bVuTOw4R03vPkH%2fVqNAlzm5SxfOwh7ACOA8POTlvPjILlaU1ke8jImOc23JCppQVfZnna0DXc4ISc3vSVuRo5zJE6%2bj25C3vwk2v2kEV2mMn7PyOc1DbtNGkonnzuLym1G400uI5QRZj0efw%3d%3d"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "sample-group",
"vaultName": "sample-vault-name",
"keyName": "sample-key-name",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "sample-group",
"vaultName": "sample-vault-name",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "sample-group",
"vaultName": "sample-vault",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"resourceGroupName": "sample-group",
"vaultName": "sample-vault",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"$top": 1,
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "sample-group",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down Expand Up @@ -91,7 +91,7 @@
}
}
],
"nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults?api-version=2021-10-01&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
"nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sample-group/providers/Microsoft.KeyVault/vaults?api-version=2021-12-01-preview&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"$top": 1,
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down Expand Up @@ -90,7 +90,7 @@
}
}
],
"nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?api-version=22021-10-01&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
"nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?api-version=22021-12-01-preview&$skiptoken=dmF1bHQtcGVza3ktanVyeS03MzA3Ng=="
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"vaultName": "sample-vault",
"location": "westus",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01"
"api-version": "2021-12-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"vaultName": "sample-vault",
"operationKind": "add",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01",
"api-version": "2021-12-01-preview",
"parameters": {
"properties": {
"accessPolicies": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"vaultName": "sample-vault",
"secretName": "secret-name",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2021-10-01",
"api-version": "2021-12-01-preview",
"parameters": {
"properties": {
"value": "secret-value2"
Expand Down
Loading

0 comments on commit 98c1081

Please sign in to comment.