Skip to content

Commit

Permalink
Refactored operationId's a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
gkostal committed Feb 21, 2020
1 parent 13c7517 commit 55c97f0
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}": {
"get": {
"tags": [
"AttestationProvider"
"AttestationProviders"
],
"operationId": "AttestationProvider_Get",
"operationId": "AttestationProviders_Get",
"description": "Get the status of Attestation Provider.",
"x-ms-examples": {
"AttestationProviders_Get": {
Expand Down Expand Up @@ -107,9 +107,9 @@
},
"put": {
"tags": [
"AttestationProvider"
"AttestationProviders"
],
"operationId": "AttestationProvider_Create",
"operationId": "AttestationProviders_Create",
"description": "Creates or updates the Attestation Provider.",
"x-ms-examples": {
"AttestationProviders_Create": {
Expand Down Expand Up @@ -167,9 +167,9 @@
},
"patch": {
"tags": [
"AttestationProvider"
"AttestationProviders"
],
"operationId": "AttestationProvider_Update",
"operationId": "AttestationProviders_Update",
"description": "Updates the Attestation Provider.",
"x-ms-examples": {
"AttestationProviders_Update": {
Expand Down Expand Up @@ -221,9 +221,9 @@
},
"delete": {
"tags": [
"AttestationProvider"
"AttestationProviders"
],
"operationId": "AttestationProvider_Delete",
"operationId": "AttestationProviders_Delete",
"description": "Delete Attestation Service.",
"x-ms-examples": {
"AttestationProviders_Delete": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"resourceGroupName": "MyResourceGroup",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2018-09-01-preview",
"providerName": "MyAttestationProvider",
"providerName": "myattestationprovider",
"creationParams": "test"
},
"responses": {
"200": {
"body": {
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/MyAttestationProvider",
"name": "MyAttestationProvider",
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider",
"name": "myattestationprovider",
"type": "Microsoft.Attestation/attestationProviders",
"location": "East US",
"tags": {
Expand All @@ -27,8 +27,8 @@
},
"201": {
"body": {
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/MyAttestationProvider",
"name": "MyAttestationProvider",
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider",
"name": "myattestationprovider",
"type": "Microsoft.Attestation/attestationProviders",
"location": "East US",
"tags": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"parameters": {
"resourceGroupName": "MyResourceGroup",
"resourceGroupName": "sample-resource-group",
"serviceName": "sampleservicename",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2018-09-01-preview",
"providerName": "MyAttestationProvider"
"providerName": "myattestationprovider"
},
"responses": {
"202": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"resourceGroupName": "MyResourceGroup",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2018-09-01-preview",
"providerName": "MyAttestationProvider"
"providerName": "myattestationprovider"
},
"responses": {
"200": {
"body": {
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/MyAttestationProvider",
"name": "MyAttestationProvider",
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider",
"name": "myattestationprovider",
"type": "Microsoft.Attestation/attestationProviders",
"location": "East US",
"tags": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"body": {
"value": [
{
"id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/MyAttestationProvider",
"name": "MyAttestationProvider",
"id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/myattestationprovider",
"name": "myattestationprovider",
"type": "Microsoft.Attestation/attestationProviders",
"location": "East US",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"body": {
"value": [
{
"id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/MyAttestationProvider",
"name": "MyAttestationProvider",
"id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/myattestationprovider",
"name": "myattestationprovider",
"type": "Microsoft.Attestation/attestationProviders",
"location": "East US",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"resourceGroupName": "MyResourceGroup",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"api-version": "2018-09-01-preview",
"providerName": "MyAttestationProvider",
"providerName": "myattestationprovider",
"updateParams": {
"tags": {
"Property1": "Value1",
Expand All @@ -15,8 +15,8 @@
"responses": {
"200": {
"body": {
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/MyAttestationProvider",
"name": "MyAttestationProvider",
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider",
"name": "myattestationprovider",
"type": "Microsoft.Attestation/attestationProviders",
"location": "East US",
"tags": {
Expand Down

0 comments on commit 55c97f0

Please sign in to comment.