Skip to content
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
034a5be
Added all private endpoint APIs; added missing 'nonce' attribute to d…
LarryOsterman Nov 25, 2020
f46feff
Added missing 'resource' type
LarryOsterman Nov 25, 2020
7f39797
Fixed a bunch of validation errors
LarryOsterman Nov 25, 2020
cf6121e
Fixed a bunch of validation errors
LarryOsterman Nov 25, 2020
fb76514
Undid track 2 python sdk for now
LarryOsterman Nov 26, 2020
fd547ff
Backed out data-plane changes from this pull request
LarryOsterman Nov 30, 2020
651daf8
Added privateEndpointConnection_list API
LarryOsterman Nov 30, 2020
1b09be3
Removed two added lines
LarryOsterman Nov 30, 2020
09b8a23
Updated
LarryOsterman Nov 30, 2020
1161957
corrected swagger schema for privatelinkresourcelistresult
LarryOsterman Nov 30, 2020
8edb50b
Updated readme.python.md; Fixed some swagger errors in attestation.json
LarryOsterman Nov 30, 2020
9ce0484
Added back name and id properties to PrivateEndpointConnectionItem
LarryOsterman Dec 1, 2020
60dd15a
Fixed swagger validation issues
LarryOsterman Dec 1, 2020
eb61555
Data Plane SDK for python fixes
LarryOsterman Dec 1, 2020
d27f446
Removed 3 new APIs, leaving remaining changes
LarryOsterman Dec 4, 2020
d50d3ce
Removed one additional file
LarryOsterman Dec 4, 2020
603178e
Fixed package name comment
LarryOsterman Dec 4, 2020
d7e42c0
Merge branch 'master' into LarryO-AddPrivateLinkSwagger
LarryOsterman Dec 4, 2020
0032923
Dummy hcange to restart pipelines
LarryOsterman Dec 4, 2020
8db4eb3
Fixed prettier issue
LarryOsterman Dec 4, 2020
d9fae02
Added missing enum value
LarryOsterman Dec 4, 2020
1729a25
Merge branch 'master' into LarryO-AddPrivateLinkSwagger
LarryOsterman Dec 7, 2020
ea7a6d4
Use private link definitions from private link swagger
LarryOsterman Dec 9, 2020
c0e4aea
Updated
LarryOsterman Dec 9, 2020
bcdf273
Updated
LarryOsterman Dec 9, 2020
a5a7552
Pull request feedback
LarryOsterman Dec 10, 2020
a3b1369
Pull request feedback
LarryOsterman Dec 10, 2020
cc41dab
Fixed pull request feedback issue
LarryOsterman Jan 4, 2021
d6cc1e1
Merge branch 'master' into LarryO-AddPrivateLinkSwagger
LarryOsterman Jan 4, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": "#/definitions/PrivateEndpointConnectionItem"
},
"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,224 @@
"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"
}
}
},
"PrivateEndpointConnection": {
"properties": {
"properties": {
"$ref": "#/definitions/PrivateEndpointConnectionProperties",
"x-ms-client-flatten": true,
"description": "Resource properties."
}
},
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
}
],
"description": "Private endpoint connection resource.",
"x-ms-azure-resource": true
},
"PrivateEndpointConnectionProperties": {
"properties": {
"privateEndpoint": {
"$ref": "#/definitions/PrivateEndpoint",
"description": "Properties of the private endpoint object."
},
"privateLinkServiceConnectionState": {
"$ref": "#/definitions/PrivateLinkServiceConnectionState",
"description": "Approval state of the private link connection."
},
"provisioningState": {
"$ref": "#/definitions/PrivateEndpointConnectionProvisioningState",
"description": "Provisioning state of the private endpoint connection."
}
},
"description": "Properties of the private endpoint connection resource."
},
"PrivateEndpoint": {
"properties": {
"id": {
"readOnly": true,
"type": "string",
"description": "Full identifier of the private endpoint resource."
}
},
"description": "Private endpoint object properties."
},
"PrivateEndpointConnectionItem": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the connection item"
},
"id": {
"type": "string",
"description": "ID of the connection item"
},
"type": {
"type": "string",
"description": "Type of the connection item."
},
"properties": {
"$ref": "#/definitions/PrivateLinkConnectionItemProperties"
}
},
"description": "Private endpoint connection item."
},
"PrivateLinkConnectionItemProperties": {
"type": "object",
"properties": {
"provisioningState": {
"$ref": "#/definitions/PrivateEndpointConnectionProvisioningState"
},
"privateEndpoint": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Identifier for the endpoint"
}
}
},
"privateLinkServiceConnectionState": {
"$ref": "#/definitions/PrivateLinkServiceConnectionState"
}
}
},
"PrivateLinkServiceConnectionState": {
"type": "object",
"properties": {
"status": {
"$ref": "#/definitions/PrivateEndpointServiceConnectionStatus"
},
"description": {
"type": "string",
"description": "The reason for approval/rejection of the connection."
},
"actionsRequired": {
"type": "string",
"description": "A message indicating if changes on the service provider require any updates on the consumer."
}
},
"description": "A collection of information about the state of the connection between service consumer and provider."
},
"PrivateEndpointConnectionsListResult": {
"properties": {
"value": {
"type": "array",
"description": "Array of private endpoint connections",
"items": {
"$ref": "#/definitions/PrivateEndpointConnection"
}
}
},
"description": "A list of private endpoint connections"
},
"PrivateEndpointServiceConnectionStatus": {
"type": "string",
"description": "The private endpoint connection status.",
"enum": [
"Pending",
"Approved",
"Rejected",
"Disconnected"
],
"x-ms-enum": {
"name": "PrivateEndpointServiceConnectionStatus",
"modelAsString": true
}
},
"PrivateEndpointConnectionProvisioningState": {
"type": "string",
"readOnly": true,
"description": "The current provisioning state.",
"enum": [
"Succeeded",
"Creating",
"Deleting",
"Failed"
],
"x-ms-enum": {
"name": "PrivateEndpointConnectionProvisioningState",
"modelAsString": true
}
},
"PrivateLinkResourceListResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"description": "Array of private link resources",
"items": {
"$ref": "#/definitions/PrivateLinkResource"
}
}
},
"description": "A list of private link resources"
},
"PrivateLinkResource": {
"properties": {
"properties": {
"$ref": "#/definitions/PrivateLinkResourceProperties",
"description": "Resource properties.",
"x-ms-client-flatten": true
}
},
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource"
}
],
"description": "A private link resource"
},
"PrivateLinkResourceProperties": {
"properties": {
"groupId": {
"description": "Group identifier of private link resource.",
"type": "string",
"readOnly": true
},
"requiredMembers": {
"description": "Required member names of private link resource.",
"type": "array",
"items": {
"type": "string"
},
"readOnly": true
},
"requiredZoneNames": {
"type": "array",
"items": {
"type": "string"
},
"description": "Required DNS zone names of the the private link resource."
}
},
"description": "Properties of a private link resource."
}
},
"parameters": {
Expand All @@ -623,6 +826,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"
}
}
}
Loading