@azure/arm-monitor 8.0.0-beta.1 → 8.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +83 -8
- package/dist/index.js +1712 -1011
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js +3 -2
- package/dist-esm/samples-dev/autoscaleSettingsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsGetSample.js +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js +3 -3
- package/dist-esm/samples-dev/autoscaleSettingsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js +3 -4
- package/dist-esm/samples-dev/autoscaleSettingsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCategoryGetSample.js +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js +18 -4
- package/dist-esm/samples-dev/diagnosticSettingsCategoryListSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js +44 -3
- package/dist-esm/samples-dev/diagnosticSettingsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.js +19 -1
- package/dist-esm/samples-dev/diagnosticSettingsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticSettingsListSample.js +49 -4
- package/dist-esm/samples-dev/diagnosticSettingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/predictiveMetricGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/predictiveMetricGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/predictiveMetricGetSample.js +36 -0
- package/dist-esm/samples-dev/predictiveMetricGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js +4 -18
- package/dist-esm/samples-dev/privateEndpointConnectionsListByPrivateLinkScopeSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js +4 -18
- package/dist-esm/samples-dev/privateLinkResourcesListByPrivateLinkScopeSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopeOperationStatusGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopedResourcesListByPrivateLinkScopeSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js +12 -2
- package/dist-esm/samples-dev/privateLinkScopesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkScopesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesGetSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesListSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkScopesUpdateTagsSample.js +1 -1
- package/dist-esm/src/models/index.d.ts +728 -354
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +205 -8
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +31 -20
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +969 -623
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +19 -13
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +79 -18
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/monitorClient.d.ts +2 -1
- package/dist-esm/src/monitorClient.d.ts.map +1 -1
- package/dist-esm/src/monitorClient.js +20 -14
- package/dist-esm/src/monitorClient.js.map +1 -1
- package/dist-esm/src/operations/actionGroups.js +25 -25
- package/dist-esm/src/operations/actionGroups.js.map +1 -1
- package/dist-esm/src/operations/activityLogAlerts.js +8 -8
- package/dist-esm/src/operations/activityLogs.js +2 -2
- package/dist-esm/src/operations/activityLogs.js.map +1 -1
- package/dist-esm/src/operations/alertRuleIncidents.js +2 -2
- package/dist-esm/src/operations/alertRules.js +6 -6
- package/dist-esm/src/operations/autoscaleSettings.js +8 -8
- package/dist-esm/src/operations/autoscaleSettings.js.map +1 -1
- package/dist-esm/src/operations/baselines.js +4 -4
- package/dist-esm/src/operations/baselines.js.map +1 -1
- package/dist-esm/src/operations/dataCollectionEndpoints.js +8 -8
- package/dist-esm/src/operations/dataCollectionRuleAssociations.js +9 -9
- package/dist-esm/src/operations/dataCollectionRules.js +8 -8
- package/dist-esm/src/operations/diagnosticSettings.d.ts +11 -2
- package/dist-esm/src/operations/diagnosticSettings.d.ts.map +1 -1
- package/dist-esm/src/operations/diagnosticSettings.js +50 -5
- package/dist-esm/src/operations/diagnosticSettings.js.map +1 -1
- package/dist-esm/src/operations/diagnosticSettingsCategory.d.ts +11 -2
- package/dist-esm/src/operations/diagnosticSettingsCategory.d.ts.map +1 -1
- package/dist-esm/src/operations/diagnosticSettingsCategory.js +48 -3
- package/dist-esm/src/operations/diagnosticSettingsCategory.js.map +1 -1
- package/dist-esm/src/operations/eventCategories.js +1 -1
- package/dist-esm/src/operations/eventCategories.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/logProfiles.js +5 -5
- package/dist-esm/src/operations/metricAlerts.js +6 -6
- package/dist-esm/src/operations/metricAlertsStatus.js +2 -2
- package/dist-esm/src/operations/metricDefinitions.js +1 -1
- package/dist-esm/src/operations/metricNamespaces.js +1 -1
- package/dist-esm/src/operations/metrics.js +4 -4
- package/dist-esm/src/operations/metrics.js.map +1 -1
- package/dist-esm/src/operations/operations.js +1 -1
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/predictiveMetric.d.ts +28 -0
- package/dist-esm/src/operations/predictiveMetric.d.ts.map +1 -0
- package/dist-esm/src/operations/predictiveMetric.js +77 -0
- package/dist-esm/src/operations/predictiveMetric.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +4 -22
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +27 -89
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts +2 -20
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +8 -83
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopeOperationStatus.js +4 -1
- package/dist-esm/src/operations/privateLinkScopeOperationStatus.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopedResources.js +27 -6
- package/dist-esm/src/operations/privateLinkScopedResources.js.map +1 -1
- package/dist-esm/src/operations/privateLinkScopes.js +39 -9
- package/dist-esm/src/operations/privateLinkScopes.js.map +1 -1
- package/dist-esm/src/operations/scheduledQueryRules.js +6 -6
- package/dist-esm/src/operations/tenantActivityLogs.js +2 -2
- package/dist-esm/src/operations/tenantActivityLogs.js.map +1 -1
- package/dist-esm/src/operations/vMInsights.js +1 -1
- package/dist-esm/src/operations/vMInsights.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/diagnosticSettings.d.ts +8 -7
- package/dist-esm/src/operationsInterfaces/diagnosticSettings.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/diagnosticSettingsCategory.d.ts +7 -6
- package/dist-esm/src/operationsInterfaces/diagnosticSettingsCategory.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/predictiveMetric.d.ts +20 -0
- package/dist-esm/src/operationsInterfaces/predictiveMetric.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/predictiveMetric.js +9 -0
- package/dist-esm/src/operationsInterfaces/predictiveMetric.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +10 -11
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +2 -3
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist-esm/test/monitor_examples.js +1 -1
- package/package.json +3 -4
- package/review/arm-monitor.api.md +341 -355
- package/src/models/index.ts +752 -370
- package/src/models/mappers.ts +1090 -722
- package/src/models/parameters.ts +85 -18
- package/src/monitorClient.ts +27 -16
- package/src/operations/actionGroups.ts +25 -33
- package/src/operations/activityLogAlerts.ts +8 -8
- package/src/operations/activityLogs.ts +2 -2
- package/src/operations/alertRuleIncidents.ts +2 -2
- package/src/operations/alertRules.ts +6 -6
- package/src/operations/autoscaleSettings.ts +8 -8
- package/src/operations/baselines.ts +4 -4
- package/src/operations/dataCollectionEndpoints.ts +8 -8
- package/src/operations/dataCollectionRuleAssociations.ts +9 -9
- package/src/operations/dataCollectionRules.ts +8 -8
- package/src/operations/diagnosticSettings.ts +49 -7
- package/src/operations/diagnosticSettingsCategory.ts +47 -4
- package/src/operations/eventCategories.ts +1 -1
- package/src/operations/index.ts +1 -0
- package/src/operations/logProfiles.ts +5 -5
- package/src/operations/metricAlerts.ts +6 -6
- package/src/operations/metricAlertsStatus.ts +2 -2
- package/src/operations/metricDefinitions.ts +1 -1
- package/src/operations/metricNamespaces.ts +1 -1
- package/src/operations/metrics.ts +4 -4
- package/src/operations/operations.ts +1 -1
- package/src/operations/predictiveMetric.ts +101 -0
- package/src/operations/privateEndpointConnections.ts +29 -124
- package/src/operations/privateLinkResources.ts +10 -118
- package/src/operations/privateLinkScopeOperationStatus.ts +4 -1
- package/src/operations/privateLinkScopedResources.ts +27 -6
- package/src/operations/privateLinkScopes.ts +39 -9
- package/src/operations/scheduledQueryRules.ts +6 -6
- package/src/operations/tenantActivityLogs.ts +2 -2
- package/src/operations/vMInsights.ts +1 -1
- package/src/operationsInterfaces/diagnosticSettings.ts +14 -13
- package/src/operationsInterfaces/diagnosticSettingsCategory.ts +14 -12
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/predictiveMetric.ts +40 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +17 -18
- package/src/operationsInterfaces/privateLinkResources.ts +2 -4
- package/types/arm-monitor.d.ts +638 -227
|
@@ -56,12 +56,12 @@ const listOperationSpec: coreClient.OperationSpec = {
|
|
|
56
56
|
},
|
|
57
57
|
queryParameters: [
|
|
58
58
|
Parameters.filter1,
|
|
59
|
-
Parameters.
|
|
59
|
+
Parameters.apiVersion5,
|
|
60
60
|
Parameters.metricnamespace,
|
|
61
|
-
Parameters.
|
|
62
|
-
Parameters.
|
|
61
|
+
Parameters.timespan1,
|
|
62
|
+
Parameters.interval1,
|
|
63
63
|
Parameters.metricnames,
|
|
64
|
-
Parameters.
|
|
64
|
+
Parameters.aggregation1,
|
|
65
65
|
Parameters.top,
|
|
66
66
|
Parameters.orderby,
|
|
67
67
|
Parameters.resultType
|
|
@@ -49,7 +49,7 @@ const listOperationSpec: coreClient.OperationSpec = {
|
|
|
49
49
|
bodyMapper: Mappers.OperationListResult
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
|
-
queryParameters: [Parameters.
|
|
52
|
+
queryParameters: [Parameters.apiVersion1],
|
|
53
53
|
urlParameters: [Parameters.$host],
|
|
54
54
|
headerParameters: [Parameters.accept],
|
|
55
55
|
serializer
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PredictiveMetric } from "../operationsInterfaces";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers";
|
|
12
|
+
import * as Parameters from "../models/parameters";
|
|
13
|
+
import { MonitorClient } from "../monitorClient";
|
|
14
|
+
import {
|
|
15
|
+
PredictiveMetricGetOptionalParams,
|
|
16
|
+
PredictiveMetricGetResponse
|
|
17
|
+
} from "../models";
|
|
18
|
+
|
|
19
|
+
/** Class containing PredictiveMetric operations. */
|
|
20
|
+
export class PredictiveMetricImpl implements PredictiveMetric {
|
|
21
|
+
private readonly client: MonitorClient;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Initialize a new instance of the class PredictiveMetric class.
|
|
25
|
+
* @param client Reference to the service client
|
|
26
|
+
*/
|
|
27
|
+
constructor(client: MonitorClient) {
|
|
28
|
+
this.client = client;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* get predictive autoscale metric future data
|
|
33
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
|
+
* @param autoscaleSettingName The autoscale setting name.
|
|
35
|
+
* @param timespan The timespan of the query. It is a string with the following format
|
|
36
|
+
* 'startDateTime_ISO/endDateTime_ISO'.
|
|
37
|
+
* @param interval The interval (i.e. timegrain) of the query.
|
|
38
|
+
* @param metricNamespace Metric namespace to query metric definitions for.
|
|
39
|
+
* @param metricName The names of the metrics (comma separated) to retrieve. Special case: If a
|
|
40
|
+
* metricname itself has a comma in it then use %2 to indicate it. Eg: 'Metric,Name1' should be
|
|
41
|
+
* **'Metric%2Name1'**
|
|
42
|
+
* @param aggregation The list of aggregation types (comma separated) to retrieve.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
get(
|
|
46
|
+
resourceGroupName: string,
|
|
47
|
+
autoscaleSettingName: string,
|
|
48
|
+
timespan: string,
|
|
49
|
+
interval: string,
|
|
50
|
+
metricNamespace: string,
|
|
51
|
+
metricName: string,
|
|
52
|
+
aggregation: string,
|
|
53
|
+
options?: PredictiveMetricGetOptionalParams
|
|
54
|
+
): Promise<PredictiveMetricGetResponse> {
|
|
55
|
+
return this.client.sendOperationRequest(
|
|
56
|
+
{
|
|
57
|
+
resourceGroupName,
|
|
58
|
+
autoscaleSettingName,
|
|
59
|
+
timespan,
|
|
60
|
+
interval,
|
|
61
|
+
metricNamespace,
|
|
62
|
+
metricName,
|
|
63
|
+
aggregation,
|
|
64
|
+
options
|
|
65
|
+
},
|
|
66
|
+
getOperationSpec
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
// Operation Specifications
|
|
71
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
72
|
+
|
|
73
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
74
|
+
path:
|
|
75
|
+
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/autoscalesettings/{autoscaleSettingName}/predictiveMetrics",
|
|
76
|
+
httpMethod: "GET",
|
|
77
|
+
responses: {
|
|
78
|
+
200: {
|
|
79
|
+
bodyMapper: Mappers.PredictiveResponse
|
|
80
|
+
},
|
|
81
|
+
default: {
|
|
82
|
+
bodyMapper: Mappers.AutoscaleErrorResponse
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
queryParameters: [
|
|
86
|
+
Parameters.apiVersion,
|
|
87
|
+
Parameters.timespan,
|
|
88
|
+
Parameters.interval,
|
|
89
|
+
Parameters.metricNamespace,
|
|
90
|
+
Parameters.metricName,
|
|
91
|
+
Parameters.aggregation
|
|
92
|
+
],
|
|
93
|
+
urlParameters: [
|
|
94
|
+
Parameters.$host,
|
|
95
|
+
Parameters.resourceGroupName,
|
|
96
|
+
Parameters.subscriptionId,
|
|
97
|
+
Parameters.autoscaleSettingName
|
|
98
|
+
],
|
|
99
|
+
headerParameters: [Parameters.accept],
|
|
100
|
+
serializer
|
|
101
|
+
};
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
9
|
import { PrivateEndpointConnections } from "../operationsInterfaces";
|
|
11
10
|
import * as coreClient from "@azure/core-client";
|
|
12
11
|
import * as Mappers from "../models/mappers";
|
|
@@ -15,19 +14,16 @@ import { MonitorClient } from "../monitorClient";
|
|
|
15
14
|
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
15
|
import { LroImpl } from "../lroImpl";
|
|
17
16
|
import {
|
|
18
|
-
PrivateEndpointConnection,
|
|
19
|
-
PrivateEndpointConnectionsListByPrivateLinkScopeNextOptionalParams,
|
|
20
|
-
PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams,
|
|
21
17
|
PrivateEndpointConnectionsGetOptionalParams,
|
|
22
18
|
PrivateEndpointConnectionsGetResponse,
|
|
19
|
+
PrivateEndpointConnection,
|
|
23
20
|
PrivateEndpointConnectionsCreateOrUpdateOptionalParams,
|
|
24
21
|
PrivateEndpointConnectionsCreateOrUpdateResponse,
|
|
25
22
|
PrivateEndpointConnectionsDeleteOptionalParams,
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams,
|
|
24
|
+
PrivateEndpointConnectionsListByPrivateLinkScopeResponse
|
|
28
25
|
} from "../models";
|
|
29
26
|
|
|
30
|
-
/// <reference lib="esnext.asynciterable" />
|
|
31
27
|
/** Class containing PrivateEndpointConnections operations. */
|
|
32
28
|
export class PrivateEndpointConnectionsImpl
|
|
33
29
|
implements PrivateEndpointConnections {
|
|
@@ -41,77 +37,6 @@ export class PrivateEndpointConnectionsImpl
|
|
|
41
37
|
this.client = client;
|
|
42
38
|
}
|
|
43
39
|
|
|
44
|
-
/**
|
|
45
|
-
* Gets all private endpoint connections on a private link scope.
|
|
46
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
47
|
-
* @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
|
|
48
|
-
* @param options The options parameters.
|
|
49
|
-
*/
|
|
50
|
-
public listByPrivateLinkScope(
|
|
51
|
-
resourceGroupName: string,
|
|
52
|
-
scopeName: string,
|
|
53
|
-
options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams
|
|
54
|
-
): PagedAsyncIterableIterator<PrivateEndpointConnection> {
|
|
55
|
-
const iter = this.listByPrivateLinkScopePagingAll(
|
|
56
|
-
resourceGroupName,
|
|
57
|
-
scopeName,
|
|
58
|
-
options
|
|
59
|
-
);
|
|
60
|
-
return {
|
|
61
|
-
next() {
|
|
62
|
-
return iter.next();
|
|
63
|
-
},
|
|
64
|
-
[Symbol.asyncIterator]() {
|
|
65
|
-
return this;
|
|
66
|
-
},
|
|
67
|
-
byPage: () => {
|
|
68
|
-
return this.listByPrivateLinkScopePagingPage(
|
|
69
|
-
resourceGroupName,
|
|
70
|
-
scopeName,
|
|
71
|
-
options
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
private async *listByPrivateLinkScopePagingPage(
|
|
78
|
-
resourceGroupName: string,
|
|
79
|
-
scopeName: string,
|
|
80
|
-
options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams
|
|
81
|
-
): AsyncIterableIterator<PrivateEndpointConnection[]> {
|
|
82
|
-
let result = await this._listByPrivateLinkScope(
|
|
83
|
-
resourceGroupName,
|
|
84
|
-
scopeName,
|
|
85
|
-
options
|
|
86
|
-
);
|
|
87
|
-
yield result.value || [];
|
|
88
|
-
let continuationToken = result.nextLink;
|
|
89
|
-
while (continuationToken) {
|
|
90
|
-
result = await this._listByPrivateLinkScopeNext(
|
|
91
|
-
resourceGroupName,
|
|
92
|
-
scopeName,
|
|
93
|
-
continuationToken,
|
|
94
|
-
options
|
|
95
|
-
);
|
|
96
|
-
continuationToken = result.nextLink;
|
|
97
|
-
yield result.value || [];
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
private async *listByPrivateLinkScopePagingAll(
|
|
102
|
-
resourceGroupName: string,
|
|
103
|
-
scopeName: string,
|
|
104
|
-
options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams
|
|
105
|
-
): AsyncIterableIterator<PrivateEndpointConnection> {
|
|
106
|
-
for await (const page of this.listByPrivateLinkScopePagingPage(
|
|
107
|
-
resourceGroupName,
|
|
108
|
-
scopeName,
|
|
109
|
-
options
|
|
110
|
-
)) {
|
|
111
|
-
yield* page;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
40
|
/**
|
|
116
41
|
* Gets a private endpoint connection.
|
|
117
42
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
@@ -136,7 +61,7 @@ export class PrivateEndpointConnectionsImpl
|
|
|
136
61
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
137
62
|
* @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
|
|
138
63
|
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
139
|
-
* @param parameters
|
|
64
|
+
* @param parameters The Private Endpoint Connection resource.
|
|
140
65
|
* @param options The options parameters.
|
|
141
66
|
*/
|
|
142
67
|
async beginCreateOrUpdate(
|
|
@@ -214,7 +139,7 @@ export class PrivateEndpointConnectionsImpl
|
|
|
214
139
|
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
215
140
|
* @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
|
|
216
141
|
* @param privateEndpointConnectionName The name of the private endpoint connection.
|
|
217
|
-
* @param parameters
|
|
142
|
+
* @param parameters The Private Endpoint Connection resource.
|
|
218
143
|
* @param options The options parameters.
|
|
219
144
|
*/
|
|
220
145
|
async beginCreateOrUpdateAndWait(
|
|
@@ -327,7 +252,7 @@ export class PrivateEndpointConnectionsImpl
|
|
|
327
252
|
* @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
|
|
328
253
|
* @param options The options parameters.
|
|
329
254
|
*/
|
|
330
|
-
|
|
255
|
+
listByPrivateLinkScope(
|
|
331
256
|
resourceGroupName: string,
|
|
332
257
|
scopeName: string,
|
|
333
258
|
options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams
|
|
@@ -337,25 +262,6 @@ export class PrivateEndpointConnectionsImpl
|
|
|
337
262
|
listByPrivateLinkScopeOperationSpec
|
|
338
263
|
);
|
|
339
264
|
}
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* ListByPrivateLinkScopeNext
|
|
343
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
344
|
-
* @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
|
|
345
|
-
* @param nextLink The nextLink from the previous successful call to the ListByPrivateLinkScope method.
|
|
346
|
-
* @param options The options parameters.
|
|
347
|
-
*/
|
|
348
|
-
private _listByPrivateLinkScopeNext(
|
|
349
|
-
resourceGroupName: string,
|
|
350
|
-
scopeName: string,
|
|
351
|
-
nextLink: string,
|
|
352
|
-
options?: PrivateEndpointConnectionsListByPrivateLinkScopeNextOptionalParams
|
|
353
|
-
): Promise<PrivateEndpointConnectionsListByPrivateLinkScopeNextResponse> {
|
|
354
|
-
return this.client.sendOperationRequest(
|
|
355
|
-
{ resourceGroupName, scopeName, nextLink, options },
|
|
356
|
-
listByPrivateLinkScopeNextOperationSpec
|
|
357
|
-
);
|
|
358
|
-
}
|
|
359
265
|
}
|
|
360
266
|
// Operation Specifications
|
|
361
267
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
@@ -367,9 +273,12 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
367
273
|
responses: {
|
|
368
274
|
200: {
|
|
369
275
|
bodyMapper: Mappers.PrivateEndpointConnection
|
|
276
|
+
},
|
|
277
|
+
default: {
|
|
278
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
370
279
|
}
|
|
371
280
|
},
|
|
372
|
-
queryParameters: [Parameters.
|
|
281
|
+
queryParameters: [Parameters.apiVersion11],
|
|
373
282
|
urlParameters: [
|
|
374
283
|
Parameters.$host,
|
|
375
284
|
Parameters.resourceGroupName,
|
|
@@ -396,10 +305,13 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
|
396
305
|
},
|
|
397
306
|
204: {
|
|
398
307
|
bodyMapper: Mappers.PrivateEndpointConnection
|
|
308
|
+
},
|
|
309
|
+
default: {
|
|
310
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
399
311
|
}
|
|
400
312
|
},
|
|
401
313
|
requestBody: Parameters.parameters8,
|
|
402
|
-
queryParameters: [Parameters.
|
|
314
|
+
queryParameters: [Parameters.apiVersion11],
|
|
403
315
|
urlParameters: [
|
|
404
316
|
Parameters.$host,
|
|
405
317
|
Parameters.resourceGroupName,
|
|
@@ -415,8 +327,16 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
415
327
|
path:
|
|
416
328
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
417
329
|
httpMethod: "DELETE",
|
|
418
|
-
responses: {
|
|
419
|
-
|
|
330
|
+
responses: {
|
|
331
|
+
200: {},
|
|
332
|
+
201: {},
|
|
333
|
+
202: {},
|
|
334
|
+
204: {},
|
|
335
|
+
default: {
|
|
336
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
queryParameters: [Parameters.apiVersion11],
|
|
420
340
|
urlParameters: [
|
|
421
341
|
Parameters.$host,
|
|
422
342
|
Parameters.resourceGroupName,
|
|
@@ -424,6 +344,7 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
424
344
|
Parameters.scopeName,
|
|
425
345
|
Parameters.privateEndpointConnectionName
|
|
426
346
|
],
|
|
347
|
+
headerParameters: [Parameters.accept],
|
|
427
348
|
serializer
|
|
428
349
|
};
|
|
429
350
|
const listByPrivateLinkScopeOperationSpec: coreClient.OperationSpec = {
|
|
@@ -433,32 +354,16 @@ const listByPrivateLinkScopeOperationSpec: coreClient.OperationSpec = {
|
|
|
433
354
|
responses: {
|
|
434
355
|
200: {
|
|
435
356
|
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
|
357
|
+
},
|
|
358
|
+
default: {
|
|
359
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
436
360
|
}
|
|
437
361
|
},
|
|
438
|
-
queryParameters: [Parameters.
|
|
439
|
-
urlParameters: [
|
|
440
|
-
Parameters.$host,
|
|
441
|
-
Parameters.resourceGroupName,
|
|
442
|
-
Parameters.subscriptionId,
|
|
443
|
-
Parameters.scopeName
|
|
444
|
-
],
|
|
445
|
-
headerParameters: [Parameters.accept],
|
|
446
|
-
serializer
|
|
447
|
-
};
|
|
448
|
-
const listByPrivateLinkScopeNextOperationSpec: coreClient.OperationSpec = {
|
|
449
|
-
path: "{nextLink}",
|
|
450
|
-
httpMethod: "GET",
|
|
451
|
-
responses: {
|
|
452
|
-
200: {
|
|
453
|
-
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
|
454
|
-
}
|
|
455
|
-
},
|
|
456
|
-
queryParameters: [Parameters.apiVersion10],
|
|
362
|
+
queryParameters: [Parameters.apiVersion11],
|
|
457
363
|
urlParameters: [
|
|
458
364
|
Parameters.$host,
|
|
459
365
|
Parameters.resourceGroupName,
|
|
460
366
|
Parameters.subscriptionId,
|
|
461
|
-
Parameters.nextLink,
|
|
462
367
|
Parameters.scopeName
|
|
463
368
|
],
|
|
464
369
|
headerParameters: [Parameters.accept],
|
|
@@ -6,23 +6,18 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
9
|
import { PrivateLinkResources } from "../operationsInterfaces";
|
|
11
10
|
import * as coreClient from "@azure/core-client";
|
|
12
11
|
import * as Mappers from "../models/mappers";
|
|
13
12
|
import * as Parameters from "../models/parameters";
|
|
14
13
|
import { MonitorClient } from "../monitorClient";
|
|
15
14
|
import {
|
|
16
|
-
PrivateLinkResource,
|
|
17
|
-
PrivateLinkResourcesListByPrivateLinkScopeNextOptionalParams,
|
|
18
15
|
PrivateLinkResourcesListByPrivateLinkScopeOptionalParams,
|
|
19
16
|
PrivateLinkResourcesListByPrivateLinkScopeResponse,
|
|
20
17
|
PrivateLinkResourcesGetOptionalParams,
|
|
21
|
-
PrivateLinkResourcesGetResponse
|
|
22
|
-
PrivateLinkResourcesListByPrivateLinkScopeNextResponse
|
|
18
|
+
PrivateLinkResourcesGetResponse
|
|
23
19
|
} from "../models";
|
|
24
20
|
|
|
25
|
-
/// <reference lib="esnext.asynciterable" />
|
|
26
21
|
/** Class containing PrivateLinkResources operations. */
|
|
27
22
|
export class PrivateLinkResourcesImpl implements PrivateLinkResources {
|
|
28
23
|
private readonly client: MonitorClient;
|
|
@@ -41,78 +36,7 @@ export class PrivateLinkResourcesImpl implements PrivateLinkResources {
|
|
|
41
36
|
* @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
|
|
42
37
|
* @param options The options parameters.
|
|
43
38
|
*/
|
|
44
|
-
|
|
45
|
-
resourceGroupName: string,
|
|
46
|
-
scopeName: string,
|
|
47
|
-
options?: PrivateLinkResourcesListByPrivateLinkScopeOptionalParams
|
|
48
|
-
): PagedAsyncIterableIterator<PrivateLinkResource> {
|
|
49
|
-
const iter = this.listByPrivateLinkScopePagingAll(
|
|
50
|
-
resourceGroupName,
|
|
51
|
-
scopeName,
|
|
52
|
-
options
|
|
53
|
-
);
|
|
54
|
-
return {
|
|
55
|
-
next() {
|
|
56
|
-
return iter.next();
|
|
57
|
-
},
|
|
58
|
-
[Symbol.asyncIterator]() {
|
|
59
|
-
return this;
|
|
60
|
-
},
|
|
61
|
-
byPage: () => {
|
|
62
|
-
return this.listByPrivateLinkScopePagingPage(
|
|
63
|
-
resourceGroupName,
|
|
64
|
-
scopeName,
|
|
65
|
-
options
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
private async *listByPrivateLinkScopePagingPage(
|
|
72
|
-
resourceGroupName: string,
|
|
73
|
-
scopeName: string,
|
|
74
|
-
options?: PrivateLinkResourcesListByPrivateLinkScopeOptionalParams
|
|
75
|
-
): AsyncIterableIterator<PrivateLinkResource[]> {
|
|
76
|
-
let result = await this._listByPrivateLinkScope(
|
|
77
|
-
resourceGroupName,
|
|
78
|
-
scopeName,
|
|
79
|
-
options
|
|
80
|
-
);
|
|
81
|
-
yield result.value || [];
|
|
82
|
-
let continuationToken = result.nextLink;
|
|
83
|
-
while (continuationToken) {
|
|
84
|
-
result = await this._listByPrivateLinkScopeNext(
|
|
85
|
-
resourceGroupName,
|
|
86
|
-
scopeName,
|
|
87
|
-
continuationToken,
|
|
88
|
-
options
|
|
89
|
-
);
|
|
90
|
-
continuationToken = result.nextLink;
|
|
91
|
-
yield result.value || [];
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private async *listByPrivateLinkScopePagingAll(
|
|
96
|
-
resourceGroupName: string,
|
|
97
|
-
scopeName: string,
|
|
98
|
-
options?: PrivateLinkResourcesListByPrivateLinkScopeOptionalParams
|
|
99
|
-
): AsyncIterableIterator<PrivateLinkResource> {
|
|
100
|
-
for await (const page of this.listByPrivateLinkScopePagingPage(
|
|
101
|
-
resourceGroupName,
|
|
102
|
-
scopeName,
|
|
103
|
-
options
|
|
104
|
-
)) {
|
|
105
|
-
yield* page;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Gets the private link resources that need to be created for a Azure Monitor PrivateLinkScope.
|
|
111
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
112
|
-
* @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
|
|
113
|
-
* @param options The options parameters.
|
|
114
|
-
*/
|
|
115
|
-
private _listByPrivateLinkScope(
|
|
39
|
+
listByPrivateLinkScope(
|
|
116
40
|
resourceGroupName: string,
|
|
117
41
|
scopeName: string,
|
|
118
42
|
options?: PrivateLinkResourcesListByPrivateLinkScopeOptionalParams
|
|
@@ -141,25 +65,6 @@ export class PrivateLinkResourcesImpl implements PrivateLinkResources {
|
|
|
141
65
|
getOperationSpec
|
|
142
66
|
);
|
|
143
67
|
}
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* ListByPrivateLinkScopeNext
|
|
147
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
148
|
-
* @param scopeName The name of the Azure Monitor PrivateLinkScope resource.
|
|
149
|
-
* @param nextLink The nextLink from the previous successful call to the ListByPrivateLinkScope method.
|
|
150
|
-
* @param options The options parameters.
|
|
151
|
-
*/
|
|
152
|
-
private _listByPrivateLinkScopeNext(
|
|
153
|
-
resourceGroupName: string,
|
|
154
|
-
scopeName: string,
|
|
155
|
-
nextLink: string,
|
|
156
|
-
options?: PrivateLinkResourcesListByPrivateLinkScopeNextOptionalParams
|
|
157
|
-
): Promise<PrivateLinkResourcesListByPrivateLinkScopeNextResponse> {
|
|
158
|
-
return this.client.sendOperationRequest(
|
|
159
|
-
{ resourceGroupName, scopeName, nextLink, options },
|
|
160
|
-
listByPrivateLinkScopeNextOperationSpec
|
|
161
|
-
);
|
|
162
|
-
}
|
|
163
68
|
}
|
|
164
69
|
// Operation Specifications
|
|
165
70
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
@@ -171,9 +76,12 @@ const listByPrivateLinkScopeOperationSpec: coreClient.OperationSpec = {
|
|
|
171
76
|
responses: {
|
|
172
77
|
200: {
|
|
173
78
|
bodyMapper: Mappers.PrivateLinkResourceListResult
|
|
79
|
+
},
|
|
80
|
+
default: {
|
|
81
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
174
82
|
}
|
|
175
83
|
},
|
|
176
|
-
queryParameters: [Parameters.
|
|
84
|
+
queryParameters: [Parameters.apiVersion11],
|
|
177
85
|
urlParameters: [
|
|
178
86
|
Parameters.$host,
|
|
179
87
|
Parameters.resourceGroupName,
|
|
@@ -190,9 +98,12 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
190
98
|
responses: {
|
|
191
99
|
200: {
|
|
192
100
|
bodyMapper: Mappers.PrivateLinkResource
|
|
101
|
+
},
|
|
102
|
+
default: {
|
|
103
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
193
104
|
}
|
|
194
105
|
},
|
|
195
|
-
queryParameters: [Parameters.
|
|
106
|
+
queryParameters: [Parameters.apiVersion11],
|
|
196
107
|
urlParameters: [
|
|
197
108
|
Parameters.$host,
|
|
198
109
|
Parameters.resourceGroupName,
|
|
@@ -203,22 +114,3 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
203
114
|
headerParameters: [Parameters.accept],
|
|
204
115
|
serializer
|
|
205
116
|
};
|
|
206
|
-
const listByPrivateLinkScopeNextOperationSpec: coreClient.OperationSpec = {
|
|
207
|
-
path: "{nextLink}",
|
|
208
|
-
httpMethod: "GET",
|
|
209
|
-
responses: {
|
|
210
|
-
200: {
|
|
211
|
-
bodyMapper: Mappers.PrivateLinkResourceListResult
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
|
-
queryParameters: [Parameters.apiVersion10],
|
|
215
|
-
urlParameters: [
|
|
216
|
-
Parameters.$host,
|
|
217
|
-
Parameters.resourceGroupName,
|
|
218
|
-
Parameters.subscriptionId,
|
|
219
|
-
Parameters.nextLink,
|
|
220
|
-
Parameters.scopeName
|
|
221
|
-
],
|
|
222
|
-
headerParameters: [Parameters.accept],
|
|
223
|
-
serializer
|
|
224
|
-
};
|
|
@@ -56,9 +56,12 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
56
56
|
responses: {
|
|
57
57
|
200: {
|
|
58
58
|
bodyMapper: Mappers.OperationStatus
|
|
59
|
+
},
|
|
60
|
+
default: {
|
|
61
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
59
62
|
}
|
|
60
63
|
},
|
|
61
|
-
queryParameters: [Parameters.
|
|
64
|
+
queryParameters: [Parameters.apiVersion11],
|
|
62
65
|
urlParameters: [
|
|
63
66
|
Parameters.$host,
|
|
64
67
|
Parameters.resourceGroupName,
|
|
@@ -361,9 +361,12 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
361
361
|
responses: {
|
|
362
362
|
200: {
|
|
363
363
|
bodyMapper: Mappers.ScopedResource
|
|
364
|
+
},
|
|
365
|
+
default: {
|
|
366
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
364
367
|
}
|
|
365
368
|
},
|
|
366
|
-
queryParameters: [Parameters.
|
|
369
|
+
queryParameters: [Parameters.apiVersion11],
|
|
367
370
|
urlParameters: [
|
|
368
371
|
Parameters.$host,
|
|
369
372
|
Parameters.resourceGroupName,
|
|
@@ -390,10 +393,13 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
|
390
393
|
},
|
|
391
394
|
204: {
|
|
392
395
|
bodyMapper: Mappers.ScopedResource
|
|
396
|
+
},
|
|
397
|
+
default: {
|
|
398
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
393
399
|
}
|
|
394
400
|
},
|
|
395
401
|
requestBody: Parameters.parameters9,
|
|
396
|
-
queryParameters: [Parameters.
|
|
402
|
+
queryParameters: [Parameters.apiVersion11],
|
|
397
403
|
urlParameters: [
|
|
398
404
|
Parameters.$host,
|
|
399
405
|
Parameters.resourceGroupName,
|
|
@@ -409,8 +415,16 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
409
415
|
path:
|
|
410
416
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{scopeName}/scopedResources/{name}",
|
|
411
417
|
httpMethod: "DELETE",
|
|
412
|
-
responses: {
|
|
413
|
-
|
|
418
|
+
responses: {
|
|
419
|
+
200: {},
|
|
420
|
+
201: {},
|
|
421
|
+
202: {},
|
|
422
|
+
204: {},
|
|
423
|
+
default: {
|
|
424
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
queryParameters: [Parameters.apiVersion11],
|
|
414
428
|
urlParameters: [
|
|
415
429
|
Parameters.$host,
|
|
416
430
|
Parameters.resourceGroupName,
|
|
@@ -418,6 +432,7 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
418
432
|
Parameters.name,
|
|
419
433
|
Parameters.scopeName
|
|
420
434
|
],
|
|
435
|
+
headerParameters: [Parameters.accept],
|
|
421
436
|
serializer
|
|
422
437
|
};
|
|
423
438
|
const listByPrivateLinkScopeOperationSpec: coreClient.OperationSpec = {
|
|
@@ -427,9 +442,12 @@ const listByPrivateLinkScopeOperationSpec: coreClient.OperationSpec = {
|
|
|
427
442
|
responses: {
|
|
428
443
|
200: {
|
|
429
444
|
bodyMapper: Mappers.ScopedResourceListResult
|
|
445
|
+
},
|
|
446
|
+
default: {
|
|
447
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
430
448
|
}
|
|
431
449
|
},
|
|
432
|
-
queryParameters: [Parameters.
|
|
450
|
+
queryParameters: [Parameters.apiVersion11],
|
|
433
451
|
urlParameters: [
|
|
434
452
|
Parameters.$host,
|
|
435
453
|
Parameters.resourceGroupName,
|
|
@@ -445,9 +463,12 @@ const listByPrivateLinkScopeNextOperationSpec: coreClient.OperationSpec = {
|
|
|
445
463
|
responses: {
|
|
446
464
|
200: {
|
|
447
465
|
bodyMapper: Mappers.ScopedResourceListResult
|
|
466
|
+
},
|
|
467
|
+
default: {
|
|
468
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
448
469
|
}
|
|
449
470
|
},
|
|
450
|
-
queryParameters: [Parameters.
|
|
471
|
+
queryParameters: [Parameters.apiVersion11],
|
|
451
472
|
urlParameters: [
|
|
452
473
|
Parameters.$host,
|
|
453
474
|
Parameters.resourceGroupName,
|