@azure/arm-appcontainers 2.2.0-alpha.20250421.1 → 2.2.0-alpha.20250423.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +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":"containerAppsRevisions.js","sourceRoot":"","sources":["../../../src/operations/containerAppsRevisions.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAetD,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAa,0BAA0B;IAGrC;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,aAAa,CAClB,iBAAyB,EACzB,gBAAwB,EACxB,OAA2D;QAE3D,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,gBAAgB,EAChB,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,uBAA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AA4B,GAA6B;IAC7D,IAAI,EAAE,8JAA8J;IACpK,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,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,gBAAgB;QAC3B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;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,gBAAgB;KAC5B;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 { ContainerAppsRevisions } 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 Revision,\n ContainerAppsRevisionsListRevisionsNextOptionalParams,\n ContainerAppsRevisionsListRevisionsOptionalParams,\n ContainerAppsRevisionsListRevisionsResponse,\n ContainerAppsRevisionsGetRevisionOptionalParams,\n ContainerAppsRevisionsGetRevisionResponse,\n ContainerAppsRevisionsActivateRevisionOptionalParams,\n ContainerAppsRevisionsDeactivateRevisionOptionalParams,\n ContainerAppsRevisionsRestartRevisionOptionalParams,\n ContainerAppsRevisionsListRevisionsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ContainerAppsRevisions operations. */\nexport class ContainerAppsRevisionsImpl implements ContainerAppsRevisions {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ContainerAppsRevisions class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Revisions for a given Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App for which Revisions are needed.\n * @param options The options parameters.\n */\n public listRevisions(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsRevisionsListRevisionsOptionalParams,\n ): PagedAsyncIterableIterator<Revision> {\n const iter = this.listRevisionsPagingAll(\n resourceGroupName,\n containerAppName,\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.listRevisionsPagingPage(\n resourceGroupName,\n containerAppName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listRevisionsPagingPage(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsRevisionsListRevisionsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Revision[]> {\n let result: ContainerAppsRevisionsListRevisionsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listRevisions(\n resourceGroupName,\n containerAppName,\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._listRevisionsNext(\n resourceGroupName,\n containerAppName,\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 *listRevisionsPagingAll(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsRevisionsListRevisionsOptionalParams,\n ): AsyncIterableIterator<Revision> {\n for await (const page of this.listRevisionsPagingPage(\n resourceGroupName,\n containerAppName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Revisions for a given Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App for which Revisions are needed.\n * @param options The options parameters.\n */\n private _listRevisions(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsRevisionsListRevisionsOptionalParams,\n ): Promise<ContainerAppsRevisionsListRevisionsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, options },\n listRevisionsOperationSpec,\n );\n }\n\n /**\n * Get a revision of a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param revisionName Name of the Container App Revision.\n * @param options The options parameters.\n */\n getRevision(\n resourceGroupName: string,\n containerAppName: string,\n revisionName: string,\n options?: ContainerAppsRevisionsGetRevisionOptionalParams,\n ): Promise<ContainerAppsRevisionsGetRevisionResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, revisionName, options },\n getRevisionOperationSpec,\n );\n }\n\n /**\n * Activates a revision for a Container App\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param revisionName Name of the Container App Revision.\n * @param options The options parameters.\n */\n activateRevision(\n resourceGroupName: string,\n containerAppName: string,\n revisionName: string,\n options?: ContainerAppsRevisionsActivateRevisionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, revisionName, options },\n activateRevisionOperationSpec,\n );\n }\n\n /**\n * Deactivates a revision for a Container App\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param revisionName Name of the Container App Revision.\n * @param options The options parameters.\n */\n deactivateRevision(\n resourceGroupName: string,\n containerAppName: string,\n revisionName: string,\n options?: ContainerAppsRevisionsDeactivateRevisionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, revisionName, options },\n deactivateRevisionOperationSpec,\n );\n }\n\n /**\n * Restarts a revision for a Container App\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param revisionName Name of the Container App Revision.\n * @param options The options parameters.\n */\n restartRevision(\n resourceGroupName: string,\n containerAppName: string,\n revisionName: string,\n options?: ContainerAppsRevisionsRestartRevisionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, revisionName, options },\n restartRevisionOperationSpec,\n );\n }\n\n /**\n * ListRevisionsNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App for which Revisions are needed.\n * @param nextLink The nextLink from the previous successful call to the ListRevisions method.\n * @param options The options parameters.\n */\n private _listRevisionsNext(\n resourceGroupName: string,\n containerAppName: string,\n nextLink: string,\n options?: ContainerAppsRevisionsListRevisionsNextOptionalParams,\n ): Promise<ContainerAppsRevisionsListRevisionsNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, nextLink, options },\n listRevisionsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listRevisionsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RevisionCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getRevisionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Revision,\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.containerAppName,\n Parameters.revisionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst activateRevisionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/activate\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\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.containerAppName,\n Parameters.revisionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deactivateRevisionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/deactivate\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\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.containerAppName,\n Parameters.revisionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst restartRevisionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/restart\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\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.containerAppName,\n Parameters.revisionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listRevisionsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RevisionCollection,\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.containerAppName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"containerAppsRevisions.js","sourceRoot":"","sources":["../../../src/operations/containerAppsRevisions.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAetD,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAa,0BAA0B;IAGrC;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,aAAa,CAClB,iBAAyB,EACzB,gBAAwB,EACxB,OAA2D;QAE3D,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CACtC,iBAAiB,EACjB,gBAAgB,EAChB,OAAO,CACR,CAAC;QACF,OA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E;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,gBAAgB;QAC3B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,4BAA4B,GAA6B;IAC7D,IAAI,EAAE,8JAA8J;IACpK,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,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,gBAAgB;QAC3B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;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,gBAAgB;QAC3B,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 { ContainerAppsRevisions } 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 Revision,\n ContainerAppsRevisionsListRevisionsNextOptionalParams,\n ContainerAppsRevisionsListRevisionsOptionalParams,\n ContainerAppsRevisionsListRevisionsResponse,\n ContainerAppsRevisionsGetRevisionOptionalParams,\n ContainerAppsRevisionsGetRevisionResponse,\n ContainerAppsRevisionsActivateRevisionOptionalParams,\n ContainerAppsRevisionsDeactivateRevisionOptionalParams,\n ContainerAppsRevisionsRestartRevisionOptionalParams,\n ContainerAppsRevisionsListRevisionsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ContainerAppsRevisions operations. */\nexport class ContainerAppsRevisionsImpl implements ContainerAppsRevisions {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ContainerAppsRevisions class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Revisions for a given Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App for which Revisions are needed.\n * @param options The options parameters.\n */\n public listRevisions(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsRevisionsListRevisionsOptionalParams,\n ): PagedAsyncIterableIterator<Revision> {\n const iter = this.listRevisionsPagingAll(\n resourceGroupName,\n containerAppName,\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.listRevisionsPagingPage(\n resourceGroupName,\n containerAppName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listRevisionsPagingPage(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsRevisionsListRevisionsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Revision[]> {\n let result: ContainerAppsRevisionsListRevisionsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listRevisions(\n resourceGroupName,\n containerAppName,\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._listRevisionsNext(\n resourceGroupName,\n containerAppName,\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 *listRevisionsPagingAll(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsRevisionsListRevisionsOptionalParams,\n ): AsyncIterableIterator<Revision> {\n for await (const page of this.listRevisionsPagingPage(\n resourceGroupName,\n containerAppName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Revisions for a given Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App for which Revisions are needed.\n * @param options The options parameters.\n */\n private _listRevisions(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsRevisionsListRevisionsOptionalParams,\n ): Promise<ContainerAppsRevisionsListRevisionsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, options },\n listRevisionsOperationSpec,\n );\n }\n\n /**\n * Get a revision of a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param revisionName Name of the Container App Revision.\n * @param options The options parameters.\n */\n getRevision(\n resourceGroupName: string,\n containerAppName: string,\n revisionName: string,\n options?: ContainerAppsRevisionsGetRevisionOptionalParams,\n ): Promise<ContainerAppsRevisionsGetRevisionResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, revisionName, options },\n getRevisionOperationSpec,\n );\n }\n\n /**\n * Activates a revision for a Container App\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param revisionName Name of the Container App Revision.\n * @param options The options parameters.\n */\n activateRevision(\n resourceGroupName: string,\n containerAppName: string,\n revisionName: string,\n options?: ContainerAppsRevisionsActivateRevisionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, revisionName, options },\n activateRevisionOperationSpec,\n );\n }\n\n /**\n * Deactivates a revision for a Container App\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param revisionName Name of the Container App Revision.\n * @param options The options parameters.\n */\n deactivateRevision(\n resourceGroupName: string,\n containerAppName: string,\n revisionName: string,\n options?: ContainerAppsRevisionsDeactivateRevisionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, revisionName, options },\n deactivateRevisionOperationSpec,\n );\n }\n\n /**\n * Restarts a revision for a Container App\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param revisionName Name of the Container App Revision.\n * @param options The options parameters.\n */\n restartRevision(\n resourceGroupName: string,\n containerAppName: string,\n revisionName: string,\n options?: ContainerAppsRevisionsRestartRevisionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, revisionName, options },\n restartRevisionOperationSpec,\n );\n }\n\n /**\n * ListRevisionsNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App for which Revisions are needed.\n * @param nextLink The nextLink from the previous successful call to the ListRevisions method.\n * @param options The options parameters.\n */\n private _listRevisionsNext(\n resourceGroupName: string,\n containerAppName: string,\n nextLink: string,\n options?: ContainerAppsRevisionsListRevisionsNextOptionalParams,\n ): Promise<ContainerAppsRevisionsListRevisionsNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, nextLink, options },\n listRevisionsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listRevisionsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RevisionCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getRevisionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Revision,\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.containerAppName,\n Parameters.revisionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst activateRevisionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/activate\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\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.containerAppName,\n Parameters.revisionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deactivateRevisionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/deactivate\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\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.containerAppName,\n Parameters.revisionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst restartRevisionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/revisions/{revisionName}/restart\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\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.containerAppName,\n Parameters.revisionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listRevisionsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.RevisionCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -448,7 +448,7 @@ const createOrUpdateOperationSpec = {
|
|
|
448
448
|
Parameters.resourceGroupName,
|
|
449
449
|
Parameters.sessionPoolName,
|
|
450
450
|
],
|
|
451
|
-
headerParameters: [Parameters.
|
|
451
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
452
452
|
mediaType: "json",
|
|
453
453
|
serializer,
|
|
454
454
|
};
|
|
@@ -480,7 +480,7 @@ const updateOperationSpec = {
|
|
|
480
480
|
Parameters.resourceGroupName,
|
|
481
481
|
Parameters.sessionPoolName,
|
|
482
482
|
],
|
|
483
|
-
headerParameters: [Parameters.
|
|
483
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
484
484
|
mediaType: "json",
|
|
485
485
|
serializer,
|
|
486
486
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containerAppsSessionPools.js","sourceRoot":"","sources":["../../../src/operations/containerAppsSessionPools.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAsB9C,4CAA4C;AAC5C,6DAA6D;AAC7D,MAAa,6BAA6B;IAKxC;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAAmE;QAEnE,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,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,4BAA4B,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC9D,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,4BAA4B,CACzC,OAAmE,EACnE,QAAuB;;YAEvB,IAAI,MAA2D,CAAC;YAChE,IAAI,iBAAiB,GAAG,QAAQ,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E,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,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,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,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,aAAa;SAClC;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 { ContainerAppsSessionPools } 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 SessionPool,\n ContainerAppsSessionPoolsListBySubscriptionNextOptionalParams,\n ContainerAppsSessionPoolsListBySubscriptionOptionalParams,\n ContainerAppsSessionPoolsListBySubscriptionResponse,\n ContainerAppsSessionPoolsListByResourceGroupNextOptionalParams,\n ContainerAppsSessionPoolsListByResourceGroupOptionalParams,\n ContainerAppsSessionPoolsListByResourceGroupResponse,\n ContainerAppsSessionPoolsGetOptionalParams,\n ContainerAppsSessionPoolsGetResponse,\n ContainerAppsSessionPoolsCreateOrUpdateOptionalParams,\n ContainerAppsSessionPoolsCreateOrUpdateResponse,\n SessionPoolUpdatableProperties,\n ContainerAppsSessionPoolsUpdateOptionalParams,\n ContainerAppsSessionPoolsUpdateResponse,\n ContainerAppsSessionPoolsDeleteOptionalParams,\n ContainerAppsSessionPoolsDeleteResponse,\n ContainerAppsSessionPoolsListBySubscriptionNextResponse,\n ContainerAppsSessionPoolsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ContainerAppsSessionPools operations. */\nexport class ContainerAppsSessionPoolsImpl\n implements ContainerAppsSessionPools\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ContainerAppsSessionPools class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the session pools in a given subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ContainerAppsSessionPoolsListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<SessionPool> {\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?: ContainerAppsSessionPoolsListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SessionPool[]> {\n let result: ContainerAppsSessionPoolsListBySubscriptionResponse;\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?: ContainerAppsSessionPoolsListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<SessionPool> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get the session pools in a given resource group of a subscription.\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?: ContainerAppsSessionPoolsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<SessionPool> {\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?: ContainerAppsSessionPoolsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SessionPool[]> {\n let result: ContainerAppsSessionPoolsListByResourceGroupResponse;\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?: ContainerAppsSessionPoolsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<SessionPool> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the session pools in a given subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ContainerAppsSessionPoolsListBySubscriptionOptionalParams,\n ): Promise<ContainerAppsSessionPoolsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * Get the session pools in a given resource group of a subscription.\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?: ContainerAppsSessionPoolsListByResourceGroupOptionalParams,\n ): Promise<ContainerAppsSessionPoolsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Get the properties of a session pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param sessionPoolName Name of the session pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n sessionPoolName: string,\n options?: ContainerAppsSessionPoolsGetOptionalParams,\n ): Promise<ContainerAppsSessionPoolsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sessionPoolName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update a session pool with the given properties.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param sessionPoolName Name of the session pool.\n * @param sessionPoolEnvelope Properties used to create a session pool\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n sessionPoolName: string,\n sessionPoolEnvelope: SessionPool,\n options?: ContainerAppsSessionPoolsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ContainerAppsSessionPoolsCreateOrUpdateResponse>,\n ContainerAppsSessionPoolsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ContainerAppsSessionPoolsCreateOrUpdateResponse> => {\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 sessionPoolName,\n sessionPoolEnvelope,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ContainerAppsSessionPoolsCreateOrUpdateResponse,\n OperationState<ContainerAppsSessionPoolsCreateOrUpdateResponse>\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 * Create or update a session pool with the given properties.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param sessionPoolName Name of the session pool.\n * @param sessionPoolEnvelope Properties used to create a session pool\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n sessionPoolName: string,\n sessionPoolEnvelope: SessionPool,\n options?: ContainerAppsSessionPoolsCreateOrUpdateOptionalParams,\n ): Promise<ContainerAppsSessionPoolsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n sessionPoolName,\n sessionPoolEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Patches a session pool using JSON merge patch\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param sessionPoolName Name of the session pool.\n * @param sessionPoolEnvelope Properties used to create a session pool\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n sessionPoolName: string,\n sessionPoolEnvelope: SessionPoolUpdatableProperties,\n options?: ContainerAppsSessionPoolsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ContainerAppsSessionPoolsUpdateResponse>,\n ContainerAppsSessionPoolsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ContainerAppsSessionPoolsUpdateResponse> => {\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 sessionPoolName,\n sessionPoolEnvelope,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ContainerAppsSessionPoolsUpdateResponse,\n OperationState<ContainerAppsSessionPoolsUpdateResponse>\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 * Patches a session pool using JSON merge patch\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param sessionPoolName Name of the session pool.\n * @param sessionPoolEnvelope Properties used to create a session pool\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n sessionPoolName: string,\n sessionPoolEnvelope: SessionPoolUpdatableProperties,\n options?: ContainerAppsSessionPoolsUpdateOptionalParams,\n ): Promise<ContainerAppsSessionPoolsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n sessionPoolName,\n sessionPoolEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete the session pool with the given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param sessionPoolName Name of the session pool.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n sessionPoolName: string,\n options?: ContainerAppsSessionPoolsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ContainerAppsSessionPoolsDeleteResponse>,\n ContainerAppsSessionPoolsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ContainerAppsSessionPoolsDeleteResponse> => {\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, sessionPoolName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n ContainerAppsSessionPoolsDeleteResponse,\n OperationState<ContainerAppsSessionPoolsDeleteResponse>\n >(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 the session pool with the given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param sessionPoolName Name of the session pool.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n sessionPoolName: string,\n options?: ContainerAppsSessionPoolsDeleteOptionalParams,\n ): Promise<ContainerAppsSessionPoolsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n sessionPoolName,\n options,\n );\n return poller.pollUntilDone();\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?: ContainerAppsSessionPoolsListBySubscriptionNextOptionalParams,\n ): Promise<ContainerAppsSessionPoolsListBySubscriptionNextResponse> {\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?: ContainerAppsSessionPoolsListByResourceGroupNextOptionalParams,\n ): Promise<ContainerAppsSessionPoolsListByResourceGroupNextResponse> {\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/sessionPools\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SessionPoolCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\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/sessionPools\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SessionPoolCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\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/sessionPools/{sessionPoolName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SessionPool,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.sessionPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/sessionPools/{sessionPoolName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SessionPool,\n },\n 201: {\n bodyMapper: Mappers.SessionPool,\n },\n 202: {\n bodyMapper: Mappers.SessionPool,\n },\n 204: {\n bodyMapper: Mappers.SessionPool,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.sessionPoolEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.sessionPoolName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/sessionPools/{sessionPoolName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.SessionPool,\n },\n 201: {\n bodyMapper: Mappers.SessionPool,\n },\n 202: {\n bodyMapper: Mappers.SessionPool,\n },\n 204: {\n bodyMapper: Mappers.SessionPool,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.sessionPoolEnvelope1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.sessionPoolName,\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/sessionPools/{sessionPoolName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ContainerAppsSessionPoolsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.ContainerAppsSessionPoolsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.ContainerAppsSessionPoolsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.ContainerAppsSessionPoolsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.sessionPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SessionPoolCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\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.SessionPoolCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\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":"containerAppsSessionPools.js","sourceRoot":"","sources":["../../../src/operations/containerAppsSessionPools.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAsB9C,4CAA4C;AAC5C,6DAA6D;AAC7D,MAAa,6BAA6B;IAKxC;;;OAGG;IACH,YAAY,MAA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K;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,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,aAAa;SAClC;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 { ContainerAppsSessionPools } 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 SessionPool,\n ContainerAppsSessionPoolsListBySubscriptionNextOptionalParams,\n ContainerAppsSessionPoolsListBySubscriptionOptionalParams,\n ContainerAppsSessionPoolsListBySubscriptionResponse,\n ContainerAppsSessionPoolsListByResourceGroupNextOptionalParams,\n ContainerAppsSessionPoolsListByResourceGroupOptionalParams,\n ContainerAppsSessionPoolsListByResourceGroupResponse,\n ContainerAppsSessionPoolsGetOptionalParams,\n ContainerAppsSessionPoolsGetResponse,\n ContainerAppsSessionPoolsCreateOrUpdateOptionalParams,\n ContainerAppsSessionPoolsCreateOrUpdateResponse,\n SessionPoolUpdatableProperties,\n ContainerAppsSessionPoolsUpdateOptionalParams,\n ContainerAppsSessionPoolsUpdateResponse,\n ContainerAppsSessionPoolsDeleteOptionalParams,\n ContainerAppsSessionPoolsDeleteResponse,\n ContainerAppsSessionPoolsListBySubscriptionNextResponse,\n ContainerAppsSessionPoolsListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ContainerAppsSessionPools operations. */\nexport class ContainerAppsSessionPoolsImpl\n implements ContainerAppsSessionPools\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ContainerAppsSessionPools class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the session pools in a given subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ContainerAppsSessionPoolsListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<SessionPool> {\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?: ContainerAppsSessionPoolsListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SessionPool[]> {\n let result: ContainerAppsSessionPoolsListBySubscriptionResponse;\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?: ContainerAppsSessionPoolsListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<SessionPool> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get the session pools in a given resource group of a subscription.\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?: ContainerAppsSessionPoolsListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<SessionPool> {\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?: ContainerAppsSessionPoolsListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SessionPool[]> {\n let result: ContainerAppsSessionPoolsListByResourceGroupResponse;\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?: ContainerAppsSessionPoolsListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<SessionPool> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the session pools in a given subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ContainerAppsSessionPoolsListBySubscriptionOptionalParams,\n ): Promise<ContainerAppsSessionPoolsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * Get the session pools in a given resource group of a subscription.\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?: ContainerAppsSessionPoolsListByResourceGroupOptionalParams,\n ): Promise<ContainerAppsSessionPoolsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Get the properties of a session pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param sessionPoolName Name of the session pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n sessionPoolName: string,\n options?: ContainerAppsSessionPoolsGetOptionalParams,\n ): Promise<ContainerAppsSessionPoolsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, sessionPoolName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update a session pool with the given properties.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param sessionPoolName Name of the session pool.\n * @param sessionPoolEnvelope Properties used to create a session pool\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n sessionPoolName: string,\n sessionPoolEnvelope: SessionPool,\n options?: ContainerAppsSessionPoolsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ContainerAppsSessionPoolsCreateOrUpdateResponse>,\n ContainerAppsSessionPoolsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ContainerAppsSessionPoolsCreateOrUpdateResponse> => {\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 sessionPoolName,\n sessionPoolEnvelope,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ContainerAppsSessionPoolsCreateOrUpdateResponse,\n OperationState<ContainerAppsSessionPoolsCreateOrUpdateResponse>\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 * Create or update a session pool with the given properties.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param sessionPoolName Name of the session pool.\n * @param sessionPoolEnvelope Properties used to create a session pool\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n sessionPoolName: string,\n sessionPoolEnvelope: SessionPool,\n options?: ContainerAppsSessionPoolsCreateOrUpdateOptionalParams,\n ): Promise<ContainerAppsSessionPoolsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n sessionPoolName,\n sessionPoolEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Patches a session pool using JSON merge patch\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param sessionPoolName Name of the session pool.\n * @param sessionPoolEnvelope Properties used to create a session pool\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n sessionPoolName: string,\n sessionPoolEnvelope: SessionPoolUpdatableProperties,\n options?: ContainerAppsSessionPoolsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ContainerAppsSessionPoolsUpdateResponse>,\n ContainerAppsSessionPoolsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ContainerAppsSessionPoolsUpdateResponse> => {\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 sessionPoolName,\n sessionPoolEnvelope,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ContainerAppsSessionPoolsUpdateResponse,\n OperationState<ContainerAppsSessionPoolsUpdateResponse>\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 * Patches a session pool using JSON merge patch\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param sessionPoolName Name of the session pool.\n * @param sessionPoolEnvelope Properties used to create a session pool\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n sessionPoolName: string,\n sessionPoolEnvelope: SessionPoolUpdatableProperties,\n options?: ContainerAppsSessionPoolsUpdateOptionalParams,\n ): Promise<ContainerAppsSessionPoolsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n sessionPoolName,\n sessionPoolEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete the session pool with the given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param sessionPoolName Name of the session pool.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n sessionPoolName: string,\n options?: ContainerAppsSessionPoolsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ContainerAppsSessionPoolsDeleteResponse>,\n ContainerAppsSessionPoolsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ContainerAppsSessionPoolsDeleteResponse> => {\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, sessionPoolName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n ContainerAppsSessionPoolsDeleteResponse,\n OperationState<ContainerAppsSessionPoolsDeleteResponse>\n >(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 the session pool with the given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param sessionPoolName Name of the session pool.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n sessionPoolName: string,\n options?: ContainerAppsSessionPoolsDeleteOptionalParams,\n ): Promise<ContainerAppsSessionPoolsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n sessionPoolName,\n options,\n );\n return poller.pollUntilDone();\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?: ContainerAppsSessionPoolsListBySubscriptionNextOptionalParams,\n ): Promise<ContainerAppsSessionPoolsListBySubscriptionNextResponse> {\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?: ContainerAppsSessionPoolsListByResourceGroupNextOptionalParams,\n ): Promise<ContainerAppsSessionPoolsListByResourceGroupNextResponse> {\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/sessionPools\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SessionPoolCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\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/sessionPools\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SessionPoolCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\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/sessionPools/{sessionPoolName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SessionPool,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.sessionPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/sessionPools/{sessionPoolName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SessionPool,\n },\n 201: {\n bodyMapper: Mappers.SessionPool,\n },\n 202: {\n bodyMapper: Mappers.SessionPool,\n },\n 204: {\n bodyMapper: Mappers.SessionPool,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.sessionPoolEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.sessionPoolName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/sessionPools/{sessionPoolName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.SessionPool,\n },\n 201: {\n bodyMapper: Mappers.SessionPool,\n },\n 202: {\n bodyMapper: Mappers.SessionPool,\n },\n 204: {\n bodyMapper: Mappers.SessionPool,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.sessionPoolEnvelope1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.sessionPoolName,\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/sessionPools/{sessionPoolName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ContainerAppsSessionPoolsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.ContainerAppsSessionPoolsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.ContainerAppsSessionPoolsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.ContainerAppsSessionPoolsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.sessionPoolName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SessionPoolCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\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.SessionPoolCollection,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\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"]}
|
|
@@ -307,11 +307,7 @@ const createOrUpdateOperationSpec = {
|
|
|
307
307
|
Parameters.containerAppName,
|
|
308
308
|
Parameters.sourceControlName,
|
|
309
309
|
],
|
|
310
|
-
headerParameters: [
|
|
311
|
-
Parameters.contentType,
|
|
312
|
-
Parameters.accept,
|
|
313
|
-
Parameters.xMsGithubAuxiliary,
|
|
314
|
-
],
|
|
310
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
315
311
|
mediaType: "json",
|
|
316
312
|
serializer,
|
|
317
313
|
};
|
|
@@ -327,11 +323,7 @@ const deleteOperationSpec = {
|
|
|
327
323
|
bodyMapper: Mappers.DefaultErrorResponse,
|
|
328
324
|
},
|
|
329
325
|
},
|
|
330
|
-
queryParameters: [
|
|
331
|
-
Parameters.apiVersion,
|
|
332
|
-
Parameters.ignoreWorkflowDeletionFailure,
|
|
333
|
-
Parameters.deleteWorkflow,
|
|
334
|
-
],
|
|
326
|
+
queryParameters: [Parameters.apiVersion],
|
|
335
327
|
urlParameters: [
|
|
336
328
|
Parameters.$host,
|
|
337
329
|
Parameters.subscriptionId,
|
|
@@ -339,7 +331,7 @@ const deleteOperationSpec = {
|
|
|
339
331
|
Parameters.containerAppName,
|
|
340
332
|
Parameters.sourceControlName,
|
|
341
333
|
],
|
|
342
|
-
headerParameters: [Parameters.accept
|
|
334
|
+
headerParameters: [Parameters.accept],
|
|
343
335
|
serializer,
|
|
344
336
|
};
|
|
345
337
|
const listByContainerAppNextOperationSpec = {
|
|
@@ -357,8 +349,8 @@ const listByContainerAppNextOperationSpec = {
|
|
|
357
349
|
Parameters.$host,
|
|
358
350
|
Parameters.subscriptionId,
|
|
359
351
|
Parameters.resourceGroupName,
|
|
360
|
-
Parameters.nextLink,
|
|
361
352
|
Parameters.containerAppName,
|
|
353
|
+
Parameters.nextLink,
|
|
362
354
|
],
|
|
363
355
|
headerParameters: [Parameters.accept],
|
|
364
356
|
serializer,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containerAppsSourceControls.js","sourceRoot":"","sources":["../../../src/operations/containerAppsSourceControls.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,+DAA+D;AAC/D,MAAa,+BAA+B;IAK1C;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,kBAAkB,CACvB,iBAAyB,EACzB,gBAAwB,EACxB,OAAqE;QAErE,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAC3C,iBAAiB,EACjB,gBAAgB,EAChB,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,C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ent":["/*\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 { ContainerAppsSourceControls } 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 SourceControl,\n ContainerAppsSourceControlsListByContainerAppNextOptionalParams,\n ContainerAppsSourceControlsListByContainerAppOptionalParams,\n ContainerAppsSourceControlsListByContainerAppResponse,\n ContainerAppsSourceControlsGetOptionalParams,\n ContainerAppsSourceControlsGetResponse,\n ContainerAppsSourceControlsCreateOrUpdateOptionalParams,\n ContainerAppsSourceControlsCreateOrUpdateResponse,\n ContainerAppsSourceControlsDeleteOptionalParams,\n ContainerAppsSourceControlsListByContainerAppNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ContainerAppsSourceControls operations. */\nexport class ContainerAppsSourceControlsImpl\n implements ContainerAppsSourceControls\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ContainerAppsSourceControls class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Container App SourceControls in a given resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n public listByContainerApp(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsSourceControlsListByContainerAppOptionalParams,\n ): PagedAsyncIterableIterator<SourceControl> {\n const iter = this.listByContainerAppPagingAll(\n resourceGroupName,\n containerAppName,\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.listByContainerAppPagingPage(\n resourceGroupName,\n containerAppName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByContainerAppPagingPage(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsSourceControlsListByContainerAppOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SourceControl[]> {\n let result: ContainerAppsSourceControlsListByContainerAppResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByContainerApp(\n resourceGroupName,\n containerAppName,\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._listByContainerAppNext(\n resourceGroupName,\n containerAppName,\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 *listByContainerAppPagingAll(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsSourceControlsListByContainerAppOptionalParams,\n ): AsyncIterableIterator<SourceControl> {\n for await (const page of this.listByContainerAppPagingPage(\n resourceGroupName,\n containerAppName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Container App SourceControls in a given resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n private _listByContainerApp(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsSourceControlsListByContainerAppOptionalParams,\n ): Promise<ContainerAppsSourceControlsListByContainerAppResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, options },\n listByContainerAppOperationSpec,\n );\n }\n\n /**\n * Get a SourceControl of a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param sourceControlName Name of the Container App SourceControl.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n containerAppName: string,\n sourceControlName: string,\n options?: ContainerAppsSourceControlsGetOptionalParams,\n ): Promise<ContainerAppsSourceControlsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, sourceControlName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update the SourceControl for a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param sourceControlName Name of the Container App SourceControl.\n * @param sourceControlEnvelope Properties used to create a Container App SourceControl\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n containerAppName: string,\n sourceControlName: string,\n sourceControlEnvelope: SourceControl,\n options?: ContainerAppsSourceControlsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ContainerAppsSourceControlsCreateOrUpdateResponse>,\n ContainerAppsSourceControlsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ContainerAppsSourceControlsCreateOrUpdateResponse> => {\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 containerAppName,\n sourceControlName,\n sourceControlEnvelope,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ContainerAppsSourceControlsCreateOrUpdateResponse,\n OperationState<ContainerAppsSourceControlsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update the SourceControl for a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param sourceControlName Name of the Container App SourceControl.\n * @param sourceControlEnvelope Properties used to create a Container App SourceControl\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n containerAppName: string,\n sourceControlName: string,\n sourceControlEnvelope: SourceControl,\n options?: ContainerAppsSourceControlsCreateOrUpdateOptionalParams,\n ): Promise<ContainerAppsSourceControlsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n containerAppName,\n sourceControlName,\n sourceControlEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a Container App SourceControl.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param sourceControlName Name of the Container App SourceControl.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n containerAppName: string,\n sourceControlName: string,\n options?: ContainerAppsSourceControlsDeleteOptionalParams,\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, containerAppName, sourceControlName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a Container App SourceControl.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param sourceControlName Name of the Container App SourceControl.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n containerAppName: string,\n sourceControlName: string,\n options?: ContainerAppsSourceControlsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n containerAppName,\n sourceControlName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByContainerAppNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param nextLink The nextLink from the previous successful call to the ListByContainerApp method.\n * @param options The options parameters.\n */\n private _listByContainerAppNext(\n resourceGroupName: string,\n containerAppName: string,\n nextLink: string,\n options?: ContainerAppsSourceControlsListByContainerAppNextOptionalParams,\n ): Promise<ContainerAppsSourceControlsListByContainerAppNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, nextLink, options },\n listByContainerAppNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByContainerAppOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SourceControlCollection,\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.containerAppName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SourceControl,\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.containerAppName,\n Parameters.sourceControlName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SourceControl,\n },\n 201: {\n bodyMapper: Mappers.SourceControl,\n },\n 202: {\n bodyMapper: Mappers.SourceControl,\n },\n 204: {\n bodyMapper: Mappers.SourceControl,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.sourceControlEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n Parameters.sourceControlName,\n ],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.xMsGithubAuxiliary,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.ignoreWorkflowDeletionFailure,\n Parameters.deleteWorkflow,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n Parameters.sourceControlName,\n ],\n headerParameters: [Parameters.accept, Parameters.xMsGithubAuxiliary],\n serializer,\n};\nconst listByContainerAppNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SourceControlCollection,\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.containerAppName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"containerAppsSourceControls.js","sourceRoot":"","sources":["../../../src/operations/containerAppsSourceControls.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,+DAA+D;AAC/D,MAAa,+BAA+B;IAK1C;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,kBAAkB,CACvB,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QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;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,gBAAgB;QAC3B,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 { ContainerAppsSourceControls } 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 SourceControl,\n ContainerAppsSourceControlsListByContainerAppNextOptionalParams,\n ContainerAppsSourceControlsListByContainerAppOptionalParams,\n ContainerAppsSourceControlsListByContainerAppResponse,\n ContainerAppsSourceControlsGetOptionalParams,\n ContainerAppsSourceControlsGetResponse,\n ContainerAppsSourceControlsCreateOrUpdateOptionalParams,\n ContainerAppsSourceControlsCreateOrUpdateResponse,\n ContainerAppsSourceControlsDeleteOptionalParams,\n ContainerAppsSourceControlsListByContainerAppNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ContainerAppsSourceControls operations. */\nexport class ContainerAppsSourceControlsImpl\n implements ContainerAppsSourceControls\n{\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class ContainerAppsSourceControls class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerAppsAPIClient) {\n this.client = client;\n }\n\n /**\n * Get the Container App SourceControls in a given resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n public listByContainerApp(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsSourceControlsListByContainerAppOptionalParams,\n ): PagedAsyncIterableIterator<SourceControl> {\n const iter = this.listByContainerAppPagingAll(\n resourceGroupName,\n containerAppName,\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.listByContainerAppPagingPage(\n resourceGroupName,\n containerAppName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByContainerAppPagingPage(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsSourceControlsListByContainerAppOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SourceControl[]> {\n let result: ContainerAppsSourceControlsListByContainerAppResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByContainerApp(\n resourceGroupName,\n containerAppName,\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._listByContainerAppNext(\n resourceGroupName,\n containerAppName,\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 *listByContainerAppPagingAll(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsSourceControlsListByContainerAppOptionalParams,\n ): AsyncIterableIterator<SourceControl> {\n for await (const page of this.listByContainerAppPagingPage(\n resourceGroupName,\n containerAppName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the Container App SourceControls in a given resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param options The options parameters.\n */\n private _listByContainerApp(\n resourceGroupName: string,\n containerAppName: string,\n options?: ContainerAppsSourceControlsListByContainerAppOptionalParams,\n ): Promise<ContainerAppsSourceControlsListByContainerAppResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, options },\n listByContainerAppOperationSpec,\n );\n }\n\n /**\n * Get a SourceControl of a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param sourceControlName Name of the Container App SourceControl.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n containerAppName: string,\n sourceControlName: string,\n options?: ContainerAppsSourceControlsGetOptionalParams,\n ): Promise<ContainerAppsSourceControlsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, sourceControlName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update the SourceControl for a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param sourceControlName Name of the Container App SourceControl.\n * @param sourceControlEnvelope Properties used to create a Container App SourceControl\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n containerAppName: string,\n sourceControlName: string,\n sourceControlEnvelope: SourceControl,\n options?: ContainerAppsSourceControlsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ContainerAppsSourceControlsCreateOrUpdateResponse>,\n ContainerAppsSourceControlsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ContainerAppsSourceControlsCreateOrUpdateResponse> => {\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 containerAppName,\n sourceControlName,\n sourceControlEnvelope,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ContainerAppsSourceControlsCreateOrUpdateResponse,\n OperationState<ContainerAppsSourceControlsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create or update the SourceControl for a Container App.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param sourceControlName Name of the Container App SourceControl.\n * @param sourceControlEnvelope Properties used to create a Container App SourceControl\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n containerAppName: string,\n sourceControlName: string,\n sourceControlEnvelope: SourceControl,\n options?: ContainerAppsSourceControlsCreateOrUpdateOptionalParams,\n ): Promise<ContainerAppsSourceControlsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n containerAppName,\n sourceControlName,\n sourceControlEnvelope,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a Container App SourceControl.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param sourceControlName Name of the Container App SourceControl.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n containerAppName: string,\n sourceControlName: string,\n options?: ContainerAppsSourceControlsDeleteOptionalParams,\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, containerAppName, sourceControlName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a Container App SourceControl.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param sourceControlName Name of the Container App SourceControl.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n containerAppName: string,\n sourceControlName: string,\n options?: ContainerAppsSourceControlsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n containerAppName,\n sourceControlName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByContainerAppNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerAppName Name of the Container App.\n * @param nextLink The nextLink from the previous successful call to the ListByContainerApp method.\n * @param options The options parameters.\n */\n private _listByContainerAppNext(\n resourceGroupName: string,\n containerAppName: string,\n nextLink: string,\n options?: ContainerAppsSourceControlsListByContainerAppNextOptionalParams,\n ): Promise<ContainerAppsSourceControlsListByContainerAppNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerAppName, nextLink, options },\n listByContainerAppNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByContainerAppOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SourceControlCollection,\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.containerAppName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SourceControl,\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.containerAppName,\n Parameters.sourceControlName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SourceControl,\n },\n 201: {\n bodyMapper: Mappers.SourceControl,\n },\n 202: {\n bodyMapper: Mappers.SourceControl,\n },\n 204: {\n bodyMapper: Mappers.SourceControl,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n requestBody: Parameters.sourceControlEnvelope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n Parameters.sourceControlName,\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/containerApps/{containerAppName}/sourcecontrols/{sourceControlName}\",\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.containerAppName,\n Parameters.sourceControlName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByContainerAppNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SourceControlCollection,\n },\n default: {\n bodyMapper: Mappers.DefaultErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerAppName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -219,7 +219,7 @@ const createOrUpdateOperationSpec = {
|
|
|
219
219
|
Parameters.componentName,
|
|
220
220
|
Parameters.environmentName,
|
|
221
221
|
],
|
|
222
|
-
headerParameters: [Parameters.
|
|
222
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
223
223
|
mediaType: "json",
|
|
224
224
|
serializer,
|
|
225
225
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daprComponents.js","sourceRoot":"","sources":["../../../src/operations/daprComponents.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAiBtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,eAAuB,EACvB,OAA0C;QAE1C,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,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,eAAe,EACf,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,eAAuB,EACvB,OAA0C,EAC1C,QAAuB;;YAEvB,IAAI,MAAkC,CAAC;YACvC,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,CAAC,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B;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,eAAe;KAC3B;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,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 { DaprComponents } 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 DaprComponentsListNextOptionalParams,\n DaprComponentsListOptionalParams,\n DaprComponentsListResponse,\n DaprComponentsGetOptionalParams,\n DaprComponentsGetResponse,\n DaprComponentsCreateOrUpdateOptionalParams,\n DaprComponentsCreateOrUpdateResponse,\n DaprComponentsDeleteOptionalParams,\n DaprComponentsListSecretsOptionalParams,\n DaprComponentsListSecretsResponse,\n DaprComponentsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DaprComponents operations. */\nexport class DaprComponentsImpl implements DaprComponents {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class DaprComponents 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 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?: DaprComponentsListOptionalParams,\n ): PagedAsyncIterableIterator<DaprComponent> {\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?: DaprComponentsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DaprComponent[]> {\n let result: DaprComponentsListResponse;\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?: DaprComponentsListOptionalParams,\n ): AsyncIterableIterator<DaprComponent> {\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 Dapr Components for a 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?: DaprComponentsListOptionalParams,\n ): Promise<DaprComponentsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, 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 environmentName Name of the Managed Environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n componentName: string,\n options?: DaprComponentsGetOptionalParams,\n ): Promise<DaprComponentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, componentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates a Dapr Component in a 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 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 environmentName: string,\n componentName: string,\n daprComponentEnvelope: DaprComponent,\n options?: DaprComponentsCreateOrUpdateOptionalParams,\n ): Promise<DaprComponentsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n componentName,\n daprComponentEnvelope,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Delete a Dapr Component from a 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 componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n environmentName: string,\n componentName: string,\n options?: DaprComponentsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, 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 environmentName Name of the Managed Environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n listSecrets(\n resourceGroupName: string,\n environmentName: string,\n componentName: string,\n options?: DaprComponentsListSecretsOptionalParams,\n ): Promise<DaprComponentsListSecretsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, 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 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?: DaprComponentsListNextOptionalParams,\n ): Promise<DaprComponentsListNextResponse> {\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}/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.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/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.componentName,\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}/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.componentName,\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}/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.componentName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSecretsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/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.componentName,\n Parameters.environmentName,\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.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"daprComponents.js","sourceRoot":"","sources":["../../../src/operations/daprComponents.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAiBtD,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,eAAuB,EACvB,OAA0C;QAE1C,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,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,eAAe,EACf,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC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,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,aAAa;QACxB,UAAU,CAAC,eAAe;KAC3B;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,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 { DaprComponents } 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 DaprComponentsListNextOptionalParams,\n DaprComponentsListOptionalParams,\n DaprComponentsListResponse,\n DaprComponentsGetOptionalParams,\n DaprComponentsGetResponse,\n DaprComponentsCreateOrUpdateOptionalParams,\n DaprComponentsCreateOrUpdateResponse,\n DaprComponentsDeleteOptionalParams,\n DaprComponentsListSecretsOptionalParams,\n DaprComponentsListSecretsResponse,\n DaprComponentsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DaprComponents operations. */\nexport class DaprComponentsImpl implements DaprComponents {\n private readonly client: ContainerAppsAPIClient;\n\n /**\n * Initialize a new instance of the class DaprComponents 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 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?: DaprComponentsListOptionalParams,\n ): PagedAsyncIterableIterator<DaprComponent> {\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?: DaprComponentsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DaprComponent[]> {\n let result: DaprComponentsListResponse;\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?: DaprComponentsListOptionalParams,\n ): AsyncIterableIterator<DaprComponent> {\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 Dapr Components for a 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?: DaprComponentsListOptionalParams,\n ): Promise<DaprComponentsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, 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 environmentName Name of the Managed Environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n environmentName: string,\n componentName: string,\n options?: DaprComponentsGetOptionalParams,\n ): Promise<DaprComponentsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, componentName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates a Dapr Component in a 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 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 environmentName: string,\n componentName: string,\n daprComponentEnvelope: DaprComponent,\n options?: DaprComponentsCreateOrUpdateOptionalParams,\n ): Promise<DaprComponentsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n environmentName,\n componentName,\n daprComponentEnvelope,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Delete a Dapr Component from a 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 componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n environmentName: string,\n componentName: string,\n options?: DaprComponentsDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, 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 environmentName Name of the Managed Environment.\n * @param componentName Name of the Dapr Component.\n * @param options The options parameters.\n */\n listSecrets(\n resourceGroupName: string,\n environmentName: string,\n componentName: string,\n options?: DaprComponentsListSecretsOptionalParams,\n ): Promise<DaprComponentsListSecretsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, environmentName, 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 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?: DaprComponentsListNextOptionalParams,\n ): Promise<DaprComponentsListNextResponse> {\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}/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.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/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.componentName,\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}/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.componentName,\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}/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.componentName,\n Parameters.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSecretsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/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.componentName,\n Parameters.environmentName,\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.environmentName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,40 +1,25 @@
|
|
|
1
|
-
export * from "./appResiliencyOperations.js";
|
|
2
1
|
export * from "./containerAppsAuthConfigs.js";
|
|
3
2
|
export * from "./availableWorkloadProfiles.js";
|
|
4
3
|
export * from "./billingMeters.js";
|
|
5
|
-
export * from "./builders.js";
|
|
6
|
-
export * from "./buildsByBuilderResource.js";
|
|
7
|
-
export * from "./builds.js";
|
|
8
|
-
export * from "./buildAuthToken.js";
|
|
9
4
|
export * from "./connectedEnvironments.js";
|
|
10
5
|
export * from "./connectedEnvironmentsCertificates.js";
|
|
11
6
|
export * from "./connectedEnvironmentsDaprComponents.js";
|
|
12
7
|
export * from "./connectedEnvironmentsStorages.js";
|
|
13
8
|
export * from "./containerApps.js";
|
|
14
|
-
export * from "./containerAppsBuildsByContainerApp.js";
|
|
15
|
-
export * from "./containerAppsBuilds.js";
|
|
16
|
-
export * from "./containerAppsPatches.js";
|
|
17
9
|
export * from "./containerAppsRevisions.js";
|
|
18
10
|
export * from "./containerAppsRevisionReplicas.js";
|
|
19
11
|
export * from "./containerAppsDiagnostics.js";
|
|
20
12
|
export * from "./managedEnvironmentDiagnostics.js";
|
|
21
13
|
export * from "./managedEnvironmentsDiagnostics.js";
|
|
22
14
|
export * from "./jobs.js";
|
|
23
|
-
export * from "./dotNetComponents.js";
|
|
24
|
-
export * from "./functionsExtension.js";
|
|
25
15
|
export * from "./operations.js";
|
|
26
16
|
export * from "./javaComponents.js";
|
|
27
17
|
export * from "./jobsExecutions.js";
|
|
28
|
-
export * from "./logicApps.js";
|
|
29
18
|
export * from "./managedEnvironments.js";
|
|
30
19
|
export * from "./certificates.js";
|
|
31
20
|
export * from "./managedCertificates.js";
|
|
32
21
|
export * from "./namespaces.js";
|
|
33
|
-
export * from "./managedEnvironmentPrivateEndpointConnections.js";
|
|
34
|
-
export * from "./managedEnvironmentPrivateLinkResources.js";
|
|
35
|
-
export * from "./daprComponentResiliencyPolicies.js";
|
|
36
22
|
export * from "./daprComponents.js";
|
|
37
|
-
export * from "./daprSubscriptions.js";
|
|
38
23
|
export * from "./managedEnvironmentsStorages.js";
|
|
39
24
|
export * from "./containerAppsSessionPools.js";
|
|
40
25
|
export * from "./containerAppsSourceControls.js";
|