@azure/arm-attestation 2.1.1-alpha.20241230.1 → 2.1.1-alpha.20250108.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/{dist-esm/src → dist/browser}/attestationManagementClient.d.ts +2 -2
- package/dist/browser/attestationManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/attestationManagementClient.js +15 -18
- package/dist/browser/attestationManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/attestationProviders.d.ts +3 -3
- package/dist/browser/operations/attestationProviders.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/attestationProviders.js +2 -2
- package/dist/browser/operations/attestationProviders.js.map +1 -0
- package/dist/browser/operations/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +3 -3
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +2 -2
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +2 -2
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/attestationProviders.d.ts +1 -1
- package/dist/browser/operationsInterfaces/attestationProviders.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/attestationProviders.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +4 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +3 -3
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/attestationManagementClient.d.ts +22 -0
- package/dist/commonjs/attestationManagementClient.d.ts.map +1 -0
- package/dist/commonjs/attestationManagementClient.js +104 -0
- package/dist/commonjs/attestationManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/{types/arm-attestation.d.ts → dist/commonjs/models/index.d.ts} +403 -590
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +55 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +21 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +566 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +15 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +141 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/attestationProviders.d.ts +65 -0
- package/dist/commonjs/operations/attestationProviders.d.ts.map +1 -0
- package/dist/commonjs/operations/attestationProviders.js +259 -0
- package/dist/commonjs/operations/attestationProviders.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +4 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +14 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +18 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +51 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +58 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.js +226 -0
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/attestationProviders.d.ts +57 -0
- package/dist/commonjs/operationsInterfaces/attestationProviders.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/attestationProviders.js +10 -0
- package/dist/commonjs/operationsInterfaces/attestationProviders.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +14 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/commonjs/operationsInterfaces/operations.js} +3 -4
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +41 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/attestationManagementClient.d.ts +22 -0
- package/dist/esm/attestationManagementClient.d.ts.map +1 -0
- package/dist/esm/attestationManagementClient.js +99 -0
- package/dist/esm/attestationManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models/index.d.ts +403 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +52 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +21 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +563 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +15 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +138 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/attestationProviders.d.ts +65 -0
- package/dist/esm/operations/attestationProviders.d.ts.map +1 -0
- package/dist/esm/operations/attestationProviders.js +254 -0
- package/dist/esm/operations/attestationProviders.js.map +1 -0
- package/dist/esm/operations/index.d.ts +4 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +11 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +18 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +46 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts +58 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.js +222 -0
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operationsInterfaces/attestationProviders.d.ts +57 -0
- package/dist/esm/operationsInterfaces/attestationProviders.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/attestationProviders.js +9 -0
- package/dist/esm/operationsInterfaces/attestationProviders.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +4 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +11 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +41 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/attestationManagementClient.d.ts +22 -0
- package/dist/react-native/attestationManagementClient.d.ts.map +1 -0
- package/dist/react-native/attestationManagementClient.js +99 -0
- package/dist/react-native/attestationManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/models/index.d.ts +403 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +52 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +21 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +563 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +15 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +138 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/attestationProviders.d.ts +65 -0
- package/dist/react-native/operations/attestationProviders.d.ts.map +1 -0
- package/dist/react-native/operations/attestationProviders.js +254 -0
- package/dist/react-native/operations/attestationProviders.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +4 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +11 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +18 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +46 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts +58 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.js +222 -0
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operationsInterfaces/attestationProviders.d.ts +57 -0
- package/dist/react-native/operationsInterfaces/attestationProviders.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/attestationProviders.js +9 -0
- package/dist/react-native/operationsInterfaces/attestationProviders.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +11 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +41 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +58 -28
- package/dist/index.js +0 -1439
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/attestationProvidersCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationProvidersCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationProvidersCreateSample.js +0 -32
- package/dist-esm/samples-dev/attestationProvidersCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationProvidersDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationProvidersDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationProvidersDeleteSample.js +0 -31
- package/dist-esm/samples-dev/attestationProvidersDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationProvidersGetDefaultByLocationSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationProvidersGetDefaultByLocationSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationProvidersGetDefaultByLocationSample.js +0 -30
- package/dist-esm/samples-dev/attestationProvidersGetDefaultByLocationSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationProvidersGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationProvidersGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationProvidersGetSample.js +0 -31
- package/dist-esm/samples-dev/attestationProvidersGetSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationProvidersListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationProvidersListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationProvidersListByResourceGroupSample.js +0 -30
- package/dist-esm/samples-dev/attestationProvidersListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationProvidersListDefaultSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationProvidersListDefaultSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationProvidersListDefaultSample.js +0 -29
- package/dist-esm/samples-dev/attestationProvidersListDefaultSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationProvidersListSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationProvidersListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationProvidersListSample.js +0 -29
- package/dist-esm/samples-dev/attestationProvidersListSample.js.map +0 -1
- package/dist-esm/samples-dev/attestationProvidersUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/attestationProvidersUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/attestationProvidersUpdateSample.js +0 -34
- package/dist-esm/samples-dev/attestationProvidersUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -29
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +0 -38
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -32
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -32
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -47
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
- package/dist-esm/src/attestationManagementClient.d.ts.map +0 -1
- package/dist-esm/src/attestationManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/attestationProviders.d.ts.map +0 -1
- package/dist-esm/src/operations/attestationProviders.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -4
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/attestationProviders.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/attestationProviders.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -4
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/attestation_examples.d.ts +0 -4
- package/dist-esm/test/attestation_examples.d.ts.map +0 -1
- package/dist-esm/test/attestation_examples.js +0 -96
- package/dist-esm/test/attestation_examples.js.map +0 -1
- package/src/attestationManagementClient.ts +0 -152
- package/src/models/index.ts +0 -457
- package/src/models/mappers.ts +0 -599
- package/src/models/parameters.ts +0 -160
- package/src/operations/attestationProviders.ts +0 -344
- package/src/operations/operations.ts +0 -59
- package/src/operations/privateEndpointConnections.ts +0 -287
- package/src/operationsInterfaces/attestationProviders.ts +0 -111
- package/src/operationsInterfaces/index.ts +0 -11
- package/src/operationsInterfaces/operations.ts +0 -21
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -78
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/attestationProviders.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -1,287 +0,0 @@
|
|
|
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 { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
-
import { PrivateEndpointConnections } from "../operationsInterfaces";
|
|
11
|
-
import * as coreClient from "@azure/core-client";
|
|
12
|
-
import * as Mappers from "../models/mappers";
|
|
13
|
-
import * as Parameters from "../models/parameters";
|
|
14
|
-
import { AttestationManagementClient } from "../attestationManagementClient";
|
|
15
|
-
import {
|
|
16
|
-
PrivateEndpointConnection,
|
|
17
|
-
PrivateEndpointConnectionsListOptionalParams,
|
|
18
|
-
PrivateEndpointConnectionsListResponse,
|
|
19
|
-
PrivateEndpointConnectionsGetOptionalParams,
|
|
20
|
-
PrivateEndpointConnectionsGetResponse,
|
|
21
|
-
PrivateEndpointConnectionsCreateOptionalParams,
|
|
22
|
-
PrivateEndpointConnectionsCreateResponse,
|
|
23
|
-
PrivateEndpointConnectionsDeleteOptionalParams
|
|
24
|
-
} from "../models";
|
|
25
|
-
|
|
26
|
-
/// <reference lib="esnext.asynciterable" />
|
|
27
|
-
/** Class containing PrivateEndpointConnections operations. */
|
|
28
|
-
export class PrivateEndpointConnectionsImpl
|
|
29
|
-
implements PrivateEndpointConnections {
|
|
30
|
-
private readonly client: AttestationManagementClient;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
34
|
-
* @param client Reference to the service client
|
|
35
|
-
*/
|
|
36
|
-
constructor(client: AttestationManagementClient) {
|
|
37
|
-
this.client = client;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* List all the private endpoint connections associated with the attestation provider.
|
|
42
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
43
|
-
* @param providerName The name of the attestation provider.
|
|
44
|
-
* @param options The options parameters.
|
|
45
|
-
*/
|
|
46
|
-
public list(
|
|
47
|
-
resourceGroupName: string,
|
|
48
|
-
providerName: string,
|
|
49
|
-
options?: PrivateEndpointConnectionsListOptionalParams
|
|
50
|
-
): PagedAsyncIterableIterator<PrivateEndpointConnection> {
|
|
51
|
-
const iter = this.listPagingAll(resourceGroupName, providerName, options);
|
|
52
|
-
return {
|
|
53
|
-
next() {
|
|
54
|
-
return iter.next();
|
|
55
|
-
},
|
|
56
|
-
[Symbol.asyncIterator]() {
|
|
57
|
-
return this;
|
|
58
|
-
},
|
|
59
|
-
byPage: (settings?: PageSettings) => {
|
|
60
|
-
if (settings?.maxPageSize) {
|
|
61
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
62
|
-
}
|
|
63
|
-
return this.listPagingPage(
|
|
64
|
-
resourceGroupName,
|
|
65
|
-
providerName,
|
|
66
|
-
options,
|
|
67
|
-
settings
|
|
68
|
-
);
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
private async *listPagingPage(
|
|
74
|
-
resourceGroupName: string,
|
|
75
|
-
providerName: string,
|
|
76
|
-
options?: PrivateEndpointConnectionsListOptionalParams,
|
|
77
|
-
_settings?: PageSettings
|
|
78
|
-
): AsyncIterableIterator<PrivateEndpointConnection[]> {
|
|
79
|
-
let result: PrivateEndpointConnectionsListResponse;
|
|
80
|
-
result = await this._list(resourceGroupName, providerName, options);
|
|
81
|
-
yield result.value || [];
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private async *listPagingAll(
|
|
85
|
-
resourceGroupName: string,
|
|
86
|
-
providerName: string,
|
|
87
|
-
options?: PrivateEndpointConnectionsListOptionalParams
|
|
88
|
-
): AsyncIterableIterator<PrivateEndpointConnection> {
|
|
89
|
-
for await (const page of this.listPagingPage(
|
|
90
|
-
resourceGroupName,
|
|
91
|
-
providerName,
|
|
92
|
-
options
|
|
93
|
-
)) {
|
|
94
|
-
yield* page;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* List all the private endpoint connections associated with the attestation provider.
|
|
100
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
101
|
-
* @param providerName The name of the attestation provider.
|
|
102
|
-
* @param options The options parameters.
|
|
103
|
-
*/
|
|
104
|
-
private _list(
|
|
105
|
-
resourceGroupName: string,
|
|
106
|
-
providerName: string,
|
|
107
|
-
options?: PrivateEndpointConnectionsListOptionalParams
|
|
108
|
-
): Promise<PrivateEndpointConnectionsListResponse> {
|
|
109
|
-
return this.client.sendOperationRequest(
|
|
110
|
-
{ resourceGroupName, providerName, options },
|
|
111
|
-
listOperationSpec
|
|
112
|
-
);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* Gets the specified private endpoint connection associated with the attestation provider.
|
|
117
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
118
|
-
* @param providerName The name of the attestation provider.
|
|
119
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
120
|
-
* Azure resource
|
|
121
|
-
* @param options The options parameters.
|
|
122
|
-
*/
|
|
123
|
-
get(
|
|
124
|
-
resourceGroupName: string,
|
|
125
|
-
providerName: string,
|
|
126
|
-
privateEndpointConnectionName: string,
|
|
127
|
-
options?: PrivateEndpointConnectionsGetOptionalParams
|
|
128
|
-
): Promise<PrivateEndpointConnectionsGetResponse> {
|
|
129
|
-
return this.client.sendOperationRequest(
|
|
130
|
-
{
|
|
131
|
-
resourceGroupName,
|
|
132
|
-
providerName,
|
|
133
|
-
privateEndpointConnectionName,
|
|
134
|
-
options
|
|
135
|
-
},
|
|
136
|
-
getOperationSpec
|
|
137
|
-
);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Update the state of specified private endpoint connection associated with the attestation provider.
|
|
142
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
143
|
-
* @param providerName The name of the attestation provider.
|
|
144
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
145
|
-
* Azure resource
|
|
146
|
-
* @param properties The private endpoint connection properties.
|
|
147
|
-
* @param options The options parameters.
|
|
148
|
-
*/
|
|
149
|
-
create(
|
|
150
|
-
resourceGroupName: string,
|
|
151
|
-
providerName: string,
|
|
152
|
-
privateEndpointConnectionName: string,
|
|
153
|
-
properties: PrivateEndpointConnection,
|
|
154
|
-
options?: PrivateEndpointConnectionsCreateOptionalParams
|
|
155
|
-
): Promise<PrivateEndpointConnectionsCreateResponse> {
|
|
156
|
-
return this.client.sendOperationRequest(
|
|
157
|
-
{
|
|
158
|
-
resourceGroupName,
|
|
159
|
-
providerName,
|
|
160
|
-
privateEndpointConnectionName,
|
|
161
|
-
properties,
|
|
162
|
-
options
|
|
163
|
-
},
|
|
164
|
-
createOperationSpec
|
|
165
|
-
);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* Deletes the specified private endpoint connection associated with the attestation provider.
|
|
170
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
171
|
-
* @param providerName The name of the attestation provider.
|
|
172
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
173
|
-
* Azure resource
|
|
174
|
-
* @param options The options parameters.
|
|
175
|
-
*/
|
|
176
|
-
delete(
|
|
177
|
-
resourceGroupName: string,
|
|
178
|
-
providerName: string,
|
|
179
|
-
privateEndpointConnectionName: string,
|
|
180
|
-
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
|
181
|
-
): Promise<void> {
|
|
182
|
-
return this.client.sendOperationRequest(
|
|
183
|
-
{
|
|
184
|
-
resourceGroupName,
|
|
185
|
-
providerName,
|
|
186
|
-
privateEndpointConnectionName,
|
|
187
|
-
options
|
|
188
|
-
},
|
|
189
|
-
deleteOperationSpec
|
|
190
|
-
);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
// Operation Specifications
|
|
194
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
195
|
-
|
|
196
|
-
const listOperationSpec: coreClient.OperationSpec = {
|
|
197
|
-
path:
|
|
198
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}/privateEndpointConnections",
|
|
199
|
-
httpMethod: "GET",
|
|
200
|
-
responses: {
|
|
201
|
-
200: {
|
|
202
|
-
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
|
203
|
-
},
|
|
204
|
-
default: {
|
|
205
|
-
bodyMapper: Mappers.CloudError
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
queryParameters: [Parameters.apiVersion],
|
|
209
|
-
urlParameters: [
|
|
210
|
-
Parameters.$host,
|
|
211
|
-
Parameters.subscriptionId,
|
|
212
|
-
Parameters.resourceGroupName,
|
|
213
|
-
Parameters.providerName1
|
|
214
|
-
],
|
|
215
|
-
headerParameters: [Parameters.accept],
|
|
216
|
-
serializer
|
|
217
|
-
};
|
|
218
|
-
const getOperationSpec: coreClient.OperationSpec = {
|
|
219
|
-
path:
|
|
220
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
221
|
-
httpMethod: "GET",
|
|
222
|
-
responses: {
|
|
223
|
-
200: {
|
|
224
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
|
225
|
-
},
|
|
226
|
-
default: {
|
|
227
|
-
bodyMapper: Mappers.CloudError
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
queryParameters: [Parameters.apiVersion],
|
|
231
|
-
urlParameters: [
|
|
232
|
-
Parameters.$host,
|
|
233
|
-
Parameters.subscriptionId,
|
|
234
|
-
Parameters.resourceGroupName,
|
|
235
|
-
Parameters.providerName1,
|
|
236
|
-
Parameters.privateEndpointConnectionName
|
|
237
|
-
],
|
|
238
|
-
headerParameters: [Parameters.accept],
|
|
239
|
-
serializer
|
|
240
|
-
};
|
|
241
|
-
const createOperationSpec: coreClient.OperationSpec = {
|
|
242
|
-
path:
|
|
243
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
244
|
-
httpMethod: "PUT",
|
|
245
|
-
responses: {
|
|
246
|
-
200: {
|
|
247
|
-
bodyMapper: Mappers.PrivateEndpointConnection
|
|
248
|
-
},
|
|
249
|
-
default: {
|
|
250
|
-
bodyMapper: Mappers.CloudError
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
requestBody: Parameters.properties,
|
|
254
|
-
queryParameters: [Parameters.apiVersion],
|
|
255
|
-
urlParameters: [
|
|
256
|
-
Parameters.$host,
|
|
257
|
-
Parameters.subscriptionId,
|
|
258
|
-
Parameters.resourceGroupName,
|
|
259
|
-
Parameters.providerName1,
|
|
260
|
-
Parameters.privateEndpointConnectionName
|
|
261
|
-
],
|
|
262
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
263
|
-
mediaType: "json",
|
|
264
|
-
serializer
|
|
265
|
-
};
|
|
266
|
-
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
267
|
-
path:
|
|
268
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Attestation/attestationProviders/{providerName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
269
|
-
httpMethod: "DELETE",
|
|
270
|
-
responses: {
|
|
271
|
-
200: {},
|
|
272
|
-
204: {},
|
|
273
|
-
default: {
|
|
274
|
-
bodyMapper: Mappers.CloudError
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
queryParameters: [Parameters.apiVersion],
|
|
278
|
-
urlParameters: [
|
|
279
|
-
Parameters.$host,
|
|
280
|
-
Parameters.subscriptionId,
|
|
281
|
-
Parameters.resourceGroupName,
|
|
282
|
-
Parameters.providerName1,
|
|
283
|
-
Parameters.privateEndpointConnectionName
|
|
284
|
-
],
|
|
285
|
-
headerParameters: [Parameters.accept],
|
|
286
|
-
serializer
|
|
287
|
-
};
|
|
@@ -1,111 +0,0 @@
|
|
|
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 {
|
|
10
|
-
AttestationProvidersGetOptionalParams,
|
|
11
|
-
AttestationProvidersGetResponse,
|
|
12
|
-
AttestationServiceCreationParams,
|
|
13
|
-
AttestationProvidersCreateOptionalParams,
|
|
14
|
-
AttestationProvidersCreateResponse,
|
|
15
|
-
AttestationServicePatchParams,
|
|
16
|
-
AttestationProvidersUpdateOptionalParams,
|
|
17
|
-
AttestationProvidersUpdateResponse,
|
|
18
|
-
AttestationProvidersDeleteOptionalParams,
|
|
19
|
-
AttestationProvidersListOptionalParams,
|
|
20
|
-
AttestationProvidersListResponse,
|
|
21
|
-
AttestationProvidersListByResourceGroupOptionalParams,
|
|
22
|
-
AttestationProvidersListByResourceGroupResponse,
|
|
23
|
-
AttestationProvidersListDefaultOptionalParams,
|
|
24
|
-
AttestationProvidersListDefaultResponse,
|
|
25
|
-
AttestationProvidersGetDefaultByLocationOptionalParams,
|
|
26
|
-
AttestationProvidersGetDefaultByLocationResponse
|
|
27
|
-
} from "../models";
|
|
28
|
-
|
|
29
|
-
/** Interface representing a AttestationProviders. */
|
|
30
|
-
export interface AttestationProviders {
|
|
31
|
-
/**
|
|
32
|
-
* Get the status of Attestation Provider.
|
|
33
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
|
-
* @param providerName Name of the attestation provider.
|
|
35
|
-
* @param options The options parameters.
|
|
36
|
-
*/
|
|
37
|
-
get(
|
|
38
|
-
resourceGroupName: string,
|
|
39
|
-
providerName: string,
|
|
40
|
-
options?: AttestationProvidersGetOptionalParams
|
|
41
|
-
): Promise<AttestationProvidersGetResponse>;
|
|
42
|
-
/**
|
|
43
|
-
* Creates a new Attestation Provider.
|
|
44
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
45
|
-
* @param providerName Name of the attestation provider.
|
|
46
|
-
* @param creationParams Client supplied parameters.
|
|
47
|
-
* @param options The options parameters.
|
|
48
|
-
*/
|
|
49
|
-
create(
|
|
50
|
-
resourceGroupName: string,
|
|
51
|
-
providerName: string,
|
|
52
|
-
creationParams: AttestationServiceCreationParams,
|
|
53
|
-
options?: AttestationProvidersCreateOptionalParams
|
|
54
|
-
): Promise<AttestationProvidersCreateResponse>;
|
|
55
|
-
/**
|
|
56
|
-
* Updates the Attestation Provider.
|
|
57
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
58
|
-
* @param providerName Name of the attestation provider.
|
|
59
|
-
* @param updateParams Client supplied parameters.
|
|
60
|
-
* @param options The options parameters.
|
|
61
|
-
*/
|
|
62
|
-
update(
|
|
63
|
-
resourceGroupName: string,
|
|
64
|
-
providerName: string,
|
|
65
|
-
updateParams: AttestationServicePatchParams,
|
|
66
|
-
options?: AttestationProvidersUpdateOptionalParams
|
|
67
|
-
): Promise<AttestationProvidersUpdateResponse>;
|
|
68
|
-
/**
|
|
69
|
-
* Delete Attestation Service.
|
|
70
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
71
|
-
* @param providerName Name of the attestation service
|
|
72
|
-
* @param options The options parameters.
|
|
73
|
-
*/
|
|
74
|
-
delete(
|
|
75
|
-
resourceGroupName: string,
|
|
76
|
-
providerName: string,
|
|
77
|
-
options?: AttestationProvidersDeleteOptionalParams
|
|
78
|
-
): Promise<void>;
|
|
79
|
-
/**
|
|
80
|
-
* Returns a list of attestation providers in a subscription.
|
|
81
|
-
* @param options The options parameters.
|
|
82
|
-
*/
|
|
83
|
-
list(
|
|
84
|
-
options?: AttestationProvidersListOptionalParams
|
|
85
|
-
): Promise<AttestationProvidersListResponse>;
|
|
86
|
-
/**
|
|
87
|
-
* Returns attestation providers list in a resource group.
|
|
88
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
89
|
-
* @param options The options parameters.
|
|
90
|
-
*/
|
|
91
|
-
listByResourceGroup(
|
|
92
|
-
resourceGroupName: string,
|
|
93
|
-
options?: AttestationProvidersListByResourceGroupOptionalParams
|
|
94
|
-
): Promise<AttestationProvidersListByResourceGroupResponse>;
|
|
95
|
-
/**
|
|
96
|
-
* Get the default provider
|
|
97
|
-
* @param options The options parameters.
|
|
98
|
-
*/
|
|
99
|
-
listDefault(
|
|
100
|
-
options?: AttestationProvidersListDefaultOptionalParams
|
|
101
|
-
): Promise<AttestationProvidersListDefaultResponse>;
|
|
102
|
-
/**
|
|
103
|
-
* Get the default provider by location.
|
|
104
|
-
* @param location The location of the default provider.
|
|
105
|
-
* @param options The options parameters.
|
|
106
|
-
*/
|
|
107
|
-
getDefaultByLocation(
|
|
108
|
-
location: string,
|
|
109
|
-
options?: AttestationProvidersGetDefaultByLocationOptionalParams
|
|
110
|
-
): Promise<AttestationProvidersGetDefaultByLocationResponse>;
|
|
111
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
export * from "./operations";
|
|
10
|
-
export * from "./attestationProviders";
|
|
11
|
-
export * from "./privateEndpointConnections";
|
|
@@ -1,21 +0,0 @@
|
|
|
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 {
|
|
10
|
-
OperationsListOptionalParams,
|
|
11
|
-
OperationsListResponse
|
|
12
|
-
} from "../models";
|
|
13
|
-
|
|
14
|
-
/** Interface representing a Operations. */
|
|
15
|
-
export interface Operations {
|
|
16
|
-
/**
|
|
17
|
-
* Lists all of the available Azure attestation operations.
|
|
18
|
-
* @param options The options parameters.
|
|
19
|
-
*/
|
|
20
|
-
list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
|
|
21
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
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 { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
-
import {
|
|
11
|
-
PrivateEndpointConnection,
|
|
12
|
-
PrivateEndpointConnectionsListOptionalParams,
|
|
13
|
-
PrivateEndpointConnectionsGetOptionalParams,
|
|
14
|
-
PrivateEndpointConnectionsGetResponse,
|
|
15
|
-
PrivateEndpointConnectionsCreateOptionalParams,
|
|
16
|
-
PrivateEndpointConnectionsCreateResponse,
|
|
17
|
-
PrivateEndpointConnectionsDeleteOptionalParams
|
|
18
|
-
} from "../models";
|
|
19
|
-
|
|
20
|
-
/// <reference lib="esnext.asynciterable" />
|
|
21
|
-
/** Interface representing a PrivateEndpointConnections. */
|
|
22
|
-
export interface PrivateEndpointConnections {
|
|
23
|
-
/**
|
|
24
|
-
* List all the private endpoint connections associated with the attestation provider.
|
|
25
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
-
* @param providerName The name of the attestation provider.
|
|
27
|
-
* @param options The options parameters.
|
|
28
|
-
*/
|
|
29
|
-
list(
|
|
30
|
-
resourceGroupName: string,
|
|
31
|
-
providerName: string,
|
|
32
|
-
options?: PrivateEndpointConnectionsListOptionalParams
|
|
33
|
-
): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
34
|
-
/**
|
|
35
|
-
* Gets the specified private endpoint connection associated with the attestation provider.
|
|
36
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
37
|
-
* @param providerName The name of the attestation provider.
|
|
38
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
39
|
-
* Azure resource
|
|
40
|
-
* @param options The options parameters.
|
|
41
|
-
*/
|
|
42
|
-
get(
|
|
43
|
-
resourceGroupName: string,
|
|
44
|
-
providerName: string,
|
|
45
|
-
privateEndpointConnectionName: string,
|
|
46
|
-
options?: PrivateEndpointConnectionsGetOptionalParams
|
|
47
|
-
): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
48
|
-
/**
|
|
49
|
-
* Update the state of specified private endpoint connection associated with the attestation provider.
|
|
50
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
51
|
-
* @param providerName The name of the attestation provider.
|
|
52
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
53
|
-
* Azure resource
|
|
54
|
-
* @param properties The private endpoint connection properties.
|
|
55
|
-
* @param options The options parameters.
|
|
56
|
-
*/
|
|
57
|
-
create(
|
|
58
|
-
resourceGroupName: string,
|
|
59
|
-
providerName: string,
|
|
60
|
-
privateEndpointConnectionName: string,
|
|
61
|
-
properties: PrivateEndpointConnection,
|
|
62
|
-
options?: PrivateEndpointConnectionsCreateOptionalParams
|
|
63
|
-
): Promise<PrivateEndpointConnectionsCreateResponse>;
|
|
64
|
-
/**
|
|
65
|
-
* Deletes the specified private endpoint connection associated with the attestation provider.
|
|
66
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
67
|
-
* @param providerName The name of the attestation provider.
|
|
68
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
69
|
-
* Azure resource
|
|
70
|
-
* @param options The options parameters.
|
|
71
|
-
*/
|
|
72
|
-
delete(
|
|
73
|
-
resourceGroupName: string,
|
|
74
|
-
providerName: string,
|
|
75
|
-
privateEndpointConnectionName: string,
|
|
76
|
-
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
|
77
|
-
): Promise<void>;
|
|
78
|
-
}
|
package/src/pagingHelper.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
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
|
-
export interface PageInfo {
|
|
10
|
-
continuationToken?: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
const pageMap = new WeakMap<object, PageInfo>();
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Given a result page from a pageable operation, returns a
|
|
17
|
-
* continuation token that can be used to begin paging from
|
|
18
|
-
* that point later.
|
|
19
|
-
* @param page A result object from calling .byPage() on a paged operation.
|
|
20
|
-
* @returns The continuation token that can be passed into byPage().
|
|
21
|
-
*/
|
|
22
|
-
export function getContinuationToken(page: unknown): string | undefined {
|
|
23
|
-
if (typeof page !== "object" || page === null) {
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
26
|
-
return pageMap.get(page)?.continuationToken;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export function setContinuationToken(
|
|
30
|
-
page: unknown,
|
|
31
|
-
continuationToken: string | undefined
|
|
32
|
-
): void {
|
|
33
|
-
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
const pageInfo = pageMap.get(page) ?? {};
|
|
37
|
-
pageInfo.continuationToken = continuationToken;
|
|
38
|
-
pageMap.set(page, pageInfo);
|
|
39
|
-
}
|
package/tsconfig.json
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"module": "es6",
|
|
4
|
-
"moduleResolution": "node",
|
|
5
|
-
"strict": true,
|
|
6
|
-
"target": "es6",
|
|
7
|
-
"sourceMap": true,
|
|
8
|
-
"declarationMap": true,
|
|
9
|
-
"esModuleInterop": true,
|
|
10
|
-
"allowSyntheticDefaultImports": true,
|
|
11
|
-
"forceConsistentCasingInFileNames": true,
|
|
12
|
-
"lib": [
|
|
13
|
-
"es6",
|
|
14
|
-
"dom"
|
|
15
|
-
],
|
|
16
|
-
"declaration": true,
|
|
17
|
-
"outDir": "./dist-esm",
|
|
18
|
-
"importHelpers": true,
|
|
19
|
-
"paths": {
|
|
20
|
-
"@azure/arm-attestation": [
|
|
21
|
-
"./src/index"
|
|
22
|
-
]
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"include": [
|
|
26
|
-
"./src/**/*.ts",
|
|
27
|
-
"./test/**/*.ts",
|
|
28
|
-
"samples-dev/**/*.ts"
|
|
29
|
-
],
|
|
30
|
-
"exclude": [
|
|
31
|
-
"node_modules"
|
|
32
|
-
]
|
|
33
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|