Skip to content

Commit c4d19b8

Browse files
authored
[Hub Generated] Review request for Microsoft.TimeSeriesInsights to add version preview/2021-03-31-preview (#16415)
* Fix S360 errors in 2021-03-31-preview * Fix prettier check
1 parent 30a027f commit c4d19b8

File tree

1 file changed

+217
-9
lines changed
  • specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview

1 file changed

+217
-9
lines changed

specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/timeseriesinsights.json

Lines changed: 217 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,14 +1113,14 @@
11131113
"$ref": "#/parameters/EnvironmentNameParameter"
11141114
},
11151115
{
1116-
"$ref": "../../../../../common-types/resource-management/v2/privatelinks.json#/parameters/PrivateEndpointConnectionName"
1116+
"$ref": "#/parameters/PrivateEndpointConnectionNameParameter"
11171117
},
11181118
{
11191119
"name": "privateEndpointConnection",
11201120
"in": "body",
11211121
"required": true,
11221122
"schema": {
1123-
"$ref": "../../../../../common-types/resource-management/v2/privatelinks.json#/definitions/PrivateEndpointConnection"
1123+
"$ref": "#/definitions/PrivateEndpointConnection"
11241124
},
11251125
"description": "The definition of the private endpoint connection to update."
11261126
},
@@ -1132,7 +1132,7 @@
11321132
"200": {
11331133
"description": "The existing private endpoint connection definition was successfully updated.",
11341134
"schema": {
1135-
"$ref": "../../../../../common-types/resource-management/v2/privatelinks.json#/definitions/PrivateEndpointConnection"
1135+
"$ref": "#/definitions/PrivateEndpointConnection"
11361136
}
11371137
},
11381138
"default": {
@@ -1165,7 +1165,7 @@
11651165
"$ref": "#/parameters/EnvironmentNameParameter"
11661166
},
11671167
{
1168-
"$ref": "../../../../../common-types/resource-management/v2/privatelinks.json#/parameters/PrivateEndpointConnectionName"
1168+
"$ref": "#/parameters/PrivateEndpointConnectionNameParameter"
11691169
},
11701170
{
11711171
"$ref": "#/parameters/ApiVersionParameter"
@@ -1175,7 +1175,7 @@
11751175
"200": {
11761176
"description": "The definition of the private endpoint connection was successfully retrieved and is in the response.",
11771177
"schema": {
1178-
"$ref": "../../../../../common-types/resource-management/v2/privatelinks.json#/definitions/PrivateEndpointConnection"
1178+
"$ref": "#/definitions/PrivateEndpointConnection"
11791179
}
11801180
},
11811181
"default": {
@@ -1208,7 +1208,7 @@
12081208
"$ref": "#/parameters/EnvironmentNameParameter"
12091209
},
12101210
{
1211-
"$ref": "../../../../../common-types/resource-management/v2/privatelinks.json#/parameters/PrivateEndpointConnectionName"
1211+
"$ref": "#/parameters/PrivateEndpointConnectionNameParameter"
12121212
},
12131213
{
12141214
"$ref": "#/parameters/ApiVersionParameter"
@@ -1264,7 +1264,7 @@
12641264
"200": {
12651265
"description": "The operation succeeded. The response contains the list of all private endpoint connections for the given environment.",
12661266
"schema": {
1267-
"$ref": "../../../../../common-types/resource-management/v2/privatelinks.json#/definitions/PrivateEndpointConnectionListResult"
1267+
"$ref": "#/definitions/PrivateEndpointConnectionListResult"
12681268
}
12691269
},
12701270
"default": {
@@ -1309,7 +1309,7 @@
13091309
"200": {
13101310
"description": "The operation succeeded. The response contains the list of all supported private link resource types for the given environment.",
13111311
"schema": {
1312-
"$ref": "../../../../../common-types/resource-management/v2/privatelinks.json#/definitions/PrivateLinkResourceListResult"
1312+
"$ref": "#/definitions/PrivateLinkResourceListResult"
13131313
}
13141314
},
13151315
"default": {
@@ -1960,7 +1960,7 @@
19601960
"readOnly": true,
19611961
"type": "array",
19621962
"items": {
1963-
"$ref": "../../../../../common-types/resource-management/v2/privatelinks.json#/definitions/PrivateEndpointConnection"
1963+
"$ref": "#/definitions/PrivateEndpointConnection"
19641964
},
19651965
"description": "The list of private endpoint connections to the environment."
19661966
}
@@ -2027,6 +2027,27 @@
20272027
"x-ms-client-flatten": false,
20282028
"$ref": "#/definitions/WarmStoreConfigurationProperties",
20292029
"description": "The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query."
2030+
},
2031+
"publicNetworkAccess": {
2032+
"type": "string",
2033+
"default": "enabled",
2034+
"description": "If 'enabled', public network access is allowed. If 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method.",
2035+
"enum": [
2036+
"enabled",
2037+
"disabled"
2038+
],
2039+
"x-ms-enum": {
2040+
"name": "PublicNetworkAccess",
2041+
"modelAsString": true
2042+
}
2043+
},
2044+
"privateEndpointConnections": {
2045+
"readOnly": true,
2046+
"type": "array",
2047+
"items": {
2048+
"$ref": "#/definitions/PrivateEndpointConnection"
2049+
},
2050+
"description": "The list of private endpoint connections to the environment."
20302051
}
20312052
},
20322053
"required": [
@@ -2873,6 +2894,185 @@
28732894
}
28742895
}
28752896
},
2897+
"PrivateEndpoint": {
2898+
"type": "object",
2899+
"properties": {
2900+
"id": {
2901+
"readOnly": true,
2902+
"type": "string",
2903+
"description": "The ARM identifier for Private Endpoint"
2904+
}
2905+
},
2906+
"description": "The Private Endpoint resource."
2907+
},
2908+
"PrivateEndpointConnection": {
2909+
"type": "object",
2910+
"properties": {
2911+
"properties": {
2912+
"$ref": "#/definitions/PrivateEndpointConnectionProperties",
2913+
"x-ms-client-flatten": true,
2914+
"description": "Resource properties."
2915+
},
2916+
"id": {
2917+
"readOnly": true,
2918+
"type": "string",
2919+
"description": "The ARM identifier for Private Endpoint Connection"
2920+
}
2921+
},
2922+
"allOf": [
2923+
{
2924+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
2925+
}
2926+
],
2927+
"description": "The Private Endpoint Connection resource."
2928+
},
2929+
"PrivateEndpointConnectionProperties": {
2930+
"type": "object",
2931+
"properties": {
2932+
"provisioningState": {
2933+
"$ref": "#/definitions/PrivateEndpointConnectionProvisioningState",
2934+
"description": "Provisioning state of the private endpoint connection."
2935+
},
2936+
"privateEndpoint": {
2937+
"$ref": "#/definitions/PrivateEndpoint",
2938+
"description": "The resource of private end point."
2939+
},
2940+
"groupIds": {
2941+
"$ref": "#/definitions/PrivateEndpointGroupIds",
2942+
"description": "The provisioning state of the private endpoint connection resource."
2943+
},
2944+
"privateLinkServiceConnectionState": {
2945+
"$ref": "#/definitions/PrivateLinkServiceConnectionState",
2946+
"description": "A collection of information about the state of the connection between service consumer and provider."
2947+
}
2948+
},
2949+
"required": [
2950+
"privateLinkServiceConnectionState"
2951+
],
2952+
"description": "Properties of the PrivateEndpointConnectProperties."
2953+
},
2954+
"PrivateEndpointGroupIds": {
2955+
"type": "array",
2956+
"items": {
2957+
"type": "string",
2958+
"description": "Private Links resource group id."
2959+
},
2960+
"description": "A list of private links resource group ids"
2961+
},
2962+
"PrivateLinkServiceConnectionState": {
2963+
"type": "object",
2964+
"properties": {
2965+
"status": {
2966+
"$ref": "#/definitions/PrivateEndpointServiceConnectionStatus",
2967+
"description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service."
2968+
},
2969+
"description": {
2970+
"type": "string",
2971+
"description": "The reason for approval/rejection of the connection."
2972+
},
2973+
"actionsRequired": {
2974+
"type": "string",
2975+
"description": "A message indicating if changes on the service provider require any updates on the consumer."
2976+
}
2977+
},
2978+
"description": "A collection of information about the state of the connection between service consumer and provider."
2979+
},
2980+
"PrivateEndpointServiceConnectionStatus": {
2981+
"type": "string",
2982+
"description": "The private endpoint connection status.",
2983+
"enum": [
2984+
"Pending",
2985+
"Approved",
2986+
"Rejected"
2987+
],
2988+
"x-ms-enum": {
2989+
"name": "PrivateEndpointServiceConnectionStatus",
2990+
"modelAsString": true
2991+
}
2992+
},
2993+
"PrivateEndpointConnectionProvisioningState": {
2994+
"type": "string",
2995+
"readOnly": true,
2996+
"description": "The current provisioning state.",
2997+
"enum": [
2998+
"Succeeded",
2999+
"Creating",
3000+
"Deleting",
3001+
"Failed"
3002+
],
3003+
"x-ms-enum": {
3004+
"name": "PrivateEndpointConnectionProvisioningState",
3005+
"modelAsString": true
3006+
}
3007+
},
3008+
"PrivateLinkResource": {
3009+
"type": "object",
3010+
"properties": {
3011+
"properties": {
3012+
"$ref": "#/definitions/PrivateLinkResourceProperties",
3013+
"description": "Resource properties.",
3014+
"x-ms-client-flatten": true
3015+
}
3016+
},
3017+
"allOf": [
3018+
{
3019+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource"
3020+
}
3021+
],
3022+
"description": "A private link resource"
3023+
},
3024+
"PrivateLinkResourceProperties": {
3025+
"type": "object",
3026+
"properties": {
3027+
"groupId": {
3028+
"description": "The private link resource group id.",
3029+
"type": "string",
3030+
"readOnly": true
3031+
},
3032+
"requiredMembers": {
3033+
"description": "The private link resource required member names.",
3034+
"type": "array",
3035+
"items": {
3036+
"type": "string"
3037+
},
3038+
"readOnly": true
3039+
},
3040+
"requiredZoneNames": {
3041+
"type": "array",
3042+
"items": {
3043+
"type": "string"
3044+
},
3045+
"description": "The private link resource Private link DNS zone name."
3046+
}
3047+
},
3048+
"description": "Properties of a private link resource."
3049+
},
3050+
"PrivateEndpointConnectionListResult": {
3051+
"type": "object",
3052+
"properties": {
3053+
"value": {
3054+
"type": "array",
3055+
"description": "Array of private endpoint connections",
3056+
"items": {
3057+
"$ref": "#/definitions/PrivateEndpointConnection"
3058+
}
3059+
}
3060+
},
3061+
"description": "List of private endpoint connection associated with the specified storage account"
3062+
},
3063+
"PrivateLinkResourceListResult": {
3064+
"type": "object",
3065+
"properties": {
3066+
"value": {
3067+
"type": "array",
3068+
"description": "Array of private link resources",
3069+
"items": {
3070+
"$ref": "#/definitions/PrivateLinkResource"
3071+
}
3072+
}
3073+
},
3074+
"description": "A list of private link resources"
3075+
},
28763076
"CloudError": {
28773077
"type": "object",
28783078
"properties": {
@@ -2974,6 +3174,14 @@
29743174
"type": "string",
29753175
"description": "The name of the Time Series Insights access policy associated with the specified environment.",
29763176
"x-ms-parameter-location": "method"
3177+
},
3178+
"PrivateEndpointConnectionNameParameter": {
3179+
"name": "privateEndpointConnectionName",
3180+
"in": "path",
3181+
"required": true,
3182+
"type": "string",
3183+
"description": "The name of the private endpoint connection associated with the Azure resource",
3184+
"x-ms-parameter-location": "method"
29773185
}
29783186
}
29793187
}

0 commit comments

Comments
 (0)