Skip to content

Commit 8671bc3

Browse files
Added all private endpoint APIs (Azure#11821)
* 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
1 parent 7f83741 commit 8671bc3

File tree

1 file changed

+56
-14
lines changed
  • specification/attestation/resource-manager/Microsoft.Attestation/stable/2020-10-01

1 file changed

+56
-14
lines changed

specification/attestation/resource-manager/Microsoft.Attestation/stable/2020-10-01/attestation.json

Lines changed: 56 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"swagger": "2.0",
33
"info": {
44
"title": "AttestationManagementClient",
5-
"description": "Various APIs for managing resources in attestation service. This primarily encompasses per-tenant instance management.",
5+
"description": "Various APIs for managing resources in attestation service. This primarily encompasses per-provider management.",
66
"version": "2020-10-01"
77
},
88
"host": "management.azure.com",
@@ -84,15 +84,15 @@
8484
"in": "path",
8585
"required": true,
8686
"type": "string",
87-
"description": "Name of the attestation service instance"
87+
"description": "Name of the attestation provider."
8888
},
8989
{
9090
"$ref": "#/parameters/ApiVersionParameter"
9191
}
9292
],
9393
"responses": {
9494
"200": {
95-
"description": "The status of the specified attestation service instance",
95+
"description": "The status of the specified attestation provider",
9696
"schema": {
9797
"$ref": "#/definitions/AttestationProvider"
9898
}
@@ -110,7 +110,7 @@
110110
"AttestationProviders"
111111
],
112112
"operationId": "AttestationProviders_Create",
113-
"description": "Creates a new Attestation Provider instance.",
113+
"description": "Creates a new Attestation Provider.",
114114
"x-ms-examples": {
115115
"AttestationProviders_Create": {
116116
"$ref": "./examples/Create_AttestationProvider.json"
@@ -128,7 +128,7 @@
128128
"in": "path",
129129
"required": true,
130130
"type": "string",
131-
"description": "Name of the attestation service instance."
131+
"description": "Name of the attestation provider."
132132
},
133133
{
134134
"$ref": "#/parameters/ApiVersionParameter"
@@ -188,7 +188,7 @@
188188
"in": "path",
189189
"required": true,
190190
"type": "string",
191-
"description": "Name of the attestation service instance."
191+
"description": "Name of the attestation provider."
192192
},
193193
{
194194
"$ref": "#/parameters/ApiVersionParameter"
@@ -507,7 +507,7 @@
507507
"properties": {
508508
"trustModel": {
509509
"type": "string",
510-
"description": "Trust model for the attestation service instance."
510+
"description": "Trust model for the attestation provider."
511511
},
512512
"status": {
513513
"type": "string",
@@ -525,6 +525,14 @@
525525
"attestUri": {
526526
"type": "string",
527527
"description": "Gets the uri of attestation service"
528+
},
529+
"privateEndpointConnections": {
530+
"readOnly": true,
531+
"type": "array",
532+
"items": {
533+
"$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection"
534+
},
535+
"description": "List of private endpoint connections associated with the attestation provider."
528536
}
529537
}
530538
},
@@ -569,20 +577,20 @@
569577
}
570578
},
571579
"AttestationServicePatchParams": {
572-
"description": "Parameters for patching an attestation service instance",
580+
"description": "Parameters for patching an attestation provider",
573581
"x-ms-azure-resource": true,
574582
"properties": {
575583
"tags": {
576584
"type": "object",
577585
"additionalProperties": {
578586
"type": "string"
579587
},
580-
"description": "The tags that will be assigned to the attestation service instance."
588+
"description": "The tags that will be assigned to the attestation provider."
581589
}
582590
}
583591
},
584592
"AttestationServiceCreationParams": {
585-
"description": "Parameters for creating an attestation service instance",
593+
"description": "Parameters for creating an attestation provider",
586594
"required": [
587595
"location",
588596
"properties"
@@ -591,29 +599,46 @@
591599
"properties": {
592600
"location": {
593601
"type": "string",
594-
"description": "The supported Azure location where the attestation service instance should be created."
602+
"description": "The supported Azure location where the attestation provider should be created."
595603
},
596604
"tags": {
597605
"type": "object",
598606
"additionalProperties": {
599607
"type": "string"
600608
},
601-
"description": "The tags that will be assigned to the attestation service instance."
609+
"description": "The tags that will be assigned to the attestation provider."
602610
},
603611
"properties": {
604612
"$ref": "#/definitions/AttestationServiceCreationSpecificParams",
605-
"description": "Properties of the attestation service instance"
613+
"description": "Properties of the attestation provider"
606614
}
607615
}
608616
},
609617
"AttestationServiceCreationSpecificParams": {
610-
"description": "Client supplied parameters used to create a new attestation service instance.",
618+
"description": "Client supplied parameters used to create a new attestation provider.",
611619
"properties": {
612620
"policySigningCertificates": {
613621
"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",
614622
"$ref": "../../../../../common-types/rfcs/rfc7517.json#/definitions/JSONWebKeySet"
623+
},
624+
"privateEndpointConnections": {
625+
"readOnly": true,
626+
"type": "array",
627+
"items": {
628+
"$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateLinkServiceConnectionState"
629+
},
630+
"description": "List of private endpoint connections associated with the attestation provider."
615631
}
616632
}
633+
},
634+
"PrivateEndpointConnectionProperties": {
635+
"properties": {
636+
"provisioningState": {
637+
"$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionProvisioningState",
638+
"description": "Provisioning state of the private endpoint connection."
639+
}
640+
},
641+
"description": "Properties of the private endpoint connection resource."
617642
}
618643
},
619644
"parameters": {
@@ -623,6 +648,23 @@
623648
"required": true,
624649
"type": "string",
625650
"description": "Client API version. Current version is 2020-10-01"
651+
},
652+
"PrivateEndpointConnectionName": {
653+
"name": "privateEndpointConnectionName",
654+
"in": "path",
655+
"required": true,
656+
"type": "string",
657+
"description": "Name of the private endpoint connection associated with the attestation providers.",
658+
"x-ms-parameter-location": "method"
659+
},
660+
"ProviderName": {
661+
"name": "providerName",
662+
"in": "path",
663+
"required": true,
664+
"type": "string",
665+
"pattern": "^[a-zA-Z0-9-]{3,24}$",
666+
"description": "The name of the attestation provider.",
667+
"x-ms-parameter-location": "method"
626668
}
627669
}
628670
}

0 commit comments

Comments
 (0)