forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create "2021-06-01-preview" api-version for Azure Attestation service…
… (private endpoint required changes) (Azure#14766) * Copy 2020-10-01 to 2021-06-01-preview * Make changes that define 2021-06-01-preview api-version * Updated readme.md * Address spell checker and lint issues * Switched publicNetworkAccess to optional on creation of attestation provider
- Loading branch information
Showing
16 changed files
with
1,407 additions
and
0 deletions.
There are no files selected for viewing
922 changes: 922 additions & 0 deletions
922
...tation/resource-manager/Microsoft.Attestation/preview/2021-06-01-preview/attestation.json
Large diffs are not rendered by default.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
...eview/2021-06-01-preview/examples/AttestationProviderDeletePrivateEndpointConnection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res6977", | ||
"providerName": "sto2527", | ||
"privateEndpointConnectionName": "{privateEndpointConnectionName}", | ||
"api-version": "2019-06-01", | ||
"monitor": "true" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
.../preview/2021-06-01-preview/examples/AttestationProviderGetPrivateEndpointConnection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res6977", | ||
"providerName": "sto2527", | ||
"privateEndpointConnectionName": "{privateEndpointConnectionName}", | ||
"api-version": "2021-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Attestation/attestationProviders/sto288/privateEndpointConnections/{privateEndpointConnectionName}", | ||
"name": "{privateEndpointConnectionName}", | ||
"type": "Microsoft.Attestation/attestationProviders/privateEndpointConnections", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"description": "Auto-Approved" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...review/2021-06-01-preview/examples/AttestationProviderListPrivateEndpointConnections.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res6977", | ||
"providerName": "sto2527", | ||
"api-version": "2019-06-01", | ||
"monitor": "true" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Attestation/attestationProviders/sto288/privateEndpointConnections/{privateEndpointConnectionName}", | ||
"name": "{privateEndpointConnectionName}", | ||
"type": "Microsoft.Attestation/attestationProviders/privateEndpointConnections", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"description": "Auto-Approved" | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Attestation/attestationProviders/sto288/privateEndpointConnections/{privateEndpointConnectionName}", | ||
"name": "{privateEndpointConnectionName}", | ||
"type": "Microsoft.Attestation/attestationProviders/privateEndpointConnections", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest02" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"description": "Auto-Approved" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...tion/preview/2021-06-01-preview/examples/AttestationProviderListPrivateLinkResources.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "MyResourceGroup", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"api-version": "2021-06-01-preview", | ||
"providerName": "myattestationprovider" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider/privateLinkResources/tenant", | ||
"name": "tenant", | ||
"type": "Microsoft.Attestation/attestationProviders/privateLinkResources", | ||
"properties": { | ||
"groupId": "standard", | ||
"requiredMembers": [ | ||
"default" | ||
], | ||
"requiredZoneNames": [ | ||
"privatelink.attest.azure.net" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"default": { | ||
"headers": {}, | ||
"body": { | ||
"error": { | ||
"code": "", | ||
"message": "" | ||
} | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
.../preview/2021-06-01-preview/examples/AttestationProviderPutPrivateEndpointConnection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res7687", | ||
"providerName": "sto9699", | ||
"privateEndpointConnectionName": "{privateEndpointConnectionName}", | ||
"api-version": "2019-06-01", | ||
"monitor": "true", | ||
"properties": { | ||
"properties": { | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"description": "Auto-Approved" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Attestation/attestationProviders/sto288/privateEndpointConnections/{privateEndpointConnectionName}", | ||
"name": "{privateEndpointConnectionName}", | ||
"type": "Microsoft.Attestation/attestationProviders/privateEndpointConnections", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"description": "Auto-Approved" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...Microsoft.Attestation/preview/2021-06-01-preview/examples/Create_AttestationProvider.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "MyResourceGroup", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"api-version": "2021-06-01-preview", | ||
"providerName": "myattestationprovider", | ||
"creationParams": { | ||
"location": "East US", | ||
"tags": { | ||
"Property1": "Value1", | ||
"Property2": "Value2", | ||
"Property3": "Value3" | ||
}, | ||
"properties": { | ||
"publicNetworkAccess": "Enabled" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider", | ||
"name": "myattestationprovider", | ||
"type": "Microsoft.Attestation/attestationProviders", | ||
"location": "East US", | ||
"tags": { | ||
"Property1": "Value1", | ||
"Property2": "Value2", | ||
"Property3": "Value3" | ||
}, | ||
"properties": { | ||
"publicNetworkAccess": "Enabled", | ||
"trustModel": "AAD", | ||
"status": "Ready", | ||
"attestUri": "https://myattestationprovider.eus.attest.azure.net" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider", | ||
"name": "myattestationprovider", | ||
"type": "Microsoft.Attestation/attestationProviders", | ||
"location": "East US", | ||
"tags": { | ||
"Property1": "Value1", | ||
"Property2": "Value2", | ||
"Property3": "Value3" | ||
}, | ||
"properties": { | ||
"publicNetworkAccess": "Enabled", | ||
"trustModel": "AAD", | ||
"status": "Ready", | ||
"attestUri": "https://myattestationprovider.eus.attest.azure.net" | ||
} | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...Microsoft.Attestation/preview/2021-06-01-preview/examples/Delete_AttestationProvider.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "sample-resource-group", | ||
"serviceName": "sampleservicename", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"api-version": "2021-06-01-preview", | ||
"providerName": "myattestationprovider" | ||
}, | ||
"responses": { | ||
"202": { | ||
"description": "Request accepted for deletion of attestation service" | ||
}, | ||
"200": { | ||
"description": "Resource exists and was deleted successfully" | ||
}, | ||
"204": { | ||
"description": "Resource does not exist" | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...er/Microsoft.Attestation/preview/2021-06-01-preview/examples/Get_AttestationProvider.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "MyResourceGroup", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"api-version": "2021-06-01-preview", | ||
"providerName": "myattestationprovider" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyResourceGroup/providers/Microsoft.Attestation/attestationProviders/myattestationprovider", | ||
"name": "myattestationprovider", | ||
"type": "Microsoft.Attestation/attestationProviders", | ||
"location": "East US", | ||
"tags": { | ||
"Property1": "Value1", | ||
"Property2": "Value2", | ||
"Property3": "Value3" | ||
}, | ||
"properties": { | ||
"publicNetworkAccess": "Enabled", | ||
"trustModel": "Isolated", | ||
"status": "Ready", | ||
"attestUri": "https://superservice.attestation.azure.net" | ||
} | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...crosoft.Attestation/preview/2021-06-01-preview/examples/Get_AttestationProvidersList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"api-version": "2021-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/myattestationprovider", | ||
"name": "myattestationprovider", | ||
"type": "Microsoft.Attestation/attestationProviders", | ||
"location": "East US", | ||
"properties": { | ||
"status": "Ready" | ||
} | ||
}, | ||
{ | ||
"id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg2/providers/Microsoft.Attestation/attestationProviders/codes2", | ||
"name": "codes2", | ||
"type": "Microsoft.Attestation/attestationProviders", | ||
"location": "East US", | ||
"properties": { | ||
"status": "Ready" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...tion/preview/2021-06-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "testrg1", | ||
"subscriptionId": "6c96b33e-f5b8-40a6-9011-5cb1c58b0915", | ||
"api-version": "2018-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/myattestationprovider", | ||
"name": "myattestationprovider", | ||
"type": "Microsoft.Attestation/attestationProviders", | ||
"location": "East US", | ||
"properties": { | ||
"status": "Ready" | ||
} | ||
}, | ||
{ | ||
"id": "subscriptions/6c96b33e-f5b8-40a6-9011-5cb1c58b0915/resourceGroups/testrg1/providers/Microsoft.Attestation/attestationProviders/codes2", | ||
"name": "codes2", | ||
"type": "Microsoft.Attestation/attestationProviders", | ||
"location": "East US", | ||
"properties": { | ||
"status": "Ready" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...rosoft.Attestation/preview/2021-06-01-preview/examples/Get_DefaultProviderByLocation.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "6c96b33e-f5b8-40a6-9011-5cb1c58b0915", | ||
"api-version": "2021-06-01-preview", | ||
"location": "Central US" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "providers/Microsoft.Attestation/attestationProviders/sharedcus", | ||
"name": "sharedcus", | ||
"type": "Microsoft.Attestation/attestationProviders", | ||
"location": "Central US", | ||
"properties": { | ||
"publicNetworkAccess": "Enabled", | ||
"trustModel": "AAD", | ||
"status": "Ready", | ||
"attestUri": "https://sharedcus.cus.attest.azure.net" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.