@azure/arm-timeseriesinsights 2.0.0 → 2.1.0-alpha.20220908.1
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 +47 -0
- package/README.md +12 -1
- package/dist/index.js +650 -62
- 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/accessPoliciesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.js +37 -0
- package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessPoliciesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesGetSample.js +32 -0
- package/dist-esm/samples-dev/accessPoliciesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.js +31 -0
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.js.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.js +35 -0
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.js +38 -0
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/environmentsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/environmentsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/environmentsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/environmentsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/environmentsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/environmentsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/environmentsGetSample.js +31 -0
- package/dist-esm/samples-dev/environmentsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.js +30 -0
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.js +29 -0
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/environmentsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/environmentsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/environmentsUpdateSample.js +35 -0
- package/dist-esm/samples-dev/environmentsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.js +80 -0
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/eventSourcesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventSourcesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventSourcesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/eventSourcesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/eventSourcesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventSourcesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventSourcesGetSample.js +32 -0
- package/dist-esm/samples-dev/eventSourcesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.js +31 -0
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.js.map +1 -0
- package/dist-esm/samples-dev/eventSourcesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventSourcesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventSourcesUpdateSample.js +36 -0
- package/dist-esm/samples-dev/eventSourcesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +43 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +38 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +32 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.js +31 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js +45 -0
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.js +39 -0
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/referenceDataSetsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsGetSample.js +32 -0
- package/dist-esm/samples-dev/referenceDataSetsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.js +31 -0
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.js.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.js +35 -0
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +152 -4
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +21 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +6 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +201 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +16 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/environments.d.ts.map +1 -1
- package/dist-esm/src/operations/environments.js +6 -2
- package/dist-esm/src/operations/environments.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +2 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +2 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +52 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +177 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +32 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +101 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +2 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/timeSeriesInsightsClient.d.ts +3 -1
- package/dist-esm/src/timeSeriesInsightsClient.d.ts.map +1 -1
- package/dist-esm/src/timeSeriesInsightsClient.js +24 -4
- package/dist-esm/src/timeSeriesInsightsClient.js.map +1 -1
- package/package.json +36 -15
- package/review/arm-timeseriesinsights.api.md +131 -0
- package/rollup.config.js +6 -72
- package/src/models/index.ts +173 -4
- package/src/models/mappers.ts +224 -0
- package/src/models/parameters.ts +19 -2
- package/src/operations/environments.ts +6 -2
- package/src/operations/index.ts +2 -0
- package/src/operations/privateEndpointConnections.ts +234 -0
- package/src/operations/privateLinkResources.ts +137 -0
- package/src/operationsInterfaces/index.ts +2 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +81 -0
- package/src/operationsInterfaces/privateLinkResources.ts +30 -0
- package/src/timeSeriesInsightsClient.ts +38 -5
- package/tsconfig.json +19 -5
- package/types/arm-timeseriesinsights.d.ts +230 -4
- package/types/tsdoc-metadata.json +1 -1
- package/LICENSE.txt +0 -21
package/src/models/index.ts
CHANGED
@@ -175,20 +175,20 @@ export interface CreateOrUpdateTrackedResourceProperties {
|
|
175
175
|
tags?: { [propertyName: string]: string };
|
176
176
|
}
|
177
177
|
|
178
|
-
/**
|
178
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
179
179
|
export interface Resource {
|
180
180
|
/**
|
181
|
-
*
|
181
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
182
182
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
183
183
|
*/
|
184
184
|
readonly id?: string;
|
185
185
|
/**
|
186
|
-
*
|
186
|
+
* The name of the resource
|
187
187
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
188
188
|
*/
|
189
189
|
readonly name?: string;
|
190
190
|
/**
|
191
|
-
*
|
191
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
192
192
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
193
193
|
*/
|
194
194
|
readonly type?: string;
|
@@ -300,6 +300,37 @@ export interface AccessPolicyListResponse {
|
|
300
300
|
value?: AccessPolicyResource[];
|
301
301
|
}
|
302
302
|
|
303
|
+
/** The Private Endpoint resource. */
|
304
|
+
export interface PrivateEndpoint {
|
305
|
+
/**
|
306
|
+
* The ARM identifier for Private Endpoint
|
307
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
308
|
+
*/
|
309
|
+
readonly id?: string;
|
310
|
+
}
|
311
|
+
|
312
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
313
|
+
export interface PrivateLinkServiceConnectionState {
|
314
|
+
/** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
|
315
|
+
status?: PrivateEndpointServiceConnectionStatus;
|
316
|
+
/** The reason for approval/rejection of the connection. */
|
317
|
+
description?: string;
|
318
|
+
/** A message indicating if changes on the service provider require any updates on the consumer. */
|
319
|
+
actionsRequired?: string;
|
320
|
+
}
|
321
|
+
|
322
|
+
/** List of private endpoint connection associated with the specified storage account */
|
323
|
+
export interface PrivateEndpointConnectionListResult {
|
324
|
+
/** Array of private endpoint connections */
|
325
|
+
value?: PrivateEndpointConnection[];
|
326
|
+
}
|
327
|
+
|
328
|
+
/** A list of private link resources */
|
329
|
+
export interface PrivateLinkResourceListResult {
|
330
|
+
/** Array of private link resources */
|
331
|
+
value?: PrivateLinkResource[];
|
332
|
+
}
|
333
|
+
|
303
334
|
/** 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. */
|
304
335
|
export interface WarmStoreConfigurationProperties {
|
305
336
|
/** ISO8601 timespan specifying the number of days the environment's events will be available for query from the warm store. */
|
@@ -434,6 +465,37 @@ export type AccessPolicyResource = Resource & {
|
|
434
465
|
roles?: AccessPolicyRole[];
|
435
466
|
};
|
436
467
|
|
468
|
+
/** The Private Endpoint Connection resource. */
|
469
|
+
export type PrivateEndpointConnection = Resource & {
|
470
|
+
/**
|
471
|
+
* Provisioning state of the private endpoint connection.
|
472
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
473
|
+
*/
|
474
|
+
readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
|
475
|
+
/** The resource of private end point. */
|
476
|
+
privateEndpoint?: PrivateEndpoint;
|
477
|
+
/** The provisioning state of the private endpoint connection resource. */
|
478
|
+
groupIds?: string[];
|
479
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
480
|
+
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
481
|
+
};
|
482
|
+
|
483
|
+
/** A private link resource */
|
484
|
+
export type PrivateLinkResource = Resource & {
|
485
|
+
/**
|
486
|
+
* The private link resource group id.
|
487
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
488
|
+
*/
|
489
|
+
readonly groupId?: string;
|
490
|
+
/**
|
491
|
+
* The private link resource required member names.
|
492
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
493
|
+
*/
|
494
|
+
readonly requiredMembers?: string[];
|
495
|
+
/** The private link resource Private link DNS zone name. */
|
496
|
+
requiredZoneNames?: string[];
|
497
|
+
};
|
498
|
+
|
437
499
|
/** Parameters supplied to the Update Environment operation to update a Gen1 environment. */
|
438
500
|
export type Gen1EnvironmentUpdateParameters = EnvironmentUpdateParameters & {
|
439
501
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
@@ -545,6 +607,13 @@ export type Gen2EnvironmentCreateOrUpdateParameters = EnvironmentCreateOrUpdateP
|
|
545
607
|
storageConfiguration: Gen2StorageConfigurationInput;
|
546
608
|
/** 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. */
|
547
609
|
warmStoreConfiguration?: WarmStoreConfigurationProperties;
|
610
|
+
/** This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. */
|
611
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
612
|
+
/**
|
613
|
+
* The list of private endpoint connections to the environment.
|
614
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
615
|
+
*/
|
616
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
548
617
|
};
|
549
618
|
|
550
619
|
/** Parameters supplied to the Create or Update Event Source operation for an EventHub event source. */
|
@@ -653,6 +722,13 @@ export type Gen2EnvironmentResourceProperties = EnvironmentResourceProperties &
|
|
653
722
|
storageConfiguration: Gen2StorageConfigurationOutput;
|
654
723
|
/** 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. */
|
655
724
|
warmStoreConfiguration?: WarmStoreConfigurationProperties;
|
725
|
+
/** 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. */
|
726
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
727
|
+
/**
|
728
|
+
* The list of private endpoint connections to the environment.
|
729
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
730
|
+
*/
|
731
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
656
732
|
};
|
657
733
|
|
658
734
|
/** Properties of an event source that reads events from an event broker in Azure. */
|
@@ -729,6 +805,13 @@ export type Gen2EnvironmentResource = EnvironmentResource & {
|
|
729
805
|
storageConfiguration: Gen2StorageConfigurationOutput;
|
730
806
|
/** 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. */
|
731
807
|
warmStoreConfiguration?: WarmStoreConfigurationProperties;
|
808
|
+
/** 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. */
|
809
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
810
|
+
/**
|
811
|
+
* The list of private endpoint connections to the environment.
|
812
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
813
|
+
*/
|
814
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
732
815
|
};
|
733
816
|
|
734
817
|
/** An event source that receives its data from an Azure EventHub. */
|
@@ -1007,6 +1090,44 @@ export enum KnownAccessPolicyRole {
|
|
1007
1090
|
*/
|
1008
1091
|
export type AccessPolicyRole = string;
|
1009
1092
|
|
1093
|
+
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
1094
|
+
export enum KnownPrivateEndpointConnectionProvisioningState {
|
1095
|
+
Succeeded = "Succeeded",
|
1096
|
+
Creating = "Creating",
|
1097
|
+
Deleting = "Deleting",
|
1098
|
+
Failed = "Failed"
|
1099
|
+
}
|
1100
|
+
|
1101
|
+
/**
|
1102
|
+
* Defines values for PrivateEndpointConnectionProvisioningState. \
|
1103
|
+
* {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
|
1104
|
+
* this enum contains the known values that the service supports.
|
1105
|
+
* ### Known values supported by the service
|
1106
|
+
* **Succeeded** \
|
1107
|
+
* **Creating** \
|
1108
|
+
* **Deleting** \
|
1109
|
+
* **Failed**
|
1110
|
+
*/
|
1111
|
+
export type PrivateEndpointConnectionProvisioningState = string;
|
1112
|
+
|
1113
|
+
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
1114
|
+
export enum KnownPrivateEndpointServiceConnectionStatus {
|
1115
|
+
Pending = "Pending",
|
1116
|
+
Approved = "Approved",
|
1117
|
+
Rejected = "Rejected"
|
1118
|
+
}
|
1119
|
+
|
1120
|
+
/**
|
1121
|
+
* Defines values for PrivateEndpointServiceConnectionStatus. \
|
1122
|
+
* {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
|
1123
|
+
* this enum contains the known values that the service supports.
|
1124
|
+
* ### Known values supported by the service
|
1125
|
+
* **Pending** \
|
1126
|
+
* **Approved** \
|
1127
|
+
* **Rejected**
|
1128
|
+
*/
|
1129
|
+
export type PrivateEndpointServiceConnectionStatus = string;
|
1130
|
+
|
1010
1131
|
/** Known values of {@link StorageLimitExceededBehavior} that the service accepts. */
|
1011
1132
|
export enum KnownStorageLimitExceededBehavior {
|
1012
1133
|
PurgeOldData = "PurgeOldData",
|
@@ -1037,6 +1158,22 @@ export enum KnownPropertyType {
|
|
1037
1158
|
*/
|
1038
1159
|
export type PropertyType = string;
|
1039
1160
|
|
1161
|
+
/** Known values of {@link PublicNetworkAccess} that the service accepts. */
|
1162
|
+
export enum KnownPublicNetworkAccess {
|
1163
|
+
Enabled = "enabled",
|
1164
|
+
Disabled = "disabled"
|
1165
|
+
}
|
1166
|
+
|
1167
|
+
/**
|
1168
|
+
* Defines values for PublicNetworkAccess. \
|
1169
|
+
* {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
|
1170
|
+
* this enum contains the known values that the service supports.
|
1171
|
+
* ### Known values supported by the service
|
1172
|
+
* **enabled** \
|
1173
|
+
* **disabled**
|
1174
|
+
*/
|
1175
|
+
export type PublicNetworkAccess = string;
|
1176
|
+
|
1040
1177
|
/** Known values of {@link IngressState} that the service accepts. */
|
1041
1178
|
export enum KnownIngressState {
|
1042
1179
|
Disabled = "Disabled",
|
@@ -1257,6 +1394,38 @@ export interface AccessPoliciesListByEnvironmentOptionalParams
|
|
1257
1394
|
/** Contains response data for the listByEnvironment operation. */
|
1258
1395
|
export type AccessPoliciesListByEnvironmentResponse = AccessPolicyListResponse;
|
1259
1396
|
|
1397
|
+
/** Optional parameters. */
|
1398
|
+
export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams
|
1399
|
+
extends coreClient.OperationOptions {}
|
1400
|
+
|
1401
|
+
/** Contains response data for the createOrUpdate operation. */
|
1402
|
+
export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
|
1403
|
+
|
1404
|
+
/** Optional parameters. */
|
1405
|
+
export interface PrivateEndpointConnectionsGetOptionalParams
|
1406
|
+
extends coreClient.OperationOptions {}
|
1407
|
+
|
1408
|
+
/** Contains response data for the get operation. */
|
1409
|
+
export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
|
1410
|
+
|
1411
|
+
/** Optional parameters. */
|
1412
|
+
export interface PrivateEndpointConnectionsDeleteOptionalParams
|
1413
|
+
extends coreClient.OperationOptions {}
|
1414
|
+
|
1415
|
+
/** Optional parameters. */
|
1416
|
+
export interface PrivateEndpointConnectionsListByEnvironmentOptionalParams
|
1417
|
+
extends coreClient.OperationOptions {}
|
1418
|
+
|
1419
|
+
/** Contains response data for the listByEnvironment operation. */
|
1420
|
+
export type PrivateEndpointConnectionsListByEnvironmentResponse = PrivateEndpointConnectionListResult;
|
1421
|
+
|
1422
|
+
/** Optional parameters. */
|
1423
|
+
export interface PrivateLinkResourcesListSupportedOptionalParams
|
1424
|
+
extends coreClient.OperationOptions {}
|
1425
|
+
|
1426
|
+
/** Contains response data for the listSupported operation. */
|
1427
|
+
export type PrivateLinkResourcesListSupportedResponse = PrivateLinkResourceListResult;
|
1428
|
+
|
1260
1429
|
/** Optional parameters. */
|
1261
1430
|
export interface TimeSeriesInsightsClientOptionalParams
|
1262
1431
|
extends coreClient.ServiceClientOptions {
|
package/src/models/mappers.ts
CHANGED
@@ -739,6 +739,91 @@ export const AccessPolicyListResponse: coreClient.CompositeMapper = {
|
|
739
739
|
}
|
740
740
|
};
|
741
741
|
|
742
|
+
export const PrivateEndpoint: coreClient.CompositeMapper = {
|
743
|
+
type: {
|
744
|
+
name: "Composite",
|
745
|
+
className: "PrivateEndpoint",
|
746
|
+
modelProperties: {
|
747
|
+
id: {
|
748
|
+
serializedName: "id",
|
749
|
+
readOnly: true,
|
750
|
+
type: {
|
751
|
+
name: "String"
|
752
|
+
}
|
753
|
+
}
|
754
|
+
}
|
755
|
+
}
|
756
|
+
};
|
757
|
+
|
758
|
+
export const PrivateLinkServiceConnectionState: coreClient.CompositeMapper = {
|
759
|
+
type: {
|
760
|
+
name: "Composite",
|
761
|
+
className: "PrivateLinkServiceConnectionState",
|
762
|
+
modelProperties: {
|
763
|
+
status: {
|
764
|
+
serializedName: "status",
|
765
|
+
type: {
|
766
|
+
name: "String"
|
767
|
+
}
|
768
|
+
},
|
769
|
+
description: {
|
770
|
+
serializedName: "description",
|
771
|
+
type: {
|
772
|
+
name: "String"
|
773
|
+
}
|
774
|
+
},
|
775
|
+
actionsRequired: {
|
776
|
+
serializedName: "actionsRequired",
|
777
|
+
type: {
|
778
|
+
name: "String"
|
779
|
+
}
|
780
|
+
}
|
781
|
+
}
|
782
|
+
}
|
783
|
+
};
|
784
|
+
|
785
|
+
export const PrivateEndpointConnectionListResult: coreClient.CompositeMapper = {
|
786
|
+
type: {
|
787
|
+
name: "Composite",
|
788
|
+
className: "PrivateEndpointConnectionListResult",
|
789
|
+
modelProperties: {
|
790
|
+
value: {
|
791
|
+
serializedName: "value",
|
792
|
+
type: {
|
793
|
+
name: "Sequence",
|
794
|
+
element: {
|
795
|
+
type: {
|
796
|
+
name: "Composite",
|
797
|
+
className: "PrivateEndpointConnection"
|
798
|
+
}
|
799
|
+
}
|
800
|
+
}
|
801
|
+
}
|
802
|
+
}
|
803
|
+
}
|
804
|
+
};
|
805
|
+
|
806
|
+
export const PrivateLinkResourceListResult: coreClient.CompositeMapper = {
|
807
|
+
type: {
|
808
|
+
name: "Composite",
|
809
|
+
className: "PrivateLinkResourceListResult",
|
810
|
+
modelProperties: {
|
811
|
+
value: {
|
812
|
+
serializedName: "value",
|
813
|
+
type: {
|
814
|
+
name: "Sequence",
|
815
|
+
element: {
|
816
|
+
type: {
|
817
|
+
name: "Composite",
|
818
|
+
className: "PrivateLinkResource"
|
819
|
+
}
|
820
|
+
}
|
821
|
+
}
|
822
|
+
}
|
823
|
+
}
|
824
|
+
}
|
825
|
+
};
|
826
|
+
|
742
827
|
export const WarmStoreConfigurationProperties: coreClient.CompositeMapper = {
|
743
828
|
type: {
|
744
829
|
name: "Composite",
|
@@ -1127,6 +1212,88 @@ export const AccessPolicyResource: coreClient.CompositeMapper = {
|
|
1127
1212
|
}
|
1128
1213
|
};
|
1129
1214
|
|
1215
|
+
export const PrivateEndpointConnection: coreClient.CompositeMapper = {
|
1216
|
+
type: {
|
1217
|
+
name: "Composite",
|
1218
|
+
className: "PrivateEndpointConnection",
|
1219
|
+
modelProperties: {
|
1220
|
+
...Resource.type.modelProperties,
|
1221
|
+
provisioningState: {
|
1222
|
+
serializedName: "properties.provisioningState",
|
1223
|
+
readOnly: true,
|
1224
|
+
type: {
|
1225
|
+
name: "String"
|
1226
|
+
}
|
1227
|
+
},
|
1228
|
+
privateEndpoint: {
|
1229
|
+
serializedName: "properties.privateEndpoint",
|
1230
|
+
type: {
|
1231
|
+
name: "Composite",
|
1232
|
+
className: "PrivateEndpoint"
|
1233
|
+
}
|
1234
|
+
},
|
1235
|
+
groupIds: {
|
1236
|
+
serializedName: "properties.groupIds",
|
1237
|
+
type: {
|
1238
|
+
name: "Sequence",
|
1239
|
+
element: {
|
1240
|
+
type: {
|
1241
|
+
name: "String"
|
1242
|
+
}
|
1243
|
+
}
|
1244
|
+
}
|
1245
|
+
},
|
1246
|
+
privateLinkServiceConnectionState: {
|
1247
|
+
serializedName: "properties.privateLinkServiceConnectionState",
|
1248
|
+
type: {
|
1249
|
+
name: "Composite",
|
1250
|
+
className: "PrivateLinkServiceConnectionState"
|
1251
|
+
}
|
1252
|
+
}
|
1253
|
+
}
|
1254
|
+
}
|
1255
|
+
};
|
1256
|
+
|
1257
|
+
export const PrivateLinkResource: coreClient.CompositeMapper = {
|
1258
|
+
type: {
|
1259
|
+
name: "Composite",
|
1260
|
+
className: "PrivateLinkResource",
|
1261
|
+
modelProperties: {
|
1262
|
+
...Resource.type.modelProperties,
|
1263
|
+
groupId: {
|
1264
|
+
serializedName: "properties.groupId",
|
1265
|
+
readOnly: true,
|
1266
|
+
type: {
|
1267
|
+
name: "String"
|
1268
|
+
}
|
1269
|
+
},
|
1270
|
+
requiredMembers: {
|
1271
|
+
serializedName: "properties.requiredMembers",
|
1272
|
+
readOnly: true,
|
1273
|
+
type: {
|
1274
|
+
name: "Sequence",
|
1275
|
+
element: {
|
1276
|
+
type: {
|
1277
|
+
name: "String"
|
1278
|
+
}
|
1279
|
+
}
|
1280
|
+
}
|
1281
|
+
},
|
1282
|
+
requiredZoneNames: {
|
1283
|
+
serializedName: "properties.requiredZoneNames",
|
1284
|
+
type: {
|
1285
|
+
name: "Sequence",
|
1286
|
+
element: {
|
1287
|
+
type: {
|
1288
|
+
name: "String"
|
1289
|
+
}
|
1290
|
+
}
|
1291
|
+
}
|
1292
|
+
}
|
1293
|
+
}
|
1294
|
+
}
|
1295
|
+
};
|
1296
|
+
|
1130
1297
|
export const Gen1EnvironmentUpdateParameters: coreClient.CompositeMapper = {
|
1131
1298
|
serializedName: "Gen1",
|
1132
1299
|
type: {
|
@@ -1435,6 +1602,25 @@ export const Gen2EnvironmentCreateOrUpdateParameters: coreClient.CompositeMapper
|
|
1435
1602
|
name: "Composite",
|
1436
1603
|
className: "WarmStoreConfigurationProperties"
|
1437
1604
|
}
|
1605
|
+
},
|
1606
|
+
publicNetworkAccess: {
|
1607
|
+
serializedName: "properties.publicNetworkAccess",
|
1608
|
+
type: {
|
1609
|
+
name: "String"
|
1610
|
+
}
|
1611
|
+
},
|
1612
|
+
privateEndpointConnections: {
|
1613
|
+
serializedName: "properties.privateEndpointConnections",
|
1614
|
+
readOnly: true,
|
1615
|
+
type: {
|
1616
|
+
name: "Sequence",
|
1617
|
+
element: {
|
1618
|
+
type: {
|
1619
|
+
name: "Composite",
|
1620
|
+
className: "PrivateEndpointConnection"
|
1621
|
+
}
|
1622
|
+
}
|
1623
|
+
}
|
1438
1624
|
}
|
1439
1625
|
}
|
1440
1626
|
}
|
@@ -1750,6 +1936,25 @@ export const Gen2EnvironmentResourceProperties: coreClient.CompositeMapper = {
|
|
1750
1936
|
name: "Composite",
|
1751
1937
|
className: "WarmStoreConfigurationProperties"
|
1752
1938
|
}
|
1939
|
+
},
|
1940
|
+
publicNetworkAccess: {
|
1941
|
+
serializedName: "publicNetworkAccess",
|
1942
|
+
type: {
|
1943
|
+
name: "String"
|
1944
|
+
}
|
1945
|
+
},
|
1946
|
+
privateEndpointConnections: {
|
1947
|
+
serializedName: "privateEndpointConnections",
|
1948
|
+
readOnly: true,
|
1949
|
+
type: {
|
1950
|
+
name: "Sequence",
|
1951
|
+
element: {
|
1952
|
+
type: {
|
1953
|
+
name: "Composite",
|
1954
|
+
className: "PrivateEndpointConnection"
|
1955
|
+
}
|
1956
|
+
}
|
1957
|
+
}
|
1753
1958
|
}
|
1754
1959
|
}
|
1755
1960
|
}
|
@@ -1915,6 +2120,25 @@ export const Gen2EnvironmentResource: coreClient.CompositeMapper = {
|
|
1915
2120
|
name: "Composite",
|
1916
2121
|
className: "WarmStoreConfigurationProperties"
|
1917
2122
|
}
|
2123
|
+
},
|
2124
|
+
publicNetworkAccess: {
|
2125
|
+
serializedName: "properties.publicNetworkAccess",
|
2126
|
+
type: {
|
2127
|
+
name: "String"
|
2128
|
+
}
|
2129
|
+
},
|
2130
|
+
privateEndpointConnections: {
|
2131
|
+
serializedName: "properties.privateEndpointConnections",
|
2132
|
+
readOnly: true,
|
2133
|
+
type: {
|
2134
|
+
name: "Sequence",
|
2135
|
+
element: {
|
2136
|
+
type: {
|
2137
|
+
name: "Composite",
|
2138
|
+
className: "PrivateEndpointConnection"
|
2139
|
+
}
|
2140
|
+
}
|
2141
|
+
}
|
1918
2142
|
}
|
1919
2143
|
}
|
1920
2144
|
}
|
package/src/models/parameters.ts
CHANGED
@@ -19,7 +19,8 @@ import {
|
|
19
19
|
ReferenceDataSetCreateOrUpdateParameters as ReferenceDataSetCreateOrUpdateParametersMapper,
|
20
20
|
ReferenceDataSetUpdateParameters as ReferenceDataSetUpdateParametersMapper,
|
21
21
|
AccessPolicyCreateOrUpdateParameters as AccessPolicyCreateOrUpdateParametersMapper,
|
22
|
-
AccessPolicyUpdateParameters as AccessPolicyUpdateParametersMapper
|
22
|
+
AccessPolicyUpdateParameters as AccessPolicyUpdateParametersMapper,
|
23
|
+
PrivateEndpointConnection as PrivateEndpointConnectionMapper
|
23
24
|
} from "../models/mappers";
|
24
25
|
|
25
26
|
export const accept: OperationParameter = {
|
@@ -49,7 +50,7 @@ export const $host: OperationURLParameter = {
|
|
49
50
|
export const apiVersion: OperationQueryParameter = {
|
50
51
|
parameterPath: "apiVersion",
|
51
52
|
mapper: {
|
52
|
-
defaultValue: "
|
53
|
+
defaultValue: "2021-03-31-preview",
|
53
54
|
isConstant: true,
|
54
55
|
serializedName: "api-version",
|
55
56
|
type: {
|
@@ -261,3 +262,19 @@ export const accessPolicyUpdateParameters: OperationParameter = {
|
|
261
262
|
parameterPath: "accessPolicyUpdateParameters",
|
262
263
|
mapper: AccessPolicyUpdateParametersMapper
|
263
264
|
};
|
265
|
+
|
266
|
+
export const privateEndpointConnection: OperationParameter = {
|
267
|
+
parameterPath: "privateEndpointConnection",
|
268
|
+
mapper: PrivateEndpointConnectionMapper
|
269
|
+
};
|
270
|
+
|
271
|
+
export const privateEndpointConnectionName: OperationURLParameter = {
|
272
|
+
parameterPath: "privateEndpointConnectionName",
|
273
|
+
mapper: {
|
274
|
+
serializedName: "privateEndpointConnectionName",
|
275
|
+
required: true,
|
276
|
+
type: {
|
277
|
+
name: "String"
|
278
|
+
}
|
279
|
+
}
|
280
|
+
};
|
@@ -103,10 +103,12 @@ export class EnvironmentsImpl implements Environments {
|
|
103
103
|
{ resourceGroupName, environmentName, parameters, options },
|
104
104
|
createOrUpdateOperationSpec
|
105
105
|
);
|
106
|
-
|
106
|
+
const poller = new LroEngine(lro, {
|
107
107
|
resumeFrom: options?.resumeFrom,
|
108
108
|
intervalInMs: options?.updateIntervalInMs
|
109
109
|
});
|
110
|
+
await poller.poll();
|
111
|
+
return poller;
|
110
112
|
}
|
111
113
|
|
112
114
|
/**
|
@@ -218,10 +220,12 @@ export class EnvironmentsImpl implements Environments {
|
|
218
220
|
},
|
219
221
|
updateOperationSpec
|
220
222
|
);
|
221
|
-
|
223
|
+
const poller = new LroEngine(lro, {
|
222
224
|
resumeFrom: options?.resumeFrom,
|
223
225
|
intervalInMs: options?.updateIntervalInMs
|
224
226
|
});
|
227
|
+
await poller.poll();
|
228
|
+
return poller;
|
225
229
|
}
|
226
230
|
|
227
231
|
/**
|
package/src/operations/index.ts
CHANGED