Skip to content

Commit

Permalink
use common-type for PrivateEndpointConnection ref, remove nested fields
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondavis-MS committed Mar 21, 2023
1 parent c89f963 commit 9d548d0
Showing 1 changed file with 1 addition and 156 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -382,161 +382,6 @@
}
}
},
"PrivateEndpointConnection": {
"description": "Private endpoint connection denoting the underlying private endpoint, its connection status, and its properties",
"type": "object",
"properties": {
"id": {
"description": "Fully qualified resource ID",
"type": "string",
"readOnly": true,
"x-ms-mutability": [
"read"
]
},
"name": {
"description": "The name of the resource",
"type": "string",
"readOnly": true,
"x-ms-mutability": [
"read"
]
},
"type": {
"description": "The type of the resource",
"type": "string",
"readOnly": true,
"x-ms-mutability": [
"read"
]
},
"properties": {
"description": "The properties of the private endpoint connection",
"allOf": [
{
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
}
],
"readOnly": true,
"x-ms-mutability": [
"read"
]
}
}
},
"PrivateEndpointConnectionProperties": {
"description": "The properties of the private endpoint connection",
"type": "object",
"properties": {
"provisioningState": {
"description": "Gets provisioning state of the private endpoint connection",
"enum": [
"Creating",
"Succeeded",
"Deleting",
"Failed",
"Canceled"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "ProvisioningState",
"modelAsString": true
},
"x-ms-mutability": [
"read"
]
},
"privateEndpoint": {
"description": "Gets or sets the private endpoint which the connection belongs to",
"allOf": [
{
"$ref": "#/definitions/PrivateEndpoint"
}
],
"readOnly": true,
"x-ms-mutability": [
"read"
]
},
"groupIds": {
"description": "The private link resource group ids",
"type": "array",
"items": {
"type": "string"
},
"readOnly": true,
"x-ms-mutability": [
"read"
]
},
"privateLinkServiceConnectionState": {
"description": "Gets or sets connection state of the private endpoint connection",
"allOf": [
{
"$ref": "#/definitions/PrivateLinkServiceConnectionState"
}
],
"readOnly": true,
"x-ms-mutability": [
"read"
]
}
}
},
"PrivateEndpoint": {
"description": "The private endpoint which the connection belongs to",
"type": "object",
"properties": {
"id": {
"description": "ARM resource ID",
"type": "string",
"readOnly": true,
"x-ms-mutability": [
"read"
]
}
}
},
"PrivateLinkServiceConnectionState": {
"description": "The connection state of the private endpoint connection",
"type": "object",
"properties": {
"status": {
"description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service",
"enum": [
"Approved",
"Rejected",
"Removed"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "Status",
"modelAsString": true
},
"x-ms-mutability": [
"read"
]
},
"description": {
"description": "The reason for approval/rejection of the connection",
"type": "string",
"readOnly": true,
"x-ms-mutability": [
"read"
]
},
"actionsRequired": {
"description": "A message indicating if changes on the service provider require any updates on the consumer",
"type": "string",
"readOnly": true,
"x-ms-mutability": [
"read"
]
}
}
},
"AzureMonitorWorkspace": {
"description": "Properties of an Azure Monitor workspace",
"type": "object",
Expand Down Expand Up @@ -596,7 +441,7 @@
"description": "List of private endpoint connections",
"type": "array",
"items": {
"$ref": "#/definitions/PrivateEndpointConnection"
"$ref": "../../../../../common-types/resource-management/v4/privatelinks.json#/definitions/PrivateEndpointConnection"
},
"readOnly": true,
"x-ms-mutability": [
Expand Down

0 comments on commit 9d548d0

Please sign in to comment.