Skip to content

Commit

Permalink
Added all private endpoint APIs (#11821)
Browse files Browse the repository at this point in the history
* Added all private endpoint APIs; added missing 'nonce' attribute to data plane

* Added missing 'resource' type

* Fixed a bunch of validation errors

* Fixed a bunch of validation errors

* Undid track 2 python sdk for now

* Backed out data-plane changes from this pull request

* Added privateEndpointConnection_list API

* Removed two added lines

* Updated

* corrected swagger schema for privatelinkresourcelistresult

* Updated readme.python.md; Fixed some swagger errors in attestation.json

* Added back name and id properties to PrivateEndpointConnectionItem

* Fixed swagger validation issues

* Data Plane SDK for python fixes

* Removed 3 new APIs, leaving remaining changes

* Removed one additional file

* Fixed package name comment

* Dummy hcange to restart pipelines

* Fixed prettier issue

* Added missing enum value

* Use private link definitions from private link swagger

* Updated

* Updated

* Pull request feedback

* Pull request feedback

* Fixed pull request feedback issue
  • Loading branch information
LarryOsterman authored Jan 6, 2021
1 parent 7f83741 commit 8671bc3
Showing 1 changed file with 56 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "AttestationManagementClient",
"description": "Various APIs for managing resources in attestation service. This primarily encompasses per-tenant instance management.",
"description": "Various APIs for managing resources in attestation service. This primarily encompasses per-provider management.",
"version": "2020-10-01"
},
"host": "management.azure.com",
Expand Down Expand Up @@ -84,15 +84,15 @@
"in": "path",
"required": true,
"type": "string",
"description": "Name of the attestation service instance"
"description": "Name of the attestation provider."
},
{
"$ref": "#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "The status of the specified attestation service instance",
"description": "The status of the specified attestation provider",
"schema": {
"$ref": "#/definitions/AttestationProvider"
}
Expand All @@ -110,7 +110,7 @@
"AttestationProviders"
],
"operationId": "AttestationProviders_Create",
"description": "Creates a new Attestation Provider instance.",
"description": "Creates a new Attestation Provider.",
"x-ms-examples": {
"AttestationProviders_Create": {
"$ref": "./examples/Create_AttestationProvider.json"
Expand All @@ -128,7 +128,7 @@
"in": "path",
"required": true,
"type": "string",
"description": "Name of the attestation service instance."
"description": "Name of the attestation provider."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -188,7 +188,7 @@
"in": "path",
"required": true,
"type": "string",
"description": "Name of the attestation service instance."
"description": "Name of the attestation provider."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -507,7 +507,7 @@
"properties": {
"trustModel": {
"type": "string",
"description": "Trust model for the attestation service instance."
"description": "Trust model for the attestation provider."
},
"status": {
"type": "string",
Expand All @@ -525,6 +525,14 @@
"attestUri": {
"type": "string",
"description": "Gets the uri of attestation service"
},
"privateEndpointConnections": {
"readOnly": true,
"type": "array",
"items": {
"$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection"
},
"description": "List of private endpoint connections associated with the attestation provider."
}
}
},
Expand Down Expand Up @@ -569,20 +577,20 @@
}
},
"AttestationServicePatchParams": {
"description": "Parameters for patching an attestation service instance",
"description": "Parameters for patching an attestation provider",
"x-ms-azure-resource": true,
"properties": {
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The tags that will be assigned to the attestation service instance."
"description": "The tags that will be assigned to the attestation provider."
}
}
},
"AttestationServiceCreationParams": {
"description": "Parameters for creating an attestation service instance",
"description": "Parameters for creating an attestation provider",
"required": [
"location",
"properties"
Expand All @@ -591,29 +599,46 @@
"properties": {
"location": {
"type": "string",
"description": "The supported Azure location where the attestation service instance should be created."
"description": "The supported Azure location where the attestation provider should be created."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The tags that will be assigned to the attestation service instance."
"description": "The tags that will be assigned to the attestation provider."
},
"properties": {
"$ref": "#/definitions/AttestationServiceCreationSpecificParams",
"description": "Properties of the attestation service instance"
"description": "Properties of the attestation provider"
}
}
},
"AttestationServiceCreationSpecificParams": {
"description": "Client supplied parameters used to create a new attestation service instance.",
"description": "Client supplied parameters used to create a new attestation provider.",
"properties": {
"policySigningCertificates": {
"description": "JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations",
"$ref": "../../../../../common-types/rfcs/rfc7517.json#/definitions/JSONWebKeySet"
},
"privateEndpointConnections": {
"readOnly": true,
"type": "array",
"items": {
"$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateLinkServiceConnectionState"
},
"description": "List of private endpoint connections associated with the attestation provider."
}
}
},
"PrivateEndpointConnectionProperties": {
"properties": {
"provisioningState": {
"$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionProvisioningState",
"description": "Provisioning state of the private endpoint connection."
}
},
"description": "Properties of the private endpoint connection resource."
}
},
"parameters": {
Expand All @@ -623,6 +648,23 @@
"required": true,
"type": "string",
"description": "Client API version. Current version is 2020-10-01"
},
"PrivateEndpointConnectionName": {
"name": "privateEndpointConnectionName",
"in": "path",
"required": true,
"type": "string",
"description": "Name of the private endpoint connection associated with the attestation providers.",
"x-ms-parameter-location": "method"
},
"ProviderName": {
"name": "providerName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$",
"description": "The name of the attestation provider.",
"x-ms-parameter-location": "method"
}
}
}

0 comments on commit 8671bc3

Please sign in to comment.