-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add systemData to common-types Resource in a new V3 version (#15600)
* Create v3 common-types with systemData added to Resource definition * Add systemData to Resource properties Co-authored-by: Anat Gilenson <[email protected]>
- Loading branch information
1 parent
1b57763
commit 19a0032
Showing
2 changed files
with
874 additions
and
0 deletions.
There are no files selected for viewing
182 changes: 182 additions & 0 deletions
182
specification/common-types/resource-management/v3/privatelinks.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,182 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "3.0", | ||
"title": "Common types" | ||
}, | ||
"paths": {}, | ||
"definitions": { | ||
"PrivateEndpoint": { | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "The ARM identifier for Private Endpoint" | ||
} | ||
}, | ||
"description": "The Private Endpoint resource." | ||
}, | ||
"PrivateEndpointConnection": { | ||
"type": "object", | ||
"properties": { | ||
"properties": { | ||
"$ref": "#/definitions/PrivateEndpointConnectionProperties", | ||
"x-ms-client-flatten": true, | ||
"description": "Resource properties." | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "./types.json#/definitions/Resource" | ||
} | ||
], | ||
"description": "The Private Endpoint Connection resource." | ||
}, | ||
"PrivateEndpointConnectionProperties": { | ||
"type": "object", | ||
"properties": { | ||
"privateEndpoint": { | ||
"$ref": "#/definitions/PrivateEndpoint", | ||
"description": "The resource of private end point." | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"$ref": "#/definitions/PrivateLinkServiceConnectionState", | ||
"description": "A collection of information about the state of the connection between service consumer and provider." | ||
}, | ||
"provisioningState": { | ||
"$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", | ||
"description": "The provisioning state of the private endpoint connection resource." | ||
} | ||
}, | ||
"required": [ | ||
"privateLinkServiceConnectionState" | ||
], | ||
"description": "Properties of the PrivateEndpointConnectProperties." | ||
}, | ||
"PrivateLinkServiceConnectionState": { | ||
"type": "object", | ||
"properties": { | ||
"status": { | ||
"$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", | ||
"description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." | ||
}, | ||
"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." | ||
}, | ||
"PrivateEndpointServiceConnectionStatus": { | ||
"type": "string", | ||
"description": "The private endpoint connection status.", | ||
"enum": [ | ||
"Pending", | ||
"Approved", | ||
"Rejected" | ||
], | ||
"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 | ||
} | ||
}, | ||
"PrivateLinkResource": { | ||
"type": "object", | ||
"properties": { | ||
"properties": { | ||
"$ref": "#/definitions/PrivateLinkResourceProperties", | ||
"description": "Resource properties.", | ||
"x-ms-client-flatten": true | ||
} | ||
}, | ||
"allOf": [ | ||
{ | ||
"$ref": "./types.json#/definitions/Resource" | ||
} | ||
], | ||
"description": "A private link resource" | ||
}, | ||
"PrivateLinkResourceProperties": { | ||
"type": "object", | ||
"properties": { | ||
"groupId": { | ||
"description": "The private link resource group id.", | ||
"type": "string", | ||
"readOnly": true | ||
}, | ||
"requiredMembers": { | ||
"description": "The private link resource required member names.", | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"readOnly": true | ||
}, | ||
"requiredZoneNames": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"description": "The private link resource Private link DNS zone name." | ||
} | ||
}, | ||
"description": "Properties of a private link resource." | ||
}, | ||
"PrivateEndpointConnectionListResult": { | ||
"type": "object", | ||
"properties": { | ||
"value": { | ||
"type": "array", | ||
"description": "Array of private endpoint connections", | ||
"items": { | ||
"$ref": "#/definitions/PrivateEndpointConnection" | ||
} | ||
} | ||
}, | ||
"description": "List of private endpoint connection associated with the specified storage account" | ||
}, | ||
"PrivateLinkResourceListResult": { | ||
"type": "object", | ||
"properties": { | ||
"value": { | ||
"type": "array", | ||
"description": "Array of private link resources", | ||
"items": { | ||
"$ref": "#/definitions/PrivateLinkResource" | ||
} | ||
} | ||
}, | ||
"description": "A list of private link resources" | ||
} | ||
}, | ||
"parameters": { | ||
"PrivateEndpointConnectionName": { | ||
"name": "privateEndpointConnectionName", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"description": "The name of the private endpoint connection associated with the Azure resource", | ||
"x-ms-parameter-location": "method" | ||
} | ||
} | ||
} |
Oops, something went wrong.