Skip to content

Commit

Permalink
Create "2021-06-01-preview" api-version for Azure Attestation service…
Browse files Browse the repository at this point in the history
… (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
gkostal authored and mkarmark committed Jul 20, 2021
1 parent 0502c84 commit 470f391
Show file tree
Hide file tree
Showing 16 changed files with 1,407 additions and 0 deletions.

Large diffs are not rendered by default.

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": {}
}
}
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"
}
}
}
}
}
}
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"
}
}
}
]
}
}
}
}
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": ""
}
}
}
}
}
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"
}
}
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
}
}
}
Loading

0 comments on commit 470f391

Please sign in to comment.