@azure/arm-deviceupdate 1.0.0-beta.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 +5 -0
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/index.js +3665 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/accountsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/accountsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountsCreateSample.js +32 -0
- package/dist-esm/samples-dev/accountsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/accountsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/accountsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/accountsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/accountsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/accountsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountsGetSample.js +31 -0
- package/dist-esm/samples-dev/accountsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/accountsHeadSample.d.ts +2 -0
- package/dist-esm/samples-dev/accountsHeadSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountsHeadSample.js +31 -0
- package/dist-esm/samples-dev/accountsHeadSample.js.map +1 -0
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/accountsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/accountsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/accountsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accountsUpdateSample.js +32 -0
- package/dist-esm/samples-dev/accountsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/checkNameAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/checkNameAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/checkNameAvailabilitySample.js +53 -0
- package/dist-esm/samples-dev/checkNameAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/instancesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/instancesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/instancesCreateSample.js +46 -0
- package/dist-esm/samples-dev/instancesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/instancesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/instancesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/instancesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/instancesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/instancesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/instancesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/instancesGetSample.js +32 -0
- package/dist-esm/samples-dev/instancesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/instancesHeadSample.d.ts +2 -0
- package/dist-esm/samples-dev/instancesHeadSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/instancesHeadSample.js +32 -0
- package/dist-esm/samples-dev/instancesHeadSample.js.map +1 -0
- package/dist-esm/samples-dev/instancesListByAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/instancesListByAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/instancesListByAccountSample.js +45 -0
- package/dist-esm/samples-dev/instancesListByAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/instancesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/instancesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/instancesUpdateSample.js +33 -0
- package/dist-esm/samples-dev/instancesUpdateSample.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/privateEndpointConnectionProxiesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesCreateOrUpdateSample.js +53 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesGetSample.js +32 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesListByAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesListByAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesListByAccountSample.js +45 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesListByAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesUpdatePrivateEndpointPropertiesSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesUpdatePrivateEndpointPropertiesSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesUpdatePrivateEndpointPropertiesSample.js +39 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesUpdatePrivateEndpointPropertiesSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesValidateSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesValidateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesValidateSample.js +53 -0
- package/dist-esm/samples-dev/privateEndpointConnectionProxiesValidateSample.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/privateEndpointConnectionsListByAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByAccountSample.js +45 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByAccountSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +32 -0
- package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByAccountSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByAccountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByAccountSample.js +45 -0
- package/dist-esm/samples-dev/privateLinkResourcesListByAccountSample.js.map +1 -0
- package/dist-esm/src/deviceUpdate.d.ts +31 -0
- package/dist-esm/src/deviceUpdate.d.ts.map +1 -0
- package/dist-esm/src/deviceUpdate.js +133 -0
- package/dist-esm/src/deviceUpdate.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +941 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +105 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +44 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +1266 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +22 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +176 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/accounts.d.ts +114 -0
- package/dist-esm/src/operations/accounts.d.ts.map +1 -0
- package/dist-esm/src/operations/accounts.js +537 -0
- package/dist-esm/src/operations/accounts.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +7 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +14 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/instances.d.ts +98 -0
- package/dist-esm/src/operations/instances.d.ts.map +1 -0
- package/dist-esm/src/operations/instances.js +408 -0
- package/dist-esm/src/operations/instances.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnectionProxies.d.ts +100 -0
- package/dist-esm/src/operations/privateEndpointConnectionProxies.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnectionProxies.js +402 -0
- package/dist-esm/src/operations/privateEndpointConnectionProxies.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +78 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +320 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +38 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +131 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/accounts.d.ts +78 -0
- package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/accounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +14 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/instances.d.ts +73 -0
- package/dist-esm/src/operationsInterfaces/instances.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/instances.js +9 -0
- package/dist-esm/src/operationsInterfaces/instances.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionProxies.d.ts +83 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionProxies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionProxies.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnectionProxies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +61 -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 +21 -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/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +38 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +122 -0
- package/review/arm-deviceupdate.api.md +805 -0
- package/rollup.config.js +122 -0
- package/src/deviceUpdate.ts +204 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +1080 -0
- package/src/models/mappers.ts +1356 -0
- package/src/models/parameters.ts +210 -0
- package/src/operations/accounts.ts +722 -0
- package/src/operations/index.ts +14 -0
- package/src/operations/instances.ts +579 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/privateEndpointConnectionProxies.ts +559 -0
- package/src/operations/privateEndpointConnections.ts +450 -0
- package/src/operations/privateLinkResources.ts +179 -0
- package/src/operationsInterfaces/accounts.ts +152 -0
- package/src/operationsInterfaces/index.ts +14 -0
- package/src/operationsInterfaces/instances.ts +142 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/privateEndpointConnectionProxies.ts +153 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +114 -0
- package/src/operationsInterfaces/privateLinkResources.ts +44 -0
- package/tsconfig.json +33 -0
- package/types/arm-deviceupdate.d.ts +1412 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PrivateEndpointConnections } from "../operationsInterfaces";
|
|
3
|
+
import { DeviceUpdate } from "../deviceUpdate";
|
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
+
import { PrivateEndpointConnection, PrivateEndpointConnectionsListByAccountOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models";
|
|
6
|
+
/** Class containing PrivateEndpointConnections operations. */
|
|
7
|
+
export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: DeviceUpdate);
|
|
14
|
+
/**
|
|
15
|
+
* List all private endpoint connections in a device update account.
|
|
16
|
+
* @param resourceGroupName The resource group name.
|
|
17
|
+
* @param accountName Account name.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
listByAccount(resourceGroupName: string, accountName: string, options?: PrivateEndpointConnectionsListByAccountOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
21
|
+
private listByAccountPagingPage;
|
|
22
|
+
private listByAccountPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* List all private endpoint connections in a device update account.
|
|
25
|
+
* @param resourceGroupName The resource group name.
|
|
26
|
+
* @param accountName Account name.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
private _listByAccount;
|
|
30
|
+
/**
|
|
31
|
+
* Get the specified private endpoint connection associated with the device update account.
|
|
32
|
+
* @param resourceGroupName The resource group name.
|
|
33
|
+
* @param accountName Account name.
|
|
34
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
35
|
+
* Azure resource
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* Update the state of specified private endpoint connection associated with the device update account.
|
|
41
|
+
* @param resourceGroupName The resource group name.
|
|
42
|
+
* @param accountName Account name.
|
|
43
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
44
|
+
* Azure resource
|
|
45
|
+
* @param privateEndpointConnection The parameters for creating a private endpoint connection.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
beginCreateOrUpdate(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
|
|
49
|
+
/**
|
|
50
|
+
* Update the state of specified private endpoint connection associated with the device update account.
|
|
51
|
+
* @param resourceGroupName The resource group name.
|
|
52
|
+
* @param accountName Account name.
|
|
53
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
54
|
+
* Azure resource
|
|
55
|
+
* @param privateEndpointConnection The parameters for creating a private endpoint connection.
|
|
56
|
+
* @param options The options parameters.
|
|
57
|
+
*/
|
|
58
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Deletes the specified private endpoint connection associated with the device update account.
|
|
61
|
+
* @param resourceGroupName The resource group name.
|
|
62
|
+
* @param accountName Account name.
|
|
63
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
64
|
+
* Azure resource
|
|
65
|
+
* @param options The options parameters.
|
|
66
|
+
*/
|
|
67
|
+
beginDelete(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
68
|
+
/**
|
|
69
|
+
* Deletes the specified private endpoint connection associated with the device update account.
|
|
70
|
+
* @param resourceGroupName The resource group name.
|
|
71
|
+
* @param accountName Account name.
|
|
72
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
73
|
+
* Azure resource
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
beginDeleteAndWait(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=privateEndpointConnections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConn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ACG,0BAA0B,CAC9B,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC;IAW5D;;;;;;;OAOG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IA2DtD;;;;;;;OAOG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;CASjB"}
|
|
@@ -0,0 +1,320 @@
|
|
|
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
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
import { LroEngine } from "@azure/core-lro";
|
|
13
|
+
import { LroImpl } from "../lroImpl";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing PrivateEndpointConnections operations. */
|
|
16
|
+
export class PrivateEndpointConnectionsImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* List all private endpoint connections in a device update account.
|
|
26
|
+
* @param resourceGroupName The resource group name.
|
|
27
|
+
* @param accountName Account name.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByAccount(resourceGroupName, accountName, options) {
|
|
31
|
+
const iter = this.listByAccountPagingAll(resourceGroupName, accountName, options);
|
|
32
|
+
return {
|
|
33
|
+
next() {
|
|
34
|
+
return iter.next();
|
|
35
|
+
},
|
|
36
|
+
[Symbol.asyncIterator]() {
|
|
37
|
+
return this;
|
|
38
|
+
},
|
|
39
|
+
byPage: () => {
|
|
40
|
+
return this.listByAccountPagingPage(resourceGroupName, accountName, options);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
listByAccountPagingPage(resourceGroupName, accountName, options) {
|
|
45
|
+
return __asyncGenerator(this, arguments, function* listByAccountPagingPage_1() {
|
|
46
|
+
let result = yield __await(this._listByAccount(resourceGroupName, accountName, options));
|
|
47
|
+
yield yield __await(result.value || []);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
listByAccountPagingAll(resourceGroupName, accountName, options) {
|
|
51
|
+
return __asyncGenerator(this, arguments, function* listByAccountPagingAll_1() {
|
|
52
|
+
var e_1, _a;
|
|
53
|
+
try {
|
|
54
|
+
for (var _b = __asyncValues(this.listByAccountPagingPage(resourceGroupName, accountName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
55
|
+
const page = _c.value;
|
|
56
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
60
|
+
finally {
|
|
61
|
+
try {
|
|
62
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
63
|
+
}
|
|
64
|
+
finally { if (e_1) throw e_1.error; }
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* List all private endpoint connections in a device update account.
|
|
70
|
+
* @param resourceGroupName The resource group name.
|
|
71
|
+
* @param accountName Account name.
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
_listByAccount(resourceGroupName, accountName, options) {
|
|
75
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByAccountOperationSpec);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Get the specified private endpoint connection associated with the device update account.
|
|
79
|
+
* @param resourceGroupName The resource group name.
|
|
80
|
+
* @param accountName Account name.
|
|
81
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
82
|
+
* Azure resource
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
get(resourceGroupName, accountName, privateEndpointConnectionName, options) {
|
|
86
|
+
return this.client.sendOperationRequest({
|
|
87
|
+
resourceGroupName,
|
|
88
|
+
accountName,
|
|
89
|
+
privateEndpointConnectionName,
|
|
90
|
+
options
|
|
91
|
+
}, getOperationSpec);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Update the state of specified private endpoint connection associated with the device update account.
|
|
95
|
+
* @param resourceGroupName The resource group name.
|
|
96
|
+
* @param accountName Account name.
|
|
97
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
98
|
+
* Azure resource
|
|
99
|
+
* @param privateEndpointConnection The parameters for creating a private endpoint connection.
|
|
100
|
+
* @param options The options parameters.
|
|
101
|
+
*/
|
|
102
|
+
beginCreateOrUpdate(resourceGroupName, accountName, privateEndpointConnectionName, privateEndpointConnection, options) {
|
|
103
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
104
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
105
|
+
return this.client.sendOperationRequest(args, spec);
|
|
106
|
+
});
|
|
107
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
108
|
+
var _a;
|
|
109
|
+
let currentRawResponse = undefined;
|
|
110
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
111
|
+
const callback = (rawResponse, flatResponse) => {
|
|
112
|
+
currentRawResponse = rawResponse;
|
|
113
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
114
|
+
};
|
|
115
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
116
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
117
|
+
return {
|
|
118
|
+
flatResponse,
|
|
119
|
+
rawResponse: {
|
|
120
|
+
statusCode: currentRawResponse.status,
|
|
121
|
+
body: currentRawResponse.parsedBody,
|
|
122
|
+
headers: currentRawResponse.headers.toJSON()
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
});
|
|
126
|
+
const lro = new LroImpl(sendOperation, {
|
|
127
|
+
resourceGroupName,
|
|
128
|
+
accountName,
|
|
129
|
+
privateEndpointConnectionName,
|
|
130
|
+
privateEndpointConnection,
|
|
131
|
+
options
|
|
132
|
+
}, createOrUpdateOperationSpec);
|
|
133
|
+
const poller = new LroEngine(lro, {
|
|
134
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
135
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
136
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
137
|
+
});
|
|
138
|
+
yield poller.poll();
|
|
139
|
+
return poller;
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Update the state of specified private endpoint connection associated with the device update account.
|
|
144
|
+
* @param resourceGroupName The resource group name.
|
|
145
|
+
* @param accountName Account name.
|
|
146
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
147
|
+
* Azure resource
|
|
148
|
+
* @param privateEndpointConnection The parameters for creating a private endpoint connection.
|
|
149
|
+
* @param options The options parameters.
|
|
150
|
+
*/
|
|
151
|
+
beginCreateOrUpdateAndWait(resourceGroupName, accountName, privateEndpointConnectionName, privateEndpointConnection, options) {
|
|
152
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
153
|
+
const poller = yield this.beginCreateOrUpdate(resourceGroupName, accountName, privateEndpointConnectionName, privateEndpointConnection, options);
|
|
154
|
+
return poller.pollUntilDone();
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Deletes the specified private endpoint connection associated with the device update account.
|
|
159
|
+
* @param resourceGroupName The resource group name.
|
|
160
|
+
* @param accountName Account name.
|
|
161
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
162
|
+
* Azure resource
|
|
163
|
+
* @param options The options parameters.
|
|
164
|
+
*/
|
|
165
|
+
beginDelete(resourceGroupName, accountName, privateEndpointConnectionName, options) {
|
|
166
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
167
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
168
|
+
return this.client.sendOperationRequest(args, spec);
|
|
169
|
+
});
|
|
170
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
171
|
+
var _a;
|
|
172
|
+
let currentRawResponse = undefined;
|
|
173
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
174
|
+
const callback = (rawResponse, flatResponse) => {
|
|
175
|
+
currentRawResponse = rawResponse;
|
|
176
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
177
|
+
};
|
|
178
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
179
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
180
|
+
return {
|
|
181
|
+
flatResponse,
|
|
182
|
+
rawResponse: {
|
|
183
|
+
statusCode: currentRawResponse.status,
|
|
184
|
+
body: currentRawResponse.parsedBody,
|
|
185
|
+
headers: currentRawResponse.headers.toJSON()
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
});
|
|
189
|
+
const lro = new LroImpl(sendOperation, {
|
|
190
|
+
resourceGroupName,
|
|
191
|
+
accountName,
|
|
192
|
+
privateEndpointConnectionName,
|
|
193
|
+
options
|
|
194
|
+
}, deleteOperationSpec);
|
|
195
|
+
const poller = new LroEngine(lro, {
|
|
196
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
197
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
198
|
+
lroResourceLocationConfig: "location"
|
|
199
|
+
});
|
|
200
|
+
yield poller.poll();
|
|
201
|
+
return poller;
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Deletes the specified private endpoint connection associated with the device update account.
|
|
206
|
+
* @param resourceGroupName The resource group name.
|
|
207
|
+
* @param accountName Account name.
|
|
208
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
209
|
+
* Azure resource
|
|
210
|
+
* @param options The options parameters.
|
|
211
|
+
*/
|
|
212
|
+
beginDeleteAndWait(resourceGroupName, accountName, privateEndpointConnectionName, options) {
|
|
213
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
214
|
+
const poller = yield this.beginDelete(resourceGroupName, accountName, privateEndpointConnectionName, options);
|
|
215
|
+
return poller.pollUntilDone();
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
// Operation Specifications
|
|
220
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
221
|
+
const listByAccountOperationSpec = {
|
|
222
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnections",
|
|
223
|
+
httpMethod: "GET",
|
|
224
|
+
responses: {
|
|
225
|
+
200: {
|
|
226
|
+
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
|
227
|
+
},
|
|
228
|
+
default: {
|
|
229
|
+
bodyMapper: Mappers.ErrorResponse
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
queryParameters: [Parameters.apiVersion],
|
|
233
|
+
urlParameters: [
|
|
234
|
+
Parameters.$host,
|
|
235
|
+
Parameters.subscriptionId,
|
|
236
|
+
Parameters.resourceGroupName,
|
|
237
|
+
Parameters.accountName
|
|
238
|
+
],
|
|
239
|
+
headerParameters: [Parameters.accept],
|
|
240
|
+
serializer
|
|
241
|
+
};
|
|
242
|
+
const getOperationSpec = {
|
|
243
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
244
|
+
httpMethod: "GET",
|
|
245
|
+
responses: {
|
|
246
|
+
200: {
|
|
247
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
248
|
+
},
|
|
249
|
+
default: {
|
|
250
|
+
bodyMapper: Mappers.ErrorResponse
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
queryParameters: [Parameters.apiVersion],
|
|
254
|
+
urlParameters: [
|
|
255
|
+
Parameters.$host,
|
|
256
|
+
Parameters.subscriptionId,
|
|
257
|
+
Parameters.resourceGroupName,
|
|
258
|
+
Parameters.accountName,
|
|
259
|
+
Parameters.privateEndpointConnectionName
|
|
260
|
+
],
|
|
261
|
+
headerParameters: [Parameters.accept],
|
|
262
|
+
serializer
|
|
263
|
+
};
|
|
264
|
+
const createOrUpdateOperationSpec = {
|
|
265
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
266
|
+
httpMethod: "PUT",
|
|
267
|
+
responses: {
|
|
268
|
+
200: {
|
|
269
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
270
|
+
},
|
|
271
|
+
201: {
|
|
272
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
273
|
+
},
|
|
274
|
+
202: {
|
|
275
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
276
|
+
},
|
|
277
|
+
204: {
|
|
278
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
279
|
+
},
|
|
280
|
+
default: {
|
|
281
|
+
bodyMapper: Mappers.ErrorResponse
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
requestBody: Parameters.privateEndpointConnection,
|
|
285
|
+
queryParameters: [Parameters.apiVersion],
|
|
286
|
+
urlParameters: [
|
|
287
|
+
Parameters.$host,
|
|
288
|
+
Parameters.subscriptionId,
|
|
289
|
+
Parameters.resourceGroupName,
|
|
290
|
+
Parameters.accountName,
|
|
291
|
+
Parameters.privateEndpointConnectionName
|
|
292
|
+
],
|
|
293
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
294
|
+
mediaType: "json",
|
|
295
|
+
serializer
|
|
296
|
+
};
|
|
297
|
+
const deleteOperationSpec = {
|
|
298
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
299
|
+
httpMethod: "DELETE",
|
|
300
|
+
responses: {
|
|
301
|
+
200: {},
|
|
302
|
+
201: {},
|
|
303
|
+
202: {},
|
|
304
|
+
204: {},
|
|
305
|
+
default: {
|
|
306
|
+
bodyMapper: Mappers.ErrorResponse
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
queryParameters: [Parameters.apiVersion],
|
|
310
|
+
urlParameters: [
|
|
311
|
+
Parameters.$host,
|
|
312
|
+
Parameters.subscriptionId,
|
|
313
|
+
Parameters.resourceGroupName,
|
|
314
|
+
Parameters.accountName,
|
|
315
|
+
Parameters.privateEndpointConnectionName
|
|
316
|
+
],
|
|
317
|
+
headerParameters: [Parameters.accept],
|
|
318
|
+
serializer
|
|
319
|
+
};
|
|
320
|
+
//# sourceMappingURL=privateEndpointConnections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAYrC,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAIzC;;;OAGG;IACH,YAAY,MAAoB;QAC9B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,aAAa,CAClB,iBAAyB,EACzB,WAAmB,EACnB,OAA+D;QAE/D,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,uBAAuB,CACjC,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,uBAAuB,CACpC,iBAAyB,EACzB,WAAmB,EACnB,OAA+D;;YAE/D,IAAI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6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EACF,uLAAuL;IACzL,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PrivateLinkResources } from "../operationsInterfaces";
|
|
3
|
+
import { DeviceUpdate } from "../deviceUpdate";
|
|
4
|
+
import { GroupInformation, PrivateLinkResourcesListByAccountOptionalParams, PrivateLinkResourcesGetOptionalParams, PrivateLinkResourcesGetResponse } from "../models";
|
|
5
|
+
/** Class containing PrivateLinkResources operations. */
|
|
6
|
+
export declare class PrivateLinkResourcesImpl implements PrivateLinkResources {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: DeviceUpdate);
|
|
13
|
+
/**
|
|
14
|
+
* List all private link resources in a device update account.
|
|
15
|
+
* @param resourceGroupName The resource group name.
|
|
16
|
+
* @param accountName Account name.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
listByAccount(resourceGroupName: string, accountName: string, options?: PrivateLinkResourcesListByAccountOptionalParams): PagedAsyncIterableIterator<GroupInformation>;
|
|
20
|
+
private listByAccountPagingPage;
|
|
21
|
+
private listByAccountPagingAll;
|
|
22
|
+
/**
|
|
23
|
+
* List all private link resources in a device update account.
|
|
24
|
+
* @param resourceGroupName The resource group name.
|
|
25
|
+
* @param accountName Account name.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
private _listByAccount;
|
|
29
|
+
/**
|
|
30
|
+
* Get the specified private link resource associated with the device update account.
|
|
31
|
+
* @param resourceGroupName The resource group name.
|
|
32
|
+
* @param accountName Account name.
|
|
33
|
+
* @param groupId The group ID of the private link resource.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
get(resourceGroupName: string, accountName: string, groupId: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResourcesGetResponse>;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=privateLinkResources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAI/D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EACL,gBAAgB,EAChB,+CAA+C,EAE/C,qCAAqC,EACrC,+BAA+B,EAChC,MAAM,WAAW,CAAC;AAGnB,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;IAEtC;;;OAGG;gBACS,MAAM,EAAE,YAAY;IAIhC;;;;;OAKG;IACI,aAAa,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,gBAAgB,CAAC;YAuBhC,uBAAuB;YAavB,sBAAsB;IAcrC;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAWtB;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;CAM5C"}
|
|
@@ -0,0 +1,131 @@
|
|
|
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
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing PrivateLinkResources operations. */
|
|
14
|
+
export class PrivateLinkResourcesImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* List all private link resources in a device update account.
|
|
24
|
+
* @param resourceGroupName The resource group name.
|
|
25
|
+
* @param accountName Account name.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
listByAccount(resourceGroupName, accountName, options) {
|
|
29
|
+
const iter = this.listByAccountPagingAll(resourceGroupName, accountName, options);
|
|
30
|
+
return {
|
|
31
|
+
next() {
|
|
32
|
+
return iter.next();
|
|
33
|
+
},
|
|
34
|
+
[Symbol.asyncIterator]() {
|
|
35
|
+
return this;
|
|
36
|
+
},
|
|
37
|
+
byPage: () => {
|
|
38
|
+
return this.listByAccountPagingPage(resourceGroupName, accountName, options);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
listByAccountPagingPage(resourceGroupName, accountName, options) {
|
|
43
|
+
return __asyncGenerator(this, arguments, function* listByAccountPagingPage_1() {
|
|
44
|
+
let result = yield __await(this._listByAccount(resourceGroupName, accountName, options));
|
|
45
|
+
yield yield __await(result.value || []);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
listByAccountPagingAll(resourceGroupName, accountName, options) {
|
|
49
|
+
return __asyncGenerator(this, arguments, function* listByAccountPagingAll_1() {
|
|
50
|
+
var e_1, _a;
|
|
51
|
+
try {
|
|
52
|
+
for (var _b = __asyncValues(this.listByAccountPagingPage(resourceGroupName, accountName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
53
|
+
const page = _c.value;
|
|
54
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
58
|
+
finally {
|
|
59
|
+
try {
|
|
60
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
61
|
+
}
|
|
62
|
+
finally { if (e_1) throw e_1.error; }
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* List all private link resources in a device update account.
|
|
68
|
+
* @param resourceGroupName The resource group name.
|
|
69
|
+
* @param accountName Account name.
|
|
70
|
+
* @param options The options parameters.
|
|
71
|
+
*/
|
|
72
|
+
_listByAccount(resourceGroupName, accountName, options) {
|
|
73
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listByAccountOperationSpec);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Get the specified private link resource associated with the device update account.
|
|
77
|
+
* @param resourceGroupName The resource group name.
|
|
78
|
+
* @param accountName Account name.
|
|
79
|
+
* @param groupId The group ID of the private link resource.
|
|
80
|
+
* @param options The options parameters.
|
|
81
|
+
*/
|
|
82
|
+
get(resourceGroupName, accountName, groupId, options) {
|
|
83
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, groupId, options }, getOperationSpec);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
// Operation Specifications
|
|
87
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
88
|
+
const listByAccountOperationSpec = {
|
|
89
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateLinkResources",
|
|
90
|
+
httpMethod: "GET",
|
|
91
|
+
responses: {
|
|
92
|
+
200: {
|
|
93
|
+
bodyMapper: Mappers.PrivateLinkResourceListResult
|
|
94
|
+
},
|
|
95
|
+
default: {
|
|
96
|
+
bodyMapper: Mappers.ErrorResponse
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
queryParameters: [Parameters.apiVersion],
|
|
100
|
+
urlParameters: [
|
|
101
|
+
Parameters.$host,
|
|
102
|
+
Parameters.subscriptionId,
|
|
103
|
+
Parameters.resourceGroupName,
|
|
104
|
+
Parameters.accountName
|
|
105
|
+
],
|
|
106
|
+
headerParameters: [Parameters.accept],
|
|
107
|
+
serializer
|
|
108
|
+
};
|
|
109
|
+
const getOperationSpec = {
|
|
110
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateLinkResources/{groupId}",
|
|
111
|
+
httpMethod: "GET",
|
|
112
|
+
responses: {
|
|
113
|
+
200: {
|
|
114
|
+
bodyMapper: Mappers.GroupInformation
|
|
115
|
+
},
|
|
116
|
+
default: {
|
|
117
|
+
bodyMapper: Mappers.ErrorResponse
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
queryParameters: [Parameters.apiVersion],
|
|
121
|
+
urlParameters: [
|
|
122
|
+
Parameters.$host,
|
|
123
|
+
Parameters.subscriptionId,
|
|
124
|
+
Parameters.resourceGroupName,
|
|
125
|
+
Parameters.accountName,
|
|
126
|
+
Parameters.groupId
|
|
127
|
+
],
|
|
128
|
+
headerParameters: [Parameters.accept],
|
|
129
|
+
serializer
|
|
130
|
+
};
|
|
131
|
+
//# sourceMappingURL=privateLinkResources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,4CAA4C;AAC5C,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAAoB;QAC9B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,aAAa,CAClB,iBAAyB,EACzB,WAAmB,EACnB,OAAyD;QAEzD,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,uBAAuB,CACjC,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;YACJ,CA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