Skip to content

Commit 9d051b4

Browse files
authored
Add private endpoint connections for managed environment (#28775)
* add pe * fix * fix * fix * fix * fix * fix * use v5 * fix * fix
1 parent 34ad69e commit 9d051b4

7 files changed

+657
-0
lines changed

specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/CommonDefinitions.json

Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1896,6 +1896,193 @@
18961896
"value"
18971897
]
18981898
},
1899+
"PrivateEndpoint": {
1900+
"type": "object",
1901+
"properties": {
1902+
"id": {
1903+
"readOnly": true,
1904+
"type": "string",
1905+
"format": "arm-id",
1906+
"description": "The ARM identifier for Private Endpoint"
1907+
}
1908+
},
1909+
"description": "The Private Endpoint resource."
1910+
},
1911+
"PrivateEndpointConnection": {
1912+
"type": "object",
1913+
"properties": {
1914+
"properties": {
1915+
"$ref": "#/definitions/PrivateEndpointConnectionProperties",
1916+
"x-ms-client-flatten": true,
1917+
"description": "Resource properties."
1918+
}
1919+
},
1920+
"allOf": [
1921+
{
1922+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource"
1923+
}
1924+
],
1925+
"description": "The Private Endpoint Connection resource."
1926+
},
1927+
"PrivateEndpointConnectionProperties": {
1928+
"type": "object",
1929+
"properties": {
1930+
"groupIds": {
1931+
"description": "The group ids for the private endpoint resource.",
1932+
"type": "array",
1933+
"items": {
1934+
"type": "string"
1935+
},
1936+
"readOnly": true
1937+
},
1938+
"privateEndpoint": {
1939+
"$ref": "#/definitions/PrivateEndpoint",
1940+
"description": "The resource of private end point."
1941+
},
1942+
"privateLinkServiceConnectionState": {
1943+
"$ref": "#/definitions/PrivateLinkServiceConnectionState",
1944+
"description": "A collection of information about the state of the connection between service consumer and provider."
1945+
},
1946+
"provisioningState": {
1947+
"$ref": "#/definitions/PrivateEndpointConnectionProvisioningState",
1948+
"description": "The provisioning state of the private endpoint connection resource."
1949+
}
1950+
},
1951+
"required": [
1952+
"privateLinkServiceConnectionState"
1953+
],
1954+
"description": "Properties of the private endpoint connection."
1955+
},
1956+
"PrivateLinkServiceConnectionState": {
1957+
"type": "object",
1958+
"properties": {
1959+
"status": {
1960+
"$ref": "#/definitions/PrivateEndpointServiceConnectionStatus",
1961+
"description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service."
1962+
},
1963+
"description": {
1964+
"type": "string",
1965+
"description": "The reason for approval/rejection of the connection."
1966+
},
1967+
"actionsRequired": {
1968+
"type": "string",
1969+
"description": "A message indicating if changes on the service provider require any updates on the consumer."
1970+
}
1971+
},
1972+
"description": "A collection of information about the state of the connection between service consumer and provider."
1973+
},
1974+
"PrivateEndpointServiceConnectionStatus": {
1975+
"type": "string",
1976+
"description": "The private endpoint connection status.",
1977+
"enum": [
1978+
"Pending",
1979+
"Approved",
1980+
"Rejected",
1981+
"Disconnected"
1982+
],
1983+
"x-ms-enum": {
1984+
"name": "PrivateEndpointServiceConnectionStatus",
1985+
"modelAsString": true
1986+
}
1987+
},
1988+
"PrivateEndpointConnectionProvisioningState": {
1989+
"type": "string",
1990+
"readOnly": true,
1991+
"description": "The current provisioning state.",
1992+
"enum": [
1993+
"Succeeded",
1994+
"Failed",
1995+
"Canceled",
1996+
"Waiting",
1997+
"Updating",
1998+
"Deleting",
1999+
"Pending"
2000+
],
2001+
"x-ms-enum": {
2002+
"name": "PrivateEndpointConnectionProvisioningState",
2003+
"modelAsString": true
2004+
}
2005+
},
2006+
"PrivateLinkResource": {
2007+
"type": "object",
2008+
"properties": {
2009+
"properties": {
2010+
"$ref": "#/definitions/PrivateLinkResourceProperties",
2011+
"description": "Resource properties.",
2012+
"x-ms-client-flatten": true
2013+
}
2014+
},
2015+
"allOf": [
2016+
{
2017+
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource"
2018+
}
2019+
],
2020+
"description": "A private link resource"
2021+
},
2022+
"PrivateLinkResourceProperties": {
2023+
"type": "object",
2024+
"properties": {
2025+
"groupId": {
2026+
"description": "The private link resource group id.",
2027+
"type": "string",
2028+
"readOnly": true
2029+
},
2030+
"requiredMembers": {
2031+
"description": "The private link resource required member names.",
2032+
"type": "array",
2033+
"items": {
2034+
"type": "string"
2035+
},
2036+
"readOnly": true
2037+
},
2038+
"requiredZoneNames": {
2039+
"type": "array",
2040+
"items": {
2041+
"type": "string"
2042+
},
2043+
"description": "The private link resource private link DNS zone name."
2044+
}
2045+
},
2046+
"description": "Properties of a private link resource."
2047+
},
2048+
"PrivateEndpointConnectionListResult": {
2049+
"type": "object",
2050+
"properties": {
2051+
"value": {
2052+
"type": "array",
2053+
"description": "Array of private endpoint connections",
2054+
"items": {
2055+
"$ref": "#/definitions/PrivateEndpointConnection"
2056+
}
2057+
},
2058+
"nextLink": {
2059+
"type": "string",
2060+
"format": "uri",
2061+
"description": "URL to get the next set of operation list results (if there are any).",
2062+
"readOnly": true
2063+
}
2064+
},
2065+
"description": "List of private endpoint connection associated with the specified resource"
2066+
},
2067+
"PrivateLinkResourceListResult": {
2068+
"type": "object",
2069+
"properties": {
2070+
"value": {
2071+
"type": "array",
2072+
"description": "Array of private link resources",
2073+
"items": {
2074+
"$ref": "#/definitions/PrivateLinkResource"
2075+
}
2076+
},
2077+
"nextLink": {
2078+
"type": "string",
2079+
"format": "uri",
2080+
"description": "URL to get the next set of operation list results (if there are any).",
2081+
"readOnly": true
2082+
}
2083+
},
2084+
"description": "A list of private link resources"
2085+
},
18992086
"IdentitySettings": {
19002087
"description": "Optional settings for a Managed Identity that is assigned to the Container App.",
19012088
"type": "object",

0 commit comments

Comments
 (0)