@azure/arm-appcontainers 2.2.0-alpha.20250418.1 → 2.2.0-alpha.20250422.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +104 -9
- package/LICENSE +1 -1
- package/README.md +4 -8
- package/dist/browser/containerAppsAPIClient.d.ts +2 -17
- package/dist/browser/containerAppsAPIClient.d.ts.map +1 -1
- package/dist/browser/containerAppsAPIClient.js +4 -23
- package/dist/browser/containerAppsAPIClient.js.map +1 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +7 -0
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +261 -2063
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +33 -261
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +10 -107
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +1384 -4113
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +4 -31
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +28 -261
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/certificates.js +2 -2
- package/dist/browser/operations/certificates.js.map +1 -1
- package/dist/browser/operations/connectedEnvironments.js +2 -2
- package/dist/browser/operations/connectedEnvironments.js.map +1 -1
- package/dist/browser/operations/connectedEnvironmentsCertificates.js +2 -2
- package/dist/browser/operations/connectedEnvironmentsCertificates.js.map +1 -1
- package/dist/browser/operations/connectedEnvironmentsDaprComponents.js +1 -1
- package/dist/browser/operations/connectedEnvironmentsDaprComponents.js.map +1 -1
- package/dist/browser/operations/connectedEnvironmentsStorages.js +1 -1
- package/dist/browser/operations/connectedEnvironmentsStorages.js.map +1 -1
- package/dist/browser/operations/containerApps.js +2 -2
- package/dist/browser/operations/containerApps.js.map +1 -1
- package/dist/browser/operations/containerAppsAuthConfigs.js +2 -2
- package/dist/browser/operations/containerAppsAuthConfigs.js.map +1 -1
- package/dist/browser/operations/containerAppsDiagnostics.js +2 -2
- package/dist/browser/operations/containerAppsDiagnostics.js.map +1 -1
- package/dist/browser/operations/containerAppsRevisions.js +1 -1
- package/dist/browser/operations/containerAppsRevisions.js.map +1 -1
- package/dist/browser/operations/containerAppsSessionPools.js +2 -2
- package/dist/browser/operations/containerAppsSessionPools.js.map +1 -1
- package/dist/browser/operations/containerAppsSourceControls.js +4 -12
- package/dist/browser/operations/containerAppsSourceControls.js.map +1 -1
- package/dist/browser/operations/daprComponents.js +1 -1
- package/dist/browser/operations/daprComponents.js.map +1 -1
- package/dist/browser/operations/index.d.ts +0 -15
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +0 -15
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/javaComponents.js +6 -6
- package/dist/browser/operations/javaComponents.js.map +1 -1
- package/dist/browser/operations/jobs.d.ts +1 -29
- package/dist/browser/operations/jobs.d.ts.map +1 -1
- package/dist/browser/operations/jobs.js +3 -167
- package/dist/browser/operations/jobs.js.map +1 -1
- package/dist/browser/operations/managedCertificates.js +2 -2
- package/dist/browser/operations/managedCertificates.js.map +1 -1
- package/dist/browser/operations/managedEnvironments.js +2 -2
- package/dist/browser/operations/managedEnvironments.js.map +1 -1
- package/dist/browser/operations/managedEnvironmentsStorages.js +1 -1
- package/dist/browser/operations/managedEnvironmentsStorages.js.map +1 -1
- package/dist/browser/operations/namespaces.js +1 -1
- package/dist/browser/operations/namespaces.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -15
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +0 -15
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/jobs.d.ts +1 -29
- package/dist/browser/operationsInterfaces/jobs.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/jobs.js.map +1 -1
- package/dist/commonjs/containerAppsAPIClient.d.ts +2 -17
- package/dist/commonjs/containerAppsAPIClient.d.ts.map +1 -1
- package/dist/commonjs/containerAppsAPIClient.js +3 -22
- package/dist/commonjs/containerAppsAPIClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -0
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +261 -2063
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +34 -263
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +10 -107
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +1389 -4120
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +4 -31
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +29 -262
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/certificates.js +2 -2
- package/dist/commonjs/operations/certificates.js.map +1 -1
- package/dist/commonjs/operations/connectedEnvironments.js +2 -2
- package/dist/commonjs/operations/connectedEnvironments.js.map +1 -1
- package/dist/commonjs/operations/connectedEnvironmentsCertificates.js +2 -2
- package/dist/commonjs/operations/connectedEnvironmentsCertificates.js.map +1 -1
- package/dist/commonjs/operations/connectedEnvironmentsDaprComponents.js +1 -1
- package/dist/commonjs/operations/connectedEnvironmentsDaprComponents.js.map +1 -1
- package/dist/commonjs/operations/connectedEnvironmentsStorages.js +1 -1
- package/dist/commonjs/operations/connectedEnvironmentsStorages.js.map +1 -1
- package/dist/commonjs/operations/containerApps.js +2 -2
- package/dist/commonjs/operations/containerApps.js.map +1 -1
- package/dist/commonjs/operations/containerAppsAuthConfigs.js +2 -2
- package/dist/commonjs/operations/containerAppsAuthConfigs.js.map +1 -1
- package/dist/commonjs/operations/containerAppsDiagnostics.js +2 -2
- package/dist/commonjs/operations/containerAppsDiagnostics.js.map +1 -1
- package/dist/commonjs/operations/containerAppsRevisions.js +1 -1
- package/dist/commonjs/operations/containerAppsRevisions.js.map +1 -1
- package/dist/commonjs/operations/containerAppsSessionPools.js +2 -2
- package/dist/commonjs/operations/containerAppsSessionPools.js.map +1 -1
- package/dist/commonjs/operations/containerAppsSourceControls.js +4 -12
- package/dist/commonjs/operations/containerAppsSourceControls.js.map +1 -1
- package/dist/commonjs/operations/daprComponents.js +1 -1
- package/dist/commonjs/operations/daprComponents.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +0 -15
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +0 -15
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/javaComponents.js +6 -6
- package/dist/commonjs/operations/javaComponents.js.map +1 -1
- package/dist/commonjs/operations/jobs.d.ts +1 -29
- package/dist/commonjs/operations/jobs.d.ts.map +1 -1
- package/dist/commonjs/operations/jobs.js +3 -167
- package/dist/commonjs/operations/jobs.js.map +1 -1
- package/dist/commonjs/operations/managedCertificates.js +2 -2
- package/dist/commonjs/operations/managedCertificates.js.map +1 -1
- package/dist/commonjs/operations/managedEnvironments.js +2 -2
- package/dist/commonjs/operations/managedEnvironments.js.map +1 -1
- package/dist/commonjs/operations/managedEnvironmentsStorages.js +1 -1
- package/dist/commonjs/operations/managedEnvironmentsStorages.js.map +1 -1
- package/dist/commonjs/operations/namespaces.js +1 -1
- package/dist/commonjs/operations/namespaces.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -15
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -15
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/jobs.d.ts +1 -29
- package/dist/commonjs/operationsInterfaces/jobs.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/jobs.js.map +1 -1
- package/dist/esm/containerAppsAPIClient.d.ts +2 -17
- package/dist/esm/containerAppsAPIClient.d.ts.map +1 -1
- package/dist/esm/containerAppsAPIClient.js +4 -23
- package/dist/esm/containerAppsAPIClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +7 -0
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +261 -2063
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +33 -261
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +10 -107
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +1384 -4113
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +4 -31
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +28 -261
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/certificates.js +2 -2
- package/dist/esm/operations/certificates.js.map +1 -1
- package/dist/esm/operations/connectedEnvironments.js +2 -2
- package/dist/esm/operations/connectedEnvironments.js.map +1 -1
- package/dist/esm/operations/connectedEnvironmentsCertificates.js +2 -2
- package/dist/esm/operations/connectedEnvironmentsCertificates.js.map +1 -1
- package/dist/esm/operations/connectedEnvironmentsDaprComponents.js +1 -1
- package/dist/esm/operations/connectedEnvironmentsDaprComponents.js.map +1 -1
- package/dist/esm/operations/connectedEnvironmentsStorages.js +1 -1
- package/dist/esm/operations/connectedEnvironmentsStorages.js.map +1 -1
- package/dist/esm/operations/containerApps.js +2 -2
- package/dist/esm/operations/containerApps.js.map +1 -1
- package/dist/esm/operations/containerAppsAuthConfigs.js +2 -2
- package/dist/esm/operations/containerAppsAuthConfigs.js.map +1 -1
- package/dist/esm/operations/containerAppsDiagnostics.js +2 -2
- package/dist/esm/operations/containerAppsDiagnostics.js.map +1 -1
- package/dist/esm/operations/containerAppsRevisions.js +1 -1
- package/dist/esm/operations/containerAppsRevisions.js.map +1 -1
- package/dist/esm/operations/containerAppsSessionPools.js +2 -2
- package/dist/esm/operations/containerAppsSessionPools.js.map +1 -1
- package/dist/esm/operations/containerAppsSourceControls.js +4 -12
- package/dist/esm/operations/containerAppsSourceControls.js.map +1 -1
- package/dist/esm/operations/daprComponents.js +1 -1
- package/dist/esm/operations/daprComponents.js.map +1 -1
- package/dist/esm/operations/index.d.ts +0 -15
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +0 -15
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/javaComponents.js +6 -6
- package/dist/esm/operations/javaComponents.js.map +1 -1
- package/dist/esm/operations/jobs.d.ts +1 -29
- package/dist/esm/operations/jobs.d.ts.map +1 -1
- package/dist/esm/operations/jobs.js +3 -167
- package/dist/esm/operations/jobs.js.map +1 -1
- package/dist/esm/operations/managedCertificates.js +2 -2
- package/dist/esm/operations/managedCertificates.js.map +1 -1
- package/dist/esm/operations/managedEnvironments.js +2 -2
- package/dist/esm/operations/managedEnvironments.js.map +1 -1
- package/dist/esm/operations/managedEnvironmentsStorages.js +1 -1
- package/dist/esm/operations/managedEnvironmentsStorages.js.map +1 -1
- package/dist/esm/operations/namespaces.js +1 -1
- package/dist/esm/operations/namespaces.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -15
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +0 -15
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/jobs.d.ts +1 -29
- package/dist/esm/operationsInterfaces/jobs.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/jobs.js.map +1 -1
- package/dist/react-native/containerAppsAPIClient.d.ts +2 -17
- package/dist/react-native/containerAppsAPIClient.d.ts.map +1 -1
- package/dist/react-native/containerAppsAPIClient.js +4 -23
- package/dist/react-native/containerAppsAPIClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +7 -0
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +261 -2063
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +33 -261
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +10 -107
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +1384 -4113
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +4 -31
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +28 -261
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/certificates.js +2 -2
- package/dist/react-native/operations/certificates.js.map +1 -1
- package/dist/react-native/operations/connectedEnvironments.js +2 -2
- package/dist/react-native/operations/connectedEnvironments.js.map +1 -1
- package/dist/react-native/operations/connectedEnvironmentsCertificates.js +2 -2
- package/dist/react-native/operations/connectedEnvironmentsCertificates.js.map +1 -1
- package/dist/react-native/operations/connectedEnvironmentsDaprComponents.js +1 -1
- package/dist/react-native/operations/connectedEnvironmentsDaprComponents.js.map +1 -1
- package/dist/react-native/operations/connectedEnvironmentsStorages.js +1 -1
- package/dist/react-native/operations/connectedEnvironmentsStorages.js.map +1 -1
- package/dist/react-native/operations/containerApps.js +2 -2
- package/dist/react-native/operations/containerApps.js.map +1 -1
- package/dist/react-native/operations/containerAppsAuthConfigs.js +2 -2
- package/dist/react-native/operations/containerAppsAuthConfigs.js.map +1 -1
- package/dist/react-native/operations/containerAppsDiagnostics.js +2 -2
- package/dist/react-native/operations/containerAppsDiagnostics.js.map +1 -1
- package/dist/react-native/operations/containerAppsRevisions.js +1 -1
- package/dist/react-native/operations/containerAppsRevisions.js.map +1 -1
- package/dist/react-native/operations/containerAppsSessionPools.js +2 -2
- package/dist/react-native/operations/containerAppsSessionPools.js.map +1 -1
- package/dist/react-native/operations/containerAppsSourceControls.js +4 -12
- package/dist/react-native/operations/containerAppsSourceControls.js.map +1 -1
- package/dist/react-native/operations/daprComponents.js +1 -1
- package/dist/react-native/operations/daprComponents.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +0 -15
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +0 -15
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/javaComponents.js +6 -6
- package/dist/react-native/operations/javaComponents.js.map +1 -1
- package/dist/react-native/operations/jobs.d.ts +1 -29
- package/dist/react-native/operations/jobs.d.ts.map +1 -1
- package/dist/react-native/operations/jobs.js +3 -167
- package/dist/react-native/operations/jobs.js.map +1 -1
- package/dist/react-native/operations/managedCertificates.js +2 -2
- package/dist/react-native/operations/managedCertificates.js.map +1 -1
- package/dist/react-native/operations/managedEnvironments.js +2 -2
- package/dist/react-native/operations/managedEnvironments.js.map +1 -1
- package/dist/react-native/operations/managedEnvironmentsStorages.js +1 -1
- package/dist/react-native/operations/managedEnvironmentsStorages.js.map +1 -1
- package/dist/react-native/operations/namespaces.js +1 -1
- package/dist/react-native/operations/namespaces.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -15
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -15
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/jobs.d.ts +1 -29
- package/dist/react-native/operationsInterfaces/jobs.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/jobs.js.map +1 -1
- package/package.json +11 -9
- package/review/arm-appcontainers.api.md +99 -1626
- package/dist/browser/operations/appResiliencyOperations.d.ts +0 -72
- package/dist/browser/operations/appResiliencyOperations.d.ts.map +0 -1
- package/dist/browser/operations/appResiliencyOperations.js +0 -286
- package/dist/browser/operations/appResiliencyOperations.js.map +0 -1
- package/dist/browser/operations/buildAuthToken.d.ts +0 -21
- package/dist/browser/operations/buildAuthToken.d.ts.map +0 -1
- package/dist/browser/operations/buildAuthToken.js +0 -55
- package/dist/browser/operations/buildAuthToken.js.map +0 -1
- package/dist/browser/operations/builders.d.ts +0 -107
- package/dist/browser/operations/builders.d.ts.map +0 -1
- package/dist/browser/operations/builders.js +0 -542
- package/dist/browser/operations/builders.js.map +0 -1
- package/dist/browser/operations/builds.d.ts +0 -56
- package/dist/browser/operations/builds.d.ts.map +0 -1
- package/dist/browser/operations/builds.js +0 -237
- package/dist/browser/operations/builds.js.map +0 -1
- package/dist/browser/operations/buildsByBuilderResource.d.ts +0 -38
- package/dist/browser/operations/buildsByBuilderResource.d.ts.map +0 -1
- package/dist/browser/operations/buildsByBuilderResource.js +0 -150
- package/dist/browser/operations/buildsByBuilderResource.js.map +0 -1
- package/dist/browser/operations/containerAppsBuilds.d.ts +0 -38
- package/dist/browser/operations/containerAppsBuilds.d.ts.map +0 -1
- package/dist/browser/operations/containerAppsBuilds.js +0 -142
- package/dist/browser/operations/containerAppsBuilds.js.map +0 -1
- package/dist/browser/operations/containerAppsBuildsByContainerApp.d.ts +0 -38
- package/dist/browser/operations/containerAppsBuildsByContainerApp.d.ts.map +0 -1
- package/dist/browser/operations/containerAppsBuildsByContainerApp.js +0 -150
- package/dist/browser/operations/containerAppsBuildsByContainerApp.js.map +0 -1
- package/dist/browser/operations/containerAppsPatches.d.ts +0 -97
- package/dist/browser/operations/containerAppsPatches.d.ts.map +0 -1
- package/dist/browser/operations/containerAppsPatches.js +0 -449
- package/dist/browser/operations/containerAppsPatches.js.map +0 -1
- package/dist/browser/operations/daprComponentResiliencyPolicies.d.ts +0 -70
- package/dist/browser/operations/daprComponentResiliencyPolicies.d.ts.map +0 -1
- package/dist/browser/operations/daprComponentResiliencyPolicies.js +0 -270
- package/dist/browser/operations/daprComponentResiliencyPolicies.js.map +0 -1
- package/dist/browser/operations/daprSubscriptions.d.ts +0 -63
- package/dist/browser/operations/daprSubscriptions.d.ts.map +0 -1
- package/dist/browser/operations/daprSubscriptions.js +0 -257
- package/dist/browser/operations/daprSubscriptions.js.map +0 -1
- package/dist/browser/operations/dotNetComponents.d.ts +0 -99
- package/dist/browser/operations/dotNetComponents.d.ts.map +0 -1
- package/dist/browser/operations/dotNetComponents.js +0 -458
- package/dist/browser/operations/dotNetComponents.js.map +0 -1
- package/dist/browser/operations/functionsExtension.d.ts +0 -22
- package/dist/browser/operations/functionsExtension.d.ts.map +0 -1
- package/dist/browser/operations/functionsExtension.js +0 -63
- package/dist/browser/operations/functionsExtension.js.map +0 -1
- package/dist/browser/operations/logicApps.d.ts +0 -101
- package/dist/browser/operations/logicApps.d.ts.map +0 -1
- package/dist/browser/operations/logicApps.js +0 -407
- package/dist/browser/operations/logicApps.js.map +0 -1
- package/dist/browser/operations/managedEnvironmentPrivateEndpointConnections.d.ts +0 -86
- package/dist/browser/operations/managedEnvironmentPrivateEndpointConnections.d.ts.map +0 -1
- package/dist/browser/operations/managedEnvironmentPrivateEndpointConnections.js +0 -377
- package/dist/browser/operations/managedEnvironmentPrivateEndpointConnections.js.map +0 -1
- package/dist/browser/operations/managedEnvironmentPrivateLinkResources.d.ts +0 -38
- package/dist/browser/operations/managedEnvironmentPrivateLinkResources.d.ts.map +0 -1
- package/dist/browser/operations/managedEnvironmentPrivateLinkResources.js +0 -150
- package/dist/browser/operations/managedEnvironmentPrivateLinkResources.js.map +0 -1
- package/dist/browser/operationsInterfaces/appResiliencyOperations.d.ts +0 -47
- package/dist/browser/operationsInterfaces/appResiliencyOperations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/appResiliencyOperations.js +0 -9
- package/dist/browser/operationsInterfaces/appResiliencyOperations.js.map +0 -1
- package/dist/browser/operationsInterfaces/buildAuthToken.d.ts +0 -13
- package/dist/browser/operationsInterfaces/buildAuthToken.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/buildAuthToken.js +0 -9
- package/dist/browser/operationsInterfaces/buildAuthToken.js.map +0 -1
- package/dist/browser/operationsInterfaces/builders.d.ts +0 -71
- package/dist/browser/operationsInterfaces/builders.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/builders.js +0 -9
- package/dist/browser/operationsInterfaces/builders.js.map +0 -1
- package/dist/browser/operationsInterfaces/builds.d.ts +0 -48
- package/dist/browser/operationsInterfaces/builds.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/builds.js +0 -9
- package/dist/browser/operationsInterfaces/builds.js.map +0 -1
- package/dist/browser/operationsInterfaces/buildsByBuilderResource.d.ts +0 -13
- package/dist/browser/operationsInterfaces/buildsByBuilderResource.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/buildsByBuilderResource.js +0 -9
- package/dist/browser/operationsInterfaces/buildsByBuilderResource.js.map +0 -1
- package/dist/browser/operationsInterfaces/containerAppsBuilds.d.ts +0 -30
- package/dist/browser/operationsInterfaces/containerAppsBuilds.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/containerAppsBuilds.js +0 -9
- package/dist/browser/operationsInterfaces/containerAppsBuilds.js.map +0 -1
- package/dist/browser/operationsInterfaces/containerAppsBuildsByContainerApp.d.ts +0 -13
- package/dist/browser/operationsInterfaces/containerAppsBuildsByContainerApp.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/containerAppsBuildsByContainerApp.js +0 -9
- package/dist/browser/operationsInterfaces/containerAppsBuildsByContainerApp.js.map +0 -1
- package/dist/browser/operationsInterfaces/containerAppsPatches.d.ts +0 -72
- package/dist/browser/operationsInterfaces/containerAppsPatches.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/containerAppsPatches.js +0 -9
- package/dist/browser/operationsInterfaces/containerAppsPatches.js.map +0 -1
- package/dist/browser/operationsInterfaces/daprComponentResiliencyPolicies.d.ts +0 -43
- package/dist/browser/operationsInterfaces/daprComponentResiliencyPolicies.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/daprComponentResiliencyPolicies.js +0 -9
- package/dist/browser/operationsInterfaces/daprComponentResiliencyPolicies.js.map +0 -1
- package/dist/browser/operationsInterfaces/daprSubscriptions.d.ts +0 -38
- package/dist/browser/operationsInterfaces/daprSubscriptions.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/daprSubscriptions.js +0 -9
- package/dist/browser/operationsInterfaces/daprSubscriptions.js.map +0 -1
- package/dist/browser/operationsInterfaces/dotNetComponents.d.ts +0 -74
- package/dist/browser/operationsInterfaces/dotNetComponents.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/dotNetComponents.js +0 -9
- package/dist/browser/operationsInterfaces/dotNetComponents.js.map +0 -1
- package/dist/browser/operationsInterfaces/functionsExtension.d.ts +0 -14
- package/dist/browser/operationsInterfaces/functionsExtension.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/functionsExtension.js +0 -9
- package/dist/browser/operationsInterfaces/functionsExtension.js.map +0 -1
- package/dist/browser/operationsInterfaces/logicApps.d.ts +0 -74
- package/dist/browser/operationsInterfaces/logicApps.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/logicApps.js +0 -9
- package/dist/browser/operationsInterfaces/logicApps.js.map +0 -1
- package/dist/browser/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.d.ts +0 -61
- package/dist/browser/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.js +0 -9
- package/dist/browser/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.js.map +0 -1
- package/dist/browser/operationsInterfaces/managedEnvironmentPrivateLinkResources.d.ts +0 -13
- package/dist/browser/operationsInterfaces/managedEnvironmentPrivateLinkResources.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/managedEnvironmentPrivateLinkResources.js +0 -9
- package/dist/browser/operationsInterfaces/managedEnvironmentPrivateLinkResources.js.map +0 -1
- package/dist/commonjs/operations/appResiliencyOperations.d.ts +0 -72
- package/dist/commonjs/operations/appResiliencyOperations.d.ts.map +0 -1
- package/dist/commonjs/operations/appResiliencyOperations.js +0 -290
- package/dist/commonjs/operations/appResiliencyOperations.js.map +0 -1
- package/dist/commonjs/operations/buildAuthToken.d.ts +0 -21
- package/dist/commonjs/operations/buildAuthToken.d.ts.map +0 -1
- package/dist/commonjs/operations/buildAuthToken.js +0 -60
- package/dist/commonjs/operations/buildAuthToken.js.map +0 -1
- package/dist/commonjs/operations/builders.d.ts +0 -107
- package/dist/commonjs/operations/builders.d.ts.map +0 -1
- package/dist/commonjs/operations/builders.js +0 -546
- package/dist/commonjs/operations/builders.js.map +0 -1
- package/dist/commonjs/operations/builds.d.ts +0 -56
- package/dist/commonjs/operations/builds.d.ts.map +0 -1
- package/dist/commonjs/operations/builds.js +0 -242
- package/dist/commonjs/operations/builds.js.map +0 -1
- package/dist/commonjs/operations/buildsByBuilderResource.d.ts +0 -38
- package/dist/commonjs/operations/buildsByBuilderResource.d.ts.map +0 -1
- package/dist/commonjs/operations/buildsByBuilderResource.js +0 -154
- package/dist/commonjs/operations/buildsByBuilderResource.js.map +0 -1
- package/dist/commonjs/operations/containerAppsBuilds.d.ts +0 -38
- package/dist/commonjs/operations/containerAppsBuilds.d.ts.map +0 -1
- package/dist/commonjs/operations/containerAppsBuilds.js +0 -147
- package/dist/commonjs/operations/containerAppsBuilds.js.map +0 -1
- package/dist/commonjs/operations/containerAppsBuildsByContainerApp.d.ts +0 -38
- package/dist/commonjs/operations/containerAppsBuildsByContainerApp.d.ts.map +0 -1
- package/dist/commonjs/operations/containerAppsBuildsByContainerApp.js +0 -154
- package/dist/commonjs/operations/containerAppsBuildsByContainerApp.js.map +0 -1
- package/dist/commonjs/operations/containerAppsPatches.d.ts +0 -97
- package/dist/commonjs/operations/containerAppsPatches.d.ts.map +0 -1
- package/dist/commonjs/operations/containerAppsPatches.js +0 -453
- package/dist/commonjs/operations/containerAppsPatches.js.map +0 -1
- package/dist/commonjs/operations/daprComponentResiliencyPolicies.d.ts +0 -70
- package/dist/commonjs/operations/daprComponentResiliencyPolicies.d.ts.map +0 -1
- package/dist/commonjs/operations/daprComponentResiliencyPolicies.js +0 -274
- package/dist/commonjs/operations/daprComponentResiliencyPolicies.js.map +0 -1
- package/dist/commonjs/operations/daprSubscriptions.d.ts +0 -63
- package/dist/commonjs/operations/daprSubscriptions.d.ts.map +0 -1
- package/dist/commonjs/operations/daprSubscriptions.js +0 -261
- package/dist/commonjs/operations/daprSubscriptions.js.map +0 -1
- package/dist/commonjs/operations/dotNetComponents.d.ts +0 -99
- package/dist/commonjs/operations/dotNetComponents.d.ts.map +0 -1
- package/dist/commonjs/operations/dotNetComponents.js +0 -462
- package/dist/commonjs/operations/dotNetComponents.js.map +0 -1
- package/dist/commonjs/operations/functionsExtension.d.ts +0 -22
- package/dist/commonjs/operations/functionsExtension.d.ts.map +0 -1
- package/dist/commonjs/operations/functionsExtension.js +0 -68
- package/dist/commonjs/operations/functionsExtension.js.map +0 -1
- package/dist/commonjs/operations/logicApps.d.ts +0 -101
- package/dist/commonjs/operations/logicApps.d.ts.map +0 -1
- package/dist/commonjs/operations/logicApps.js +0 -411
- package/dist/commonjs/operations/logicApps.js.map +0 -1
- package/dist/commonjs/operations/managedEnvironmentPrivateEndpointConnections.d.ts +0 -86
- package/dist/commonjs/operations/managedEnvironmentPrivateEndpointConnections.d.ts.map +0 -1
- package/dist/commonjs/operations/managedEnvironmentPrivateEndpointConnections.js +0 -381
- package/dist/commonjs/operations/managedEnvironmentPrivateEndpointConnections.js.map +0 -1
- package/dist/commonjs/operations/managedEnvironmentPrivateLinkResources.d.ts +0 -38
- package/dist/commonjs/operations/managedEnvironmentPrivateLinkResources.d.ts.map +0 -1
- package/dist/commonjs/operations/managedEnvironmentPrivateLinkResources.js +0 -154
- package/dist/commonjs/operations/managedEnvironmentPrivateLinkResources.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/appResiliencyOperations.d.ts +0 -47
- package/dist/commonjs/operationsInterfaces/appResiliencyOperations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/appResiliencyOperations.js +0 -10
- package/dist/commonjs/operationsInterfaces/appResiliencyOperations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/buildAuthToken.d.ts +0 -13
- package/dist/commonjs/operationsInterfaces/buildAuthToken.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/buildAuthToken.js +0 -10
- package/dist/commonjs/operationsInterfaces/buildAuthToken.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/builders.d.ts +0 -71
- package/dist/commonjs/operationsInterfaces/builders.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/builders.js +0 -10
- package/dist/commonjs/operationsInterfaces/builders.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/builds.d.ts +0 -48
- package/dist/commonjs/operationsInterfaces/builds.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/builds.js +0 -10
- package/dist/commonjs/operationsInterfaces/builds.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/buildsByBuilderResource.d.ts +0 -13
- package/dist/commonjs/operationsInterfaces/buildsByBuilderResource.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/buildsByBuilderResource.js +0 -10
- package/dist/commonjs/operationsInterfaces/buildsByBuilderResource.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/containerAppsBuilds.d.ts +0 -30
- package/dist/commonjs/operationsInterfaces/containerAppsBuilds.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/containerAppsBuilds.js +0 -10
- package/dist/commonjs/operationsInterfaces/containerAppsBuilds.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/containerAppsBuildsByContainerApp.d.ts +0 -13
- package/dist/commonjs/operationsInterfaces/containerAppsBuildsByContainerApp.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/containerAppsBuildsByContainerApp.js +0 -10
- package/dist/commonjs/operationsInterfaces/containerAppsBuildsByContainerApp.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/containerAppsPatches.d.ts +0 -72
- package/dist/commonjs/operationsInterfaces/containerAppsPatches.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/containerAppsPatches.js +0 -10
- package/dist/commonjs/operationsInterfaces/containerAppsPatches.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/daprComponentResiliencyPolicies.d.ts +0 -43
- package/dist/commonjs/operationsInterfaces/daprComponentResiliencyPolicies.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/daprComponentResiliencyPolicies.js +0 -10
- package/dist/commonjs/operationsInterfaces/daprComponentResiliencyPolicies.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/daprSubscriptions.d.ts +0 -38
- package/dist/commonjs/operationsInterfaces/daprSubscriptions.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/daprSubscriptions.js +0 -10
- package/dist/commonjs/operationsInterfaces/daprSubscriptions.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/dotNetComponents.d.ts +0 -74
- package/dist/commonjs/operationsInterfaces/dotNetComponents.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/dotNetComponents.js +0 -10
- package/dist/commonjs/operationsInterfaces/dotNetComponents.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/functionsExtension.d.ts +0 -14
- package/dist/commonjs/operationsInterfaces/functionsExtension.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/functionsExtension.js +0 -10
- package/dist/commonjs/operationsInterfaces/functionsExtension.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/logicApps.d.ts +0 -74
- package/dist/commonjs/operationsInterfaces/logicApps.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/logicApps.js +0 -10
- package/dist/commonjs/operationsInterfaces/logicApps.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.d.ts +0 -61
- package/dist/commonjs/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.js +0 -10
- package/dist/commonjs/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/managedEnvironmentPrivateLinkResources.d.ts +0 -13
- package/dist/commonjs/operationsInterfaces/managedEnvironmentPrivateLinkResources.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/managedEnvironmentPrivateLinkResources.js +0 -10
- package/dist/commonjs/operationsInterfaces/managedEnvironmentPrivateLinkResources.js.map +0 -1
- package/dist/esm/operations/appResiliencyOperations.d.ts +0 -72
- package/dist/esm/operations/appResiliencyOperations.d.ts.map +0 -1
- package/dist/esm/operations/appResiliencyOperations.js +0 -286
- package/dist/esm/operations/appResiliencyOperations.js.map +0 -1
- package/dist/esm/operations/buildAuthToken.d.ts +0 -21
- package/dist/esm/operations/buildAuthToken.d.ts.map +0 -1
- package/dist/esm/operations/buildAuthToken.js +0 -55
- package/dist/esm/operations/buildAuthToken.js.map +0 -1
- package/dist/esm/operations/builders.d.ts +0 -107
- package/dist/esm/operations/builders.d.ts.map +0 -1
- package/dist/esm/operations/builders.js +0 -542
- package/dist/esm/operations/builders.js.map +0 -1
- package/dist/esm/operations/builds.d.ts +0 -56
- package/dist/esm/operations/builds.d.ts.map +0 -1
- package/dist/esm/operations/builds.js +0 -237
- package/dist/esm/operations/builds.js.map +0 -1
- package/dist/esm/operations/buildsByBuilderResource.d.ts +0 -38
- package/dist/esm/operations/buildsByBuilderResource.d.ts.map +0 -1
- package/dist/esm/operations/buildsByBuilderResource.js +0 -150
- package/dist/esm/operations/buildsByBuilderResource.js.map +0 -1
- package/dist/esm/operations/containerAppsBuilds.d.ts +0 -38
- package/dist/esm/operations/containerAppsBuilds.d.ts.map +0 -1
- package/dist/esm/operations/containerAppsBuilds.js +0 -142
- package/dist/esm/operations/containerAppsBuilds.js.map +0 -1
- package/dist/esm/operations/containerAppsBuildsByContainerApp.d.ts +0 -38
- package/dist/esm/operations/containerAppsBuildsByContainerApp.d.ts.map +0 -1
- package/dist/esm/operations/containerAppsBuildsByContainerApp.js +0 -150
- package/dist/esm/operations/containerAppsBuildsByContainerApp.js.map +0 -1
- package/dist/esm/operations/containerAppsPatches.d.ts +0 -97
- package/dist/esm/operations/containerAppsPatches.d.ts.map +0 -1
- package/dist/esm/operations/containerAppsPatches.js +0 -449
- package/dist/esm/operations/containerAppsPatches.js.map +0 -1
- package/dist/esm/operations/daprComponentResiliencyPolicies.d.ts +0 -70
- package/dist/esm/operations/daprComponentResiliencyPolicies.d.ts.map +0 -1
- package/dist/esm/operations/daprComponentResiliencyPolicies.js +0 -270
- package/dist/esm/operations/daprComponentResiliencyPolicies.js.map +0 -1
- package/dist/esm/operations/daprSubscriptions.d.ts +0 -63
- package/dist/esm/operations/daprSubscriptions.d.ts.map +0 -1
- package/dist/esm/operations/daprSubscriptions.js +0 -257
- package/dist/esm/operations/daprSubscriptions.js.map +0 -1
- package/dist/esm/operations/dotNetComponents.d.ts +0 -99
- package/dist/esm/operations/dotNetComponents.d.ts.map +0 -1
- package/dist/esm/operations/dotNetComponents.js +0 -458
- package/dist/esm/operations/dotNetComponents.js.map +0 -1
- package/dist/esm/operations/functionsExtension.d.ts +0 -22
- package/dist/esm/operations/functionsExtension.d.ts.map +0 -1
- package/dist/esm/operations/functionsExtension.js +0 -63
- package/dist/esm/operations/functionsExtension.js.map +0 -1
- package/dist/esm/operations/logicApps.d.ts +0 -101
- package/dist/esm/operations/logicApps.d.ts.map +0 -1
- package/dist/esm/operations/logicApps.js +0 -407
- package/dist/esm/operations/logicApps.js.map +0 -1
- package/dist/esm/operations/managedEnvironmentPrivateEndpointConnections.d.ts +0 -86
- package/dist/esm/operations/managedEnvironmentPrivateEndpointConnections.d.ts.map +0 -1
- package/dist/esm/operations/managedEnvironmentPrivateEndpointConnections.js +0 -377
- package/dist/esm/operations/managedEnvironmentPrivateEndpointConnections.js.map +0 -1
- package/dist/esm/operations/managedEnvironmentPrivateLinkResources.d.ts +0 -38
- package/dist/esm/operations/managedEnvironmentPrivateLinkResources.d.ts.map +0 -1
- package/dist/esm/operations/managedEnvironmentPrivateLinkResources.js +0 -150
- package/dist/esm/operations/managedEnvironmentPrivateLinkResources.js.map +0 -1
- package/dist/esm/operationsInterfaces/appResiliencyOperations.d.ts +0 -47
- package/dist/esm/operationsInterfaces/appResiliencyOperations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/appResiliencyOperations.js +0 -9
- package/dist/esm/operationsInterfaces/appResiliencyOperations.js.map +0 -1
- package/dist/esm/operationsInterfaces/buildAuthToken.d.ts +0 -13
- package/dist/esm/operationsInterfaces/buildAuthToken.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/buildAuthToken.js +0 -9
- package/dist/esm/operationsInterfaces/buildAuthToken.js.map +0 -1
- package/dist/esm/operationsInterfaces/builders.d.ts +0 -71
- package/dist/esm/operationsInterfaces/builders.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/builders.js +0 -9
- package/dist/esm/operationsInterfaces/builders.js.map +0 -1
- package/dist/esm/operationsInterfaces/builds.d.ts +0 -48
- package/dist/esm/operationsInterfaces/builds.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/builds.js +0 -9
- package/dist/esm/operationsInterfaces/builds.js.map +0 -1
- package/dist/esm/operationsInterfaces/buildsByBuilderResource.d.ts +0 -13
- package/dist/esm/operationsInterfaces/buildsByBuilderResource.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/buildsByBuilderResource.js +0 -9
- package/dist/esm/operationsInterfaces/buildsByBuilderResource.js.map +0 -1
- package/dist/esm/operationsInterfaces/containerAppsBuilds.d.ts +0 -30
- package/dist/esm/operationsInterfaces/containerAppsBuilds.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/containerAppsBuilds.js +0 -9
- package/dist/esm/operationsInterfaces/containerAppsBuilds.js.map +0 -1
- package/dist/esm/operationsInterfaces/containerAppsBuildsByContainerApp.d.ts +0 -13
- package/dist/esm/operationsInterfaces/containerAppsBuildsByContainerApp.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/containerAppsBuildsByContainerApp.js +0 -9
- package/dist/esm/operationsInterfaces/containerAppsBuildsByContainerApp.js.map +0 -1
- package/dist/esm/operationsInterfaces/containerAppsPatches.d.ts +0 -72
- package/dist/esm/operationsInterfaces/containerAppsPatches.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/containerAppsPatches.js +0 -9
- package/dist/esm/operationsInterfaces/containerAppsPatches.js.map +0 -1
- package/dist/esm/operationsInterfaces/daprComponentResiliencyPolicies.d.ts +0 -43
- package/dist/esm/operationsInterfaces/daprComponentResiliencyPolicies.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/daprComponentResiliencyPolicies.js +0 -9
- package/dist/esm/operationsInterfaces/daprComponentResiliencyPolicies.js.map +0 -1
- package/dist/esm/operationsInterfaces/daprSubscriptions.d.ts +0 -38
- package/dist/esm/operationsInterfaces/daprSubscriptions.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/daprSubscriptions.js +0 -9
- package/dist/esm/operationsInterfaces/daprSubscriptions.js.map +0 -1
- package/dist/esm/operationsInterfaces/dotNetComponents.d.ts +0 -74
- package/dist/esm/operationsInterfaces/dotNetComponents.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/dotNetComponents.js +0 -9
- package/dist/esm/operationsInterfaces/dotNetComponents.js.map +0 -1
- package/dist/esm/operationsInterfaces/functionsExtension.d.ts +0 -14
- package/dist/esm/operationsInterfaces/functionsExtension.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/functionsExtension.js +0 -9
- package/dist/esm/operationsInterfaces/functionsExtension.js.map +0 -1
- package/dist/esm/operationsInterfaces/logicApps.d.ts +0 -74
- package/dist/esm/operationsInterfaces/logicApps.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/logicApps.js +0 -9
- package/dist/esm/operationsInterfaces/logicApps.js.map +0 -1
- package/dist/esm/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.d.ts +0 -61
- package/dist/esm/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.js +0 -9
- package/dist/esm/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.js.map +0 -1
- package/dist/esm/operationsInterfaces/managedEnvironmentPrivateLinkResources.d.ts +0 -13
- package/dist/esm/operationsInterfaces/managedEnvironmentPrivateLinkResources.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/managedEnvironmentPrivateLinkResources.js +0 -9
- package/dist/esm/operationsInterfaces/managedEnvironmentPrivateLinkResources.js.map +0 -1
- package/dist/react-native/operations/appResiliencyOperations.d.ts +0 -72
- package/dist/react-native/operations/appResiliencyOperations.d.ts.map +0 -1
- package/dist/react-native/operations/appResiliencyOperations.js +0 -286
- package/dist/react-native/operations/appResiliencyOperations.js.map +0 -1
- package/dist/react-native/operations/buildAuthToken.d.ts +0 -21
- package/dist/react-native/operations/buildAuthToken.d.ts.map +0 -1
- package/dist/react-native/operations/buildAuthToken.js +0 -55
- package/dist/react-native/operations/buildAuthToken.js.map +0 -1
- package/dist/react-native/operations/builders.d.ts +0 -107
- package/dist/react-native/operations/builders.d.ts.map +0 -1
- package/dist/react-native/operations/builders.js +0 -542
- package/dist/react-native/operations/builders.js.map +0 -1
- package/dist/react-native/operations/builds.d.ts +0 -56
- package/dist/react-native/operations/builds.d.ts.map +0 -1
- package/dist/react-native/operations/builds.js +0 -237
- package/dist/react-native/operations/builds.js.map +0 -1
- package/dist/react-native/operations/buildsByBuilderResource.d.ts +0 -38
- package/dist/react-native/operations/buildsByBuilderResource.d.ts.map +0 -1
- package/dist/react-native/operations/buildsByBuilderResource.js +0 -150
- package/dist/react-native/operations/buildsByBuilderResource.js.map +0 -1
- package/dist/react-native/operations/containerAppsBuilds.d.ts +0 -38
- package/dist/react-native/operations/containerAppsBuilds.d.ts.map +0 -1
- package/dist/react-native/operations/containerAppsBuilds.js +0 -142
- package/dist/react-native/operations/containerAppsBuilds.js.map +0 -1
- package/dist/react-native/operations/containerAppsBuildsByContainerApp.d.ts +0 -38
- package/dist/react-native/operations/containerAppsBuildsByContainerApp.d.ts.map +0 -1
- package/dist/react-native/operations/containerAppsBuildsByContainerApp.js +0 -150
- package/dist/react-native/operations/containerAppsBuildsByContainerApp.js.map +0 -1
- package/dist/react-native/operations/containerAppsPatches.d.ts +0 -97
- package/dist/react-native/operations/containerAppsPatches.d.ts.map +0 -1
- package/dist/react-native/operations/containerAppsPatches.js +0 -449
- package/dist/react-native/operations/containerAppsPatches.js.map +0 -1
- package/dist/react-native/operations/daprComponentResiliencyPolicies.d.ts +0 -70
- package/dist/react-native/operations/daprComponentResiliencyPolicies.d.ts.map +0 -1
- package/dist/react-native/operations/daprComponentResiliencyPolicies.js +0 -270
- package/dist/react-native/operations/daprComponentResiliencyPolicies.js.map +0 -1
- package/dist/react-native/operations/daprSubscriptions.d.ts +0 -63
- package/dist/react-native/operations/daprSubscriptions.d.ts.map +0 -1
- package/dist/react-native/operations/daprSubscriptions.js +0 -257
- package/dist/react-native/operations/daprSubscriptions.js.map +0 -1
- package/dist/react-native/operations/dotNetComponents.d.ts +0 -99
- package/dist/react-native/operations/dotNetComponents.d.ts.map +0 -1
- package/dist/react-native/operations/dotNetComponents.js +0 -458
- package/dist/react-native/operations/dotNetComponents.js.map +0 -1
- package/dist/react-native/operations/functionsExtension.d.ts +0 -22
- package/dist/react-native/operations/functionsExtension.d.ts.map +0 -1
- package/dist/react-native/operations/functionsExtension.js +0 -63
- package/dist/react-native/operations/functionsExtension.js.map +0 -1
- package/dist/react-native/operations/logicApps.d.ts +0 -101
- package/dist/react-native/operations/logicApps.d.ts.map +0 -1
- package/dist/react-native/operations/logicApps.js +0 -407
- package/dist/react-native/operations/logicApps.js.map +0 -1
- package/dist/react-native/operations/managedEnvironmentPrivateEndpointConnections.d.ts +0 -86
- package/dist/react-native/operations/managedEnvironmentPrivateEndpointConnections.d.ts.map +0 -1
- package/dist/react-native/operations/managedEnvironmentPrivateEndpointConnections.js +0 -377
- package/dist/react-native/operations/managedEnvironmentPrivateEndpointConnections.js.map +0 -1
- package/dist/react-native/operations/managedEnvironmentPrivateLinkResources.d.ts +0 -38
- package/dist/react-native/operations/managedEnvironmentPrivateLinkResources.d.ts.map +0 -1
- package/dist/react-native/operations/managedEnvironmentPrivateLinkResources.js +0 -150
- package/dist/react-native/operations/managedEnvironmentPrivateLinkResources.js.map +0 -1
- package/dist/react-native/operationsInterfaces/appResiliencyOperations.d.ts +0 -47
- package/dist/react-native/operationsInterfaces/appResiliencyOperations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/appResiliencyOperations.js +0 -9
- package/dist/react-native/operationsInterfaces/appResiliencyOperations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/buildAuthToken.d.ts +0 -13
- package/dist/react-native/operationsInterfaces/buildAuthToken.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/buildAuthToken.js +0 -9
- package/dist/react-native/operationsInterfaces/buildAuthToken.js.map +0 -1
- package/dist/react-native/operationsInterfaces/builders.d.ts +0 -71
- package/dist/react-native/operationsInterfaces/builders.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/builders.js +0 -9
- package/dist/react-native/operationsInterfaces/builders.js.map +0 -1
- package/dist/react-native/operationsInterfaces/builds.d.ts +0 -48
- package/dist/react-native/operationsInterfaces/builds.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/builds.js +0 -9
- package/dist/react-native/operationsInterfaces/builds.js.map +0 -1
- package/dist/react-native/operationsInterfaces/buildsByBuilderResource.d.ts +0 -13
- package/dist/react-native/operationsInterfaces/buildsByBuilderResource.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/buildsByBuilderResource.js +0 -9
- package/dist/react-native/operationsInterfaces/buildsByBuilderResource.js.map +0 -1
- package/dist/react-native/operationsInterfaces/containerAppsBuilds.d.ts +0 -30
- package/dist/react-native/operationsInterfaces/containerAppsBuilds.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/containerAppsBuilds.js +0 -9
- package/dist/react-native/operationsInterfaces/containerAppsBuilds.js.map +0 -1
- package/dist/react-native/operationsInterfaces/containerAppsBuildsByContainerApp.d.ts +0 -13
- package/dist/react-native/operationsInterfaces/containerAppsBuildsByContainerApp.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/containerAppsBuildsByContainerApp.js +0 -9
- package/dist/react-native/operationsInterfaces/containerAppsBuildsByContainerApp.js.map +0 -1
- package/dist/react-native/operationsInterfaces/containerAppsPatches.d.ts +0 -72
- package/dist/react-native/operationsInterfaces/containerAppsPatches.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/containerAppsPatches.js +0 -9
- package/dist/react-native/operationsInterfaces/containerAppsPatches.js.map +0 -1
- package/dist/react-native/operationsInterfaces/daprComponentResiliencyPolicies.d.ts +0 -43
- package/dist/react-native/operationsInterfaces/daprComponentResiliencyPolicies.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/daprComponentResiliencyPolicies.js +0 -9
- package/dist/react-native/operationsInterfaces/daprComponentResiliencyPolicies.js.map +0 -1
- package/dist/react-native/operationsInterfaces/daprSubscriptions.d.ts +0 -38
- package/dist/react-native/operationsInterfaces/daprSubscriptions.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/daprSubscriptions.js +0 -9
- package/dist/react-native/operationsInterfaces/daprSubscriptions.js.map +0 -1
- package/dist/react-native/operationsInterfaces/dotNetComponents.d.ts +0 -74
- package/dist/react-native/operationsInterfaces/dotNetComponents.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/dotNetComponents.js +0 -9
- package/dist/react-native/operationsInterfaces/dotNetComponents.js.map +0 -1
- package/dist/react-native/operationsInterfaces/functionsExtension.d.ts +0 -14
- package/dist/react-native/operationsInterfaces/functionsExtension.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/functionsExtension.js +0 -9
- package/dist/react-native/operationsInterfaces/functionsExtension.js.map +0 -1
- package/dist/react-native/operationsInterfaces/logicApps.d.ts +0 -74
- package/dist/react-native/operationsInterfaces/logicApps.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/logicApps.js +0 -9
- package/dist/react-native/operationsInterfaces/logicApps.js.map +0 -1
- package/dist/react-native/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.d.ts +0 -61
- package/dist/react-native/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.js +0 -9
- package/dist/react-native/operationsInterfaces/managedEnvironmentPrivateEndpointConnections.js.map +0 -1
- package/dist/react-native/operationsInterfaces/managedEnvironmentPrivateLinkResources.d.ts +0 -13
- package/dist/react-native/operationsInterfaces/managedEnvironmentPrivateLinkResources.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/managedEnvironmentPrivateLinkResources.js +0 -9
- package/dist/react-native/operationsInterfaces/managedEnvironmentPrivateLinkResources.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"certificates.js","sourceRoot":"","sources":["../../../src/operations/certificates.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAkBtD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAM,OAAO,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,eAAuB,EACvB,OAAwC;QAExC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,eAAe,EACf,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB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BAAiB;QAC5B,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,iKAAiK;IACvK,UAAU,EAAE,OAAO;IACnB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,oBAAoB;IAC5C,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,eAAe;QAC1B,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Certificates } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport {\n Certificate,\n CertificatesListNextOptionalParams,\n CertificatesListOptionalParams,\n CertificatesListResponse,\n CertificatesGetOptionalParams,\n CertificatesGetResponse,\n CertificatesCreateOrUpdateOptionalParams,\n CertificatesCreateOrUpdateResponse,\n CertificatesDeleteOptionalParams,\n CertificatePatch,\n CertificatesUpdateOptionalParams,\n CertificatesUpdateResponse,\n CertificatesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Certificates operations. */\nexport class CertificatesImpl implements Certificates {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class Certificates class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Certificates in a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n environmentName: string,\n options?: CertificatesListOptionalParams,\n ): PagedAsyncIterableIterator<Certificate> {\n const iter = this.listPagingAll(\n resourceGroupName,\n environmentName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n environmentName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n environmentName: string,\n options?: CertificatesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Certificate[]> {\n let result: CertificatesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, environmentName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n environmentName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n environmentName: string,\n options?: CertificatesListOptionalParams,\n ): AsyncIterableIterator<Certificate> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n environmentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Certificates in a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n environmentName: string,\n options?: CertificatesListOptionalParams,\n ): Promise<CertificatesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get the specified Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n certificateName: string,\n options?: CertificatesGetOptionalParams,\n ): Promise<CertificatesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, certificateName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or Update a Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n certificateName: string,\n options?: CertificatesCreateOrUpdateOptionalParams,\n ): Promise<CertificatesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, certificateName, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes the specified Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n environmentName: string,\n certificateName: string,\n options?: CertificatesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, certificateName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Patches a certificate. Currently only patching of tags is supported\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param certificateName Name of the Certificate.\n * @param certificateEnvelope Properties of a certificate that need to be updated\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n environmentName: string,\n certificateName: string,\n certificateEnvelope: CertificatePatch,\n options?: CertificatesUpdateOptionalParams,\n ): Promise<CertificatesUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n certificateName,\n certificateEnvelope,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n environmentName: string,\n nextLink: string,\n options?: CertificatesListNextOptionalParams,\n ): Promise<CertificatesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CertificateCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.certificateName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.certificateEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.certificateName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.certificateName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.certificateEnvelope1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.certificateName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CertificateCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"certificates.js","sourceRoot":"","sources":["../../../src/operations/certificates.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAkBtD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAM,OAAO,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MA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aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Certificates } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport {\n Certificate,\n CertificatesListNextOptionalParams,\n CertificatesListOptionalParams,\n CertificatesListResponse,\n CertificatesGetOptionalParams,\n CertificatesGetResponse,\n CertificatesCreateOrUpdateOptionalParams,\n CertificatesCreateOrUpdateResponse,\n CertificatesDeleteOptionalParams,\n CertificatePatch,\n CertificatesUpdateOptionalParams,\n CertificatesUpdateResponse,\n CertificatesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Certificates operations. */\nexport class CertificatesImpl implements Certificates {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class Certificates class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Certificates in a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n environmentName: string,\n options?: CertificatesListOptionalParams,\n ): PagedAsyncIterableIterator<Certificate> {\n const iter = this.listPagingAll(\n resourceGroupName,\n environmentName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n environmentName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n environmentName: string,\n options?: CertificatesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Certificate[]> {\n let result: CertificatesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, environmentName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n environmentName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n environmentName: string,\n options?: CertificatesListOptionalParams,\n ): AsyncIterableIterator<Certificate> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n environmentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Certificates in a given managed environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n environmentName: string,\n options?: CertificatesListOptionalParams,\n ): Promise<CertificatesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get the specified Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n certificateName: string,\n options?: CertificatesGetOptionalParams,\n ): Promise<CertificatesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, certificateName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or Update a Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n environmentName: string,\n certificateName: string,\n options?: CertificatesCreateOrUpdateOptionalParams,\n ): Promise<CertificatesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, certificateName, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes the specified Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n environmentName: string,\n certificateName: string,\n options?: CertificatesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, certificateName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Patches a certificate. Currently only patching of tags is supported\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param certificateName Name of the Certificate.\n * @param certificateEnvelope Properties of a certificate that need to be updated\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n environmentName: string,\n certificateName: string,\n certificateEnvelope: CertificatePatch,\n options?: CertificatesUpdateOptionalParams,\n ): Promise<CertificatesUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n certificateName,\n certificateEnvelope,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param environmentName Name of the Managed Environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n environmentName: string,\n nextLink: string,\n options?: CertificatesListNextOptionalParams,\n ): Promise<CertificatesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CertificateCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.certificateName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.certificateEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.certificateName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.certificateName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/certificates/{certificateName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.certificateEnvelope1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.certificateName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CertificateCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -409,7 +409,7 @@ const createOrUpdateOperationSpec = {
|
|
|
409
409
|
Parameters.resourceGroupName,
|
|
410
410
|
Parameters.connectedEnvironmentName,
|
|
411
411
|
],
|
|
412
|
-
headerParameters: [Parameters.
|
|
412
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
413
413
|
mediaType: "json",
|
|
414
414
|
serializer,
|
|
415
415
|
};
|
|
@@ -475,7 +475,7 @@ const checkNameAvailabilityOperationSpec = {
|
|
|
475
475
|
Parameters.resourceGroupName,
|
|
476
476
|
Parameters.connectedEnvironmentName,
|
|
477
477
|
],
|
|
478
|
-
headerParameters: [Parameters.
|
|
478
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
479
479
|
mediaType: "json",
|
|
480
480
|
serializer,
|
|
481
481
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectedEnvironments.js","sourceRoot":"","sources":["../../../src/operations/connectedEnvironments.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAuB9C,4CAA4C;AAC5C,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IAGpC;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAA+D;QAE/D,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,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,CAAC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;SACzC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ConnectedEnvironments } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ConnectedEnvironment,\n ConnectedEnvironmentsListBySubscriptionNextOptionalParams,\n ConnectedEnvironmentsListBySubscriptionOptionalParams,\n ConnectedEnvironmentsListBySubscriptionResponse,\n ConnectedEnvironmentsListByResourceGroupNextOptionalParams,\n ConnectedEnvironmentsListByResourceGroupOptionalParams,\n ConnectedEnvironmentsListByResourceGroupResponse,\n ConnectedEnvironmentsGetOptionalParams,\n ConnectedEnvironmentsGetResponse,\n ConnectedEnvironmentsCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsCreateOrUpdateResponse,\n ConnectedEnvironmentsDeleteOptionalParams,\n ConnectedEnvironmentsUpdateOptionalParams,\n ConnectedEnvironmentsUpdateResponse,\n CheckNameAvailabilityRequest,\n ConnectedEnvironmentsCheckNameAvailabilityOptionalParams,\n ConnectedEnvironmentsCheckNameAvailabilityResponse,\n ConnectedEnvironmentsListBySubscriptionNextResponse,\n ConnectedEnvironmentsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ConnectedEnvironments operations. */\nexport class ConnectedEnvironmentsImpl implements ConnectedEnvironments {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironments class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get all connectedEnvironments for a subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ConnectedEnvironmentsListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<ConnectedEnvironment> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: ConnectedEnvironmentsListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ConnectedEnvironment[]> {\n let result: ConnectedEnvironmentsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: ConnectedEnvironmentsListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<ConnectedEnvironment> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get all connectedEnvironments in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ConnectedEnvironmentsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ConnectedEnvironment> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ConnectedEnvironmentsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ConnectedEnvironment[]> {\n let result: ConnectedEnvironmentsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ConnectedEnvironmentsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ConnectedEnvironment> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get all connectedEnvironments for a subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ConnectedEnvironmentsListBySubscriptionOptionalParams,\n ): Promise<ConnectedEnvironmentsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * Get all connectedEnvironments in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ConnectedEnvironmentsListByResourceGroupOptionalParams,\n ): Promise<ConnectedEnvironmentsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Get the properties of an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsGetOptionalParams,\n ): Promise<ConnectedEnvironmentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param environmentEnvelope Configuration details of the connectedEnvironment.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n environmentEnvelope: ConnectedEnvironment,\n options?: ConnectedEnvironmentsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ConnectedEnvironmentsCreateOrUpdateResponse>,\n ConnectedEnvironmentsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ConnectedEnvironmentsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n connectedEnvironmentName,\n environmentEnvelope,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ConnectedEnvironmentsCreateOrUpdateResponse,\n OperationState<ConnectedEnvironmentsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param environmentEnvelope Configuration details of the connectedEnvironment.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n environmentEnvelope: ConnectedEnvironment,\n options?: ConnectedEnvironmentsCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n connectedEnvironmentName,\n environmentEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, connectedEnvironmentName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Patches a Managed Environment. Only patching of tags is supported currently\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Checks if resource connectedEnvironmentName is available.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Managed Environment.\n * @param checkNameAvailabilityRequest The check connectedEnvironmentName availability request.\n * @param options The options parameters.\n */\n checkNameAvailability(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n checkNameAvailabilityRequest: CheckNameAvailabilityRequest,\n options?: ConnectedEnvironmentsCheckNameAvailabilityOptionalParams,\n ): Promise<ConnectedEnvironmentsCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n connectedEnvironmentName,\n checkNameAvailabilityRequest,\n options,\n },\n checkNameAvailabilityOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: ConnectedEnvironmentsListBySubscriptionNextOptionalParams,\n ): Promise<ConnectedEnvironmentsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ConnectedEnvironmentsListByResourceGroupNextOptionalParams,\n ): Promise<ConnectedEnvironmentsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.App/connectedEnvironments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n 201: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n 202: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n 204: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.environmentEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResponse,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.checkNameAvailabilityRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"connectedEnvironments.js","sourceRoot":"","sources":["../../../src/operations/connectedEnvironments.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAuB9C,4CAA4C;AAC5C,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IAGpC;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAA+D;QAE/D,MAAM,IAAI,GAAG,IAAI,CAAC,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,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ConnectedEnvironments } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ConnectedEnvironment,\n ConnectedEnvironmentsListBySubscriptionNextOptionalParams,\n ConnectedEnvironmentsListBySubscriptionOptionalParams,\n ConnectedEnvironmentsListBySubscriptionResponse,\n ConnectedEnvironmentsListByResourceGroupNextOptionalParams,\n ConnectedEnvironmentsListByResourceGroupOptionalParams,\n ConnectedEnvironmentsListByResourceGroupResponse,\n ConnectedEnvironmentsGetOptionalParams,\n ConnectedEnvironmentsGetResponse,\n ConnectedEnvironmentsCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsCreateOrUpdateResponse,\n ConnectedEnvironmentsDeleteOptionalParams,\n ConnectedEnvironmentsUpdateOptionalParams,\n ConnectedEnvironmentsUpdateResponse,\n CheckNameAvailabilityRequest,\n ConnectedEnvironmentsCheckNameAvailabilityOptionalParams,\n ConnectedEnvironmentsCheckNameAvailabilityResponse,\n ConnectedEnvironmentsListBySubscriptionNextResponse,\n ConnectedEnvironmentsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ConnectedEnvironments operations. */\nexport class ConnectedEnvironmentsImpl implements ConnectedEnvironments {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironments class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get all connectedEnvironments for a subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ConnectedEnvironmentsListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<ConnectedEnvironment> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: ConnectedEnvironmentsListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ConnectedEnvironment[]> {\n let result: ConnectedEnvironmentsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: ConnectedEnvironmentsListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<ConnectedEnvironment> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get all connectedEnvironments in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ConnectedEnvironmentsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ConnectedEnvironment> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ConnectedEnvironmentsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ConnectedEnvironment[]> {\n let result: ConnectedEnvironmentsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ConnectedEnvironmentsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ConnectedEnvironment> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get all connectedEnvironments for a subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ConnectedEnvironmentsListBySubscriptionOptionalParams,\n ): Promise<ConnectedEnvironmentsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * Get all connectedEnvironments in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ConnectedEnvironmentsListByResourceGroupOptionalParams,\n ): Promise<ConnectedEnvironmentsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Get the properties of an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsGetOptionalParams,\n ): Promise<ConnectedEnvironmentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param environmentEnvelope Configuration details of the connectedEnvironment.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n environmentEnvelope: ConnectedEnvironment,\n options?: ConnectedEnvironmentsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ConnectedEnvironmentsCreateOrUpdateResponse>,\n ConnectedEnvironmentsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ConnectedEnvironmentsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n connectedEnvironmentName,\n environmentEnvelope,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ConnectedEnvironmentsCreateOrUpdateResponse,\n OperationState<ConnectedEnvironmentsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param environmentEnvelope Configuration details of the connectedEnvironment.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n environmentEnvelope: ConnectedEnvironment,\n options?: ConnectedEnvironmentsCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n connectedEnvironmentName,\n environmentEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, connectedEnvironmentName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete an connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Patches a Managed Environment. Only patching of tags is supported currently\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connectedEnvironment.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Checks if resource connectedEnvironmentName is available.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Managed Environment.\n * @param checkNameAvailabilityRequest The check connectedEnvironmentName availability request.\n * @param options The options parameters.\n */\n checkNameAvailability(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n checkNameAvailabilityRequest: CheckNameAvailabilityRequest,\n options?: ConnectedEnvironmentsCheckNameAvailabilityOptionalParams,\n ): Promise<ConnectedEnvironmentsCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n connectedEnvironmentName,\n checkNameAvailabilityRequest,\n options,\n },\n checkNameAvailabilityOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: ConnectedEnvironmentsListBySubscriptionNextOptionalParams,\n ): Promise<ConnectedEnvironmentsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ConnectedEnvironmentsListByResourceGroupNextOptionalParams,\n ): Promise<ConnectedEnvironmentsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.App/connectedEnvironments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n 201: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n 202: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n 204: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.environmentEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironment,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResponse,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.checkNameAvailabilityRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -215,7 +215,7 @@ const createOrUpdateOperationSpec = {
|
|
|
215
215
|
Parameters.connectedEnvironmentName,
|
|
216
216
|
Parameters.certificateName,
|
|
217
217
|
],
|
|
218
|
-
headerParameters: [Parameters.
|
|
218
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
219
219
|
mediaType: "json",
|
|
220
220
|
serializer,
|
|
221
221
|
};
|
|
@@ -260,7 +260,7 @@ const updateOperationSpec = {
|
|
|
260
260
|
Parameters.connectedEnvironmentName,
|
|
261
261
|
Parameters.certificateName,
|
|
262
262
|
],
|
|
263
|
-
headerParameters: [Parameters.
|
|
263
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
264
264
|
mediaType: "json",
|
|
265
265
|
serializer,
|
|
266
266
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectedEnvironmentsCertificates.js","sourceRoot":"","sources":["../../../src/operations/connectedEnvironmentsCertificates.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAkBtD,4CAA4C;AAC5C,qEAAqE;AACrE,MAAM,OAAO,qCAAqC;IAKhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,wBAAgC,EAChC,OAA6D;QAE7D,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,wBAAwB,EACxB,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,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,wBAAwB,EACxB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,wBAAgC,EAChC,OAA6D,EAC7D,QAAuB;;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EAAE,UAAU,CAAC,oBAAoB;IAC5C,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,wBAAwB;QACnC,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,wBAAwB;KACpC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ConnectedEnvironmentsCertificates } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport {\n Certificate,\n ConnectedEnvironmentsCertificatesListNextOptionalParams,\n ConnectedEnvironmentsCertificatesListOptionalParams,\n ConnectedEnvironmentsCertificatesListResponse,\n ConnectedEnvironmentsCertificatesGetOptionalParams,\n ConnectedEnvironmentsCertificatesGetResponse,\n ConnectedEnvironmentsCertificatesCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsCertificatesCreateOrUpdateResponse,\n ConnectedEnvironmentsCertificatesDeleteOptionalParams,\n CertificatePatch,\n ConnectedEnvironmentsCertificatesUpdateOptionalParams,\n ConnectedEnvironmentsCertificatesUpdateResponse,\n ConnectedEnvironmentsCertificatesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ConnectedEnvironmentsCertificates operations. */\nexport class ConnectedEnvironmentsCertificatesImpl\n implements ConnectedEnvironmentsCertificates\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironmentsCertificates class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Certificates in a given connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsCertificatesListOptionalParams,\n ): PagedAsyncIterableIterator<Certificate> {\n const iter = this.listPagingAll(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsCertificatesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Certificate[]> {\n let result: ConnectedEnvironmentsCertificatesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n connectedEnvironmentName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsCertificatesListOptionalParams,\n ): AsyncIterableIterator<Certificate> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Certificates in a given connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsCertificatesListOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get the specified Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n certificateName: string,\n options?: ConnectedEnvironmentsCertificatesGetOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, certificateName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or Update a Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n certificateName: string,\n options?: ConnectedEnvironmentsCertificatesCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, certificateName, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes the specified Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n certificateName: string,\n options?: ConnectedEnvironmentsCertificatesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, certificateName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Patches a certificate. Currently only patching of tags is supported\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param certificateName Name of the Certificate.\n * @param certificateEnvelope Properties of a certificate that need to be updated\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n certificateName: string,\n certificateEnvelope: CertificatePatch,\n options?: ConnectedEnvironmentsCertificatesUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n connectedEnvironmentName,\n certificateName,\n certificateEnvelope,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n nextLink: string,\n options?: ConnectedEnvironmentsCertificatesListNextOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CertificateCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.certificateEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.certificateEnvelope1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CertificateCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"connectedEnvironmentsCertificates.js","sourceRoot":"","sources":["../../../src/operations/connectedEnvironmentsCertificates.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAkBtD,4CAA4C;AAC5C,qEAAqE;AACrE,MAAM,OAAO,qCAAqC;IAKhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,wBAAgC,EAChC,OAA6D;QAE7D,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,wBAAwB,EACxB,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,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,wBAAwB,EACxB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,wBAAgC,EAChC,OAA6D,EAC7D,QAAuB;;YAEvB,IAAI,MAAqD,CAAC;YAC1D,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACp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AK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,wBAAwB;QACnC,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,wBAAwB;KACpC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ConnectedEnvironmentsCertificates } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport {\n Certificate,\n ConnectedEnvironmentsCertificatesListNextOptionalParams,\n ConnectedEnvironmentsCertificatesListOptionalParams,\n ConnectedEnvironmentsCertificatesListResponse,\n ConnectedEnvironmentsCertificatesGetOptionalParams,\n ConnectedEnvironmentsCertificatesGetResponse,\n ConnectedEnvironmentsCertificatesCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsCertificatesCreateOrUpdateResponse,\n ConnectedEnvironmentsCertificatesDeleteOptionalParams,\n CertificatePatch,\n ConnectedEnvironmentsCertificatesUpdateOptionalParams,\n ConnectedEnvironmentsCertificatesUpdateResponse,\n ConnectedEnvironmentsCertificatesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ConnectedEnvironmentsCertificates operations. */\nexport class ConnectedEnvironmentsCertificatesImpl\n implements ConnectedEnvironmentsCertificates\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironmentsCertificates class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Certificates in a given connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsCertificatesListOptionalParams,\n ): PagedAsyncIterableIterator<Certificate> {\n const iter = this.listPagingAll(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsCertificatesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Certificate[]> {\n let result: ConnectedEnvironmentsCertificatesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n connectedEnvironmentName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsCertificatesListOptionalParams,\n ): AsyncIterableIterator<Certificate> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Certificates in a given connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsCertificatesListOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get the specified Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n certificateName: string,\n options?: ConnectedEnvironmentsCertificatesGetOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, certificateName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or Update a Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n certificateName: string,\n options?: ConnectedEnvironmentsCertificatesCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, certificateName, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Deletes the specified Certificate.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param certificateName Name of the Certificate.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n certificateName: string,\n options?: ConnectedEnvironmentsCertificatesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, certificateName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Patches a certificate. Currently only patching of tags is supported\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param certificateName Name of the Certificate.\n * @param certificateEnvelope Properties of a certificate that need to be updated\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n certificateName: string,\n certificateEnvelope: CertificatePatch,\n options?: ConnectedEnvironmentsCertificatesUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n connectedEnvironmentName,\n certificateName,\n certificateEnvelope,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Connected Environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n nextLink: string,\n options?: ConnectedEnvironmentsCertificatesListNextOptionalParams,\n ): Promise<ConnectedEnvironmentsCertificatesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CertificateCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.certificateEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/certificates/{certificateName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.certificateEnvelope1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CertificateCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -215,7 +215,7 @@ const createOrUpdateOperationSpec = {
|
|
|
215
215
|
Parameters.connectedEnvironmentName,
|
|
216
216
|
Parameters.componentName,
|
|
217
217
|
],
|
|
218
|
-
headerParameters: [Parameters.
|
|
218
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
219
219
|
mediaType: "json",
|
|
220
220
|
serializer,
|
|
221
221
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectedEnvironmentsDaprComponents.js","sourceRoot":"","sources":["../../../src/operations/connectedEnvironmentsDaprComponents.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAiBtD,4CAA4C;AAC5C,uEAAuE;AACvE,MAAM,OAAO,uCAAuC;IAKlD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,wBAAgC,EAChC,OAA+D;QAE/D,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,wBAAwB,EACxB,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,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,wBAAwB,EACxB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,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,OAAO,CAAC,oBAAoB;SACzC;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,wBAAwB;QACnC,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,wBAAwB;KACpC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ConnectedEnvironmentsDaprComponents } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport {\n DaprComponent,\n ConnectedEnvironmentsDaprComponentsListNextOptionalParams,\n ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ConnectedEnvironmentsDaprComponentsListResponse,\n ConnectedEnvironmentsDaprComponentsGetOptionalParams,\n ConnectedEnvironmentsDaprComponentsGetResponse,\n ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse,\n ConnectedEnvironmentsDaprComponentsDeleteOptionalParams,\n ConnectedEnvironmentsDaprComponentsListSecretsOptionalParams,\n ConnectedEnvironmentsDaprComponentsListSecretsResponse,\n ConnectedEnvironmentsDaprComponentsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ConnectedEnvironmentsDaprComponents operations. */\nexport class ConnectedEnvironmentsDaprComponentsImpl\n implements ConnectedEnvironmentsDaprComponents\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironmentsDaprComponents class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Dapr Components for a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): PagedAsyncIterableIterator<DaprComponent> {\n const iter = this.listPagingAll(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DaprComponent[]> {\n let result: ConnectedEnvironmentsDaprComponentsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n connectedEnvironmentName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): AsyncIterableIterator<DaprComponent> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Dapr Components for a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get a dapr component.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsGetOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, componentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates a Dapr Component in a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param daprComponentEnvelope Configuration details of the Dapr Component.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n daprComponentEnvelope: DaprComponent,\n options?: ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n connectedEnvironmentName,\n componentName,\n daprComponentEnvelope,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Delete a Dapr Component from a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, componentName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * List secrets for a dapr component\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n listSecrets(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListSecretsOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListSecretsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, componentName, options },\n listSecretsOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n nextLink: string,\n options?: ConnectedEnvironmentsDaprComponentsListNextOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponentsCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponent,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponent,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.daprComponentEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSecretsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}/listSecrets\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprSecretsCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponentsCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"connectedEnvironmentsDaprComponents.js","sourceRoot":"","sources":["../../../src/operations/connectedEnvironmentsDaprComponents.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAiBtD,4CAA4C;AAC5C,uEAAuE;AACvE,MAAM,OAAO,uCAAuC;IAKlD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,wBAAgC,EAChC,OAA+D;QAE/D,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,iBAAiB,EACjB,wBAAwB,EACxB,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,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,iBAAiB,EACjB,wBAAwB,EACxB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,wBAAgC,EAChC,OAA+D,EAC/D,QAAuB;;YAEvB,IAAI,MAAuD,CAAC;YAC5D,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAA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;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,wBAAwB;QACnC,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,wBAAwB;KACpC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ConnectedEnvironmentsDaprComponents } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport {\n DaprComponent,\n ConnectedEnvironmentsDaprComponentsListNextOptionalParams,\n ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ConnectedEnvironmentsDaprComponentsListResponse,\n ConnectedEnvironmentsDaprComponentsGetOptionalParams,\n ConnectedEnvironmentsDaprComponentsGetResponse,\n ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse,\n ConnectedEnvironmentsDaprComponentsDeleteOptionalParams,\n ConnectedEnvironmentsDaprComponentsListSecretsOptionalParams,\n ConnectedEnvironmentsDaprComponentsListSecretsResponse,\n ConnectedEnvironmentsDaprComponentsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ConnectedEnvironmentsDaprComponents operations. */\nexport class ConnectedEnvironmentsDaprComponentsImpl\n implements ConnectedEnvironmentsDaprComponents\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironmentsDaprComponents class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Dapr Components for a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): PagedAsyncIterableIterator<DaprComponent> {\n const iter = this.listPagingAll(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DaprComponent[]> {\n let result: ConnectedEnvironmentsDaprComponentsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n connectedEnvironmentName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): AsyncIterableIterator<DaprComponent> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n connectedEnvironmentName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Dapr Components for a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get a dapr component.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsGetOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, componentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates a Dapr Component in a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param daprComponentEnvelope Configuration details of the Dapr Component.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n daprComponentEnvelope: DaprComponent,\n options?: ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n connectedEnvironmentName,\n componentName,\n daprComponentEnvelope,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Delete a Dapr Component from a connected environment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, componentName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * List secrets for a dapr component\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n listSecrets(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n componentName: string,\n options?: ConnectedEnvironmentsDaprComponentsListSecretsOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListSecretsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, componentName, options },\n listSecretsOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the connected environment.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n nextLink: string,\n options?: ConnectedEnvironmentsDaprComponentsListNextOptionalParams,\n ): Promise<ConnectedEnvironmentsDaprComponentsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponentsCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponent,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponent,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.daprComponentEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSecretsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}/listSecrets\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprSecretsCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.componentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DaprComponentsCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -129,7 +129,7 @@ const createOrUpdateOperationSpec = {
|
|
|
129
129
|
Parameters.connectedEnvironmentName,
|
|
130
130
|
Parameters.storageName,
|
|
131
131
|
],
|
|
132
|
-
headerParameters: [Parameters.
|
|
132
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
133
133
|
mediaType: "json",
|
|
134
134
|
serializer,
|
|
135
135
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectedEnvironmentsStorages.js","sourceRoot":"","sources":["../../../src/operations/connectedEnvironmentsStorages.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAatD,iEAAiE;AACjE,MAAM,OAAO,iCAAiC;IAK5C;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,iBAAyB,EACzB,wBAAgC,EAChC,OAAyD;QAEzD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,OAAO,EAAE,EACxD,iBAAiB,CAClB,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,GAAG,CACD,iBAAyB,EACzB,wBAAgC,EAChC,WAAmB,EACnB,OAAwD;QAExD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,WAAW,EAAE,OAAO,EAAE,EACrE,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;;;;OAOG;IACH,cAAc,CACZ,iBAAyB,EACzB,wBAAgC,EAChC,WAAmB,EACnB,eAA4C,EAC5C,OAAmE;QAEnE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,wBAAwB;YACxB,WAAW;YACX,eAAe;YACf,OAAO;SACR,EACD,2BAA2B,CAC5B,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CACJ,iBAAyB,EACzB,wBAAgC,EACh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;CACX,CAAC;AACF,MAAM,2BAA2B,GAA6B;IAC5D,IAAI,EAAE,oKAAoK;IAC1K,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,2BAA2B;SAChD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,eAAe;IACvC,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,wBAAwB;QACnC,UAAU,CAAC,WAAW;KACvB;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,EAAE,oKAAoK;IAC1K,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;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,wBAAwB;QACnC,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { ConnectedEnvironmentsStorages } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport {\n ConnectedEnvironmentsStoragesListOptionalParams,\n ConnectedEnvironmentsStoragesListResponse,\n ConnectedEnvironmentsStoragesGetOptionalParams,\n ConnectedEnvironmentsStoragesGetResponse,\n ConnectedEnvironmentStorage,\n ConnectedEnvironmentsStoragesCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsStoragesCreateOrUpdateResponse,\n ConnectedEnvironmentsStoragesDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing ConnectedEnvironmentsStorages operations. */\nexport class ConnectedEnvironmentsStoragesImpl\n implements ConnectedEnvironmentsStorages\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironmentsStorages class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get all storages for a connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Environment.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsStoragesListOptionalParams,\n ): Promise<ConnectedEnvironmentsStoragesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get storage for a connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Environment.\n * @param storageName Name of the storage.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n storageName: string,\n options?: ConnectedEnvironmentsStoragesGetOptionalParams,\n ): Promise<ConnectedEnvironmentsStoragesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, storageName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update storage for a connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Environment.\n * @param storageName Name of the storage.\n * @param storageEnvelope Configuration details of storage.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n storageName: string,\n storageEnvelope: ConnectedEnvironmentStorage,\n options?: ConnectedEnvironmentsStoragesCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsStoragesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n connectedEnvironmentName,\n storageName,\n storageEnvelope,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Delete storage for a connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Environment.\n * @param storageName Name of the storage.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n storageName: string,\n options?: ConnectedEnvironmentsStoragesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, storageName, options },\n deleteOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentStoragesCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentStorage,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.storageName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentStorage,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.storageEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.storageName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.storageName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"connectedEnvironmentsStorages.js","sourceRoot":"","sources":["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AA2B;SAChD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,eAAe;IACvC,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,wBAAwB;QACnC,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,oKAAoK;IAC1K,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;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,wBAAwB;QACnC,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { ConnectedEnvironmentsStorages } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerAppsAPIClient } from \"../containerAppsAPIClient.js\";\nimport {\n ConnectedEnvironmentsStoragesListOptionalParams,\n ConnectedEnvironmentsStoragesListResponse,\n ConnectedEnvironmentsStoragesGetOptionalParams,\n ConnectedEnvironmentsStoragesGetResponse,\n ConnectedEnvironmentStorage,\n ConnectedEnvironmentsStoragesCreateOrUpdateOptionalParams,\n ConnectedEnvironmentsStoragesCreateOrUpdateResponse,\n ConnectedEnvironmentsStoragesDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing ConnectedEnvironmentsStorages operations. */\nexport class ConnectedEnvironmentsStoragesImpl\n implements ConnectedEnvironmentsStorages\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ConnectedEnvironmentsStorages class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get all storages for a connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Environment.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n options?: ConnectedEnvironmentsStoragesListOptionalParams,\n ): Promise<ConnectedEnvironmentsStoragesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get storage for a connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Environment.\n * @param storageName Name of the storage.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n storageName: string,\n options?: ConnectedEnvironmentsStoragesGetOptionalParams,\n ): Promise<ConnectedEnvironmentsStoragesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, storageName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update storage for a connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Environment.\n * @param storageName Name of the storage.\n * @param storageEnvelope Configuration details of storage.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n storageName: string,\n storageEnvelope: ConnectedEnvironmentStorage,\n options?: ConnectedEnvironmentsStoragesCreateOrUpdateOptionalParams,\n ): Promise<ConnectedEnvironmentsStoragesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n connectedEnvironmentName,\n storageName,\n storageEnvelope,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Delete storage for a connectedEnvironment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param connectedEnvironmentName Name of the Environment.\n * @param storageName Name of the storage.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n connectedEnvironmentName: string,\n storageName: string,\n options?: ConnectedEnvironmentsStoragesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, connectedEnvironmentName, storageName, options },\n deleteOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentStoragesCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentStorage,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.storageName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectedEnvironmentStorage,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.storageEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.storageName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/storages/{storageName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.connectedEnvironmentName,\n Parameters.storageName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -577,7 +577,7 @@ const createOrUpdateOperationSpec = {
|
|
|
577
577
|
Parameters.resourceGroupName,
|
|
578
578
|
Parameters.containerAppName,
|
|
579
579
|
],
|
|
580
|
-
headerParameters: [Parameters.
|
|
580
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
581
581
|
mediaType: "json",
|
|
582
582
|
serializer,
|
|
583
583
|
};
|
|
@@ -631,7 +631,7 @@ const updateOperationSpec = {
|
|
|
631
631
|
Parameters.resourceGroupName,
|
|
632
632
|
Parameters.containerAppName,
|
|
633
633
|
],
|
|
634
|
-
headerParameters: [Parameters.
|
|
634
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
635
635
|
mediaType: "json",
|
|
636
636
|
serializer,
|
|
637
637
|
};
|