diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 618cd74b6549..94befdb0d157 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -3928,7 +3928,7 @@ packages: dependencies: semver: 7.3.8 shelljs: 0.8.5 - typescript: 5.0.0-dev.20230216 + typescript: 5.0.0-dev.20230217 dev: false /downlevel-dts/0.7.0: @@ -8712,8 +8712,8 @@ packages: hasBin: true dev: false - /typescript/5.0.0-dev.20230216: - resolution: {integrity: sha512-yeZZGWiNc5pbGg4J/bgN7vq2Lrs4YTNzhG5dv8owIe1PyYX4tMDla8NnXipy9h4Cmw6+DQA8FG9XZbymgmzSbA==} + /typescript/5.0.0-dev.20230217: + resolution: {integrity: sha512-F2xLgv5OjVcSJ5vYATLrSS4NgrzbMV9Kxpk5AIB0chl1UMXI7iywCgNa+wGH81OrtNhoLX+iyynL4xn8B5bwvQ==} engines: {node: '>=4.2.0'} hasBin: true dev: false @@ -10026,15 +10026,15 @@ packages: dev: false file:projects/arm-appcontainers.tgz: - resolution: {integrity: sha512-AKJ6xnmzgA6cDiBFKJqRMx7PdJOyGQe4eFiI1IU5pDMk3SB/ybs3gwg8TlIAXWIFbQAnvcNnPSmA1XN2reOWZg==, tarball: file:projects/arm-appcontainers.tgz} + resolution: {integrity: sha512-88DAERmgXS8CyXFsXKksv6X0CoZCbEEMgd1oVCSSP3m6tD56V0F9H/YAvadtE8d8W1RhklCo77kAitBlF0lEfg==, tarball: file:projects/arm-appcontainers.tgz} name: '@rush-temp/arm-appcontainers' version: 0.0.0 dependencies: '@azure/identity': 2.1.0 '@microsoft/api-extractor': 7.34.3_@types+node@14.18.36 - '@rollup/plugin-commonjs': 24.0.1_rollup@2.79.1 - '@rollup/plugin-json': 6.0.0_rollup@2.79.1 - '@rollup/plugin-multi-entry': 6.0.0_rollup@2.79.1 + '@rollup/plugin-commonjs': 21.1.0_rollup@2.79.1 + '@rollup/plugin-json': 4.1.0_rollup@2.79.1 + '@rollup/plugin-multi-entry': 4.1.0_rollup@2.79.1 '@rollup/plugin-node-resolve': 13.3.0_rollup@2.79.1 '@types/chai': 4.3.4 '@types/node': 14.18.36 diff --git a/sdk/appcontainers/arm-appcontainers/CHANGELOG.md b/sdk/appcontainers/arm-appcontainers/CHANGELOG.md index 98a67f4cb998..7236e3c9017e 100644 --- a/sdk/appcontainers/arm-appcontainers/CHANGELOG.md +++ b/sdk/appcontainers/arm-appcontainers/CHANGELOG.md @@ -1,21 +1,7 @@ # Release History - -## 2.0.0-beta.3 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - -## 2.0.0-beta.2 (2022-11-15) - - Bugs Fixed - -## 2.0.0-beta.1 (2022-10-12) - +## 2.0.0-beta.3 (2023-02-17) + **Features** - Added operation group AvailableWorkloadProfiles @@ -25,6 +11,9 @@ - Added operation group ConnectedEnvironmentsDaprComponents - Added operation group ConnectedEnvironmentsStorages - Added operation group ContainerAppsDiagnostics + - Added operation group JobOperations + - Added operation group Jobs + - Added operation group ManagedCertificates - Added operation group ManagedEnvironmentDiagnostics - Added operation group ManagedEnvironmentsDiagnostics - Added operation ContainerApps.getAuthToken @@ -71,6 +60,7 @@ - Added Interface ConnectedEnvironmentStoragesCollection - Added Interface ConnectedEnvironmentsUpdateOptionalParams - Added Interface ContainerAppAuthToken + - Added Interface ContainerAppJobExecutions - Added Interface ContainerAppsDiagnosticsGetDetectorOptionalParams - Added Interface ContainerAppsDiagnosticsGetRevisionOptionalParams - Added Interface ContainerAppsDiagnosticsGetRootOptionalParams @@ -79,9 +69,11 @@ - Added Interface ContainerAppsDiagnosticsListRevisionsNextOptionalParams - Added Interface ContainerAppsDiagnosticsListRevisionsOptionalParams - Added Interface ContainerAppsGetAuthTokenOptionalParams + - Added Interface CorsPolicy - Added Interface CustomDomainConfiguration - Added Interface CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo - Added Interface CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsItem + - Added Interface DaprConfiguration - Added Interface DaprSecret - Added Interface DiagnosticDataProviderMetadata - Added Interface DiagnosticDataProviderMetadataPropertyBagItem @@ -96,16 +88,61 @@ - Added Interface DiagnosticsStatus - Added Interface DiagnosticSupportTopic - Added Interface EnvironmentAuthToken - - Added Interface EnvironmentSkuProperties - Added Interface ErrorAdditionalInfo - Added Interface ErrorDetail - Added Interface ErrorResponse - Added Interface ExtendedLocation + - Added Interface IngressStickySessions - Added Interface InitContainer - Added Interface IpSecurityRestrictionRule + - Added Interface Job + - Added Interface JobConfiguration + - Added Interface JobConfigurationManualTriggerConfig + - Added Interface JobConfigurationScheduleTriggerConfig + - Added Interface JobCreateOrUpdateOptionalParams + - Added Interface JobDeleteHeaders + - Added Interface JobDeleteOptionalParams + - Added Interface JobExecution + - Added Interface JobExecutionBase + - Added Interface JobExecutionContainer + - Added Interface JobExecutionNamesCollection + - Added Interface JobExecutionsHeaders + - Added Interface JobExecutionsNextHeaders + - Added Interface JobExecutionsNextOptionalParams + - Added Interface JobExecutionsOptionalParams + - Added Interface JobExecutionTemplate + - Added Interface JobGetOptionalParams + - Added Interface JobPatchProperties + - Added Interface JobPatchPropertiesProperties + - Added Interface JobRunHeaders + - Added Interface JobRunOptionalParams + - Added Interface JobsCollection + - Added Interface JobSecretsCollection + - Added Interface JobsListByResourceGroupNextOptionalParams + - Added Interface JobsListByResourceGroupOptionalParams + - Added Interface JobsListBySubscriptionNextOptionalParams + - Added Interface JobsListBySubscriptionOptionalParams + - Added Interface JobsListSecretsOptionalParams + - Added Interface JobTemplate + - Added Interface JobTerminateHeaders + - Added Interface JobTerminateMultipleExecutionsHeaders + - Added Interface JobTerminateMultipleExecutionsOptionalParams + - Added Interface JobTerminateOptionalParams + - Added Interface JobUpdateHeaders + - Added Interface JobUpdateOptionalParams + - Added Interface KedaConfiguration + - Added Interface ManagedCertificate + - Added Interface ManagedCertificateCollection + - Added Interface ManagedCertificatePatch + - Added Interface ManagedCertificateProperties + - Added Interface ManagedCertificatesCreateOrUpdateOptionalParams + - Added Interface ManagedCertificatesDeleteOptionalParams + - Added Interface ManagedCertificatesGetOptionalParams + - Added Interface ManagedCertificatesListNextOptionalParams + - Added Interface ManagedCertificatesListOptionalParams + - Added Interface ManagedCertificatesUpdateOptionalParams - Added Interface ManagedEnvironmentDiagnosticsGetDetectorOptionalParams - Added Interface ManagedEnvironmentDiagnosticsListDetectorsOptionalParams - - Added Interface ManagedEnvironmentOutboundSettings - Added Interface ManagedEnvironmentsDiagnosticsGetRootOptionalParams - Added Interface ManagedEnvironmentsGetAuthTokenOptionalParams - Added Interface ManagedEnvironmentsListWorkloadProfileStatesNextOptionalParams @@ -116,6 +153,7 @@ - Added Interface WorkloadProfileStatesCollection - Added Interface WorkloadProfileStatesProperties - Added Type Alias Action + - Added Type Alias Affinity - Added Type Alias Applicability - Added Type Alias AvailableWorkloadProfilesGetNextResponse - Added Type Alias AvailableWorkloadProfilesGetResponse @@ -151,69 +189,94 @@ - Added Type Alias ContainerAppsDiagnosticsListRevisionsNextResponse - Added Type Alias ContainerAppsDiagnosticsListRevisionsResponse - Added Type Alias ContainerAppsGetAuthTokenResponse + - Added Type Alias ContainerAppsUpdateResponse - Added Type Alias ExtendedLocationTypes + - Added Type Alias IngressClientCertificateMode + - Added Type Alias JobCreateOrUpdateResponse + - Added Type Alias JobExecutionRunningState + - Added Type Alias JobExecutionsNextResponse + - Added Type Alias JobExecutionsResponse + - Added Type Alias JobGetResponse + - Added Type Alias JobProvisioningState + - Added Type Alias JobRunResponse + - Added Type Alias JobsListByResourceGroupNextResponse + - Added Type Alias JobsListByResourceGroupResponse + - Added Type Alias JobsListBySubscriptionNextResponse + - Added Type Alias JobsListBySubscriptionResponse + - Added Type Alias JobsListSecretsResponse + - Added Type Alias JobTerminateMultipleExecutionsResponse + - Added Type Alias JobUpdateResponse - Added Type Alias LogLevel + - Added Type Alias ManagedCertificateDomainControlValidation + - Added Type Alias ManagedCertificatesCreateOrUpdateResponse + - Added Type Alias ManagedCertificatesGetResponse + - Added Type Alias ManagedCertificatesListNextResponse + - Added Type Alias ManagedCertificatesListResponse + - Added Type Alias ManagedCertificatesUpdateResponse - Added Type Alias ManagedEnvironmentDiagnosticsGetDetectorResponse - Added Type Alias ManagedEnvironmentDiagnosticsListDetectorsResponse - - Added Type Alias ManagedEnvironmentOutBoundType - Added Type Alias ManagedEnvironmentsDiagnosticsGetRootResponse - Added Type Alias ManagedEnvironmentsGetAuthTokenResponse - Added Type Alias ManagedEnvironmentsListWorkloadProfileStatesNextResponse - Added Type Alias ManagedEnvironmentsListWorkloadProfileStatesResponse - - Added Type Alias SkuName + - Added Type Alias ManagedEnvironmentsUpdateResponse + - Added Type Alias TriggerType - Interface CertificateProperties has a new optional parameter subjectAlternativeNames - Interface Configuration has a new optional parameter maxInactiveRevisions - Interface ContainerApp has a new optional parameter environmentId - Interface ContainerApp has a new optional parameter eventStreamEndpoint - Interface ContainerApp has a new optional parameter extendedLocation + - Interface ContainerApp has a new optional parameter latestReadyRevisionName + - Interface ContainerApp has a new optional parameter managedBy - Interface ContainerApp has a new optional parameter workloadProfileType + - Interface ContainerAppSecret has a new optional parameter identity + - Interface ContainerAppSecret has a new optional parameter keyVaultUrl - Interface CustomHostnameAnalysisResult has a new optional parameter conflictWithEnvironmentCustomDomain - Interface Dapr has a new optional parameter enableApiLogging - Interface Dapr has a new optional parameter httpMaxRequestSize - Interface Dapr has a new optional parameter httpReadBufferSize - Interface Dapr has a new optional parameter logLevel - Interface DaprComponent has a new optional parameter secretStoreComponent + - Interface Ingress has a new optional parameter clientCertificateMode + - Interface Ingress has a new optional parameter corsPolicy - Interface Ingress has a new optional parameter exposedPort - Interface Ingress has a new optional parameter ipSecurityRestrictions + - Interface Ingress has a new optional parameter stickySessions - Interface ManagedEnvironment has a new optional parameter customDomainConfiguration + - Interface ManagedEnvironment has a new optional parameter daprConfiguration - Interface ManagedEnvironment has a new optional parameter eventStreamEndpoint - - Interface ManagedEnvironment has a new optional parameter sku + - Interface ManagedEnvironment has a new optional parameter kedaConfiguration + - Interface ManagedEnvironment has a new optional parameter kind - Interface ManagedEnvironment has a new optional parameter workloadProfiles - Interface ReplicaContainer has a new optional parameter execEndpoint - Interface ReplicaContainer has a new optional parameter logStreamEndpoint - Interface Revision has a new optional parameter lastActiveTime - Interface ScaleRule has a new optional parameter tcp + - Interface Secret has a new optional parameter identity + - Interface Secret has a new optional parameter keyVaultUrl - Interface Template has a new optional parameter initContainers - - Interface VnetConfiguration has a new optional parameter outboundSettings - - Class ContainerAppsAPIClient has a new parameter availableWorkloadProfiles - - Class ContainerAppsAPIClient has a new parameter billingMeters - - Class ContainerAppsAPIClient has a new parameter connectedEnvironments - - Class ContainerAppsAPIClient has a new parameter connectedEnvironmentsCertificates - - Class ContainerAppsAPIClient has a new parameter connectedEnvironmentsDaprComponents - - Class ContainerAppsAPIClient has a new parameter connectedEnvironmentsStorages - - Class ContainerAppsAPIClient has a new parameter containerAppsDiagnostics - - Class ContainerAppsAPIClient has a new parameter managedEnvironmentDiagnostics - - Class ContainerAppsAPIClient has a new parameter managedEnvironmentsDiagnostics - Added Enum KnownAction + - Added Enum KnownAffinity - Added Enum KnownApplicability - Added Enum KnownCategory - Added Enum KnownConnectedEnvironmentProvisioningState - Added Enum KnownExtendedLocationTypes + - Added Enum KnownIngressClientCertificateMode + - Added Enum KnownJobExecutionRunningState + - Added Enum KnownJobProvisioningState - Added Enum KnownLogLevel - - Added Enum KnownManagedEnvironmentOutBoundType - - Added Enum KnownSkuName + - Added Enum KnownManagedCertificateDomainControlValidation + - Added Enum KnownTriggerType - Enum KnownContainerAppProvisioningState has a new value Deleting - Enum KnownIngressTransportMethod has a new value Tcp + - Added function getContinuationToken **Breaking Changes** - - Interface Container no longer has parameter args - - Interface Container no longer has parameter command - - Interface Container no longer has parameter env - - Interface Container no longer has parameter image - - Interface Container no longer has parameter name - - Interface Container no longer has parameter resources - - Interface Container no longer has parameter volumeMounts + - Interface ContainerAppsRevisionsListRevisionsNextOptionalParams no longer has parameter filter + - Interface VnetConfiguration no longer has parameter runtimeSubnetId + - Type of parameter customDomainVerificationFailureInfo of interface CustomHostnameAnalysisResult is changed from DefaultErrorResponse to CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo + - Type of parameter value of interface DaprSecretsCollection is changed from Secret[] to DaprSecret[] ## 1.1.2 (2022-10-08) diff --git a/sdk/appcontainers/arm-appcontainers/LICENSE b/sdk/appcontainers/arm-appcontainers/LICENSE index 5d1d36e0af80..3a1d9b6f24f7 100644 --- a/sdk/appcontainers/arm-appcontainers/LICENSE +++ b/sdk/appcontainers/arm-appcontainers/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2022 Microsoft +Copyright (c) 2023 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/appcontainers/arm-appcontainers/_meta.json b/sdk/appcontainers/arm-appcontainers/_meta.json index 6d8ce1b79782..c1cabdb24393 100644 --- a/sdk/appcontainers/arm-appcontainers/_meta.json +++ b/sdk/appcontainers/arm-appcontainers/_meta.json @@ -1,8 +1,8 @@ { - "commit": "d0965e7f28fc087c87c7411a14d8acdc8f37252e", - "readme": "specification\\app\\resource-manager\\readme.md", - "autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\app\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.3.20221108.1 --generate-sample=true", + "commit": "96a745beda5c42f83fd842adb58c927c478451f9", + "readme": "specification/app/resource-manager/readme.md", + "autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/app/resource-manager/readme.md --use=@autorest/typescript@6.0.0-rc.5", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.4.2", - "use": "@autorest/typescript@6.0.0-rc.3.20221108.1" + "release_tool": "@azure-tools/js-sdk-release-tools@2.6.2", + "use": "@autorest/typescript@6.0.0-rc.5" } \ No newline at end of file diff --git a/sdk/appcontainers/arm-appcontainers/package.json b/sdk/appcontainers/arm-appcontainers/package.json index 1dcfd9a59c58..daca3d0405e5 100644 --- a/sdk/appcontainers/arm-appcontainers/package.json +++ b/sdk/appcontainers/arm-appcontainers/package.json @@ -29,9 +29,9 @@ "types": "./types/arm-appcontainers.d.ts", "devDependencies": { "@microsoft/api-extractor": "^7.31.1", - "@rollup/plugin-commonjs": "^24.0.0", - "@rollup/plugin-json": "^6.0.0", - "@rollup/plugin-multi-entry": "^6.0.0", + "@rollup/plugin-commonjs": "^21.0.1", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-multi-entry": "^4.1.0", "@rollup/plugin-node-resolve": "^13.1.3", "mkdirp": "^1.0.4", "rollup": "^2.66.1", @@ -110,13 +110,5 @@ } ] }, - "autoPublish": true, - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-appcontainers?view=azure-node-preview" - } -} + "autoPublish": true +} \ No newline at end of file diff --git a/sdk/appcontainers/arm-appcontainers/recordings/node/appcontainer_test/recording_containerapp_create_test.json b/sdk/appcontainers/arm-appcontainers/recordings/node/appcontainer_test/recording_containerapp_create_test.json deleted file mode 100644 index 663d63e25e68..000000000000 --- a/sdk/appcontainers/arm-appcontainers/recordings/node/appcontainer_test/recording_containerapp_create_test.json +++ /dev/null @@ -1,924 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/containerApps/mycontainerappxxx?api-version=2022-06-01-preview", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "358", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "8f96fe56-f945-4baf-9f42-5f4dd64ca6bf" - }, - "RequestBody": { - "location": "eastus", - "properties": { - "managedEnvironmentId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/managedEnvironments/testcontainerenv12", - "template": { - "containers": [ - { - "image": "mcr.microsoft.com/azuredocs/containerapps-helloworld", - "name": "simple-hello-world-container", - "resources": { - "cpu": 0.25, - "memory": "0.5Gi" - } - } - ] - } - } - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "Cache-Control": "no-cache", - "Content-Length": "1453", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:01 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-async-operation-timeout": "PT15M", - "x-ms-correlation-request-id": "fd571669-2f84-4961-87dd-78bd2a79c2a9", - "x-ms-ratelimit-remaining-subscription-resource-requests": "499", - "x-ms-request-id": "fd571669-2f84-4961-87dd-78bd2a79c2a9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064001Z:fd571669-2f84-4961-87dd-78bd2a79c2a9", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/containerapps/mycontainerappxxx", - "name": "mycontainerappxxx", - "type": "Microsoft.App/containerApps", - "location": "East US", - "systemData": { - "createdBy": "azure_client_id", - "createdByType": "Application", - "createdAt": "2022-11-15T06:39:59.3102549Z", - "lastModifiedBy": "azure_client_id", - "lastModifiedByType": "Application", - "lastModifiedAt": "2022-11-15T06:39:59.3102549Z" - }, - "properties": { - "provisioningState": "InProgress", - "managedEnvironmentId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/managedEnvironments/testcontainerenv12", - "environmentId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/managedEnvironments/testcontainerenv12", - "outboundIpAddresses": [ - "20.62.233.198" - ], - "latestRevisionName": "", - "latestRevisionFqdn": "", - "customDomainVerificationId": "55F2E4435A6748F0C3A4666505B3672446A9A9AEFDDC20F98EFEE4B5DCC7807E", - "configuration": { - "activeRevisionsMode": "Single" - }, - "template": { - "revisionSuffix": "", - "containers": [ - { - "image": "mcr.microsoft.com/azuredocs/containerapps-helloworld", - "name": "simple-hello-world-container", - "resources": { - "cpu": 0.25, - "memory": "0.5Gi", - "ephemeralStorage": "" - } - } - ], - "scale": { - "maxReplicas": 10 - } - }, - "eventStreamEndpoint": "https://eastus.azurecontainerapps.dev/subscriptions/azure_subscription_id/resourceGroups/myjstest/containerApps/mycontainerappxxx/eventstream" - }, - "identity": { - "type": "None" - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "52e90df7-0692-4a4c-aade-4be9d7207fe3" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:01 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7fd20792-65d4-4dcb-9812-5adbe1b24df4", - "x-ms-ratelimit-remaining-subscription-reads": "11977", - "x-ms-request-id": "7fd20792-65d4-4dcb-9812-5adbe1b24df4", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064002Z:7fd20792-65d4-4dcb-9812-5adbe1b24df4", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "name": "d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "status": "InProgress", - "startTime": "2022-11-15T06:39:59.4673406" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "bce9bfc3-29d6-4f05-b16a-84d910951836" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:02 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6d8cbe04-63b5-4301-9ce8-a1c0d17b8673", - "x-ms-ratelimit-remaining-subscription-reads": "11976", - "x-ms-request-id": "6d8cbe04-63b5-4301-9ce8-a1c0d17b8673", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064002Z:6d8cbe04-63b5-4301-9ce8-a1c0d17b8673", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "name": "d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "status": "InProgress", - "startTime": "2022-11-15T06:39:59.4673406" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "ce626ee7-e059-46cf-b1c0-98d3ce8b2a4f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:04 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a5280135-ca5c-4ed6-aff3-c229b97efd20", - "x-ms-ratelimit-remaining-subscription-reads": "11975", - "x-ms-request-id": "a5280135-ca5c-4ed6-aff3-c229b97efd20", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064004Z:a5280135-ca5c-4ed6-aff3-c229b97efd20", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "name": "d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "status": "InProgress", - "startTime": "2022-11-15T06:39:59.4673406" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "34fdea72-7277-465b-add1-fd0bf740bd36" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:07 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "01f74ad1-9c77-4df4-8b5a-2af4b5ab37c7", - "x-ms-ratelimit-remaining-subscription-reads": "11974", - "x-ms-request-id": "01f74ad1-9c77-4df4-8b5a-2af4b5ab37c7", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064007Z:01f74ad1-9c77-4df4-8b5a-2af4b5ab37c7", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "name": "d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "status": "InProgress", - "startTime": "2022-11-15T06:39:59.4673406" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "26926b96-9115-4d8c-8d1f-be5d5991f5e1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:09 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4d669ab7-9368-4ae8-9acd-4e368ac2c55f", - "x-ms-ratelimit-remaining-subscription-reads": "11973", - "x-ms-request-id": "4d669ab7-9368-4ae8-9acd-4e368ac2c55f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064009Z:4d669ab7-9368-4ae8-9acd-4e368ac2c55f", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "name": "d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "status": "InProgress", - "startTime": "2022-11-15T06:39:59.4673406" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "ab4bf167-a032-4b7f-9c7d-1029b5b3677f" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:12 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "569522a6-5089-4ec8-a099-51e444d1d666", - "x-ms-ratelimit-remaining-subscription-reads": "11972", - "x-ms-request-id": "569522a6-5089-4ec8-a099-51e444d1d666", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064012Z:569522a6-5089-4ec8-a099-51e444d1d666", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "name": "d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "status": "InProgress", - "startTime": "2022-11-15T06:39:59.4673406" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "6bfde47f-0a67-4279-9338-34233fb542b3" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:14 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "bca3b67e-2d04-416f-b702-24534c3a85fa", - "x-ms-ratelimit-remaining-subscription-reads": "11971", - "x-ms-request-id": "bca3b67e-2d04-416f-b702-24534c3a85fa", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064014Z:bca3b67e-2d04-416f-b702-24534c3a85fa", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "name": "d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "status": "InProgress", - "startTime": "2022-11-15T06:39:59.4673406" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "414343e0-839a-43e2-94a6-e15319d44268" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:16 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "083b6478-f2f7-47b7-bc2e-ba43032648c0", - "x-ms-ratelimit-remaining-subscription-reads": "11970", - "x-ms-request-id": "083b6478-f2f7-47b7-bc2e-ba43032648c0", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064017Z:083b6478-f2f7-47b7-bc2e-ba43032648c0", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "name": "d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "status": "InProgress", - "startTime": "2022-11-15T06:39:59.4673406" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "ac15e5d5-750b-4e4b-9c68-59dedd6a2c3d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:19 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1cff14f7-a709-4cb7-bd31-8684649b02e7", - "x-ms-ratelimit-remaining-subscription-reads": "11969", - "x-ms-request-id": "1cff14f7-a709-4cb7-bd31-8684649b02e7", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064019Z:1cff14f7-a709-4cb7-bd31-8684649b02e7", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "name": "d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "status": "InProgress", - "startTime": "2022-11-15T06:39:59.4673406" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "0f40265b-7664-4245-a8ae-75b6bb380cba" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:21 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "259fc8e3-0e96-4dd8-a204-198a52cf2c4e", - "x-ms-ratelimit-remaining-subscription-reads": "11968", - "x-ms-request-id": "259fc8e3-0e96-4dd8-a204-198a52cf2c4e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064022Z:259fc8e3-0e96-4dd8-a204-198a52cf2c4e", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "name": "d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "status": "InProgress", - "startTime": "2022-11-15T06:39:59.4673406" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "cfa21560-5f88-4782-8864-f167eb3051c7" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:24 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d37a8077-a1ab-42b8-a398-b4e3a24291fe", - "x-ms-ratelimit-remaining-subscription-reads": "11967", - "x-ms-request-id": "d37a8077-a1ab-42b8-a398-b4e3a24291fe", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064024Z:d37a8077-a1ab-42b8-a398-b4e3a24291fe", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "name": "d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "status": "InProgress", - "startTime": "2022-11-15T06:39:59.4673406" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "4c389f68-c63b-42f3-917b-c2d3ab744a07" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:26 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "89e698dd-bce4-4a34-b05d-ae92668e9b3f", - "x-ms-ratelimit-remaining-subscription-reads": "11966", - "x-ms-request-id": "89e698dd-bce4-4a34-b05d-ae92668e9b3f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064027Z:89e698dd-bce4-4a34-b05d-ae92668e9b3f", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "name": "d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "status": "InProgress", - "startTime": "2022-11-15T06:39:59.4673406" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "cb9e95d1-ebcc-4380-b935-a8f2032725ba" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:29 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2bec2287-379d-45c2-bdc4-b9a9b174b687", - "x-ms-ratelimit-remaining-subscription-reads": "11965", - "x-ms-request-id": "2bec2287-379d-45c2-bdc4-b9a9b174b687", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064029Z:2bec2287-379d-45c2-bdc4-b9a9b174b687", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "name": "d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "status": "InProgress", - "startTime": "2022-11-15T06:39:59.4673406" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "8806fb31-2082-4cd9-98af-0a71775e1880" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:31 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b51510b4-c9a2-4ed8-91c2-fe8fb78b21b2", - "x-ms-ratelimit-remaining-subscription-reads": "11964", - "x-ms-request-id": "b51510b4-c9a2-4ed8-91c2-fe8fb78b21b2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064032Z:b51510b4-c9a2-4ed8-91c2-fe8fb78b21b2", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "name": "d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "status": "InProgress", - "startTime": "2022-11-15T06:39:59.4673406" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "5faef4d2-ad61-4e3d-a83b-cf0e079dd8f2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:34 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d268462b-3081-4171-9f30-3dde883af8cd", - "x-ms-ratelimit-remaining-subscription-reads": "11963", - "x-ms-request-id": "d268462b-3081-4171-9f30-3dde883af8cd", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064034Z:d268462b-3081-4171-9f30-3dde883af8cd", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "name": "d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "status": "InProgress", - "startTime": "2022-11-15T06:39:59.4673406" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "86db3bae-3e80-4e56-8012-d448f472005c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:36 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "11884b95-0685-4df8-8f3c-b29bfacf8222", - "x-ms-ratelimit-remaining-subscription-reads": "11962", - "x-ms-request-id": "11884b95-0685-4df8-8f3c-b29bfacf8222", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064036Z:11884b95-0685-4df8-8f3c-b29bfacf8222", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "name": "d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "status": "InProgress", - "startTime": "2022-11-15T06:39:59.4673406" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "533eb2c1-6893-4fad-b305-373f2e82a8a8" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:38 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "800795c5-4daa-4a8e-93c3-67225bc80709", - "x-ms-ratelimit-remaining-subscription-reads": "11961", - "x-ms-request-id": "800795c5-4daa-4a8e-93c3-67225bc80709", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064039Z:800795c5-4daa-4a8e-93c3-67225bc80709", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationStatuses/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "name": "d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a", - "status": "Succeeded", - "startTime": "2022-11-15T06:39:59.4673406" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/containerApps/mycontainerappxxx?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "813cb069-4c59-48dc-891a-9b98d82f1da2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:39 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "565f1689-40e6-4e04-9299-05176d9afd9d", - "x-ms-ratelimit-remaining-subscription-reads": "11960", - "x-ms-request-id": "565f1689-40e6-4e04-9299-05176d9afd9d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064040Z:565f1689-40e6-4e04-9299-05176d9afd9d", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/containerapps/mycontainerappxxx", - "name": "mycontainerappxxx", - "type": "Microsoft.App/containerApps", - "location": "East US", - "systemData": { - "createdBy": "azure_client_id", - "createdByType": "Application", - "createdAt": "2022-11-15T06:39:59.3102549", - "lastModifiedBy": "azure_client_id", - "lastModifiedByType": "Application", - "lastModifiedAt": "2022-11-15T06:39:59.3102549" - }, - "properties": { - "provisioningState": "Succeeded", - "managedEnvironmentId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/managedEnvironments/testcontainerenv12", - "environmentId": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/managedEnvironments/testcontainerenv12", - "outboundIpAddresses": [ - "20.62.233.198" - ], - "latestRevisionName": "mycontainerappxxx--gvxv3b5", - "latestRevisionFqdn": "", - "customDomainVerificationId": "55F2E4435A6748F0C3A4666505B3672446A9A9AEFDDC20F98EFEE4B5DCC7807E", - "configuration": { - "activeRevisionsMode": "Single" - }, - "template": { - "revisionSuffix": "", - "containers": [ - { - "image": "mcr.microsoft.com/azuredocs/containerapps-helloworld", - "name": "simple-hello-world-container", - "resources": { - "cpu": 0.25, - "memory": "0.5Gi", - "ephemeralStorage": "" - } - } - ], - "scale": { - "maxReplicas": 10 - } - }, - "eventStreamEndpoint": "https://eastus.azurecontainerapps.dev/subscriptions/azure_subscription_id/resourceGroups/myjstest/containerApps/mycontainerappxxx/eventstream" - }, - "identity": { - "type": "None" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/appcontainers/arm-appcontainers/recordings/node/appcontainer_test/recording_containerapp_delete_test.json b/sdk/appcontainers/arm-appcontainers/recordings/node/appcontainer_test/recording_containerapp_delete_test.json deleted file mode 100644 index 171961416016..000000000000 --- a/sdk/appcontainers/arm-appcontainers/recordings/node/appcontainer_test/recording_containerapp_delete_test.json +++ /dev/null @@ -1,272 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/containerApps/mycontainerappxxx?api-version=2022-06-01-preview", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "90dc7a7e-6134-457d-b784-a8ac9d26dc96" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:40:43 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationResults/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a585dcaf-3faf-4271-9242-0dbbd2f2107f", - "x-ms-ratelimit-remaining-subscription-deletes": "14999", - "x-ms-request-id": "a585dcaf-3faf-4271-9242-0dbbd2f2107f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064044Z:a585dcaf-3faf-4271-9242-0dbbd2f2107f", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationResults/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "86cb879b-de15-4eaa-9036-099c381571ce" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:40:44 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationResults/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3dea6375-c293-40f9-8ed3-d31d80a58564", - "x-ms-ratelimit-remaining-subscription-reads": "11959", - "x-ms-request-id": "3dea6375-c293-40f9-8ed3-d31d80a58564", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064044Z:3dea6375-c293-40f9-8ed3-d31d80a58564", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationResults/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "3e524279-390f-44ef-84b2-c8c06aedae24" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:40:44 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationResults/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "42fe8922-a859-4479-a430-287df3289ab6", - "x-ms-ratelimit-remaining-subscription-reads": "11958", - "x-ms-request-id": "42fe8922-a859-4479-a430-287df3289ab6", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064045Z:42fe8922-a859-4479-a430-287df3289ab6", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationResults/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "d55936ba-a755-4f9a-b479-b74dc0fbedf1" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:40:49 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationResults/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1e8b99d7-f319-4386-b263-f583701d5ba6", - "x-ms-ratelimit-remaining-subscription-reads": "11957", - "x-ms-request-id": "1e8b99d7-f319-4386-b263-f583701d5ba6", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064050Z:1e8b99d7-f319-4386-b263-f583701d5ba6", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationResults/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "afa56b61-988b-4e92-8414-8d8ad08f0a57" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:40:55 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationResults/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a0ab4154-93e0-4d4f-86e8-d1bb8002b880", - "x-ms-ratelimit-remaining-subscription-reads": "11956", - "x-ms-request-id": "a0ab4154-93e0-4d4f-86e8-d1bb8002b880", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064055Z:a0ab4154-93e0-4d4f-86e8-d1bb8002b880", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationResults/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "65864cf5-67e3-427f-baca-1d68d910e12c" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:41:00 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationResults/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "98a65d26-8531-4dc0-a4b7-d09add337c44", - "x-ms-ratelimit-remaining-subscription-reads": "11955", - "x-ms-request-id": "98a65d26-8531-4dc0-a4b7-d09add337c44", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064101Z:98a65d26-8531-4dc0-a4b7-d09add337c44", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/containerappOperationResults/d54d3b95-15b0-4fd2-b9bd-c6fb4a0a3d7a?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "de62f2c6-1c40-4b80-bad8-c691fbef9654" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Date": "Tue, 15 Nov 2022 06:41:06 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d2b7cdb2-a723-42a1-bd3d-066f841e9538", - "x-ms-ratelimit-remaining-subscription-reads": "11954", - "x-ms-request-id": "d2b7cdb2-a723-42a1-bd3d-066f841e9538", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064106Z:d2b7cdb2-a723-42a1-bd3d-066f841e9538", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/containerApps?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "a0b981fa-cad1-484f-8b77-ceb8ed289380" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:41:06 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d440840e-1503-4980-9b30-d1c1f1cf6842", - "x-ms-ratelimit-remaining-subscription-reads": "11953", - "x-ms-request-id": "d440840e-1503-4980-9b30-d1c1f1cf6842", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064107Z:d440840e-1503-4980-9b30-d1c1f1cf6842", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "value": [] - } - } - ], - "Variables": {} -} diff --git a/sdk/appcontainers/arm-appcontainers/recordings/node/appcontainer_test/recording_containerapp_list_secrets_test.json b/sdk/appcontainers/arm-appcontainers/recordings/node/appcontainer_test/recording_containerapp_list_secrets_test.json deleted file mode 100644 index ab6ff264ecd3..000000000000 --- a/sdk/appcontainers/arm-appcontainers/recordings/node/appcontainer_test/recording_containerapp_list_secrets_test.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/containerApps/mycontainerappxxx/listSecrets?api-version=2022-06-01-preview", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "0", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "73c88a88-98fa-4e5b-94fb-bae7ff0e7592" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:40:41 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6daea887-b7be-417d-968f-7234e4f98e1d", - "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "6daea887-b7be-417d-968f-7234e4f98e1d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064041Z:6daea887-b7be-417d-968f-7234e4f98e1d", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "value": [] - } - } - ], - "Variables": {} -} diff --git a/sdk/appcontainers/arm-appcontainers/recordings/node/appcontainer_test/recording_managedenvironments_create_test.json b/sdk/appcontainers/arm-appcontainers/recordings/node/appcontainer_test/recording_managedenvironments_create_test.json deleted file mode 100644 index 7cc5350f66f1..000000000000 --- a/sdk/appcontainers/arm-appcontainers/recordings/node/appcontainer_test/recording_managedenvironments_create_test.json +++ /dev/null @@ -1,1046 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/managedEnvironments/testcontainerenv12?api-version=2022-06-01-preview", - "RequestMethod": "PUT", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Length": "59", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "89e8eb6e-7f71-4bd6-8144-86b92360180c" - }, - "RequestBody": { - "location": "East US", - "properties": { - "zoneRedundant": false - } - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "Cache-Control": "no-cache", - "Content-Length": "868", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:08 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-async-operation-timeout": "PT15M", - "x-ms-correlation-request-id": "f87d1276-00e5-4c1e-96d1-366c60d5ed25", - "x-ms-ratelimit-remaining-subscription-resource-requests": "99", - "x-ms-request-id": "f87d1276-00e5-4c1e-96d1-366c60d5ed25", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063908Z:f87d1276-00e5-4c1e-96d1-366c60d5ed25", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/managedEnvironments/testcontainerenv12", - "name": "testcontainerenv12", - "type": "Microsoft.App/managedEnvironments", - "location": "eastus", - "systemData": { - "createdBy": "azure_client_id", - "createdByType": "Application", - "createdAt": "2022-11-15T06:39:05.184759Z", - "lastModifiedBy": "azure_client_id", - "lastModifiedByType": "Application", - "lastModifiedAt": "2022-11-15T06:39:05.184759Z" - }, - "properties": { - "provisioningState": "Waiting", - "useLegionServerlessCompute": false, - "defaultDomain": "agreeablecoast-86b54f31.eastus.azurecontainerapps.io", - "staticIp": "20.62.232.143", - "appLogsConfiguration": { - "logAnalyticsConfiguration": {} - }, - "zoneRedundant": false, - "customDomainConfiguration": { - "customDomainVerificationId": "55F2E4435A6748F0C3A4666505B3672446A9A9AEFDDC20F98EFEE4B5DCC7807E" - } - }, - "sku": { - "name": "Consumption" - } - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "5a86816e-262e-4b2a-bbf2-79886892c4d1" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:08 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d6cf9b97-3858-468d-8b08-919f7b2b5f79", - "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-request-id": "d6cf9b97-3858-468d-8b08-919f7b2b5f79", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063909Z:d6cf9b97-3858-468d-8b08-919f7b2b5f79", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "74cd1086-8e59-4fea-9805-7660becfef02" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:09 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fe1f841b-13ca-4352-aa59-1d998a0ab652", - "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "fe1f841b-13ca-4352-aa59-1d998a0ab652", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063909Z:fe1f841b-13ca-4352-aa59-1d998a0ab652", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "935ff181-e477-4b13-95bf-f5518527e8b5" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:11 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ad29f92f-ced9-433a-b7bf-1c0be341ceb2", - "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-request-id": "ad29f92f-ced9-433a-b7bf-1c0be341ceb2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063912Z:ad29f92f-ced9-433a-b7bf-1c0be341ceb2", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "39cf5e7f-5581-428b-a2e5-6f81eae7ed1d" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:14 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "20e80217-dcea-4cc9-99d8-336b247e9b00", - "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-request-id": "20e80217-dcea-4cc9-99d8-336b247e9b00", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063914Z:20e80217-dcea-4cc9-99d8-336b247e9b00", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "e2745427-b87c-4582-96cc-ef5ef86368e2" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:16 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e575b1ef-d07e-4b71-9580-0d5e68466ca9", - "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-request-id": "e575b1ef-d07e-4b71-9580-0d5e68466ca9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063917Z:e575b1ef-d07e-4b71-9580-0d5e68466ca9", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "dd8ddaed-352e-4e56-8f3d-cb6573ee9c25" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:18 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b9b640bc-af86-424b-85ca-862abd1000c7", - "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-request-id": "b9b640bc-af86-424b-85ca-862abd1000c7", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063919Z:b9b640bc-af86-424b-85ca-862abd1000c7", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "934787d2-24b8-4a1d-823b-02a6be8a2aa9" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:21 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e10ecf3f-6c79-4f31-9f09-7d1781b2f9b8", - "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-request-id": "e10ecf3f-6c79-4f31-9f09-7d1781b2f9b8", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063921Z:e10ecf3f-6c79-4f31-9f09-7d1781b2f9b8", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "59662715-6f8c-4de8-b4fd-77f8486321c6" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:23 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0f57982e-93ab-4b75-9e7d-8fbff880d055", - "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-request-id": "0f57982e-93ab-4b75-9e7d-8fbff880d055", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063924Z:0f57982e-93ab-4b75-9e7d-8fbff880d055", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "7eae52bf-d884-411d-9265-c7187cabfe1c" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:25 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7ef29479-9d9a-4d7a-bdc9-99ac099e71aa", - "x-ms-ratelimit-remaining-subscription-reads": "11991", - "x-ms-request-id": "7ef29479-9d9a-4d7a-bdc9-99ac099e71aa", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063926Z:7ef29479-9d9a-4d7a-bdc9-99ac099e71aa", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "b50cb164-3496-485d-a40a-aa9257729fc3" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:28 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "df090452-a2b3-4d43-8e1a-54df89720e14", - "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-request-id": "df090452-a2b3-4d43-8e1a-54df89720e14", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063929Z:df090452-a2b3-4d43-8e1a-54df89720e14", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "5017c1f2-b270-410a-93a6-d79991538b06" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:30 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1e0689db-7490-41da-bede-722ae4f7cdd4", - "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-request-id": "1e0689db-7490-41da-bede-722ae4f7cdd4", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063931Z:1e0689db-7490-41da-bede-722ae4f7cdd4", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "f07139c8-e0d5-439b-9ec3-1a4972b2c0e5" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:33 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f4c4240f-5d58-4ab3-a34c-461a06d042a9", - "x-ms-ratelimit-remaining-subscription-reads": "11988", - "x-ms-request-id": "f4c4240f-5d58-4ab3-a34c-461a06d042a9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063934Z:f4c4240f-5d58-4ab3-a34c-461a06d042a9", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "b7c2df2b-b7a7-4c08-95d4-ff3acfe850ac" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:35 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2dc8af76-3f7a-4319-858b-c457d3e97d95", - "x-ms-ratelimit-remaining-subscription-reads": "11987", - "x-ms-request-id": "2dc8af76-3f7a-4319-858b-c457d3e97d95", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063936Z:2dc8af76-3f7a-4319-858b-c457d3e97d95", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "f35acbc5-ae85-4f17-b512-a1b6b67730ac" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:37 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "77581d67-4620-483c-a7a7-b1fe17af152f", - "x-ms-ratelimit-remaining-subscription-reads": "11986", - "x-ms-request-id": "77581d67-4620-483c-a7a7-b1fe17af152f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063938Z:77581d67-4620-483c-a7a7-b1fe17af152f", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "1baeff96-b0c1-4e26-ac60-22f24474e0af" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:40 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3fba4c9e-ec3b-4cb8-be83-cbe1671b41ff", - "x-ms-ratelimit-remaining-subscription-reads": "11985", - "x-ms-request-id": "3fba4c9e-ec3b-4cb8-be83-cbe1671b41ff", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063941Z:3fba4c9e-ec3b-4cb8-be83-cbe1671b41ff", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "4eaa4862-233e-4aad-924d-a70fe4daeffb" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:43 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5f052444-af1a-46d1-a203-cb0e7ef37eea", - "x-ms-ratelimit-remaining-subscription-reads": "11984", - "x-ms-request-id": "5f052444-af1a-46d1-a203-cb0e7ef37eea", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063943Z:5f052444-af1a-46d1-a203-cb0e7ef37eea", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "da1f3677-5f46-48f6-a4f1-f52ab43ace74" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:46 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "84a1491d-ff84-49f1-bb46-0fb074bdcb3c", - "x-ms-ratelimit-remaining-subscription-reads": "11983", - "x-ms-request-id": "84a1491d-ff84-49f1-bb46-0fb074bdcb3c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063946Z:84a1491d-ff84-49f1-bb46-0fb074bdcb3c", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "95b4f1d9-c367-4497-8c45-0e6138503d57" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:48 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "aef33eb3-8b74-4118-a114-5fea09a85a62", - "x-ms-ratelimit-remaining-subscription-reads": "11982", - "x-ms-request-id": "aef33eb3-8b74-4118-a114-5fea09a85a62", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063948Z:aef33eb3-8b74-4118-a114-5fea09a85a62", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "1d62fdad-d30a-40fe-9101-9ac22be3a5b6" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:50 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "35b5fc67-878d-434b-94e6-469562072103", - "x-ms-ratelimit-remaining-subscription-reads": "11981", - "x-ms-request-id": "35b5fc67-878d-434b-94e6-469562072103", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063951Z:35b5fc67-878d-434b-94e6-469562072103", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "066671db-d163-4aa7-ba3a-b8e479f97a48" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:53 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0253fad9-0b69-4ff8-8538-e3ddee1f4ec3", - "x-ms-ratelimit-remaining-subscription-reads": "11980", - "x-ms-request-id": "0253fad9-0b69-4ff8-8538-e3ddee1f4ec3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063953Z:0253fad9-0b69-4ff8-8538-e3ddee1f4ec3", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "InProgress", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012?api-version=2022-06-01-preview\u0026azureAsyncOperation=true", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "09af915a-e6fd-4e15-a2c4-6ae46bbca2be" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:55 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "086aa618-f686-4801-b143-d5c413bf2b5f", - "x-ms-ratelimit-remaining-subscription-reads": "11979", - "x-ms-request-id": "086aa618-f686-4801-b143-d5c413bf2b5f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063955Z:086aa618-f686-4801-b143-d5c413bf2b5f", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationStatuses/00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "name": "00dfd1b7-8b10-47bf-bf77-4272fd7b3012", - "status": "Succeeded", - "startTime": "2022-11-15T06:39:07.6332961" - } - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/managedEnvironments/testcontainerenv12?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "Content-Type": "application/json", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "4bab790e-a6d4-4b90-bfa2-39cf73ce8881" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:39:56 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7bdcec35-6ec7-41a7-b468-cf36274c0abb", - "x-ms-ratelimit-remaining-subscription-reads": "11978", - "x-ms-request-id": "7bdcec35-6ec7-41a7-b468-cf36274c0abb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T063956Z:7bdcec35-6ec7-41a7-b468-cf36274c0abb", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "id": "/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/managedEnvironments/testcontainerenv12", - "name": "testcontainerenv12", - "type": "Microsoft.App/managedEnvironments", - "location": "eastus", - "systemData": { - "createdBy": "azure_client_id", - "createdByType": "Application", - "createdAt": "2022-11-15T06:39:05.184759", - "lastModifiedBy": "azure_client_id", - "lastModifiedByType": "Application", - "lastModifiedAt": "2022-11-15T06:39:05.184759" - }, - "properties": { - "provisioningState": "Succeeded", - "useLegionServerlessCompute": false, - "defaultDomain": "agreeablecoast-86b54f31.eastus.azurecontainerapps.io", - "staticIp": "20.62.232.143", - "appLogsConfiguration": { - "logAnalyticsConfiguration": {} - }, - "zoneRedundant": false, - "customDomainConfiguration": { - "customDomainVerificationId": "55F2E4435A6748F0C3A4666505B3672446A9A9AEFDDC20F98EFEE4B5DCC7807E" - } - }, - "sku": { - "name": "Consumption" - } - } - } - ], - "Variables": {} -} diff --git a/sdk/appcontainers/arm-appcontainers/recordings/node/appcontainer_test/recording_managedenvironments_delete_test.json b/sdk/appcontainers/arm-appcontainers/recordings/node/appcontainer_test/recording_managedenvironments_delete_test.json deleted file mode 100644 index 2e55b5e1a6a8..000000000000 --- a/sdk/appcontainers/arm-appcontainers/recordings/node/appcontainer_test/recording_managedenvironments_delete_test.json +++ /dev/null @@ -1,4925 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/managedEnvironments/testcontainerenv12?api-version=2022-06-01-preview", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "ee6099bd-4b09-4324-b171-618961506684" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:41:08 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "67318021-9305-477b-925e-06d9edd75249", - "x-ms-ratelimit-remaining-subscription-deletes": "14998", - "x-ms-request-id": "67318021-9305-477b-925e-06d9edd75249", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064109Z:67318021-9305-477b-925e-06d9edd75249", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "e45782b2-5de4-4692-b92d-c110b19e0fd2" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:41:08 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e40e3d1e-175f-468f-adcd-a6ab588d0e66", - "x-ms-ratelimit-remaining-subscription-reads": "11952", - "x-ms-request-id": "e40e3d1e-175f-468f-adcd-a6ab588d0e66", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064109Z:e40e3d1e-175f-468f-adcd-a6ab588d0e66", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "ffc0a3fe-a5a3-41e8-bef7-1eebd7d8319a" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:41:09 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8b2fcee9-7764-43d9-9799-f4e4615aa776", - "x-ms-ratelimit-remaining-subscription-reads": "11951", - "x-ms-request-id": "8b2fcee9-7764-43d9-9799-f4e4615aa776", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064109Z:8b2fcee9-7764-43d9-9799-f4e4615aa776", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "875588c0-e4d2-4c11-b128-caf937ab691a" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:41:14 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "51b228bf-a656-45d6-9a6f-295da0457076", - "x-ms-ratelimit-remaining-subscription-reads": "11950", - "x-ms-request-id": "51b228bf-a656-45d6-9a6f-295da0457076", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064115Z:51b228bf-a656-45d6-9a6f-295da0457076", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "251e66ea-ba23-4b95-bd5f-485631c32f69" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:41:20 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c05e0cf4-d563-4e62-8f02-0d4f09342de6", - "x-ms-ratelimit-remaining-subscription-reads": "11949", - "x-ms-request-id": "c05e0cf4-d563-4e62-8f02-0d4f09342de6", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064120Z:c05e0cf4-d563-4e62-8f02-0d4f09342de6", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "7f7a17fe-d0e8-494e-91a0-196f10db6729" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:41:25 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6166912b-d06c-47f3-a36e-5564133eb206", - "x-ms-ratelimit-remaining-subscription-reads": "11948", - "x-ms-request-id": "6166912b-d06c-47f3-a36e-5564133eb206", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064126Z:6166912b-d06c-47f3-a36e-5564133eb206", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "3345de8e-70d9-478d-bee2-56815791f978" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:41:30 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "bd0a8f11-c92b-42b3-94d5-b76a17934f0e", - "x-ms-ratelimit-remaining-subscription-reads": "11947", - "x-ms-request-id": "bd0a8f11-c92b-42b3-94d5-b76a17934f0e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064131Z:bd0a8f11-c92b-42b3-94d5-b76a17934f0e", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "08744e60-ab96-443b-812b-69fb5d9d30cd" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:41:37 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b34637c0-01c8-48c9-bbab-ee31f617c0d6", - "x-ms-ratelimit-remaining-subscription-reads": "11946", - "x-ms-request-id": "b34637c0-01c8-48c9-bbab-ee31f617c0d6", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064137Z:b34637c0-01c8-48c9-bbab-ee31f617c0d6", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "9f365181-1550-4b68-8a0a-f4e892efaaea" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:41:42 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9f0172e4-6c82-4612-9666-385ef94a86f7", - "x-ms-ratelimit-remaining-subscription-reads": "11945", - "x-ms-request-id": "9f0172e4-6c82-4612-9666-385ef94a86f7", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064142Z:9f0172e4-6c82-4612-9666-385ef94a86f7", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "7ca0b1f9-4ad4-4b78-951f-3627cd431375" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:41:48 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1824a0ae-fe55-4896-a678-2b4793310429", - "x-ms-ratelimit-remaining-subscription-reads": "11944", - "x-ms-request-id": "1824a0ae-fe55-4896-a678-2b4793310429", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064148Z:1824a0ae-fe55-4896-a678-2b4793310429", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "c57c7da3-a1bb-414c-9540-6be0fca1cdb3" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:41:53 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "da3ac1e3-53f4-4dad-a83c-89d9470f24fb", - "x-ms-ratelimit-remaining-subscription-reads": "11943", - "x-ms-request-id": "da3ac1e3-53f4-4dad-a83c-89d9470f24fb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064153Z:da3ac1e3-53f4-4dad-a83c-89d9470f24fb", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "78c6d7b4-2b3c-4529-beee-21e62bf64891" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:41:58 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "af4c51e8-4f8c-4d49-97ff-0ae4c7f68cac", - "x-ms-ratelimit-remaining-subscription-reads": "11942", - "x-ms-request-id": "af4c51e8-4f8c-4d49-97ff-0ae4c7f68cac", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064159Z:af4c51e8-4f8c-4d49-97ff-0ae4c7f68cac", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "6992801c-c804-40bf-a5cf-fa4929059ce2" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:42:04 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4f5574ad-938b-4f87-9dac-d4df351e427c", - "x-ms-ratelimit-remaining-subscription-reads": "11941", - "x-ms-request-id": "4f5574ad-938b-4f87-9dac-d4df351e427c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064204Z:4f5574ad-938b-4f87-9dac-d4df351e427c", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "e9a167e8-6704-4fc0-a7d1-c3865287f7b9" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:42:09 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a7923914-95b8-4f73-8ff6-8a3e1837d1da", - "x-ms-ratelimit-remaining-subscription-reads": "11940", - "x-ms-request-id": "a7923914-95b8-4f73-8ff6-8a3e1837d1da", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064210Z:a7923914-95b8-4f73-8ff6-8a3e1837d1da", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "1f459df9-879e-42f6-8ace-3dd2904f8628" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:42:15 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3424b542-75bc-43b9-9f9c-9aec607214fa", - "x-ms-ratelimit-remaining-subscription-reads": "11939", - "x-ms-request-id": "3424b542-75bc-43b9-9f9c-9aec607214fa", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064215Z:3424b542-75bc-43b9-9f9c-9aec607214fa", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "a980f812-3ece-4657-962d-5606bde566b1" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:42:20 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "03f6f71a-4a85-4491-8f58-d06957eebed9", - "x-ms-ratelimit-remaining-subscription-reads": "11938", - "x-ms-request-id": "03f6f71a-4a85-4491-8f58-d06957eebed9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064221Z:03f6f71a-4a85-4491-8f58-d06957eebed9", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "5b6fb0cf-aa23-4560-8271-bc0a48a46aea" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:42:25 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "838fd8e5-81b1-4d95-8289-cbb09bf01bcd", - "x-ms-ratelimit-remaining-subscription-reads": "11937", - "x-ms-request-id": "838fd8e5-81b1-4d95-8289-cbb09bf01bcd", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064226Z:838fd8e5-81b1-4d95-8289-cbb09bf01bcd", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "6b4d75c1-6ba6-4e1a-b341-c38e50b644d8" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:42:31 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5e53bf9a-9de3-4d64-8d13-2ec5304c7ec3", - "x-ms-ratelimit-remaining-subscription-reads": "11936", - "x-ms-request-id": "5e53bf9a-9de3-4d64-8d13-2ec5304c7ec3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064231Z:5e53bf9a-9de3-4d64-8d13-2ec5304c7ec3", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "01cde6e7-ddd1-4380-8b03-e2d4ea4fc574" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:42:36 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4d687cc6-b327-400b-84b0-c793aee4ab3a", - "x-ms-ratelimit-remaining-subscription-reads": "11935", - "x-ms-request-id": "4d687cc6-b327-400b-84b0-c793aee4ab3a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064237Z:4d687cc6-b327-400b-84b0-c793aee4ab3a", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "4e85bac4-627b-44fd-86a3-adeb1b25fe13" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:42:41 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "35e52a21-8835-4791-bb35-a0bc76f68802", - "x-ms-ratelimit-remaining-subscription-reads": "11934", - "x-ms-request-id": "35e52a21-8835-4791-bb35-a0bc76f68802", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064242Z:35e52a21-8835-4791-bb35-a0bc76f68802", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "68608f47-d01f-49f4-bf88-a8b52fc19e96" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:42:47 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "00793f6b-7bd5-45c6-99d1-d69c05ea3891", - "x-ms-ratelimit-remaining-subscription-reads": "11933", - "x-ms-request-id": "00793f6b-7bd5-45c6-99d1-d69c05ea3891", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064248Z:00793f6b-7bd5-45c6-99d1-d69c05ea3891", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "7de42d48-7bc5-441f-8e22-7da19266924f" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:42:52 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "517c3b41-a169-4f1e-8bdf-dd517b09a2b2", - "x-ms-ratelimit-remaining-subscription-reads": "11932", - "x-ms-request-id": "517c3b41-a169-4f1e-8bdf-dd517b09a2b2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064253Z:517c3b41-a169-4f1e-8bdf-dd517b09a2b2", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "61b5ea67-b4d5-4969-a988-0bfe3ec64b29" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:42:58 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "22df3dcd-684e-4e09-886c-3406ca263a18", - "x-ms-ratelimit-remaining-subscription-reads": "11931", - "x-ms-request-id": "22df3dcd-684e-4e09-886c-3406ca263a18", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064259Z:22df3dcd-684e-4e09-886c-3406ca263a18", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "0b3fb7f3-3e5e-4a7a-8584-3a540fd5d48d" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:43:04 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "03a6b8f9-c0cf-4543-b99f-e40bab5cba4f", - "x-ms-ratelimit-remaining-subscription-reads": "11930", - "x-ms-request-id": "03a6b8f9-c0cf-4543-b99f-e40bab5cba4f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064304Z:03a6b8f9-c0cf-4543-b99f-e40bab5cba4f", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "0a5a5f37-9722-4c14-9ffd-bf6854208fe0" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:43:09 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9c68d266-1e77-47a4-a8f1-f2e8bf3b4fa3", - "x-ms-ratelimit-remaining-subscription-reads": "11929", - "x-ms-request-id": "9c68d266-1e77-47a4-a8f1-f2e8bf3b4fa3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064310Z:9c68d266-1e77-47a4-a8f1-f2e8bf3b4fa3", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "e725965a-8d6d-4e56-9734-a8ba61770529" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:43:15 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "37dd29ba-e2e9-4d56-aa53-5e7729e8f697", - "x-ms-ratelimit-remaining-subscription-reads": "11928", - "x-ms-request-id": "37dd29ba-e2e9-4d56-aa53-5e7729e8f697", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064315Z:37dd29ba-e2e9-4d56-aa53-5e7729e8f697", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "dd6c08f8-16af-4de8-b6cd-1cc349c34ae8" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:43:20 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "cee951b5-8f61-40f5-9eed-4237bb9a487e", - "x-ms-ratelimit-remaining-subscription-reads": "11927", - "x-ms-request-id": "cee951b5-8f61-40f5-9eed-4237bb9a487e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064320Z:cee951b5-8f61-40f5-9eed-4237bb9a487e", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "4817d851-6732-4170-8f02-28de1a9da15e" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:43:25 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "149c12c9-bec7-491a-b85c-101eea573024", - "x-ms-ratelimit-remaining-subscription-reads": "11926", - "x-ms-request-id": "149c12c9-bec7-491a-b85c-101eea573024", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064326Z:149c12c9-bec7-491a-b85c-101eea573024", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "973ab424-9f61-4546-b191-f3fcb7d86559" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:43:31 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "67d90203-689a-41ea-b540-bf4101ba4c80", - "x-ms-ratelimit-remaining-subscription-reads": "11925", - "x-ms-request-id": "67d90203-689a-41ea-b540-bf4101ba4c80", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064331Z:67d90203-689a-41ea-b540-bf4101ba4c80", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "816b6b02-4a92-4d4d-aea2-85b444a03d41" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:43:36 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "57131e96-19f7-41ab-a79d-5f9d5ca68642", - "x-ms-ratelimit-remaining-subscription-reads": "11924", - "x-ms-request-id": "57131e96-19f7-41ab-a79d-5f9d5ca68642", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064337Z:57131e96-19f7-41ab-a79d-5f9d5ca68642", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "4332f73c-d003-47d6-afab-6b2b30b3799c" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:43:42 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d4e5f888-fa67-43e3-a858-3b33c76fd411", - "x-ms-ratelimit-remaining-subscription-reads": "11923", - "x-ms-request-id": "d4e5f888-fa67-43e3-a858-3b33c76fd411", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064342Z:d4e5f888-fa67-43e3-a858-3b33c76fd411", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "088d1612-05c5-412f-b524-b28ef6fa2d68" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:43:47 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9afa6d1f-29f1-4f47-ab3d-6d3bfba314be", - "x-ms-ratelimit-remaining-subscription-reads": "11922", - "x-ms-request-id": "9afa6d1f-29f1-4f47-ab3d-6d3bfba314be", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064348Z:9afa6d1f-29f1-4f47-ab3d-6d3bfba314be", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "a36b46c7-71ca-4d91-8b80-e464e0be29d9" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:43:52 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f42649eb-5dec-4efd-af6d-7d9f1d517ddc", - "x-ms-ratelimit-remaining-subscription-reads": "11921", - "x-ms-request-id": "f42649eb-5dec-4efd-af6d-7d9f1d517ddc", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064353Z:f42649eb-5dec-4efd-af6d-7d9f1d517ddc", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "d9d0c625-6528-4295-9591-139c1719cb39" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:43:58 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "39ab1088-7987-4018-b0c4-83d4bafa9201", - "x-ms-ratelimit-remaining-subscription-reads": "11920", - "x-ms-request-id": "39ab1088-7987-4018-b0c4-83d4bafa9201", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064359Z:39ab1088-7987-4018-b0c4-83d4bafa9201", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "f5a954a5-8abd-4b94-9696-8da0ac9aaa7f" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:44:03 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "191cbe90-8989-4cb9-bbb2-a51f0e27395c", - "x-ms-ratelimit-remaining-subscription-reads": "11919", - "x-ms-request-id": "191cbe90-8989-4cb9-bbb2-a51f0e27395c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064404Z:191cbe90-8989-4cb9-bbb2-a51f0e27395c", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "4bc9f533-df6e-4f58-89d8-9bf99e38c09c" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:44:09 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "219676cc-04d9-40e2-b575-149b8b6757f5", - "x-ms-ratelimit-remaining-subscription-reads": "11918", - "x-ms-request-id": "219676cc-04d9-40e2-b575-149b8b6757f5", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064409Z:219676cc-04d9-40e2-b575-149b8b6757f5", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "ad60e7a3-35fd-45d9-b60c-98cf863b3308" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:44:15 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c48a5ad2-262d-4616-bd6b-ceb46fc2c6cb", - "x-ms-ratelimit-remaining-subscription-reads": "11917", - "x-ms-request-id": "c48a5ad2-262d-4616-bd6b-ceb46fc2c6cb", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064415Z:c48a5ad2-262d-4616-bd6b-ceb46fc2c6cb", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "bfe2a4f5-f712-49a4-8c71-afafc7d2a776" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:44:20 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0f949fec-7f7e-4dd2-a672-1655ac766d86", - "x-ms-ratelimit-remaining-subscription-reads": "11916", - "x-ms-request-id": "0f949fec-7f7e-4dd2-a672-1655ac766d86", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064420Z:0f949fec-7f7e-4dd2-a672-1655ac766d86", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "de507ee5-2ed2-4e29-8b97-0c95d10d31a3" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:44:26 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1b233c8d-0ee7-49fe-bff8-2f37d42ff41b", - "x-ms-ratelimit-remaining-subscription-reads": "11915", - "x-ms-request-id": "1b233c8d-0ee7-49fe-bff8-2f37d42ff41b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064426Z:1b233c8d-0ee7-49fe-bff8-2f37d42ff41b", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "d7e5a11e-f222-4889-b0a8-bc453c1d8936" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:44:31 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2fc16960-d4e4-4f8f-a030-6899a1b5a510", - "x-ms-ratelimit-remaining-subscription-reads": "11914", - "x-ms-request-id": "2fc16960-d4e4-4f8f-a030-6899a1b5a510", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064431Z:2fc16960-d4e4-4f8f-a030-6899a1b5a510", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "4c7ec354-e9df-4a9b-bb06-7432d2f27ca9" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:44:36 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "03ff4fac-7fd8-44b5-8c4f-070909d90ede", - "x-ms-ratelimit-remaining-subscription-reads": "11913", - "x-ms-request-id": "03ff4fac-7fd8-44b5-8c4f-070909d90ede", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064437Z:03ff4fac-7fd8-44b5-8c4f-070909d90ede", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "7082fb15-7210-4115-a0b6-57454b5de5ce" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:44:42 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "091c8ad9-df51-4c6d-b912-3b8457497509", - "x-ms-ratelimit-remaining-subscription-reads": "11912", - "x-ms-request-id": "091c8ad9-df51-4c6d-b912-3b8457497509", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064442Z:091c8ad9-df51-4c6d-b912-3b8457497509", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "3224d821-e4e4-44f6-8d29-a0a05b096e6b" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:44:47 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "535822c7-d4c4-4b41-8ad0-7cc4cc9f870d", - "x-ms-ratelimit-remaining-subscription-reads": "11911", - "x-ms-request-id": "535822c7-d4c4-4b41-8ad0-7cc4cc9f870d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064448Z:535822c7-d4c4-4b41-8ad0-7cc4cc9f870d", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "dd834c00-ee69-4ced-a072-75a0c3604a20" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:44:53 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "eb1a4210-1c00-4d09-b363-37a3a8cc7eec", - "x-ms-ratelimit-remaining-subscription-reads": "11910", - "x-ms-request-id": "eb1a4210-1c00-4d09-b363-37a3a8cc7eec", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064453Z:eb1a4210-1c00-4d09-b363-37a3a8cc7eec", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "5409f3be-fb78-4ef3-ad93-3510f5dec6a3" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:44:58 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "42c9c78f-396b-4858-9854-da40444a5e8d", - "x-ms-ratelimit-remaining-subscription-reads": "11909", - "x-ms-request-id": "42c9c78f-396b-4858-9854-da40444a5e8d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064459Z:42c9c78f-396b-4858-9854-da40444a5e8d", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "97b6b36c-4bba-46a0-be3d-da7c365631e5" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:45:04 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9625c952-e617-495b-9a4b-d5e7c76837bd", - "x-ms-ratelimit-remaining-subscription-reads": "11908", - "x-ms-request-id": "9625c952-e617-495b-9a4b-d5e7c76837bd", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064504Z:9625c952-e617-495b-9a4b-d5e7c76837bd", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "6a1ba279-639c-4e15-8096-0c6e2612b99f" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:45:09 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ea8c4b03-5de4-4de9-949d-d8a91f54c602", - "x-ms-ratelimit-remaining-subscription-reads": "11907", - "x-ms-request-id": "ea8c4b03-5de4-4de9-949d-d8a91f54c602", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064510Z:ea8c4b03-5de4-4de9-949d-d8a91f54c602", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "9962bf94-66a9-4a94-877b-dc1e6db4d794" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:45:14 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4adf7356-be15-4b07-bc31-dbe1a224a3b2", - "x-ms-ratelimit-remaining-subscription-reads": "11906", - "x-ms-request-id": "4adf7356-be15-4b07-bc31-dbe1a224a3b2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064515Z:4adf7356-be15-4b07-bc31-dbe1a224a3b2", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "515e7e97-f96c-4d6a-9370-fe373011922b" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:45:20 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3e123666-8549-460f-a078-6df03c831658", - "x-ms-ratelimit-remaining-subscription-reads": "11905", - "x-ms-request-id": "3e123666-8549-460f-a078-6df03c831658", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064521Z:3e123666-8549-460f-a078-6df03c831658", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "30a858cb-90d3-47dd-99e2-e246a4dbd70c" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:45:25 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d035186e-ff06-4a97-97ac-2916ea25fcb9", - "x-ms-ratelimit-remaining-subscription-reads": "11904", - "x-ms-request-id": "d035186e-ff06-4a97-97ac-2916ea25fcb9", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064526Z:d035186e-ff06-4a97-97ac-2916ea25fcb9", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "bdb4b7a6-4a36-48ef-840b-bfe39a7861ef" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:45:31 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "41598bb6-2635-44a5-898b-dbd81b62b4cd", - "x-ms-ratelimit-remaining-subscription-reads": "11903", - "x-ms-request-id": "41598bb6-2635-44a5-898b-dbd81b62b4cd", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064531Z:41598bb6-2635-44a5-898b-dbd81b62b4cd", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "3923d921-601d-4b03-8500-32fc10fb8b7b" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:45:37 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b6a93a85-83e8-486f-ba85-fd6a89f7a80d", - "x-ms-ratelimit-remaining-subscription-reads": "11902", - "x-ms-request-id": "b6a93a85-83e8-486f-ba85-fd6a89f7a80d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064537Z:b6a93a85-83e8-486f-ba85-fd6a89f7a80d", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "be25521f-68a0-4df8-b938-0734b4a5e4ee" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:45:42 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6c7e6db4-9294-4b4c-8c53-c630672faa6b", - "x-ms-ratelimit-remaining-subscription-reads": "11901", - "x-ms-request-id": "6c7e6db4-9294-4b4c-8c53-c630672faa6b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064542Z:6c7e6db4-9294-4b4c-8c53-c630672faa6b", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "178cdea5-e8a3-4686-9c0c-53a99771f45e" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:45:48 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7568a5a6-c886-472c-bcb2-f031d893cf6c", - "x-ms-ratelimit-remaining-subscription-reads": "11900", - "x-ms-request-id": "7568a5a6-c886-472c-bcb2-f031d893cf6c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064548Z:7568a5a6-c886-472c-bcb2-f031d893cf6c", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "eaff5b48-f2e1-446e-ac4b-2c8ed9a78eaa" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:45:53 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "81592c92-254a-47d1-bee0-2905d06b273e", - "x-ms-ratelimit-remaining-subscription-reads": "11899", - "x-ms-request-id": "81592c92-254a-47d1-bee0-2905d06b273e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064553Z:81592c92-254a-47d1-bee0-2905d06b273e", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "c9b5a7ba-8f11-440b-84d0-8c3d907a61a5" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:45:58 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "cb1703e1-6e47-4162-983d-507a3f190d9d", - "x-ms-ratelimit-remaining-subscription-reads": "11898", - "x-ms-request-id": "cb1703e1-6e47-4162-983d-507a3f190d9d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064559Z:cb1703e1-6e47-4162-983d-507a3f190d9d", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "15bdf35e-8b4c-4a7f-bdb6-74076796ec3a" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:46:04 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c1f8bea4-9eab-4f17-b9a1-0017c616d6e0", - "x-ms-ratelimit-remaining-subscription-reads": "11897", - "x-ms-request-id": "c1f8bea4-9eab-4f17-b9a1-0017c616d6e0", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064604Z:c1f8bea4-9eab-4f17-b9a1-0017c616d6e0", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "33ca5cfb-4703-4042-8e22-9b6a0d3c45a8" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:46:09 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "bb3ae010-63a9-46c5-ae4d-078284308a5a", - "x-ms-ratelimit-remaining-subscription-reads": "11896", - "x-ms-request-id": "bb3ae010-63a9-46c5-ae4d-078284308a5a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064609Z:bb3ae010-63a9-46c5-ae4d-078284308a5a", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "5cc35c17-76ff-443b-8705-03481ca13b7a" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:46:14 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d9b968e9-e9dc-415a-ad06-24f187f41228", - "x-ms-ratelimit-remaining-subscription-reads": "11895", - "x-ms-request-id": "d9b968e9-e9dc-415a-ad06-24f187f41228", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064615Z:d9b968e9-e9dc-415a-ad06-24f187f41228", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "48005fae-9d95-4307-bc42-f16431e33427" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:46:20 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "52f7e097-3b8b-411c-a538-02e666a1ec90", - "x-ms-ratelimit-remaining-subscription-reads": "11894", - "x-ms-request-id": "52f7e097-3b8b-411c-a538-02e666a1ec90", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064620Z:52f7e097-3b8b-411c-a538-02e666a1ec90", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "52ae742f-ccaa-4ce9-aa6e-6e173e6ab7bb" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:46:25 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "de6cdbe6-869f-4abe-8e43-ffb34d3d4500", - "x-ms-ratelimit-remaining-subscription-reads": "11893", - "x-ms-request-id": "de6cdbe6-869f-4abe-8e43-ffb34d3d4500", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064626Z:de6cdbe6-869f-4abe-8e43-ffb34d3d4500", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "0f374c68-5630-4ba6-9540-698ded2170c2" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:46:31 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5a99fbf3-b0db-4c20-ae5b-24e1c6e76363", - "x-ms-ratelimit-remaining-subscription-reads": "11892", - "x-ms-request-id": "5a99fbf3-b0db-4c20-ae5b-24e1c6e76363", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064631Z:5a99fbf3-b0db-4c20-ae5b-24e1c6e76363", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "b70073cd-90e1-4f59-8cf7-a2cc31ab6c6e" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:46:36 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4869845d-309d-4431-bb90-3b9be90812dd", - "x-ms-ratelimit-remaining-subscription-reads": "11891", - "x-ms-request-id": "4869845d-309d-4431-bb90-3b9be90812dd", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064637Z:4869845d-309d-4431-bb90-3b9be90812dd", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "ee69ae4e-3b6a-4122-8dcb-453b46d02422" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:46:41 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ca7ff91f-952e-4910-889a-0011d79b7cfe", - "x-ms-ratelimit-remaining-subscription-reads": "11890", - "x-ms-request-id": "ca7ff91f-952e-4910-889a-0011d79b7cfe", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064642Z:ca7ff91f-952e-4910-889a-0011d79b7cfe", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "5e73c098-df34-4210-8783-cea7dd61ca91" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:46:47 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1bfd448a-29e3-488d-91cd-251cfa8bbfe2", - "x-ms-ratelimit-remaining-subscription-reads": "11889", - "x-ms-request-id": "1bfd448a-29e3-488d-91cd-251cfa8bbfe2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064648Z:1bfd448a-29e3-488d-91cd-251cfa8bbfe2", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "f3bdce7a-b527-4848-a74e-5a6c2ed52c83" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:46:52 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "27b004df-9aa4-465c-8952-6556d9897add", - "x-ms-ratelimit-remaining-subscription-reads": "11888", - "x-ms-request-id": "27b004df-9aa4-465c-8952-6556d9897add", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064653Z:27b004df-9aa4-465c-8952-6556d9897add", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "a706c00b-42b0-437b-9b3d-1977fe32b6ea" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:46:57 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "9f847a2f-3d19-44e0-87df-647ccb85b809", - "x-ms-ratelimit-remaining-subscription-reads": "11887", - "x-ms-request-id": "9f847a2f-3d19-44e0-87df-647ccb85b809", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064658Z:9f847a2f-3d19-44e0-87df-647ccb85b809", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "950f6c58-49be-4f2b-b582-77af57b7748b" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:47:04 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0f7bc62b-fcc0-45b8-a687-0322bcf1a8d7", - "x-ms-ratelimit-remaining-subscription-reads": "11886", - "x-ms-request-id": "0f7bc62b-fcc0-45b8-a687-0322bcf1a8d7", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064704Z:0f7bc62b-fcc0-45b8-a687-0322bcf1a8d7", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "f91d515c-69a2-45a1-a1b7-055c7248231b" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:47:09 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "29add2aa-6286-48a8-9d52-0692964c33fc", - "x-ms-ratelimit-remaining-subscription-reads": "11885", - "x-ms-request-id": "29add2aa-6286-48a8-9d52-0692964c33fc", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064709Z:29add2aa-6286-48a8-9d52-0692964c33fc", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "4a07ef2e-9dd4-4070-ae5c-af53463d496a" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:47:15 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "80d8e8b4-f044-40d1-a34c-6fef7b672746", - "x-ms-ratelimit-remaining-subscription-reads": "11884", - "x-ms-request-id": "80d8e8b4-f044-40d1-a34c-6fef7b672746", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064715Z:80d8e8b4-f044-40d1-a34c-6fef7b672746", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "7f71681e-a9f9-4ab3-a77f-f4c3d34b8892" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:47:20 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "bcd68d49-4edc-4096-91de-f47e7b5fe624", - "x-ms-ratelimit-remaining-subscription-reads": "11883", - "x-ms-request-id": "bcd68d49-4edc-4096-91de-f47e7b5fe624", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064720Z:bcd68d49-4edc-4096-91de-f47e7b5fe624", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "32123b69-f924-484c-b6d5-ac545206ea84" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:47:25 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1d6b0b3c-0dc7-4621-9c43-fc06a8774e7c", - "x-ms-ratelimit-remaining-subscription-reads": "11882", - "x-ms-request-id": "1d6b0b3c-0dc7-4621-9c43-fc06a8774e7c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064725Z:1d6b0b3c-0dc7-4621-9c43-fc06a8774e7c", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "3ac1b7fc-9e10-4053-9341-9ad2ab825422" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:47:31 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3f752f27-f3fc-4f51-a54d-b9a91c0988cc", - "x-ms-ratelimit-remaining-subscription-reads": "11881", - "x-ms-request-id": "3f752f27-f3fc-4f51-a54d-b9a91c0988cc", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064731Z:3f752f27-f3fc-4f51-a54d-b9a91c0988cc", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "0eb40fb8-6bf4-4088-abaa-5037e763f99f" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:47:36 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0dcc0d3e-c203-4e79-b651-d1796a2f298b", - "x-ms-ratelimit-remaining-subscription-reads": "11880", - "x-ms-request-id": "0dcc0d3e-c203-4e79-b651-d1796a2f298b", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064737Z:0dcc0d3e-c203-4e79-b651-d1796a2f298b", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "5e05e224-4d3a-4053-8e91-cb10524039d7" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:47:41 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "13a5a238-7c0c-4a3c-b05d-16857dc0880d", - "x-ms-ratelimit-remaining-subscription-reads": "11879", - "x-ms-request-id": "13a5a238-7c0c-4a3c-b05d-16857dc0880d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064742Z:13a5a238-7c0c-4a3c-b05d-16857dc0880d", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "6d3f9f0d-3e5e-436e-9057-d6b59dbe8ec0" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:47:47 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "59d4c620-6824-460b-a9e0-c3aca49f1648", - "x-ms-ratelimit-remaining-subscription-reads": "11878", - "x-ms-request-id": "59d4c620-6824-460b-a9e0-c3aca49f1648", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064747Z:59d4c620-6824-460b-a9e0-c3aca49f1648", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "bc928e74-1c73-4b60-85f8-a95f79825841" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:47:52 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ff9c1e7d-348e-4234-a81b-dd99817cb472", - "x-ms-ratelimit-remaining-subscription-reads": "11877", - "x-ms-request-id": "ff9c1e7d-348e-4234-a81b-dd99817cb472", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064753Z:ff9c1e7d-348e-4234-a81b-dd99817cb472", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "61df6884-7963-48f7-b62f-f76ed6647522" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:47:58 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "272ebb1c-6973-49b7-9b4b-838d5dd9d2e2", - "x-ms-ratelimit-remaining-subscription-reads": "11876", - "x-ms-request-id": "272ebb1c-6973-49b7-9b4b-838d5dd9d2e2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064758Z:272ebb1c-6973-49b7-9b4b-838d5dd9d2e2", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "07d70ca5-90de-4cc7-ad0f-b78c1206e533" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:48:03 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "41a33950-ac0a-4723-a03f-f44ddd17110d", - "x-ms-ratelimit-remaining-subscription-reads": "11875", - "x-ms-request-id": "41a33950-ac0a-4723-a03f-f44ddd17110d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064804Z:41a33950-ac0a-4723-a03f-f44ddd17110d", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "aaa6108f-60d7-4bfe-951d-217988cd6d64" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:48:08 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2321a6cc-10af-4ee4-bb4e-888bbc1935d1", - "x-ms-ratelimit-remaining-subscription-reads": "11874", - "x-ms-request-id": "2321a6cc-10af-4ee4-bb4e-888bbc1935d1", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064809Z:2321a6cc-10af-4ee4-bb4e-888bbc1935d1", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "87d33de1-4259-456d-a5cb-e10173ae9adc" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:48:14 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f385e42a-57f8-4959-9a06-2078cf81e46a", - "x-ms-ratelimit-remaining-subscription-reads": "11873", - "x-ms-request-id": "f385e42a-57f8-4959-9a06-2078cf81e46a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064814Z:f385e42a-57f8-4959-9a06-2078cf81e46a", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "5e38b995-dde4-4190-bd35-20ccd90f7905" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:48:20 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "892d6118-c8d5-4eb6-a435-dbbbf8723d42", - "x-ms-ratelimit-remaining-subscription-reads": "11872", - "x-ms-request-id": "892d6118-c8d5-4eb6-a435-dbbbf8723d42", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064820Z:892d6118-c8d5-4eb6-a435-dbbbf8723d42", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "63d5e372-6522-49f4-910f-34336a164473" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:48:25 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a97ef7ba-6a83-490e-9d72-cf0cafa39797", - "x-ms-ratelimit-remaining-subscription-reads": "11871", - "x-ms-request-id": "a97ef7ba-6a83-490e-9d72-cf0cafa39797", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064825Z:a97ef7ba-6a83-490e-9d72-cf0cafa39797", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "a4c11a11-1d42-4c07-a827-eb65bacc0295" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:48:31 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "79447c2a-eccc-4799-be7b-60a3373c9512", - "x-ms-ratelimit-remaining-subscription-reads": "11870", - "x-ms-request-id": "79447c2a-eccc-4799-be7b-60a3373c9512", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064831Z:79447c2a-eccc-4799-be7b-60a3373c9512", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "fa0de953-889d-4f30-bd67-f720fe2bbea7" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:48:36 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "78776907-ce96-4a9f-bdbf-19741dcc7947", - "x-ms-ratelimit-remaining-subscription-reads": "11869", - "x-ms-request-id": "78776907-ce96-4a9f-bdbf-19741dcc7947", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064836Z:78776907-ce96-4a9f-bdbf-19741dcc7947", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "b563b0f3-b847-4cf8-826f-89275d90fc00" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:48:41 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "540ba91f-a14b-40ca-b87f-c27d54111283", - "x-ms-ratelimit-remaining-subscription-reads": "11868", - "x-ms-request-id": "540ba91f-a14b-40ca-b87f-c27d54111283", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064842Z:540ba91f-a14b-40ca-b87f-c27d54111283", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "c2fc8348-e3e7-454a-b3ec-3dfbb6f2ffd4" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:48:47 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e254879f-2927-4dc3-a737-afb2c2df678c", - "x-ms-ratelimit-remaining-subscription-reads": "11867", - "x-ms-request-id": "e254879f-2927-4dc3-a737-afb2c2df678c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064847Z:e254879f-2927-4dc3-a737-afb2c2df678c", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "cec60f74-bf0d-46d5-8d0f-04f52128e34b" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:48:52 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "cc85097e-945b-418b-a3be-ad33959686ba", - "x-ms-ratelimit-remaining-subscription-reads": "11866", - "x-ms-request-id": "cc85097e-945b-418b-a3be-ad33959686ba", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064852Z:cc85097e-945b-418b-a3be-ad33959686ba", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "977f8a04-8fcc-43a1-9375-216d021c994e" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:48:57 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "daab3359-f785-4eec-96d9-bba17112ea8c", - "x-ms-ratelimit-remaining-subscription-reads": "11865", - "x-ms-request-id": "daab3359-f785-4eec-96d9-bba17112ea8c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064858Z:daab3359-f785-4eec-96d9-bba17112ea8c", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "b92cebcc-89cb-4510-8fdb-5116a8b5ee0b" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:49:03 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8e6e81c1-8c2c-4cdd-8843-a019b98b7d03", - "x-ms-ratelimit-remaining-subscription-reads": "11864", - "x-ms-request-id": "8e6e81c1-8c2c-4cdd-8843-a019b98b7d03", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064903Z:8e6e81c1-8c2c-4cdd-8843-a019b98b7d03", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "7ce8e505-3aaf-4e6e-8756-657eaf86b591" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:49:08 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e49136a4-8a30-42a0-a876-659e66990e89", - "x-ms-ratelimit-remaining-subscription-reads": "11863", - "x-ms-request-id": "e49136a4-8a30-42a0-a876-659e66990e89", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064909Z:e49136a4-8a30-42a0-a876-659e66990e89", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "87dbe61f-c2e8-44d7-b49a-1464a3b36945" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:49:13 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "210358b9-61a8-4e45-ad0f-78cb9260b669", - "x-ms-ratelimit-remaining-subscription-reads": "11862", - "x-ms-request-id": "210358b9-61a8-4e45-ad0f-78cb9260b669", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064914Z:210358b9-61a8-4e45-ad0f-78cb9260b669", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "e8977917-fa23-4cbc-baa8-7f1e7c8638c2" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:49:19 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "25120359-b502-43a6-8964-ef12eb95061d", - "x-ms-ratelimit-remaining-subscription-reads": "11861", - "x-ms-request-id": "25120359-b502-43a6-8964-ef12eb95061d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064920Z:25120359-b502-43a6-8964-ef12eb95061d", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "49702b66-d566-461b-a9d3-2b53ce16e8b5" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:49:24 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7744c3eb-537c-45c7-8e47-0ab941193668", - "x-ms-ratelimit-remaining-subscription-reads": "11860", - "x-ms-request-id": "7744c3eb-537c-45c7-8e47-0ab941193668", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064925Z:7744c3eb-537c-45c7-8e47-0ab941193668", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "0eb5b33e-4c40-427a-8820-d90282f8f5ec" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:49:30 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a067cbfa-d5bd-4ca4-98cb-7425717f3ab6", - "x-ms-ratelimit-remaining-subscription-reads": "11859", - "x-ms-request-id": "a067cbfa-d5bd-4ca4-98cb-7425717f3ab6", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064930Z:a067cbfa-d5bd-4ca4-98cb-7425717f3ab6", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "caa3cdb1-6610-496e-9fc9-f43fd3b77759" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:49:36 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fa51e546-143e-4611-96c3-24d02d8c5a65", - "x-ms-ratelimit-remaining-subscription-reads": "11858", - "x-ms-request-id": "fa51e546-143e-4611-96c3-24d02d8c5a65", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064936Z:fa51e546-143e-4611-96c3-24d02d8c5a65", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "d97d1d26-4398-40d9-8f6d-2b18c09a602d" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:49:41 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ab02cbad-1b61-4943-9333-154b9fed9bd4", - "x-ms-ratelimit-remaining-subscription-reads": "11857", - "x-ms-request-id": "ab02cbad-1b61-4943-9333-154b9fed9bd4", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064941Z:ab02cbad-1b61-4943-9333-154b9fed9bd4", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "31c58e5a-002d-42fd-a627-23c9769063e1" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:49:47 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "407a9099-bed6-4432-b93d-d569b7bd88e6", - "x-ms-ratelimit-remaining-subscription-reads": "11856", - "x-ms-request-id": "407a9099-bed6-4432-b93d-d569b7bd88e6", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064947Z:407a9099-bed6-4432-b93d-d569b7bd88e6", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "94221f8d-34d5-4053-b8aa-e0260ff5d196" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:49:52 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "91e9d8a2-f0b0-45d5-adb4-4fa16e0e4c19", - "x-ms-ratelimit-remaining-subscription-reads": "11855", - "x-ms-request-id": "91e9d8a2-f0b0-45d5-adb4-4fa16e0e4c19", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064952Z:91e9d8a2-f0b0-45d5-adb4-4fa16e0e4c19", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "272f539f-741b-46bf-8427-2486e45b263e" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:49:57 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "436ab8a9-ea24-4be7-9101-96d32c4a25f7", - "x-ms-ratelimit-remaining-subscription-reads": "11854", - "x-ms-request-id": "436ab8a9-ea24-4be7-9101-96d32c4a25f7", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T064958Z:436ab8a9-ea24-4be7-9101-96d32c4a25f7", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "bab07d31-bc34-45bb-9cb8-0f1e593397ca" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:50:03 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1998dc45-8963-44f8-afd7-e2b1d891e3ca", - "x-ms-ratelimit-remaining-subscription-reads": "11853", - "x-ms-request-id": "1998dc45-8963-44f8-afd7-e2b1d891e3ca", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065003Z:1998dc45-8963-44f8-afd7-e2b1d891e3ca", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "291b64a3-7d45-4b8d-a019-c37171b28ba3" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:50:08 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "65a98d9c-e414-497c-b7b0-dcc8a1761f5f", - "x-ms-ratelimit-remaining-subscription-reads": "11852", - "x-ms-request-id": "65a98d9c-e414-497c-b7b0-dcc8a1761f5f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065009Z:65a98d9c-e414-497c-b7b0-dcc8a1761f5f", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "eac25d3f-0af7-48dd-aa36-654758f6c1f7" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:50:13 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7d356731-7f3d-41f6-91b9-3d32111ea061", - "x-ms-ratelimit-remaining-subscription-reads": "11851", - "x-ms-request-id": "7d356731-7f3d-41f6-91b9-3d32111ea061", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065014Z:7d356731-7f3d-41f6-91b9-3d32111ea061", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "7ec156c2-443d-42b8-9a33-cc9b6097323b" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:50:19 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ca666dbd-1319-4704-b793-b76edfcc532e", - "x-ms-ratelimit-remaining-subscription-reads": "11850", - "x-ms-request-id": "ca666dbd-1319-4704-b793-b76edfcc532e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065019Z:ca666dbd-1319-4704-b793-b76edfcc532e", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "266f4006-cdfd-4e5f-a976-405da3149d7e" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:50:24 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4ae59ea4-078b-4c4d-9959-1e05243ceb86", - "x-ms-ratelimit-remaining-subscription-reads": "11849", - "x-ms-request-id": "4ae59ea4-078b-4c4d-9959-1e05243ceb86", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065025Z:4ae59ea4-078b-4c4d-9959-1e05243ceb86", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "5e8fb692-28da-40b3-b797-f22310736843" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:50:29 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "749013ea-ff63-4052-a409-b3f32be6ed85", - "x-ms-ratelimit-remaining-subscription-reads": "11848", - "x-ms-request-id": "749013ea-ff63-4052-a409-b3f32be6ed85", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065030Z:749013ea-ff63-4052-a409-b3f32be6ed85", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "36e78545-e4ad-43ac-a7ec-dbceb73c1f35" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:50:35 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "bd51293c-b14c-48d2-9068-bafc8df0401d", - "x-ms-ratelimit-remaining-subscription-reads": "11847", - "x-ms-request-id": "bd51293c-b14c-48d2-9068-bafc8df0401d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065036Z:bd51293c-b14c-48d2-9068-bafc8df0401d", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "831e47df-f755-4e74-b917-b66cb3b9cdcf" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:50:41 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6b10f9e2-4443-4a38-a63a-09f26ea97731", - "x-ms-ratelimit-remaining-subscription-reads": "11846", - "x-ms-request-id": "6b10f9e2-4443-4a38-a63a-09f26ea97731", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065042Z:6b10f9e2-4443-4a38-a63a-09f26ea97731", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "933d9144-60d5-4622-a533-fd3aeae61f51" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:50:48 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "b4329697-4b20-4f54-be4d-a37679e4a359", - "x-ms-ratelimit-remaining-subscription-reads": "11845", - "x-ms-request-id": "b4329697-4b20-4f54-be4d-a37679e4a359", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065048Z:b4329697-4b20-4f54-be4d-a37679e4a359", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "39e6782f-9e32-4ff8-bf20-1d71c376af1e" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:50:53 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "919ac46c-d188-4caa-9731-1c6811517877", - "x-ms-ratelimit-remaining-subscription-reads": "11844", - "x-ms-request-id": "919ac46c-d188-4caa-9731-1c6811517877", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065053Z:919ac46c-d188-4caa-9731-1c6811517877", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "d688a2cb-f43e-4605-97e1-068e4ac32260" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:50:58 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "60d6cd20-0bb4-49dc-bf49-a096e15465d7", - "x-ms-ratelimit-remaining-subscription-reads": "11843", - "x-ms-request-id": "60d6cd20-0bb4-49dc-bf49-a096e15465d7", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065059Z:60d6cd20-0bb4-49dc-bf49-a096e15465d7", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "702d23a1-5312-4047-a361-9820351af846" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:51:04 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "7147480c-79d2-475a-9239-bad372ebac57", - "x-ms-ratelimit-remaining-subscription-reads": "11842", - "x-ms-request-id": "7147480c-79d2-475a-9239-bad372ebac57", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065104Z:7147480c-79d2-475a-9239-bad372ebac57", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "060ea558-da38-4aae-badc-f3495faa620a" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:51:09 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "758ba270-3d90-43ff-bf39-d7dc1d50cd63", - "x-ms-ratelimit-remaining-subscription-reads": "11841", - "x-ms-request-id": "758ba270-3d90-43ff-bf39-d7dc1d50cd63", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065109Z:758ba270-3d90-43ff-bf39-d7dc1d50cd63", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "eeaab2fb-1d1a-445b-89d0-8a8ef082a49b" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:51:14 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d6816c82-aee2-47ef-94c0-aea163bf0a39", - "x-ms-ratelimit-remaining-subscription-reads": "11840", - "x-ms-request-id": "d6816c82-aee2-47ef-94c0-aea163bf0a39", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065115Z:d6816c82-aee2-47ef-94c0-aea163bf0a39", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "f73a2195-dc49-40a2-971b-d40ef37c19ca" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:51:20 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0e0df6f6-1b26-4f3d-90b2-561077caf4e2", - "x-ms-ratelimit-remaining-subscription-reads": "11839", - "x-ms-request-id": "0e0df6f6-1b26-4f3d-90b2-561077caf4e2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065120Z:0e0df6f6-1b26-4f3d-90b2-561077caf4e2", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "038c03c9-7af7-4b82-a1d6-da672f8e71ac" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:51:25 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "80cfd30c-8b16-4940-a6a6-f66500ad5c7a", - "x-ms-ratelimit-remaining-subscription-reads": "11838", - "x-ms-request-id": "80cfd30c-8b16-4940-a6a6-f66500ad5c7a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065126Z:80cfd30c-8b16-4940-a6a6-f66500ad5c7a", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "cda66bb1-d64a-41f0-89ec-7ba569e1f812" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:51:31 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "a1ab79f1-e65f-4816-8a82-0500ee1a0c7c", - "x-ms-ratelimit-remaining-subscription-reads": "11837", - "x-ms-request-id": "a1ab79f1-e65f-4816-8a82-0500ee1a0c7c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065131Z:a1ab79f1-e65f-4816-8a82-0500ee1a0c7c", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "10509533-d28f-4883-a82b-c9f97cfce3f4" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:51:36 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "cefe7832-2f50-4c94-b561-3a588e7966a3", - "x-ms-ratelimit-remaining-subscription-reads": "11836", - "x-ms-request-id": "cefe7832-2f50-4c94-b561-3a588e7966a3", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065137Z:cefe7832-2f50-4c94-b561-3a588e7966a3", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "13d8d1ee-7b14-44ae-899e-3fa2cb4f2742" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:51:41 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "5fdbf6dc-7897-40fb-b402-2ca65ed9f22e", - "x-ms-ratelimit-remaining-subscription-reads": "11835", - "x-ms-request-id": "5fdbf6dc-7897-40fb-b402-2ca65ed9f22e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065142Z:5fdbf6dc-7897-40fb-b402-2ca65ed9f22e", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "d2583034-464b-45c3-8ead-0a67e78251c3" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:51:47 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "395cdb8c-10a8-4ab7-b996-e73168509909", - "x-ms-ratelimit-remaining-subscription-reads": "11834", - "x-ms-request-id": "395cdb8c-10a8-4ab7-b996-e73168509909", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065147Z:395cdb8c-10a8-4ab7-b996-e73168509909", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "caeb5692-c18f-427c-9a78-22def9cb75d7" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:51:52 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f4f8fb6b-6be9-4288-a44c-7128a73de28e", - "x-ms-ratelimit-remaining-subscription-reads": "11833", - "x-ms-request-id": "f4f8fb6b-6be9-4288-a44c-7128a73de28e", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065153Z:f4f8fb6b-6be9-4288-a44c-7128a73de28e", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "5f233641-1429-4c7b-ba16-61d3f7459896" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:51:57 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "791f8386-7324-4697-bdfa-046cb3d7d98f", - "x-ms-ratelimit-remaining-subscription-reads": "11832", - "x-ms-request-id": "791f8386-7324-4697-bdfa-046cb3d7d98f", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065158Z:791f8386-7324-4697-bdfa-046cb3d7d98f", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "4007d76e-3beb-4830-bf9b-07da89aa27ef" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:52:03 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "70fcb31c-3f56-4c15-90d6-28f434bff442", - "x-ms-ratelimit-remaining-subscription-reads": "11831", - "x-ms-request-id": "70fcb31c-3f56-4c15-90d6-28f434bff442", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065204Z:70fcb31c-3f56-4c15-90d6-28f434bff442", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "7e8077c3-b8f7-4b83-8ad4-7a1d7cd78250" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:52:08 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3fbee642-785f-49b5-9ec5-84c1790dfe69", - "x-ms-ratelimit-remaining-subscription-reads": "11830", - "x-ms-request-id": "3fbee642-785f-49b5-9ec5-84c1790dfe69", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065209Z:3fbee642-785f-49b5-9ec5-84c1790dfe69", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "a2e8e872-a78c-41ea-9321-c2fd28c2025d" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:52:14 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8c412173-827a-46e2-bc47-f4990b5a4673", - "x-ms-ratelimit-remaining-subscription-reads": "11829", - "x-ms-request-id": "8c412173-827a-46e2-bc47-f4990b5a4673", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065215Z:8c412173-827a-46e2-bc47-f4990b5a4673", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "63ffbcd4-d3f9-418a-b3c3-f4a40630d7d0" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:52:20 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0a8ecd2d-1746-4832-8844-8c211334e9ae", - "x-ms-ratelimit-remaining-subscription-reads": "11828", - "x-ms-request-id": "0a8ecd2d-1746-4832-8844-8c211334e9ae", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065220Z:0a8ecd2d-1746-4832-8844-8c211334e9ae", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "a8286f4a-fcdb-49d1-a313-575349e099dd" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:52:25 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f05affc4-26f1-4c96-ae34-3054d29008f5", - "x-ms-ratelimit-remaining-subscription-reads": "11827", - "x-ms-request-id": "f05affc4-26f1-4c96-ae34-3054d29008f5", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065225Z:f05affc4-26f1-4c96-ae34-3054d29008f5", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "6b00ae61-c92a-4c62-8e65-0543db4c85e3" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:52:30 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4b22f2b7-8aba-46db-afbc-90c7b4374b36", - "x-ms-ratelimit-remaining-subscription-reads": "11826", - "x-ms-request-id": "4b22f2b7-8aba-46db-afbc-90c7b4374b36", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065231Z:4b22f2b7-8aba-46db-afbc-90c7b4374b36", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "84cc8e96-e2df-4311-b652-a311d1d504c5" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:52:36 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6acf0b42-d675-45d6-91a5-ddee6732c132", - "x-ms-ratelimit-remaining-subscription-reads": "11825", - "x-ms-request-id": "6acf0b42-d675-45d6-91a5-ddee6732c132", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065236Z:6acf0b42-d675-45d6-91a5-ddee6732c132", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "1b51747e-dcf3-451f-869b-a5a58e68e5a1" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:52:41 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d808fa60-81a4-44d1-aaa4-57a9195b4b33", - "x-ms-ratelimit-remaining-subscription-reads": "11824", - "x-ms-request-id": "d808fa60-81a4-44d1-aaa4-57a9195b4b33", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065242Z:d808fa60-81a4-44d1-aaa4-57a9195b4b33", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "47d66f68-3051-4634-9bf8-e5ca9af4df4d" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:52:47 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1cf9f1d0-1518-433e-a162-b08539f5f3a4", - "x-ms-ratelimit-remaining-subscription-reads": "11823", - "x-ms-request-id": "1cf9f1d0-1518-433e-a162-b08539f5f3a4", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065247Z:1cf9f1d0-1518-433e-a162-b08539f5f3a4", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "d9f2eadb-d057-468e-95f5-fef294f4569b" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:52:52 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4379ee2f-efc0-4550-9851-c2b562359435", - "x-ms-ratelimit-remaining-subscription-reads": "11822", - "x-ms-request-id": "4379ee2f-efc0-4550-9851-c2b562359435", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065253Z:4379ee2f-efc0-4550-9851-c2b562359435", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "f4b86ccf-9ea1-47f3-bdfa-db846853b9ad" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:52:57 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "3adf7759-c020-4c47-ad57-0cafbe792d28", - "x-ms-ratelimit-remaining-subscription-reads": "11821", - "x-ms-request-id": "3adf7759-c020-4c47-ad57-0cafbe792d28", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065258Z:3adf7759-c020-4c47-ad57-0cafbe792d28", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "1dc0f20a-34db-41aa-b63c-151fbeb4ad92" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:53:03 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c0807da5-ab08-433c-a62f-5ad66a6e94e2", - "x-ms-ratelimit-remaining-subscription-reads": "11820", - "x-ms-request-id": "c0807da5-ab08-433c-a62f-5ad66a6e94e2", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065303Z:c0807da5-ab08-433c-a62f-5ad66a6e94e2", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "8f79c13d-aa10-49f2-8c11-e61accfeac8e" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:53:09 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ed82856f-fd09-42f0-a6b5-b89d50b396fc", - "x-ms-ratelimit-remaining-subscription-reads": "11819", - "x-ms-request-id": "ed82856f-fd09-42f0-a6b5-b89d50b396fc", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065309Z:ed82856f-fd09-42f0-a6b5-b89d50b396fc", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "8f64014d-992b-4bd2-b818-fa6d3808b298" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:53:14 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "129e0b7d-cf04-47b7-9ad4-d1ecbb9d2a9a", - "x-ms-ratelimit-remaining-subscription-reads": "11818", - "x-ms-request-id": "129e0b7d-cf04-47b7-9ad4-d1ecbb9d2a9a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065314Z:129e0b7d-cf04-47b7-9ad4-d1ecbb9d2a9a", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "60dec513-4909-4846-8902-171d5269729b" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:53:20 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "d7f3bf59-c1c4-4ad6-b4e8-17f12530047c", - "x-ms-ratelimit-remaining-subscription-reads": "11817", - "x-ms-request-id": "d7f3bf59-c1c4-4ad6-b4e8-17f12530047c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065320Z:d7f3bf59-c1c4-4ad6-b4e8-17f12530047c", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "3d5b16a7-d0ad-493f-8418-d83a6de432aa" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:53:25 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "42595151-d1ef-4f04-b94c-8ba043b52074", - "x-ms-ratelimit-remaining-subscription-reads": "11816", - "x-ms-request-id": "42595151-d1ef-4f04-b94c-8ba043b52074", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065325Z:42595151-d1ef-4f04-b94c-8ba043b52074", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "31a92f22-c80c-4304-a727-7126dfa2f93b" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:53:30 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6a1998e4-d6f8-4297-b2c0-56655b6c024a", - "x-ms-ratelimit-remaining-subscription-reads": "11815", - "x-ms-request-id": "6a1998e4-d6f8-4297-b2c0-56655b6c024a", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065331Z:6a1998e4-d6f8-4297-b2c0-56655b6c024a", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "0c64a2ea-43e8-4b20-96aa-c96da060b384" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:53:36 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fb571c73-2833-4199-9a07-9c94adcbbd73", - "x-ms-ratelimit-remaining-subscription-reads": "11814", - "x-ms-request-id": "fb571c73-2833-4199-9a07-9c94adcbbd73", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065336Z:fb571c73-2833-4199-9a07-9c94adcbbd73", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "a86fa110-94e4-444c-a2f2-e533c960ed7c" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:53:41 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "dee56627-4eec-4fc8-8784-6bdb8da0bb7d", - "x-ms-ratelimit-remaining-subscription-reads": "11813", - "x-ms-request-id": "dee56627-4eec-4fc8-8784-6bdb8da0bb7d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065342Z:dee56627-4eec-4fc8-8784-6bdb8da0bb7d", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "e9fcc645-76f5-48b2-80c6-5013b98aba63" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:53:47 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fbe127ff-de32-4c57-9754-59dd48aeeca4", - "x-ms-ratelimit-remaining-subscription-reads": "11812", - "x-ms-request-id": "fbe127ff-de32-4c57-9754-59dd48aeeca4", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065347Z:fbe127ff-de32-4c57-9754-59dd48aeeca4", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "24d87a77-30a2-4b85-825f-6d2f760e06f5" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:53:52 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "e26dbad6-216f-46d6-b61a-8c0edd0c2f25", - "x-ms-ratelimit-remaining-subscription-reads": "11811", - "x-ms-request-id": "e26dbad6-216f-46d6-b61a-8c0edd0c2f25", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065352Z:e26dbad6-216f-46d6-b61a-8c0edd0c2f25", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "35dd5557-58d5-4dc2-8c72-89c247913613" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:53:57 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "83f819bc-a60b-45c7-a42d-1a1da0de972d", - "x-ms-ratelimit-remaining-subscription-reads": "11810", - "x-ms-request-id": "83f819bc-a60b-45c7-a42d-1a1da0de972d", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065358Z:83f819bc-a60b-45c7-a42d-1a1da0de972d", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "24ba153d-4430-44cd-a6b8-806d1db81696" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:54:03 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c15d5cd2-44e6-46e4-9f71-3656c3181d38", - "x-ms-ratelimit-remaining-subscription-reads": "11809", - "x-ms-request-id": "c15d5cd2-44e6-46e4-9f71-3656c3181d38", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065403Z:c15d5cd2-44e6-46e4-9f71-3656c3181d38", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "f8c6f2ed-a11a-45a2-8cab-9861d9cfd573" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:54:08 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "34ca3d3e-5de8-46b6-8311-76d991bd0d6c", - "x-ms-ratelimit-remaining-subscription-reads": "11808", - "x-ms-request-id": "34ca3d3e-5de8-46b6-8311-76d991bd0d6c", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065409Z:34ca3d3e-5de8-46b6-8311-76d991bd0d6c", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "7cab1828-d1bc-41e8-89e4-223d9d7e5033" - }, - "RequestBody": null, - "StatusCode": 202, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Length": "0", - "Date": "Tue, 15 Nov 2022 06:54:13 GMT", - "Expires": "-1", - "Location": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "Pragma": "no-cache", - "Retry-After": "5", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6c1af2c1-98db-4d87-bb99-848e668ea907", - "x-ms-ratelimit-remaining-subscription-reads": "11807", - "x-ms-request-id": "6c1af2c1-98db-4d87-bb99-848e668ea907", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065414Z:6c1af2c1-98db-4d87-bb99-848e668ea907", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/providers/Microsoft.App/locations/eastus/managedEnvironmentOperationResults/78b13f3e-8104-47d6-8ed6-6b94c152feae?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "fde83830-5d4e-450c-a375-89f012d77fa7" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Date": "Tue, 15 Nov 2022 06:54:19 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "960ac17b-6ca9-48ad-bafc-e61150d8fb24", - "x-ms-ratelimit-remaining-subscription-reads": "11806", - "x-ms-request-id": "960ac17b-6ca9-48ad-bafc-e61150d8fb24", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065420Z:960ac17b-6ca9-48ad-bafc-e61150d8fb24", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": null - }, - { - "RequestUri": "https://management.azure.com/subscriptions/azure_subscription_id/resourceGroups/myjstest/providers/Microsoft.App/managedEnvironments?api-version=2022-06-01-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Accept-Encoding": "gzip,deflate", - "Authorization": "Sanitized", - "Connection": "keep-alive", - "User-Agent": "azsdk-js-arm-appcontainers/2.0.0-beta.2 core-rest-pipeline/1.10.1 Node/v16.17.0 OS/(x64-Windows_NT-10.0.22621)", - "x-ms-client-request-id": "3bad6bda-7159-41dc-b738-bf8eb8ab68bf" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2022-01-01-preview, 2022-03-01, 2022-06-01-preview, 2022-10-01", - "Cache-Control": "no-cache", - "Content-Encoding": "gzip", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 15 Nov 2022 06:54:19 GMT", - "Expires": "-1", - "Pragma": "no-cache", - "Server": "Microsoft-IIS/10.0", - "Strict-Transport-Security": "max-age=31536000; includeSubDomains", - "Transfer-Encoding": "chunked", - "Vary": [ - "Accept-Encoding", - "Accept-Encoding" - ], - "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "c5612598-3e6f-47e1-969d-9ecaa0f4a564", - "x-ms-ratelimit-remaining-subscription-reads": "11805", - "x-ms-request-id": "c5612598-3e6f-47e1-969d-9ecaa0f4a564", - "x-ms-routing-request-id": "SOUTHEASTASIA:20221115T065420Z:c5612598-3e6f-47e1-969d-9ecaa0f4a564", - "X-Powered-By": "ASP.NET" - }, - "ResponseBody": { - "value": [] - } - } - ], - "Variables": {} -} diff --git a/sdk/appcontainers/arm-appcontainers/review/arm-appcontainers.api.md b/sdk/appcontainers/arm-appcontainers/review/arm-appcontainers.api.md index 976a7827b3b1..ed10aa62ca0b 100644 --- a/sdk/appcontainers/arm-appcontainers/review/arm-appcontainers.api.md +++ b/sdk/appcontainers/arm-appcontainers/review/arm-appcontainers.api.md @@ -19,6 +19,9 @@ export type Action = string; // @public export type ActiveRevisionsMode = string; +// @public +export type Affinity = string; + // @public export interface AllowedAudiencesValidation { allowedAudiences?: string[]; @@ -606,8 +609,10 @@ export interface ContainerApp extends TrackedResource { readonly eventStreamEndpoint?: string; extendedLocation?: ExtendedLocation; identity?: ManagedServiceIdentity; + readonly latestReadyRevisionName?: string; readonly latestRevisionFqdn?: string; readonly latestRevisionName?: string; + managedBy?: string; managedEnvironmentId?: string; readonly outboundIpAddresses?: string[]; readonly provisioningState?: ContainerAppProvisioningState; @@ -627,6 +632,12 @@ export interface ContainerAppCollection { value: ContainerApp[]; } +// @public +export interface ContainerAppJobExecutions { + readonly nextLink?: string; + value: JobExecution[]; +} + // @public export interface ContainerAppProbe { failureThreshold?: number; @@ -670,8 +681,8 @@ export interface ContainerApps { beginCreateOrUpdateAndWait(resourceGroupName: string, containerAppName: string, containerAppEnvelope: ContainerApp, options?: ContainerAppsCreateOrUpdateOptionalParams): Promise; beginDelete(resourceGroupName: string, containerAppName: string, options?: ContainerAppsDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, containerAppName: string, options?: ContainerAppsDeleteOptionalParams): Promise; - beginUpdate(resourceGroupName: string, containerAppName: string, containerAppEnvelope: ContainerApp, options?: ContainerAppsUpdateOptionalParams): Promise, void>>; - beginUpdateAndWait(resourceGroupName: string, containerAppName: string, containerAppEnvelope: ContainerApp, options?: ContainerAppsUpdateOptionalParams): Promise; + beginUpdate(resourceGroupName: string, containerAppName: string, containerAppEnvelope: ContainerApp, options?: ContainerAppsUpdateOptionalParams): Promise, ContainerAppsUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, containerAppName: string, containerAppEnvelope: ContainerApp, options?: ContainerAppsUpdateOptionalParams): Promise; get(resourceGroupName: string, containerAppName: string, options?: ContainerAppsGetOptionalParams): Promise; getAuthToken(resourceGroupName: string, containerAppName: string, options?: ContainerAppsGetAuthTokenOptionalParams): Promise; listByResourceGroup(resourceGroupName: string, options?: ContainerAppsListByResourceGroupOptionalParams): PagedAsyncIterableIterator; @@ -716,6 +727,12 @@ export class ContainerAppsAPIClient extends coreClient.ServiceClient { // (undocumented) daprComponents: DaprComponents; // (undocumented) + jobOperations: JobOperations; + // (undocumented) + jobs: Jobs; + // (undocumented) + managedCertificates: ManagedCertificates; + // (undocumented) managedEnvironmentDiagnostics: ManagedEnvironmentDiagnostics; // (undocumented) managedEnvironments: ManagedEnvironments; @@ -839,7 +856,6 @@ export type ContainerAppsDiagnosticsListDetectorsResponse = DiagnosticsCollectio // @public export interface ContainerAppsDiagnosticsListRevisionsNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -855,6 +871,8 @@ export type ContainerAppsDiagnosticsListRevisionsResponse = RevisionCollection; // @public export interface ContainerAppSecret { + readonly identity?: string; + readonly keyVaultUrl?: string; readonly name?: string; readonly value?: string; } @@ -962,7 +980,6 @@ export type ContainerAppsRevisionsGetRevisionResponse = Revision; // @public export interface ContainerAppsRevisionsListRevisionsNextOptionalParams extends coreClient.OperationOptions { - filter?: string; } // @public @@ -1032,6 +1049,9 @@ export interface ContainerAppsUpdateOptionalParams extends coreClient.OperationO updateIntervalInMs?: number; } +// @public +export type ContainerAppsUpdateResponse = ContainerApp; + // @public export interface ContainerResources { cpu?: number; @@ -1048,19 +1068,29 @@ export interface CookieExpiration { // @public export type CookieExpirationConvention = "FixedTime" | "IdentityProviderDerived"; +// @public +export interface CorsPolicy { + allowCredentials?: boolean; + allowedHeaders?: string[]; + allowedMethods?: string[]; + allowedOrigins: string[]; + exposeHeaders?: string[]; + maxAge?: number; +} + // @public export type CreatedByType = string; // @public export interface CustomDomain { bindingType?: BindingType; - certificateId: string; + certificateId?: string; name: string; } // @public export interface CustomDomainConfiguration { - certificatePassword?: Uint8Array; + certificatePassword?: string; certificateValue?: Uint8Array; readonly customDomainVerificationId?: string; dnsSuffix?: string; @@ -1194,6 +1224,11 @@ export interface DaprComponentsListSecretsOptionalParams extends coreClient.Oper // @public export type DaprComponentsListSecretsResponse = DaprSecretsCollection; +// @public +export interface DaprConfiguration { + readonly version?: string; +} + // @public export interface DaprMetadata { name?: string; @@ -1209,7 +1244,7 @@ export interface DaprSecret { // @public export interface DaprSecretsCollection { - value: Secret[]; + value: DaprSecret[]; } // @public @@ -1335,11 +1370,6 @@ export interface EnvironmentAuthToken extends TrackedResource { // @public export type EnvironmentProvisioningState = string; -// @public -export interface EnvironmentSkuProperties { - name: SkuName; -} - // @public export interface EnvironmentVar { name?: string; @@ -1468,16 +1498,27 @@ export interface IdentityProviders { // @public export interface Ingress { allowInsecure?: boolean; + clientCertificateMode?: IngressClientCertificateMode; + corsPolicy?: CorsPolicy; customDomains?: CustomDomain[]; exposedPort?: number; external?: boolean; readonly fqdn?: string; ipSecurityRestrictions?: IpSecurityRestrictionRule[]; + stickySessions?: IngressStickySessions; targetPort?: number; traffic?: TrafficWeight[]; transport?: IngressTransportMethod; } +// @public +export type IngressClientCertificateMode = string; + +// @public +export interface IngressStickySessions { + affinity?: Affinity; +} + // @public export type IngressTransportMethod = string; @@ -1493,12 +1534,304 @@ export interface IpSecurityRestrictionRule { name: string; } +// @public +export interface Job extends TrackedResource { + configuration?: JobConfiguration; + environmentId?: string; + readonly eventStreamEndpoint?: string; + extendedLocation?: ExtendedLocation; + identity?: ManagedServiceIdentity; + readonly outboundIpAddresses?: string[]; + readonly provisioningState?: JobProvisioningState; + template?: JobTemplate; +} + +// @public +export interface JobConfiguration { + manualTriggerConfig?: JobConfigurationManualTriggerConfig; + registries?: RegistryCredentials[]; + replicaRetryLimit?: number; + replicaTimeout: number; + scheduleTriggerConfig?: JobConfigurationScheduleTriggerConfig; + secrets?: Secret[]; + triggerType: TriggerType; +} + +// @public +export interface JobConfigurationManualTriggerConfig { + parallelism?: number; + replicaCompletionCount?: number; +} + +// @public +export interface JobConfigurationScheduleTriggerConfig { + cronExpression: string; + parallelism?: number; + replicaCompletionCount?: number; +} + +// @public +export interface JobCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type JobCreateOrUpdateResponse = Job; + +// @public +export interface JobDeleteHeaders { + // (undocumented) + location?: string; +} + +// @public +export interface JobDeleteOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface JobExecution { + endTime?: Date; + id?: string; + name?: string; + startTime?: Date; + readonly status?: JobExecutionRunningState; + template?: JobExecutionTemplate; + type?: string; +} + +// @public +export interface JobExecutionBase { + id?: string; + name?: string; +} + +// @public +export interface JobExecutionContainer { + args?: string[]; + command?: string[]; + env?: EnvironmentVar[]; + image?: string; + name?: string; + resources?: ContainerResources; +} + +// @public +export interface JobExecutionNamesCollection { + value: JobExecutionBase[]; +} + +// @public +export type JobExecutionRunningState = string; + +// @public +export interface JobExecutionsHeaders { + // (undocumented) + location?: string; +} + +// @public +export interface JobExecutionsNextHeaders { + // (undocumented) + location?: string; +} + +// @public +export interface JobExecutionsNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type JobExecutionsNextResponse = ContainerAppJobExecutions; + +// @public +export interface JobExecutionsOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type JobExecutionsResponse = ContainerAppJobExecutions; + +// @public +export interface JobExecutionTemplate { + containers?: JobExecutionContainer[]; + initContainers?: JobExecutionContainer[]; +} + +// @public +export interface JobGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type JobGetResponse = Job; + +// @public +export interface JobOperations { + beginCreateOrUpdate(resourceGroupName: string, jobName: string, jobEnvelope: Job, options?: JobCreateOrUpdateOptionalParams): Promise, JobCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, jobName: string, jobEnvelope: Job, options?: JobCreateOrUpdateOptionalParams): Promise; + beginDelete(resourceGroupName: string, jobName: string, options?: JobDeleteOptionalParams): Promise, void>>; + beginDeleteAndWait(resourceGroupName: string, jobName: string, options?: JobDeleteOptionalParams): Promise; + beginListExecutionsAndWait(resourceGroupName: string, jobName: string, options?: JobExecutionsOptionalParams): PagedAsyncIterableIterator; + beginRun(resourceGroupName: string, jobName: string, template: JobExecutionTemplate, options?: JobRunOptionalParams): Promise, JobRunResponse>>; + beginRunAndWait(resourceGroupName: string, jobName: string, template: JobExecutionTemplate, options?: JobRunOptionalParams): Promise; + beginTerminate(resourceGroupName: string, jobName: string, jobExecutionName: string, options?: JobTerminateOptionalParams): Promise, void>>; + beginTerminateAndWait(resourceGroupName: string, jobName: string, jobExecutionName: string, options?: JobTerminateOptionalParams): Promise; + beginTerminateMultipleExecutions(resourceGroupName: string, jobName: string, jobExecutionName: JobExecutionNamesCollection, options?: JobTerminateMultipleExecutionsOptionalParams): Promise, JobTerminateMultipleExecutionsResponse>>; + beginTerminateMultipleExecutionsAndWait(resourceGroupName: string, jobName: string, jobExecutionName: JobExecutionNamesCollection, options?: JobTerminateMultipleExecutionsOptionalParams): Promise; + beginUpdate(resourceGroupName: string, jobName: string, jobEnvelope: JobPatchProperties, options?: JobUpdateOptionalParams): Promise, JobUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, jobName: string, jobEnvelope: JobPatchProperties, options?: JobUpdateOptionalParams): Promise; + get(resourceGroupName: string, jobName: string, options?: JobGetOptionalParams): Promise; +} + +// @public +export interface JobPatchProperties { + identity?: ManagedServiceIdentity; + // (undocumented) + properties?: JobPatchPropertiesProperties; +} + +// @public (undocumented) +export interface JobPatchPropertiesProperties { + configuration?: JobConfiguration; + environmentId?: string; + eventStreamEndpoint?: string; + outboundIpAddresses?: string[]; + template?: JobTemplate; +} + +// @public +export type JobProvisioningState = string; + +// @public +export interface JobRunHeaders { + // (undocumented) + location?: string; +} + +// @public +export interface JobRunOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type JobRunResponse = JobExecutionBase; + +// @public +export interface Jobs { + listByResourceGroup(resourceGroupName: string, options?: JobsListByResourceGroupOptionalParams): PagedAsyncIterableIterator; + listBySubscription(options?: JobsListBySubscriptionOptionalParams): PagedAsyncIterableIterator; + listSecrets(resourceGroupName: string, jobName: string, options?: JobsListSecretsOptionalParams): Promise; +} + +// @public +export interface JobsCollection { + readonly nextLink?: string; + value: Job[]; +} + +// @public +export interface JobSecretsCollection { + value: Secret[]; +} + +// @public +export interface JobsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type JobsListByResourceGroupNextResponse = JobsCollection; + +// @public +export interface JobsListByResourceGroupOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type JobsListByResourceGroupResponse = JobsCollection; + +// @public +export interface JobsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type JobsListBySubscriptionNextResponse = JobsCollection; + +// @public +export interface JobsListBySubscriptionOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type JobsListBySubscriptionResponse = JobsCollection; + +// @public +export interface JobsListSecretsOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type JobsListSecretsResponse = JobSecretsCollection; + +// @public +export interface JobTemplate { + containers?: Container[]; + initContainers?: InitContainer[]; + volumes?: Volume[]; +} + +// @public +export interface JobTerminateHeaders { + // (undocumented) + location?: string; +} + +// @public +export interface JobTerminateMultipleExecutionsHeaders { + // (undocumented) + location?: string; +} + +// @public +export interface JobTerminateMultipleExecutionsOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type JobTerminateMultipleExecutionsResponse = ContainerAppJobExecutions; + +// @public +export interface JobTerminateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export interface JobUpdateHeaders { + // (undocumented) + location?: string; +} + +// @public +export interface JobUpdateOptionalParams extends coreClient.OperationOptions { + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type JobUpdateResponse = Job; + // @public export interface JwtClaimChecks { allowedClientApplications?: string[]; allowedGroups?: string[]; } +// @public +export interface KedaConfiguration { + readonly version?: string; +} + // @public export enum KnownAccessMode { ReadOnly = "ReadOnly", @@ -1517,6 +1850,12 @@ export enum KnownActiveRevisionsMode { Single = "Single" } +// @public +export enum KnownAffinity { + None = "none", + Sticky = "sticky" +} + // @public export enum KnownApplicability { Custom = "Custom", @@ -1605,6 +1944,13 @@ export enum KnownExtendedLocationTypes { CustomLocation = "CustomLocation" } +// @public +export enum KnownIngressClientCertificateMode { + Accept = "accept", + Ignore = "ignore", + Require = "require" +} + // @public export enum KnownIngressTransportMethod { Auto = "auto", @@ -1613,6 +1959,25 @@ export enum KnownIngressTransportMethod { Tcp = "tcp" } +// @public +export enum KnownJobExecutionRunningState { + Degraded = "Degraded", + Failed = "Failed", + Processing = "Processing", + Running = "Running", + Stopped = "Stopped", + Unknown = "Unknown" +} + +// @public +export enum KnownJobProvisioningState { + Canceled = "Canceled", + Deleting = "Deleting", + Failed = "Failed", + InProgress = "InProgress", + Succeeded = "Succeeded" +} + // @public export enum KnownLogLevel { Debug = "debug", @@ -1622,9 +1987,10 @@ export enum KnownLogLevel { } // @public -export enum KnownManagedEnvironmentOutBoundType { - LoadBalancer = "LoadBalancer", - UserDefinedRouting = "UserDefinedRouting" +export enum KnownManagedCertificateDomainControlValidation { + Cname = "CNAME", + Http = "HTTP", + TXT = "TXT" } // @public @@ -1657,12 +2023,6 @@ export enum KnownScheme { Https = "HTTPS" } -// @public -export enum KnownSkuName { - Consumption = "Consumption", - Premium = "Premium" -} - // @public export enum KnownSourceControlOperationState { Canceled = "Canceled", @@ -1677,6 +2037,13 @@ export enum KnownStorageType { EmptyDir = "EmptyDir" } +// @public +export enum KnownTriggerType { + Event = "Event", + Manual = "Manual", + Scheduled = "Scheduled" +} + // @public export enum KnownType { Liveness = "Liveness", @@ -1712,17 +2079,101 @@ export interface LoginScopes { // @public export type LogLevel = string; +// @public +export interface ManagedCertificate extends TrackedResource { + properties?: ManagedCertificateProperties; +} + +// @public +export interface ManagedCertificateCollection { + readonly nextLink?: string; + value: ManagedCertificate[]; +} + +// @public +export type ManagedCertificateDomainControlValidation = string; + +// @public +export interface ManagedCertificatePatch { + tags?: { + [propertyName: string]: string; + }; +} + +// @public +export interface ManagedCertificateProperties { + domainControlValidation?: ManagedCertificateDomainControlValidation; + readonly error?: string; + readonly provisioningState?: CertificateProvisioningState; + subjectName?: string; + readonly validationToken?: string; +} + +// @public +export interface ManagedCertificates { + beginCreateOrUpdate(resourceGroupName: string, environmentName: string, managedCertificateName: string, options?: ManagedCertificatesCreateOrUpdateOptionalParams): Promise, ManagedCertificatesCreateOrUpdateResponse>>; + beginCreateOrUpdateAndWait(resourceGroupName: string, environmentName: string, managedCertificateName: string, options?: ManagedCertificatesCreateOrUpdateOptionalParams): Promise; + delete(resourceGroupName: string, environmentName: string, managedCertificateName: string, options?: ManagedCertificatesDeleteOptionalParams): Promise; + get(resourceGroupName: string, environmentName: string, managedCertificateName: string, options?: ManagedCertificatesGetOptionalParams): Promise; + list(resourceGroupName: string, environmentName: string, options?: ManagedCertificatesListOptionalParams): PagedAsyncIterableIterator; + update(resourceGroupName: string, environmentName: string, managedCertificateName: string, managedCertificateEnvelope: ManagedCertificatePatch, options?: ManagedCertificatesUpdateOptionalParams): Promise; +} + +// @public +export interface ManagedCertificatesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + managedCertificateEnvelope?: ManagedCertificate; + resumeFrom?: string; + updateIntervalInMs?: number; +} + +// @public +export type ManagedCertificatesCreateOrUpdateResponse = ManagedCertificate; + +// @public +export interface ManagedCertificatesDeleteOptionalParams extends coreClient.OperationOptions { +} + +// @public +export interface ManagedCertificatesGetOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedCertificatesGetResponse = ManagedCertificate; + +// @public +export interface ManagedCertificatesListNextOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedCertificatesListNextResponse = ManagedCertificateCollection; + +// @public +export interface ManagedCertificatesListOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedCertificatesListResponse = ManagedCertificateCollection; + +// @public +export interface ManagedCertificatesUpdateOptionalParams extends coreClient.OperationOptions { +} + +// @public +export type ManagedCertificatesUpdateResponse = ManagedCertificate; + // @public export interface ManagedEnvironment extends TrackedResource { appLogsConfiguration?: AppLogsConfiguration; customDomainConfiguration?: CustomDomainConfiguration; daprAIConnectionString?: string; daprAIInstrumentationKey?: string; + daprConfiguration?: DaprConfiguration; readonly defaultDomain?: string; readonly deploymentErrors?: string; readonly eventStreamEndpoint?: string; + kedaConfiguration?: KedaConfiguration; + kind?: string; readonly provisioningState?: EnvironmentProvisioningState; - sku?: EnvironmentSkuProperties; readonly staticIp?: string; vnetConfiguration?: VnetConfiguration; workloadProfiles?: WorkloadProfile[]; @@ -1749,23 +2200,14 @@ export interface ManagedEnvironmentDiagnosticsListDetectorsOptionalParams extend // @public export type ManagedEnvironmentDiagnosticsListDetectorsResponse = DiagnosticsCollection; -// @public -export interface ManagedEnvironmentOutboundSettings { - outBoundType?: ManagedEnvironmentOutBoundType; - virtualNetworkApplianceIp?: string; -} - -// @public -export type ManagedEnvironmentOutBoundType = string; - // @public export interface ManagedEnvironments { beginCreateOrUpdate(resourceGroupName: string, environmentName: string, environmentEnvelope: ManagedEnvironment, options?: ManagedEnvironmentsCreateOrUpdateOptionalParams): Promise, ManagedEnvironmentsCreateOrUpdateResponse>>; beginCreateOrUpdateAndWait(resourceGroupName: string, environmentName: string, environmentEnvelope: ManagedEnvironment, options?: ManagedEnvironmentsCreateOrUpdateOptionalParams): Promise; beginDelete(resourceGroupName: string, environmentName: string, options?: ManagedEnvironmentsDeleteOptionalParams): Promise, void>>; beginDeleteAndWait(resourceGroupName: string, environmentName: string, options?: ManagedEnvironmentsDeleteOptionalParams): Promise; - beginUpdate(resourceGroupName: string, environmentName: string, environmentEnvelope: ManagedEnvironment, options?: ManagedEnvironmentsUpdateOptionalParams): Promise, void>>; - beginUpdateAndWait(resourceGroupName: string, environmentName: string, environmentEnvelope: ManagedEnvironment, options?: ManagedEnvironmentsUpdateOptionalParams): Promise; + beginUpdate(resourceGroupName: string, environmentName: string, environmentEnvelope: ManagedEnvironment, options?: ManagedEnvironmentsUpdateOptionalParams): Promise, ManagedEnvironmentsUpdateResponse>>; + beginUpdateAndWait(resourceGroupName: string, environmentName: string, environmentEnvelope: ManagedEnvironment, options?: ManagedEnvironmentsUpdateOptionalParams): Promise; get(resourceGroupName: string, environmentName: string, options?: ManagedEnvironmentsGetOptionalParams): Promise; getAuthToken(resourceGroupName: string, environmentName: string, options?: ManagedEnvironmentsGetAuthTokenOptionalParams): Promise; listByResourceGroup(resourceGroupName: string, options?: ManagedEnvironmentsListByResourceGroupOptionalParams): PagedAsyncIterableIterator; @@ -1916,6 +2358,9 @@ export interface ManagedEnvironmentsUpdateOptionalParams extends coreClient.Oper updateIntervalInMs?: number; } +// @public +export type ManagedEnvironmentsUpdateResponse = ManagedEnvironment; + // @public export interface ManagedServiceIdentity { readonly principalId?: string; @@ -2119,6 +2564,8 @@ export type Scheme = string; // @public export interface Secret { + identity?: string; + keyVaultUrl?: string; name?: string; value?: string; } @@ -2128,9 +2575,6 @@ export interface SecretsCollection { value: ContainerAppSecret[]; } -// @public -export type SkuName = string; - // @public export interface SourceControl extends ProxyResource { branch?: string; @@ -2194,6 +2638,9 @@ export interface TrafficWeight { weight?: number; } +// @public +export type TriggerType = string; + // @public export interface Twitter { enabled?: boolean; @@ -2223,10 +2670,8 @@ export interface VnetConfiguration { dockerBridgeCidr?: string; infrastructureSubnetId?: string; internal?: boolean; - outboundSettings?: ManagedEnvironmentOutboundSettings; platformReservedCidr?: string; platformReservedDnsIP?: string; - runtimeSubnetId?: string; } // @public diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/availableWorkloadProfilesGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/availableWorkloadProfilesGetSample.ts deleted file mode 100644 index 698603df20b1..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/availableWorkloadProfilesGetSample.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all available workload profiles for a location. - * - * @summary Get all available workload profiles for a location. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AvailableWorkloadProfiles_Get.json - */ -async function billingMetersGet() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const location = "East US"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.availableWorkloadProfiles.list(location)) { - resArray.push(item); - } - console.log(resArray); -} - -billingMetersGet().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/billingMetersGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/billingMetersGetSample.ts deleted file mode 100644 index 4ab2cac8f861..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/billingMetersGetSample.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all billingMeters for a location. - * - * @summary Get all billingMeters for a location. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/BillingMeters_Get.json - */ -async function billingMetersGet() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const location = "East US"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.billingMeters.get(location); - console.log(result); -} - -billingMetersGet().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/certificatesCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/certificatesCreateOrUpdateSample.ts deleted file mode 100644 index 3a81f38b4418..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/certificatesCreateOrUpdateSample.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - Certificate, - CertificatesCreateOrUpdateOptionalParams, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or Update a Certificate. - * - * @summary Create or Update a Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificate_CreateOrUpdate.json - */ -async function createOrUpdateCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const certificateEnvelope: Certificate = { - location: "East US", - properties: { - password: "private key password", - value: Buffer.from("PFX-or-PEM-blob") - } - }; - const options: CertificatesCreateOrUpdateOptionalParams = { - certificateEnvelope - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.certificates.createOrUpdate( - resourceGroupName, - environmentName, - certificateName, - options - ); - console.log(result); -} - -createOrUpdateCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/certificatesDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/certificatesDeleteSample.ts deleted file mode 100644 index 9826234d5259..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/certificatesDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deletes the specified Certificate. - * - * @summary Deletes the specified Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificate_Delete.json - */ -async function deleteCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.certificates.delete( - resourceGroupName, - environmentName, - certificateName - ); - console.log(result); -} - -deleteCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/certificatesGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/certificatesGetSample.ts deleted file mode 100644 index dfc9a417da1b..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/certificatesGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the specified Certificate. - * - * @summary Get the specified Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificate_Get.json - */ -async function getCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.certificates.get( - resourceGroupName, - environmentName, - certificateName - ); - console.log(result); -} - -getCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/certificatesListSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/certificatesListSample.ts deleted file mode 100644 index 2fd0d1b41794..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/certificatesListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Certificates in a given managed environment. - * - * @summary Get the Certificates in a given managed environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificates_ListByManagedEnvironment.json - */ -async function listCertificatesByManagedEnvironment() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.certificates.list( - resourceGroupName, - environmentName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listCertificatesByManagedEnvironment().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/certificatesUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/certificatesUpdateSample.ts deleted file mode 100644 index 07c29f9f9482..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/certificatesUpdateSample.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - CertificatePatch, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Patches a certificate. Currently only patching of tags is supported - * - * @summary Patches a certificate. Currently only patching of tags is supported - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificates_Patch.json - */ -async function patchCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const certificateEnvelope: CertificatePatch = { - tags: { tag1: "value1", tag2: "value2" } - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.certificates.update( - resourceGroupName, - environmentName, - certificateName, - certificateEnvelope - ); - console.log(result); -} - -patchCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCertificatesCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCertificatesCreateOrUpdateSample.ts deleted file mode 100644 index a35ed9013e5b..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCertificatesCreateOrUpdateSample.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - Certificate, - ConnectedEnvironmentsCertificatesCreateOrUpdateOptionalParams, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or Update a Certificate. - * - * @summary Create or Update a Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificate_CreateOrUpdate.json - */ -async function createOrUpdateCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const certificateEnvelope: Certificate = { - location: "East US", - properties: { - password: "private key password", - value: Buffer.from("PFX-or-PEM-blob") - } - }; - const options: ConnectedEnvironmentsCertificatesCreateOrUpdateOptionalParams = { - certificateEnvelope - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsCertificates.createOrUpdate( - resourceGroupName, - connectedEnvironmentName, - certificateName, - options - ); - console.log(result); -} - -createOrUpdateCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCertificatesDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCertificatesDeleteSample.ts deleted file mode 100644 index c96e91e0f079..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCertificatesDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deletes the specified Certificate. - * - * @summary Deletes the specified Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificate_Delete.json - */ -async function deleteCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsCertificates.delete( - resourceGroupName, - connectedEnvironmentName, - certificateName - ); - console.log(result); -} - -deleteCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCertificatesGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCertificatesGetSample.ts deleted file mode 100644 index 545e01de21db..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCertificatesGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the specified Certificate. - * - * @summary Get the specified Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificate_Get.json - */ -async function getCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsCertificates.get( - resourceGroupName, - connectedEnvironmentName, - certificateName - ); - console.log(result); -} - -getCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCertificatesListSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCertificatesListSample.ts deleted file mode 100644 index 6136748e56e1..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCertificatesListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Certificates in a given connected environment. - * - * @summary Get the Certificates in a given connected environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificates_ListByConnectedEnvironment.json - */ -async function listCertificatesByConnectedEnvironment() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.connectedEnvironmentsCertificates.list( - resourceGroupName, - connectedEnvironmentName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listCertificatesByConnectedEnvironment().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCertificatesUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCertificatesUpdateSample.ts deleted file mode 100644 index 6727f124c0d1..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCertificatesUpdateSample.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - CertificatePatch, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Patches a certificate. Currently only patching of tags is supported - * - * @summary Patches a certificate. Currently only patching of tags is supported - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificates_Patch.json - */ -async function patchCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const certificateEnvelope: CertificatePatch = { - tags: { tag1: "value1", tag2: "value2" } - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsCertificates.update( - resourceGroupName, - connectedEnvironmentName, - certificateName, - certificateEnvelope - ); - console.log(result); -} - -patchCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCheckNameAvailabilitySample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCheckNameAvailabilitySample.ts deleted file mode 100644 index 76781d175693..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCheckNameAvailabilitySample.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - CheckNameAvailabilityRequest, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Checks if resource connectedEnvironmentName is available. - * - * @summary Checks if resource connectedEnvironmentName is available. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificates_CheckNameAvailability.json - */ -async function certificatesCheckNameAvailability() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const checkNameAvailabilityRequest: CheckNameAvailabilityRequest = { - name: "testcertificatename", - type: "Microsoft.App/connectedEnvironments/certificates" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironments.checkNameAvailability( - resourceGroupName, - connectedEnvironmentName, - checkNameAvailabilityRequest - ); - console.log(result); -} - -certificatesCheckNameAvailability().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCreateOrUpdateSample.ts deleted file mode 100644 index fe3a09f4bbb2..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsCreateOrUpdateSample.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - ConnectedEnvironment, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Creates or updates an connectedEnvironment. - * - * @summary Creates or updates an connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_CreateOrUpdate.json - */ -async function createKubeEnvironments() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testenv"; - const environmentEnvelope: ConnectedEnvironment = { - customDomainConfiguration: { - certificatePassword: Buffer.from("private key password"), - certificateValue: Buffer.from("PFX-or-PEM-blob"), - dnsSuffix: "www.my-name.com" - }, - daprAIConnectionString: - "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/", - location: "East US", - staticIp: "1.2.3.4" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironments.beginCreateOrUpdateAndWait( - resourceGroupName, - connectedEnvironmentName, - environmentEnvelope - ); - console.log(result); -} - -createKubeEnvironments().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDaprComponentsCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDaprComponentsCreateOrUpdateSample.ts deleted file mode 100644 index 801dd2337fa8..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDaprComponentsCreateOrUpdateSample.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - DaprComponent, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Creates or updates a Dapr Component in a connected environment. - * - * @summary Creates or updates a Dapr Component in a connected environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_CreateOrUpdate.json - */ -async function createOrUpdateDaprComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "myenvironment"; - const componentName = "reddog"; - const daprComponentEnvelope: DaprComponent = { - componentType: "state.azure.cosmosdb", - ignoreErrors: false, - initTimeout: "50s", - metadata: [ - { name: "url", value: "" }, - { name: "database", value: "itemsDB" }, - { name: "collection", value: "items" }, - { name: "masterkey", secretRef: "masterkey" } - ], - scopes: ["container-app-1", "container-app-2"], - secrets: [{ name: "masterkey", value: "keyvalue" }], - version: "v1" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsDaprComponents.createOrUpdate( - resourceGroupName, - connectedEnvironmentName, - componentName, - daprComponentEnvelope - ); - console.log(result); -} - -createOrUpdateDaprComponent().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDaprComponentsDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDaprComponentsDeleteSample.ts deleted file mode 100644 index 4336d0617d7e..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDaprComponentsDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete a Dapr Component from a connected environment. - * - * @summary Delete a Dapr Component from a connected environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_Delete.json - */ -async function deleteDaprComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsDaprComponents.delete( - resourceGroupName, - connectedEnvironmentName, - componentName - ); - console.log(result); -} - -deleteDaprComponent().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDaprComponentsGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDaprComponentsGetSample.ts deleted file mode 100644 index b70c0abfbce3..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDaprComponentsGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get a dapr component. - * - * @summary Get a dapr component. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_Get.json - */ -async function getDaprComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsDaprComponents.get( - resourceGroupName, - connectedEnvironmentName, - componentName - ); - console.log(result); -} - -getDaprComponent().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDaprComponentsListSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDaprComponentsListSample.ts deleted file mode 100644 index 2ee4b0af6bff..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDaprComponentsListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Dapr Components for a connected environment. - * - * @summary Get the Dapr Components for a connected environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_List.json - */ -async function listDaprComponents() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "myenvironment"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.connectedEnvironmentsDaprComponents.list( - resourceGroupName, - connectedEnvironmentName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listDaprComponents().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDaprComponentsListSecretsSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDaprComponentsListSecretsSample.ts deleted file mode 100644 index 3d6f275aedb2..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDaprComponentsListSecretsSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to List secrets for a dapr component - * - * @summary List secrets for a dapr component - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_ListSecrets.json - */ -async function listContainerAppsSecrets() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsDaprComponents.listSecrets( - resourceGroupName, - connectedEnvironmentName, - componentName - ); - console.log(result); -} - -listContainerAppsSecrets().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDeleteSample.ts deleted file mode 100644 index 39fea934b220..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsDeleteSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete an connectedEnvironment. - * - * @summary Delete an connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_Delete.json - */ -async function deleteConnectedEnvironmentByConnectedEnvironmentName() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "examplekenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironments.beginDeleteAndWait( - resourceGroupName, - connectedEnvironmentName - ); - console.log(result); -} - -deleteConnectedEnvironmentByConnectedEnvironmentName().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsGetSample.ts deleted file mode 100644 index cb623c2ad6b1..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsGetSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the properties of an connectedEnvironment. - * - * @summary Get the properties of an connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_Get.json - */ -async function getConnectedEnvironmentByConnectedEnvironmentName() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "examplekenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironments.get( - resourceGroupName, - connectedEnvironmentName - ); - console.log(result); -} - -getConnectedEnvironmentByConnectedEnvironmentName().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsListByResourceGroupSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsListByResourceGroupSample.ts deleted file mode 100644 index 7472652f927f..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsListByResourceGroupSample.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all connectedEnvironments in a resource group. - * - * @summary Get all connectedEnvironments in a resource group. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_ListByResourceGroup.json - */ -async function listEnvironmentsByResourceGroup() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.connectedEnvironments.listByResourceGroup( - resourceGroupName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listEnvironmentsByResourceGroup().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsListBySubscriptionSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsListBySubscriptionSample.ts deleted file mode 100644 index 46d30ed3d5df..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsListBySubscriptionSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all connectedEnvironments for a subscription. - * - * @summary Get all connectedEnvironments for a subscription. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_ListBySubscription.json - */ -async function listConnectedEnvironmentsBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.connectedEnvironments.listBySubscription()) { - resArray.push(item); - } - console.log(resArray); -} - -listConnectedEnvironmentsBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsStoragesCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsStoragesCreateOrUpdateSample.ts deleted file mode 100644 index ad8e052a1ef3..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsStoragesCreateOrUpdateSample.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - ConnectedEnvironmentStorage, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or update storage for a connectedEnvironment. - * - * @summary Create or update storage for a connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_CreateOrUpdate.json - */ -async function createOrUpdateEnvironmentsStorage() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "env"; - const storageName = "jlaw-demo1"; - const storageEnvelope: ConnectedEnvironmentStorage = { - properties: { - azureFile: { - accessMode: "ReadOnly", - accountKey: "key", - accountName: "account1", - shareName: "share1" - } - } - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsStorages.createOrUpdate( - resourceGroupName, - connectedEnvironmentName, - storageName, - storageEnvelope - ); - console.log(result); -} - -createOrUpdateEnvironmentsStorage().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsStoragesDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsStoragesDeleteSample.ts deleted file mode 100644 index 2a03ad0f73e9..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsStoragesDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete storage for a connectedEnvironment. - * - * @summary Delete storage for a connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_Delete.json - */ -async function listEnvironmentsStoragesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "env"; - const storageName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsStorages.delete( - resourceGroupName, - connectedEnvironmentName, - storageName - ); - console.log(result); -} - -listEnvironmentsStoragesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsStoragesGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsStoragesGetSample.ts deleted file mode 100644 index a22e6733e052..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsStoragesGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get storage for a connectedEnvironment. - * - * @summary Get storage for a connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_Get.json - */ -async function getAEnvironmentsStoragePropertiesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "env"; - const storageName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsStorages.get( - resourceGroupName, - connectedEnvironmentName, - storageName - ); - console.log(result); -} - -getAEnvironmentsStoragePropertiesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsStoragesListSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsStoragesListSample.ts deleted file mode 100644 index 896a88e038ff..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsStoragesListSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all storages for a connectedEnvironment. - * - * @summary Get all storages for a connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_List.json - */ -async function listEnvironmentsStoragesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "managedEnv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsStorages.list( - resourceGroupName, - connectedEnvironmentName - ); - console.log(result); -} - -listEnvironmentsStoragesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsUpdateSample.ts deleted file mode 100644 index 03bcbc34fcb2..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/connectedEnvironmentsUpdateSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Patches a Managed Environment. Only patching of tags is supported currently - * - * @summary Patches a Managed Environment. Only patching of tags is supported currently - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_Patch.json - */ -async function patchManagedEnvironment() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironments.update( - resourceGroupName, - connectedEnvironmentName - ); - console.log(result); -} - -patchManagedEnvironment().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsAuthConfigsCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsAuthConfigsCreateOrUpdateSample.ts deleted file mode 100644 index 8be594611ce3..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsAuthConfigsCreateOrUpdateSample.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AuthConfig, ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or update the AuthConfig for a Container App. - * - * @summary Create or update the AuthConfig for a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_CreateOrUpdate.json - */ -async function createOrUpdateContainerAppAuthConfig() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const authConfigName = "current"; - const authConfigEnvelope: AuthConfig = { - globalValidation: { unauthenticatedClientAction: "AllowAnonymous" }, - identityProviders: { - facebook: { - registration: { appId: "123", appSecretSettingName: "facebook-secret" } - } - }, - platform: { enabled: true } - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsAuthConfigs.createOrUpdate( - resourceGroupName, - containerAppName, - authConfigName, - authConfigEnvelope - ); - console.log(result); -} - -createOrUpdateContainerAppAuthConfig().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsAuthConfigsDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsAuthConfigsDeleteSample.ts deleted file mode 100644 index fa32ed65ae85..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsAuthConfigsDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete a Container App AuthConfig. - * - * @summary Delete a Container App AuthConfig. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_Delete.json - */ -async function deleteContainerAppAuthConfig() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const authConfigName = "current"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsAuthConfigs.delete( - resourceGroupName, - containerAppName, - authConfigName - ); - console.log(result); -} - -deleteContainerAppAuthConfig().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsAuthConfigsGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsAuthConfigsGetSample.ts deleted file mode 100644 index 301bd06c5bff..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsAuthConfigsGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get a AuthConfig of a Container App. - * - * @summary Get a AuthConfig of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_Get.json - */ -async function getContainerAppAuthConfig() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const authConfigName = "current"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsAuthConfigs.get( - resourceGroupName, - containerAppName, - authConfigName - ); - console.log(result); -} - -getContainerAppAuthConfig().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsAuthConfigsListByContainerAppSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsAuthConfigsListByContainerAppSample.ts deleted file mode 100644 index 3e33157a6831..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsAuthConfigsListByContainerAppSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Container App AuthConfigs in a given resource group. - * - * @summary Get the Container App AuthConfigs in a given resource group. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_ListByContainer.json - */ -async function listAuthConfigsByContainerApps() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerAppsAuthConfigs.listByContainerApp( - resourceGroupName, - containerAppName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listAuthConfigsByContainerApps().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsCreateOrUpdateSample.ts deleted file mode 100644 index 89b3f42694d0..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsCreateOrUpdateSample.ts +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerApp, ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or update a Container App. - * - * @summary Create or update a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_CreateOrUpdate.json - */ -async function createOrUpdateContainerApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const containerAppEnvelope: ContainerApp = { - configuration: { - dapr: { - appPort: 3000, - appProtocol: "http", - enableApiLogging: true, - enabled: true, - httpMaxRequestSize: 10, - httpReadBufferSize: 30, - logLevel: "debug" - }, - ingress: { - customDomains: [ - { - name: "www.my-name.com", - bindingType: "SniEnabled", - certificateId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com" - }, - { - name: "www.my-other-name.com", - bindingType: "SniEnabled", - certificateId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com" - } - ], - external: true, - ipSecurityRestrictions: [ - { - name: "Allow work IP A subnet", - description: - "Allowing all IP's within the subnet below to access containerapp", - action: "Allow", - ipAddressRange: "192.168.1.1/32" - }, - { - name: "Allow work IP B subnet", - description: - "Allowing all IP's within the subnet below to access containerapp", - action: "Allow", - ipAddressRange: "192.168.1.1/8" - } - ], - targetPort: 3000, - traffic: [ - { - label: "production", - revisionName: "testcontainerApp0-ab1234", - weight: 100 - } - ] - }, - maxInactiveRevisions: 10 - }, - environmentId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube", - location: "East US", - template: { - containers: [ - { - name: "testcontainerApp0", - image: "repo/testcontainerApp0:v1", - probes: [ - { - type: "Liveness", - httpGet: { - path: "/health", - httpHeaders: [{ name: "Custom-Header", value: "Awesome" }], - port: 8080 - }, - initialDelaySeconds: 3, - periodSeconds: 3 - } - ] - } - ], - initContainers: [ - { - name: "testinitcontainerApp0", - args: ["-c", "while true; do echo hello; sleep 10;done"], - command: ["/bin/sh"], - image: "repo/testcontainerApp0:v4", - resources: { cpu: 0.2, memory: "100Mi" } - } - ], - scale: { - maxReplicas: 5, - minReplicas: 1, - rules: [ - { - name: "httpscalingrule", - custom: { type: "http", metadata: { concurrentRequests: "50" } } - } - ] - } - }, - workloadProfileType: "GeneralPurpose" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.beginCreateOrUpdateAndWait( - resourceGroupName, - containerAppName, - containerAppEnvelope - ); - console.log(result); -} - -createOrUpdateContainerApp().catch(console.error); - -/** - * This sample demonstrates how to Create or update a Container App. - * - * @summary Create or update a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_TcpApp_CreateOrUpdate.json - */ -async function createOrUpdateTcpApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerAppTcp"; - const containerAppEnvelope: ContainerApp = { - configuration: { - ingress: { - exposedPort: 4000, - external: true, - targetPort: 3000, - traffic: [{ revisionName: "testcontainerAppTcp-ab1234", weight: 100 }], - transport: "tcp" - } - }, - environmentId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube", - location: "East US", - template: { - containers: [ - { - name: "testcontainerAppTcp", - image: "repo/testcontainerAppTcp:v1", - probes: [ - { - type: "Liveness", - initialDelaySeconds: 3, - periodSeconds: 3, - tcpSocket: { port: 8080 } - } - ] - } - ], - scale: { - maxReplicas: 5, - minReplicas: 1, - rules: [ - { - name: "tcpscalingrule", - tcp: { metadata: { concurrentConnections: "50" } } - } - ] - } - } - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.beginCreateOrUpdateAndWait( - resourceGroupName, - containerAppName, - containerAppEnvelope - ); - console.log(result); -} - -createOrUpdateTcpApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDeleteSample.ts deleted file mode 100644 index 7a1138e20db0..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDeleteSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete a Container App. - * - * @summary Delete a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Delete.json - */ -async function deleteContainerApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testWorkerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.beginDeleteAndWait( - resourceGroupName, - containerAppName - ); - console.log(result); -} - -deleteContainerApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDiagnosticsGetDetectorSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDiagnosticsGetDetectorSample.ts deleted file mode 100644 index 25662a7131ab..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDiagnosticsGetDetectorSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get a diagnostics result of a Container App. - * - * @summary Get a diagnostics result of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerAppsDiagnostics_Get.json - */ -async function getContainerAppDiagnosticsInfo() { - const subscriptionId = "f07f3711-b45e-40fe-a941-4e6d93f851e6"; - const resourceGroupName = "mikono-workerapp-test-rg"; - const containerAppName = "mikono-capp-stage1"; - const detectorName = "cappcontainerappnetworkIO"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsDiagnostics.getDetector( - resourceGroupName, - containerAppName, - detectorName - ); - console.log(result); -} - -getContainerAppDiagnosticsInfo().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDiagnosticsGetRevisionSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDiagnosticsGetRevisionSample.ts deleted file mode 100644 index e5841cc7790d..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDiagnosticsGetRevisionSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get a revision of a Container App. - * - * @summary Get a revision of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Get.json - */ -async function getContainerAppRevision() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const revisionName = "testcontainerApp0-pjxhsye"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsDiagnostics.getRevision( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -getContainerAppRevision().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDiagnosticsGetRootSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDiagnosticsGetRootSample.ts deleted file mode 100644 index 99fd7265f162..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDiagnosticsGetRootSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the properties of a Container App. - * - * @summary Get the properties of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Get.json - */ -async function getContainerApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsDiagnostics.getRoot( - resourceGroupName, - containerAppName - ); - console.log(result); -} - -getContainerApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDiagnosticsListDetectorsSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDiagnosticsListDetectorsSample.ts deleted file mode 100644 index 35216be7c122..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDiagnosticsListDetectorsSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the list of diagnostics for a given Container App. - * - * @summary Get the list of diagnostics for a given Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerAppsDiagnostics_List.json - */ -async function getTheListOfAvailableDiagnosticsForAGivenContainerApp() { - const subscriptionId = "f07f3711-b45e-40fe-a941-4e6d93f851e6"; - const resourceGroupName = "mikono-workerapp-test-rg"; - const containerAppName = "mikono-capp-stage1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerAppsDiagnostics.listDetectors( - resourceGroupName, - containerAppName - )) { - resArray.push(item); - } - console.log(resArray); -} - -getTheListOfAvailableDiagnosticsForAGivenContainerApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDiagnosticsListRevisionsSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDiagnosticsListRevisionsSample.ts deleted file mode 100644 index 2e43067961a9..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsDiagnosticsListRevisionsSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Revisions for a given Container App. - * - * @summary Get the Revisions for a given Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_List.json - */ -async function listContainerAppRevisions() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerAppsDiagnostics.listRevisions( - resourceGroupName, - containerAppName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listContainerAppRevisions().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsGetAuthTokenSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsGetAuthTokenSample.ts deleted file mode 100644 index f44411c37e54..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsGetAuthTokenSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get auth token for a container app - * - * @summary Get auth token for a container app - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_GetAuthToken.json - */ -async function getContainerAppAuthToken() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.getAuthToken( - resourceGroupName, - containerAppName - ); - console.log(result); -} - -getContainerAppAuthToken().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsGetSample.ts deleted file mode 100644 index 60825d27228e..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsGetSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the properties of a Container App. - * - * @summary Get the properties of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Get.json - */ -async function getContainerApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.get( - resourceGroupName, - containerAppName - ); - console.log(result); -} - -getContainerApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsListByResourceGroupSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsListByResourceGroupSample.ts deleted file mode 100644 index abe888508d18..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsListByResourceGroupSample.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Container Apps in a given resource group. - * - * @summary Get the Container Apps in a given resource group. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListByResourceGroup.json - */ -async function listContainerAppsByResourceGroup() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerApps.listByResourceGroup( - resourceGroupName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listContainerAppsByResourceGroup().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsListBySubscriptionSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsListBySubscriptionSample.ts deleted file mode 100644 index 17c23ab32300..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsListBySubscriptionSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Container Apps in a given subscription. - * - * @summary Get the Container Apps in a given subscription. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListBySubscription.json - */ -async function listContainerAppsBySubscription() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerApps.listBySubscription()) { - resArray.push(item); - } - console.log(resArray); -} - -listContainerAppsBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsListCustomHostNameAnalysisSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsListCustomHostNameAnalysisSample.ts deleted file mode 100644 index 6392220fed5d..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsListCustomHostNameAnalysisSample.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - ContainerAppsListCustomHostNameAnalysisOptionalParams, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Analyzes a custom hostname for a Container App - * - * @summary Analyzes a custom hostname for a Container App - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListCustomHostNameAnalysis.json - */ -async function analyzeCustomHostname() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const customHostname = "my.name.corp"; - const options: ContainerAppsListCustomHostNameAnalysisOptionalParams = { - customHostname - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.listCustomHostNameAnalysis( - resourceGroupName, - containerAppName, - options - ); - console.log(result); -} - -analyzeCustomHostname().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsListSecretsSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsListSecretsSample.ts deleted file mode 100644 index 8c6e649c77b7..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsListSecretsSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to List secrets for a container app - * - * @summary List secrets for a container app - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListSecrets.json - */ -async function listContainerAppsSecrets() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.listSecrets( - resourceGroupName, - containerAppName - ); - console.log(result); -} - -listContainerAppsSecrets().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionReplicasGetReplicaSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionReplicasGetReplicaSample.ts deleted file mode 100644 index 1f81d71ba138..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionReplicasGetReplicaSample.ts +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get a replica for a Container App Revision. - * - * @summary Get a replica for a Container App Revision. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Replicas_Get.json - */ -async function getContainerAppRevisionReplica() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "myapp"; - const revisionName = "myapp--0wlqy09"; - const replicaName = "myapp--0wlqy09-5d9774cff-5wnd8"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisionReplicas.getReplica( - resourceGroupName, - containerAppName, - revisionName, - replicaName - ); - console.log(result); -} - -getContainerAppRevisionReplica().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionReplicasListReplicasSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionReplicasListReplicasSample.ts deleted file mode 100644 index 6ec3eb9518ec..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionReplicasListReplicasSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to List replicas for a Container App Revision. - * - * @summary List replicas for a Container App Revision. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Replicas_List.json - */ -async function listContainerAppReplicas() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "myapp"; - const revisionName = "myapp--0wlqy09"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisionReplicas.listReplicas( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -listContainerAppReplicas().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionsActivateRevisionSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionsActivateRevisionSample.ts deleted file mode 100644 index f17d31562a11..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionsActivateRevisionSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Activates a revision for a Container App - * - * @summary Activates a revision for a Container App - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Activate.json - */ -async function activateContainerAppRevision() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const revisionName = "testcontainerApp0-pjxhsye"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisions.activateRevision( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -activateContainerAppRevision().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionsDeactivateRevisionSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionsDeactivateRevisionSample.ts deleted file mode 100644 index 29c94e610bd7..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionsDeactivateRevisionSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deactivates a revision for a Container App - * - * @summary Deactivates a revision for a Container App - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Deactivate.json - */ -async function deactivateContainerAppRevision() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const revisionName = "testcontainerApp0-pjxhsye"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisions.deactivateRevision( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -deactivateContainerAppRevision().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionsGetRevisionSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionsGetRevisionSample.ts deleted file mode 100644 index d80013220cea..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionsGetRevisionSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get a revision of a Container App. - * - * @summary Get a revision of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Get.json - */ -async function getContainerAppRevision() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const revisionName = "testcontainerApp0-pjxhsye"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisions.getRevision( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -getContainerAppRevision().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionsListRevisionsSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionsListRevisionsSample.ts deleted file mode 100644 index 05db4b97c3b9..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionsListRevisionsSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Revisions for a given Container App. - * - * @summary Get the Revisions for a given Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_List.json - */ -async function listContainerAppRevisions() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerAppsRevisions.listRevisions( - resourceGroupName, - containerAppName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listContainerAppRevisions().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionsRestartRevisionSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionsRestartRevisionSample.ts deleted file mode 100644 index fc29bb2c88ad..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsRevisionsRestartRevisionSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Restarts a revision for a Container App - * - * @summary Restarts a revision for a Container App - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Restart.json - */ -async function restartContainerAppRevision() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testStaticSite0"; - const revisionName = "testcontainerApp0-pjxhsye"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisions.restartRevision( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -restartContainerAppRevision().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsSourceControlsCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsSourceControlsCreateOrUpdateSample.ts deleted file mode 100644 index 86418ae8cf45..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsSourceControlsCreateOrUpdateSample.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - SourceControl, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or update the SourceControl for a Container App. - * - * @summary Create or update the SourceControl for a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_CreateOrUpdate.json - */ -async function createOrUpdateContainerAppSourceControl() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const sourceControlName = "current"; - const sourceControlEnvelope: SourceControl = { - branch: "master", - githubActionConfiguration: { - azureCredentials: { - clientId: "", - clientSecret: "", - tenantId: "" - }, - contextPath: "./", - image: "image/tag", - registryInfo: { - registryPassword: "", - registryUrl: "xwang971reg.azurecr.io", - registryUserName: "xwang971reg" - } - }, - repoUrl: "https://github.com/xwang971/ghatest" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsSourceControls.beginCreateOrUpdateAndWait( - resourceGroupName, - containerAppName, - sourceControlName, - sourceControlEnvelope - ); - console.log(result); -} - -createOrUpdateContainerAppSourceControl().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsSourceControlsDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsSourceControlsDeleteSample.ts deleted file mode 100644 index 2b0f557de321..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsSourceControlsDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete a Container App SourceControl. - * - * @summary Delete a Container App SourceControl. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_Delete.json - */ -async function deleteContainerAppSourceControl() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const sourceControlName = "current"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsSourceControls.beginDeleteAndWait( - resourceGroupName, - containerAppName, - sourceControlName - ); - console.log(result); -} - -deleteContainerAppSourceControl().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsSourceControlsGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsSourceControlsGetSample.ts deleted file mode 100644 index 3866b69a12ea..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsSourceControlsGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get a SourceControl of a Container App. - * - * @summary Get a SourceControl of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_Get.json - */ -async function getContainerAppSourceControl() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const sourceControlName = "current"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsSourceControls.get( - resourceGroupName, - containerAppName, - sourceControlName - ); - console.log(result); -} - -getContainerAppSourceControl().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsSourceControlsListByContainerAppSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsSourceControlsListByContainerAppSample.ts deleted file mode 100644 index c9f6fe3aac45..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsSourceControlsListByContainerAppSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Container App SourceControls in a given resource group. - * - * @summary Get the Container App SourceControls in a given resource group. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_ListByContainer.json - */ -async function listAppSourceControls() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerAppsSourceControls.listByContainerApp( - resourceGroupName, - containerAppName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listAppSourceControls().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsUpdateSample.ts deleted file mode 100644 index 4d02d6f05848..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/containerAppsUpdateSample.ts +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerApp, ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Patches a Container App using JSON Merge Patch - * - * @summary Patches a Container App using JSON Merge Patch - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Patch.json - */ -async function patchContainerApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const containerAppEnvelope: ContainerApp = { - configuration: { - dapr: { - appPort: 3000, - appProtocol: "http", - enableApiLogging: true, - enabled: true, - httpMaxRequestSize: 10, - httpReadBufferSize: 30, - logLevel: "debug" - }, - ingress: { - customDomains: [ - { - name: "www.my-name.com", - bindingType: "SniEnabled", - certificateId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com" - }, - { - name: "www.my-other-name.com", - bindingType: "SniEnabled", - certificateId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com" - } - ], - external: true, - ipSecurityRestrictions: [ - { - name: "Allow work IP A subnet", - description: - "Allowing all IP's within the subnet below to access containerapp", - action: "Allow", - ipAddressRange: "192.168.1.1/32" - }, - { - name: "Allow work IP B subnet", - description: - "Allowing all IP's within the subnet below to access containerapp", - action: "Allow", - ipAddressRange: "192.168.1.1/8" - } - ], - targetPort: 3000, - traffic: [ - { - label: "production", - revisionName: "testcontainerApp0-ab1234", - weight: 100 - } - ] - }, - maxInactiveRevisions: 10 - }, - location: "East US", - tags: { tag1: "value1", tag2: "value2" }, - template: { - containers: [ - { - name: "testcontainerApp0", - image: "repo/testcontainerApp0:v1", - probes: [ - { - type: "Liveness", - httpGet: { - path: "/health", - httpHeaders: [{ name: "Custom-Header", value: "Awesome" }], - port: 8080 - }, - initialDelaySeconds: 3, - periodSeconds: 3 - } - ] - } - ], - initContainers: [ - { - name: "testinitcontainerApp0", - image: "repo/testcontainerApp0:v4", - resources: { cpu: 0.2, memory: "100Mi" } - } - ], - scale: { - maxReplicas: 5, - minReplicas: 1, - rules: [ - { - name: "httpscalingrule", - custom: { type: "http", metadata: { concurrentRequests: "50" } } - } - ] - } - } - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.beginUpdateAndWait( - resourceGroupName, - containerAppName, - containerAppEnvelope - ); - console.log(result); -} - -patchContainerApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/daprComponentsCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/daprComponentsCreateOrUpdateSample.ts deleted file mode 100644 index 338e0f0f227e..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/daprComponentsCreateOrUpdateSample.ts +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - DaprComponent, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Creates or updates a Dapr Component in a Managed Environment. - * - * @summary Creates or updates a Dapr Component in a Managed Environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_CreateOrUpdate_SecretStoreComponent.json - */ -async function createOrUpdateDaprComponentWithSecretStoreComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const daprComponentEnvelope: DaprComponent = { - componentType: "state.azure.cosmosdb", - ignoreErrors: false, - initTimeout: "50s", - metadata: [ - { name: "url", value: "" }, - { name: "database", value: "itemsDB" }, - { name: "collection", value: "items" }, - { name: "masterkey", secretRef: "masterkey" } - ], - scopes: ["container-app-1", "container-app-2"], - secretStoreComponent: "my-secret-store", - version: "v1" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.createOrUpdate( - resourceGroupName, - environmentName, - componentName, - daprComponentEnvelope - ); - console.log(result); -} - -createOrUpdateDaprComponentWithSecretStoreComponent().catch(console.error); - -/** - * This sample demonstrates how to Creates or updates a Dapr Component in a Managed Environment. - * - * @summary Creates or updates a Dapr Component in a Managed Environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_CreateOrUpdate_Secrets.json - */ -async function createOrUpdateDaprComponentWithSecrets() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const daprComponentEnvelope: DaprComponent = { - componentType: "state.azure.cosmosdb", - ignoreErrors: false, - initTimeout: "50s", - metadata: [ - { name: "url", value: "" }, - { name: "database", value: "itemsDB" }, - { name: "collection", value: "items" }, - { name: "masterkey", secretRef: "masterkey" } - ], - scopes: ["container-app-1", "container-app-2"], - secrets: [{ name: "masterkey", value: "keyvalue" }], - version: "v1" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.createOrUpdate( - resourceGroupName, - environmentName, - componentName, - daprComponentEnvelope - ); - console.log(result); -} - -createOrUpdateDaprComponentWithSecrets().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/daprComponentsDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/daprComponentsDeleteSample.ts deleted file mode 100644 index a25337cb573d..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/daprComponentsDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete a Dapr Component from a Managed Environment. - * - * @summary Delete a Dapr Component from a Managed Environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_Delete.json - */ -async function deleteDaprComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.delete( - resourceGroupName, - environmentName, - componentName - ); - console.log(result); -} - -deleteDaprComponent().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/daprComponentsGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/daprComponentsGetSample.ts deleted file mode 100644 index 7af846366d9a..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/daprComponentsGetSample.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get a dapr component. - * - * @summary Get a dapr component. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_Get_SecretStoreComponent.json - */ -async function getDaprComponentWithSecretStoreComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.get( - resourceGroupName, - environmentName, - componentName - ); - console.log(result); -} - -getDaprComponentWithSecretStoreComponent().catch(console.error); - -/** - * This sample demonstrates how to Get a dapr component. - * - * @summary Get a dapr component. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_Get_Secrets.json - */ -async function getDaprComponentWithSecrets() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.get( - resourceGroupName, - environmentName, - componentName - ); - console.log(result); -} - -getDaprComponentWithSecrets().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/daprComponentsListSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/daprComponentsListSample.ts deleted file mode 100644 index 523a92eec55a..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/daprComponentsListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Dapr Components for a managed environment. - * - * @summary Get the Dapr Components for a managed environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_List.json - */ -async function listDaprComponents() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.daprComponents.list( - resourceGroupName, - environmentName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listDaprComponents().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/daprComponentsListSecretsSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/daprComponentsListSecretsSample.ts deleted file mode 100644 index 22ee2b7da364..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/daprComponentsListSecretsSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to List secrets for a dapr component - * - * @summary List secrets for a dapr component - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_ListSecrets.json - */ -async function listContainerAppsSecrets() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.listSecrets( - resourceGroupName, - environmentName, - componentName - ); - console.log(result); -} - -listContainerAppsSecrets().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentDiagnosticsGetDetectorSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentDiagnosticsGetDetectorSample.ts deleted file mode 100644 index 249ff959e347..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentDiagnosticsGetDetectorSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the diagnostics data for a Managed Environment used to host container apps. - * - * @summary Get the diagnostics data for a Managed Environment used to host container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentDiagnostics_Get.json - */ -async function getDiagnosticDataForAManagedEnvironments() { - const subscriptionId = "f07f3711-b45e-40fe-a941-4e6d93f851e6"; - const resourceGroupName = "mikono-workerapp-test-rg"; - const environmentName = "mikonokubeenv"; - const detectorName = "ManagedEnvAvailabilityMetrics"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentDiagnostics.getDetector( - resourceGroupName, - environmentName, - detectorName - ); - console.log(result); -} - -getDiagnosticDataForAManagedEnvironments().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentDiagnosticsListDetectorsSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentDiagnosticsListDetectorsSample.ts deleted file mode 100644 index e8fcf2a71dc0..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentDiagnosticsListDetectorsSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the list of diagnostics for a Managed Environment used to host container apps. - * - * @summary Get the list of diagnostics for a Managed Environment used to host container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentDiagnostics_List.json - */ -async function getTheListOfAvailableDiagnosticDataForAManagedEnvironments() { - const subscriptionId = "f07f3711-b45e-40fe-a941-4e6d93f851e6"; - const resourceGroupName = "mikono-workerapp-test-rg"; - const environmentName = "mikonokubeenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentDiagnostics.listDetectors( - resourceGroupName, - environmentName - ); - console.log(result); -} - -getTheListOfAvailableDiagnosticDataForAManagedEnvironments().catch( - console.error -); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsCreateOrUpdateSample.ts deleted file mode 100644 index ef1d2a05483c..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsCreateOrUpdateSample.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - ManagedEnvironment, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Creates or updates a Managed Environment used to host container apps. - * - * @summary Creates or updates a Managed Environment used to host container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_CreateOrUpdate.json - */ -async function createEnvironments() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const environmentEnvelope: ManagedEnvironment = { - appLogsConfiguration: { - logAnalyticsConfiguration: { customerId: "string", sharedKey: "string" } - }, - customDomainConfiguration: { - certificatePassword: Buffer.from("private key password"), - certificateValue: Buffer.from("PFX-or-PEM-blob"), - dnsSuffix: "www.my-name.com" - }, - daprAIConnectionString: - "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/", - location: "East US", - sku: { name: "Premium" }, - vnetConfiguration: { - outboundSettings: { - outBoundType: "UserDefinedRouting", - virtualNetworkApplianceIp: "192.168.1.20" - } - }, - workloadProfiles: [ - { - maximumCount: 12, - minimumCount: 3, - workloadProfileType: "GeneralPurpose" - }, - { - maximumCount: 6, - minimumCount: 3, - workloadProfileType: "MemoryOptimized" - }, - { - maximumCount: 6, - minimumCount: 3, - workloadProfileType: "ComputeOptimized" - } - ], - zoneRedundant: true - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironments.beginCreateOrUpdateAndWait( - resourceGroupName, - environmentName, - environmentEnvelope - ); - console.log(result); -} - -createEnvironments().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsDeleteSample.ts deleted file mode 100644 index 0a20d29b8396..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsDeleteSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete a Managed Environment if it does not have any container apps. - * - * @summary Delete a Managed Environment if it does not have any container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Delete.json - */ -async function deleteEnvironmentByName() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "examplekenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironments.beginDeleteAndWait( - resourceGroupName, - environmentName - ); - console.log(result); -} - -deleteEnvironmentByName().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsDiagnosticsGetRootSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsDiagnosticsGetRootSample.ts deleted file mode 100644 index 497d60bfe67c..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsDiagnosticsGetRootSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the properties of a Managed Environment used to host container apps. - * - * @summary Get the properties of a Managed Environment used to host container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Get.json - */ -async function getEnvironmentsByName() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentsDiagnostics.getRoot( - resourceGroupName, - environmentName - ); - console.log(result); -} - -getEnvironmentsByName().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsGetAuthTokenSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsGetAuthTokenSample.ts deleted file mode 100644 index 8086473b0918..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsGetAuthTokenSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Checks if resource name is available. - * - * @summary Checks if resource name is available. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_GetAuthToken.json - */ -async function getManagedEnvironmentAuthToken() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "rg"; - const environmentName = "testenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironments.getAuthToken( - resourceGroupName, - environmentName - ); - console.log(result); -} - -getManagedEnvironmentAuthToken().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsGetSample.ts deleted file mode 100644 index 5a822df7e7c5..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsGetSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the properties of a Managed Environment used to host container apps. - * - * @summary Get the properties of a Managed Environment used to host container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Get.json - */ -async function getEnvironmentsByName() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironments.get( - resourceGroupName, - environmentName - ); - console.log(result); -} - -getEnvironmentsByName().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsListByResourceGroupSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsListByResourceGroupSample.ts deleted file mode 100644 index fc292fcd4f94..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsListByResourceGroupSample.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all the Managed Environments in a resource group. - * - * @summary Get all the Managed Environments in a resource group. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_ListByResourceGroup.json - */ -async function listEnvironmentsByResourceGroup() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.managedEnvironments.listByResourceGroup( - resourceGroupName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listEnvironmentsByResourceGroup().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsListBySubscriptionSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsListBySubscriptionSample.ts deleted file mode 100644 index 26d08b1a499d..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsListBySubscriptionSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all Managed Environments for a subscription. - * - * @summary Get all Managed Environments for a subscription. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_ListBySubscription.json - */ -async function listEnvironmentsBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.managedEnvironments.listBySubscription()) { - resArray.push(item); - } - console.log(resArray); -} - -listEnvironmentsBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsListWorkloadProfileStatesSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsListWorkloadProfileStatesSample.ts deleted file mode 100644 index bc4eb79e4476..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsListWorkloadProfileStatesSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all workload Profile States for a Premium Managed Environment. - * - * @summary Get all workload Profile States for a Premium Managed Environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_ListWorkloadProfileStates.json - */ -async function listEnvironmentsBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.managedEnvironments.listWorkloadProfileStates( - resourceGroupName, - environmentName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listEnvironmentsBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsStoragesCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsStoragesCreateOrUpdateSample.ts deleted file mode 100644 index 1c2f40f19495..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsStoragesCreateOrUpdateSample.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - ManagedEnvironmentStorage, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or update storage for a managedEnvironment. - * - * @summary Create or update storage for a managedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json - */ -async function createOrUpdateEnvironmentsStorage() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "managedEnv"; - const storageName = "jlaw-demo1"; - const storageEnvelope: ManagedEnvironmentStorage = { - properties: { - azureFile: { - accessMode: "ReadOnly", - accountKey: "key", - accountName: "account1", - shareName: "share1" - } - } - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentsStorages.createOrUpdate( - resourceGroupName, - environmentName, - storageName, - storageEnvelope - ); - console.log(result); -} - -createOrUpdateEnvironmentsStorage().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsStoragesDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsStoragesDeleteSample.ts deleted file mode 100644 index e956869c28fb..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsStoragesDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete storage for a managedEnvironment. - * - * @summary Delete storage for a managedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_Delete.json - */ -async function listEnvironmentsStoragesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "managedEnv"; - const storageName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentsStorages.delete( - resourceGroupName, - environmentName, - storageName - ); - console.log(result); -} - -listEnvironmentsStoragesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsStoragesGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsStoragesGetSample.ts deleted file mode 100644 index 359c283d858f..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsStoragesGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get storage for a managedEnvironment. - * - * @summary Get storage for a managedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_Get.json - */ -async function getAEnvironmentsStoragePropertiesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "managedEnv"; - const storageName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentsStorages.get( - resourceGroupName, - environmentName, - storageName - ); - console.log(result); -} - -getAEnvironmentsStoragePropertiesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsStoragesListSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsStoragesListSample.ts deleted file mode 100644 index 7b6069aac420..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsStoragesListSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all storages for a managedEnvironment. - * - * @summary Get all storages for a managedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_List.json - */ -async function listEnvironmentsStoragesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "managedEnv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentsStorages.list( - resourceGroupName, - environmentName - ); - console.log(result); -} - -listEnvironmentsStoragesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsUpdateSample.ts deleted file mode 100644 index 28543cfe3b93..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/managedEnvironmentsUpdateSample.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - ManagedEnvironment, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Patches a Managed Environment using JSON Merge Patch - * - * @summary Patches a Managed Environment using JSON Merge Patch - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Patch.json - */ -async function patchManagedEnvironment() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const environmentEnvelope: ManagedEnvironment = { - location: "East US", - tags: { tag1: "value1", tag2: "value2" } - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironments.beginUpdateAndWait( - resourceGroupName, - environmentName, - environmentEnvelope - ); - console.log(result); -} - -patchManagedEnvironment().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/namespacesCheckNameAvailabilitySample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/namespacesCheckNameAvailabilitySample.ts deleted file mode 100644 index 4f74d5e40cc5..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/namespacesCheckNameAvailabilitySample.ts +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - CheckNameAvailabilityRequest, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Checks if resource name is available. - * - * @summary Checks if resource name is available. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificates_CheckNameAvailability.json - */ -async function certificatesCheckNameAvailability() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const checkNameAvailabilityRequest: CheckNameAvailabilityRequest = { - name: "testcertificatename", - type: "Microsoft.App/managedEnvironments/certificates" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.namespaces.checkNameAvailability( - resourceGroupName, - environmentName, - checkNameAvailabilityRequest - ); - console.log(result); -} - -certificatesCheckNameAvailability().catch(console.error); - -/** - * This sample demonstrates how to Checks if resource name is available. - * - * @summary Checks if resource name is available. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_CheckNameAvailability.json - */ -async function containerAppsCheckNameAvailability() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const checkNameAvailabilityRequest: CheckNameAvailabilityRequest = { - name: "testcappname", - type: "Microsoft.App/containerApps" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.namespaces.checkNameAvailability( - resourceGroupName, - environmentName, - checkNameAvailabilityRequest - ); - console.log(result); -} - -containerAppsCheckNameAvailability().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples-dev/operationsListSample.ts b/sdk/appcontainers/arm-appcontainers/samples-dev/operationsListSample.ts deleted file mode 100644 index b2ea13421d19..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples-dev/operationsListSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists all of the available RP operations. - * - * @summary Lists all of the available RP operations. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Operations_List.json - */ -async function listAllOperations() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.operations.list()) { - resArray.push(item); - } - console.log(resArray); -} - -listAllOperations().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/README.md b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/README.md deleted file mode 100644 index 9baef631b125..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/README.md +++ /dev/null @@ -1,206 +0,0 @@ -# client library samples for JavaScript (Beta) - -These sample programs show how to use the JavaScript client libraries for in some common scenarios. - -| **File Name** | **Description** | -| --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [availableWorkloadProfilesGetSample.js][availableworkloadprofilesgetsample] | Get all available workload profiles for a location. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AvailableWorkloadProfiles_Get.json | -| [billingMetersGetSample.js][billingmetersgetsample] | Get all billingMeters for a location. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/BillingMeters_Get.json | -| [certificatesCreateOrUpdateSample.js][certificatescreateorupdatesample] | Create or Update a Certificate. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificate_CreateOrUpdate.json | -| [certificatesDeleteSample.js][certificatesdeletesample] | Deletes the specified Certificate. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificate_Delete.json | -| [certificatesGetSample.js][certificatesgetsample] | Get the specified Certificate. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificate_Get.json | -| [certificatesListSample.js][certificateslistsample] | Get the Certificates in a given managed environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificates_ListByManagedEnvironment.json | -| [certificatesUpdateSample.js][certificatesupdatesample] | Patches a certificate. Currently only patching of tags is supported x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificates_Patch.json | -| [connectedEnvironmentsCertificatesCreateOrUpdateSample.js][connectedenvironmentscertificatescreateorupdatesample] | Create or Update a Certificate. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificate_CreateOrUpdate.json | -| [connectedEnvironmentsCertificatesDeleteSample.js][connectedenvironmentscertificatesdeletesample] | Deletes the specified Certificate. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificate_Delete.json | -| [connectedEnvironmentsCertificatesGetSample.js][connectedenvironmentscertificatesgetsample] | Get the specified Certificate. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificate_Get.json | -| [connectedEnvironmentsCertificatesListSample.js][connectedenvironmentscertificateslistsample] | Get the Certificates in a given connected environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificates_ListByConnectedEnvironment.json | -| [connectedEnvironmentsCertificatesUpdateSample.js][connectedenvironmentscertificatesupdatesample] | Patches a certificate. Currently only patching of tags is supported x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificates_Patch.json | -| [connectedEnvironmentsCheckNameAvailabilitySample.js][connectedenvironmentschecknameavailabilitysample] | Checks if resource connectedEnvironmentName is available. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificates_CheckNameAvailability.json | -| [connectedEnvironmentsCreateOrUpdateSample.js][connectedenvironmentscreateorupdatesample] | Creates or updates an connectedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_CreateOrUpdate.json | -| [connectedEnvironmentsDaprComponentsCreateOrUpdateSample.js][connectedenvironmentsdaprcomponentscreateorupdatesample] | Creates or updates a Dapr Component in a connected environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_CreateOrUpdate.json | -| [connectedEnvironmentsDaprComponentsDeleteSample.js][connectedenvironmentsdaprcomponentsdeletesample] | Delete a Dapr Component from a connected environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_Delete.json | -| [connectedEnvironmentsDaprComponentsGetSample.js][connectedenvironmentsdaprcomponentsgetsample] | Get a dapr component. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_Get.json | -| [connectedEnvironmentsDaprComponentsListSample.js][connectedenvironmentsdaprcomponentslistsample] | Get the Dapr Components for a connected environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_List.json | -| [connectedEnvironmentsDaprComponentsListSecretsSample.js][connectedenvironmentsdaprcomponentslistsecretssample] | List secrets for a dapr component x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_ListSecrets.json | -| [connectedEnvironmentsDeleteSample.js][connectedenvironmentsdeletesample] | Delete an connectedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_Delete.json | -| [connectedEnvironmentsGetSample.js][connectedenvironmentsgetsample] | Get the properties of an connectedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_Get.json | -| [connectedEnvironmentsListByResourceGroupSample.js][connectedenvironmentslistbyresourcegroupsample] | Get all connectedEnvironments in a resource group. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_ListByResourceGroup.json | -| [connectedEnvironmentsListBySubscriptionSample.js][connectedenvironmentslistbysubscriptionsample] | Get all connectedEnvironments for a subscription. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_ListBySubscription.json | -| [connectedEnvironmentsStoragesCreateOrUpdateSample.js][connectedenvironmentsstoragescreateorupdatesample] | Create or update storage for a connectedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_CreateOrUpdate.json | -| [connectedEnvironmentsStoragesDeleteSample.js][connectedenvironmentsstoragesdeletesample] | Delete storage for a connectedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_Delete.json | -| [connectedEnvironmentsStoragesGetSample.js][connectedenvironmentsstoragesgetsample] | Get storage for a connectedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_Get.json | -| [connectedEnvironmentsStoragesListSample.js][connectedenvironmentsstorageslistsample] | Get all storages for a connectedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_List.json | -| [connectedEnvironmentsUpdateSample.js][connectedenvironmentsupdatesample] | Patches a Managed Environment. Only patching of tags is supported currently x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_Patch.json | -| [containerAppsAuthConfigsCreateOrUpdateSample.js][containerappsauthconfigscreateorupdatesample] | Create or update the AuthConfig for a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_CreateOrUpdate.json | -| [containerAppsAuthConfigsDeleteSample.js][containerappsauthconfigsdeletesample] | Delete a Container App AuthConfig. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_Delete.json | -| [containerAppsAuthConfigsGetSample.js][containerappsauthconfigsgetsample] | Get a AuthConfig of a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_Get.json | -| [containerAppsAuthConfigsListByContainerAppSample.js][containerappsauthconfigslistbycontainerappsample] | Get the Container App AuthConfigs in a given resource group. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_ListByContainer.json | -| [containerAppsCreateOrUpdateSample.js][containerappscreateorupdatesample] | Create or update a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_CreateOrUpdate.json | -| [containerAppsDeleteSample.js][containerappsdeletesample] | Delete a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Delete.json | -| [containerAppsDiagnosticsGetDetectorSample.js][containerappsdiagnosticsgetdetectorsample] | Get a diagnostics result of a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerAppsDiagnostics_Get.json | -| [containerAppsDiagnosticsGetRevisionSample.js][containerappsdiagnosticsgetrevisionsample] | Get a revision of a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Get.json | -| [containerAppsDiagnosticsGetRootSample.js][containerappsdiagnosticsgetrootsample] | Get the properties of a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Get.json | -| [containerAppsDiagnosticsListDetectorsSample.js][containerappsdiagnosticslistdetectorssample] | Get the list of diagnostics for a given Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerAppsDiagnostics_List.json | -| [containerAppsDiagnosticsListRevisionsSample.js][containerappsdiagnosticslistrevisionssample] | Get the Revisions for a given Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_List.json | -| [containerAppsGetAuthTokenSample.js][containerappsgetauthtokensample] | Get auth token for a container app x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_GetAuthToken.json | -| [containerAppsGetSample.js][containerappsgetsample] | Get the properties of a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Get.json | -| [containerAppsListByResourceGroupSample.js][containerappslistbyresourcegroupsample] | Get the Container Apps in a given resource group. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListByResourceGroup.json | -| [containerAppsListBySubscriptionSample.js][containerappslistbysubscriptionsample] | Get the Container Apps in a given subscription. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListBySubscription.json | -| [containerAppsListCustomHostNameAnalysisSample.js][containerappslistcustomhostnameanalysissample] | Analyzes a custom hostname for a Container App x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListCustomHostNameAnalysis.json | -| [containerAppsListSecretsSample.js][containerappslistsecretssample] | List secrets for a container app x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListSecrets.json | -| [containerAppsRevisionReplicasGetReplicaSample.js][containerappsrevisionreplicasgetreplicasample] | Get a replica for a Container App Revision. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Replicas_Get.json | -| [containerAppsRevisionReplicasListReplicasSample.js][containerappsrevisionreplicaslistreplicassample] | List replicas for a Container App Revision. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Replicas_List.json | -| [containerAppsRevisionsActivateRevisionSample.js][containerappsrevisionsactivaterevisionsample] | Activates a revision for a Container App x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Activate.json | -| [containerAppsRevisionsDeactivateRevisionSample.js][containerappsrevisionsdeactivaterevisionsample] | Deactivates a revision for a Container App x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Deactivate.json | -| [containerAppsRevisionsGetRevisionSample.js][containerappsrevisionsgetrevisionsample] | Get a revision of a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Get.json | -| [containerAppsRevisionsListRevisionsSample.js][containerappsrevisionslistrevisionssample] | Get the Revisions for a given Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_List.json | -| [containerAppsRevisionsRestartRevisionSample.js][containerappsrevisionsrestartrevisionsample] | Restarts a revision for a Container App x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Restart.json | -| [containerAppsSourceControlsCreateOrUpdateSample.js][containerappssourcecontrolscreateorupdatesample] | Create or update the SourceControl for a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_CreateOrUpdate.json | -| [containerAppsSourceControlsDeleteSample.js][containerappssourcecontrolsdeletesample] | Delete a Container App SourceControl. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_Delete.json | -| [containerAppsSourceControlsGetSample.js][containerappssourcecontrolsgetsample] | Get a SourceControl of a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_Get.json | -| [containerAppsSourceControlsListByContainerAppSample.js][containerappssourcecontrolslistbycontainerappsample] | Get the Container App SourceControls in a given resource group. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_ListByContainer.json | -| [containerAppsUpdateSample.js][containerappsupdatesample] | Patches a Container App using JSON Merge Patch x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Patch.json | -| [daprComponentsCreateOrUpdateSample.js][daprcomponentscreateorupdatesample] | Creates or updates a Dapr Component in a Managed Environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_CreateOrUpdate_SecretStoreComponent.json | -| [daprComponentsDeleteSample.js][daprcomponentsdeletesample] | Delete a Dapr Component from a Managed Environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_Delete.json | -| [daprComponentsGetSample.js][daprcomponentsgetsample] | Get a dapr component. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_Get_SecretStoreComponent.json | -| [daprComponentsListSample.js][daprcomponentslistsample] | Get the Dapr Components for a managed environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_List.json | -| [daprComponentsListSecretsSample.js][daprcomponentslistsecretssample] | List secrets for a dapr component x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_ListSecrets.json | -| [managedEnvironmentDiagnosticsGetDetectorSample.js][managedenvironmentdiagnosticsgetdetectorsample] | Get the diagnostics data for a Managed Environment used to host container apps. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentDiagnostics_Get.json | -| [managedEnvironmentDiagnosticsListDetectorsSample.js][managedenvironmentdiagnosticslistdetectorssample] | Get the list of diagnostics for a Managed Environment used to host container apps. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentDiagnostics_List.json | -| [managedEnvironmentsCreateOrUpdateSample.js][managedenvironmentscreateorupdatesample] | Creates or updates a Managed Environment used to host container apps. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_CreateOrUpdate.json | -| [managedEnvironmentsDeleteSample.js][managedenvironmentsdeletesample] | Delete a Managed Environment if it does not have any container apps. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Delete.json | -| [managedEnvironmentsDiagnosticsGetRootSample.js][managedenvironmentsdiagnosticsgetrootsample] | Get the properties of a Managed Environment used to host container apps. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Get.json | -| [managedEnvironmentsGetAuthTokenSample.js][managedenvironmentsgetauthtokensample] | Checks if resource name is available. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_GetAuthToken.json | -| [managedEnvironmentsGetSample.js][managedenvironmentsgetsample] | Get the properties of a Managed Environment used to host container apps. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Get.json | -| [managedEnvironmentsListByResourceGroupSample.js][managedenvironmentslistbyresourcegroupsample] | Get all the Managed Environments in a resource group. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_ListByResourceGroup.json | -| [managedEnvironmentsListBySubscriptionSample.js][managedenvironmentslistbysubscriptionsample] | Get all Managed Environments for a subscription. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_ListBySubscription.json | -| [managedEnvironmentsListWorkloadProfileStatesSample.js][managedenvironmentslistworkloadprofilestatessample] | Get all workload Profile States for a Premium Managed Environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_ListWorkloadProfileStates.json | -| [managedEnvironmentsStoragesCreateOrUpdateSample.js][managedenvironmentsstoragescreateorupdatesample] | Create or update storage for a managedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json | -| [managedEnvironmentsStoragesDeleteSample.js][managedenvironmentsstoragesdeletesample] | Delete storage for a managedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_Delete.json | -| [managedEnvironmentsStoragesGetSample.js][managedenvironmentsstoragesgetsample] | Get storage for a managedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_Get.json | -| [managedEnvironmentsStoragesListSample.js][managedenvironmentsstorageslistsample] | Get all storages for a managedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_List.json | -| [managedEnvironmentsUpdateSample.js][managedenvironmentsupdatesample] | Patches a Managed Environment using JSON Merge Patch x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Patch.json | -| [namespacesCheckNameAvailabilitySample.js][namespaceschecknameavailabilitysample] | Checks if resource name is available. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificates_CheckNameAvailability.json | -| [operationsListSample.js][operationslistsample] | Lists all of the available RP operations. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Operations_List.json | - -## Prerequisites - -The sample programs are compatible with [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule). - -You need [an Azure subscription][freesub] to run these sample programs. - -Samples retrieve credentials to access the service endpoint from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. - -Adapting the samples to run in the browser may require some additional consideration. For details, please see the [package README][package]. - -## Setup - -To run the samples using the published version of the package: - -1. Install the dependencies using `npm`: - -```bash -npm install -``` - -2. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically. - -3. Run whichever samples you like (note that some samples may require additional setup, see the table above): - -```bash -node availableWorkloadProfilesGetSample.js -``` - -Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): - -```bash -npx cross-env node availableWorkloadProfilesGetSample.js -``` - -## Next Steps - -Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. - -[availableworkloadprofilesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/availableWorkloadProfilesGetSample.js -[billingmetersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/billingMetersGetSample.js -[certificatescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesCreateOrUpdateSample.js -[certificatesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesDeleteSample.js -[certificatesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesGetSample.js -[certificateslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesListSample.js -[certificatesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesUpdateSample.js -[connectedenvironmentscertificatescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesCreateOrUpdateSample.js -[connectedenvironmentscertificatesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesDeleteSample.js -[connectedenvironmentscertificatesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesGetSample.js -[connectedenvironmentscertificateslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesListSample.js -[connectedenvironmentscertificatesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesUpdateSample.js -[connectedenvironmentschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCheckNameAvailabilitySample.js -[connectedenvironmentscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCreateOrUpdateSample.js -[connectedenvironmentsdaprcomponentscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsCreateOrUpdateSample.js -[connectedenvironmentsdaprcomponentsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsDeleteSample.js -[connectedenvironmentsdaprcomponentsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsGetSample.js -[connectedenvironmentsdaprcomponentslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsListSample.js -[connectedenvironmentsdaprcomponentslistsecretssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsListSecretsSample.js -[connectedenvironmentsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDeleteSample.js -[connectedenvironmentsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsGetSample.js -[connectedenvironmentslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsListByResourceGroupSample.js -[connectedenvironmentslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsListBySubscriptionSample.js -[connectedenvironmentsstoragescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsStoragesCreateOrUpdateSample.js -[connectedenvironmentsstoragesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsStoragesDeleteSample.js -[connectedenvironmentsstoragesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsStoragesGetSample.js -[connectedenvironmentsstorageslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsStoragesListSample.js -[connectedenvironmentsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsUpdateSample.js -[containerappsauthconfigscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsAuthConfigsCreateOrUpdateSample.js -[containerappsauthconfigsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsAuthConfigsDeleteSample.js -[containerappsauthconfigsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsAuthConfigsGetSample.js -[containerappsauthconfigslistbycontainerappsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsAuthConfigsListByContainerAppSample.js -[containerappscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsCreateOrUpdateSample.js -[containerappsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDeleteSample.js -[containerappsdiagnosticsgetdetectorsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsGetDetectorSample.js -[containerappsdiagnosticsgetrevisionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsGetRevisionSample.js -[containerappsdiagnosticsgetrootsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsGetRootSample.js -[containerappsdiagnosticslistdetectorssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsListDetectorsSample.js -[containerappsdiagnosticslistrevisionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsListRevisionsSample.js -[containerappsgetauthtokensample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsGetAuthTokenSample.js -[containerappsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsGetSample.js -[containerappslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsListByResourceGroupSample.js -[containerappslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsListBySubscriptionSample.js -[containerappslistcustomhostnameanalysissample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsListCustomHostNameAnalysisSample.js -[containerappslistsecretssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsListSecretsSample.js -[containerappsrevisionreplicasgetreplicasample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionReplicasGetReplicaSample.js -[containerappsrevisionreplicaslistreplicassample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionReplicasListReplicasSample.js -[containerappsrevisionsactivaterevisionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsActivateRevisionSample.js -[containerappsrevisionsdeactivaterevisionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsDeactivateRevisionSample.js -[containerappsrevisionsgetrevisionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsGetRevisionSample.js -[containerappsrevisionslistrevisionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsListRevisionsSample.js -[containerappsrevisionsrestartrevisionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsRestartRevisionSample.js -[containerappssourcecontrolscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsSourceControlsCreateOrUpdateSample.js -[containerappssourcecontrolsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsSourceControlsDeleteSample.js -[containerappssourcecontrolsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsSourceControlsGetSample.js -[containerappssourcecontrolslistbycontainerappsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsSourceControlsListByContainerAppSample.js -[containerappsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsUpdateSample.js -[daprcomponentscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsCreateOrUpdateSample.js -[daprcomponentsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsDeleteSample.js -[daprcomponentsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsGetSample.js -[daprcomponentslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsListSample.js -[daprcomponentslistsecretssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsListSecretsSample.js -[managedenvironmentdiagnosticsgetdetectorsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentDiagnosticsGetDetectorSample.js -[managedenvironmentdiagnosticslistdetectorssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentDiagnosticsListDetectorsSample.js -[managedenvironmentscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsCreateOrUpdateSample.js -[managedenvironmentsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsDeleteSample.js -[managedenvironmentsdiagnosticsgetrootsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsDiagnosticsGetRootSample.js -[managedenvironmentsgetauthtokensample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsGetAuthTokenSample.js -[managedenvironmentsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsGetSample.js -[managedenvironmentslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsListByResourceGroupSample.js -[managedenvironmentslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsListBySubscriptionSample.js -[managedenvironmentslistworkloadprofilestatessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsListWorkloadProfileStatesSample.js -[managedenvironmentsstoragescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsStoragesCreateOrUpdateSample.js -[managedenvironmentsstoragesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsStoragesDeleteSample.js -[managedenvironmentsstoragesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsStoragesGetSample.js -[managedenvironmentsstorageslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsStoragesListSample.js -[managedenvironmentsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsUpdateSample.js -[namespaceschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/namespacesCheckNameAvailabilitySample.js -[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/operationsListSample.js -[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-appcontainers?view=azure-node-preview -[freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appcontainers/arm-appcontainers/README.md diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/availableWorkloadProfilesGetSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/availableWorkloadProfilesGetSample.js deleted file mode 100644 index 7f1882ab9bd4..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/availableWorkloadProfilesGetSample.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get all available workload profiles for a location. - * - * @summary Get all available workload profiles for a location. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AvailableWorkloadProfiles_Get.json - */ -async function billingMetersGet() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const location = "East US"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.availableWorkloadProfiles.list(location)) { - resArray.push(item); - } - console.log(resArray); -} - -billingMetersGet().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/billingMetersGetSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/billingMetersGetSample.js deleted file mode 100644 index c30d9472509c..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/billingMetersGetSample.js +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get all billingMeters for a location. - * - * @summary Get all billingMeters for a location. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/BillingMeters_Get.json - */ -async function billingMetersGet() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const location = "East US"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.billingMeters.get(location); - console.log(result); -} - -billingMetersGet().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesCreateOrUpdateSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesCreateOrUpdateSample.js deleted file mode 100644 index d13dcea0f4c6..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesCreateOrUpdateSample.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Create or Update a Certificate. - * - * @summary Create or Update a Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificate_CreateOrUpdate.json - */ -async function createOrUpdateCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const certificateEnvelope = { - location: "East US", - properties: { - password: "private key password", - value: Buffer.from("PFX-or-PEM-blob"), - }, - }; - const options = { - certificateEnvelope, - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.certificates.createOrUpdate( - resourceGroupName, - environmentName, - certificateName, - options - ); - console.log(result); -} - -createOrUpdateCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesDeleteSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesDeleteSample.js deleted file mode 100644 index 42d449c5793e..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesDeleteSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Deletes the specified Certificate. - * - * @summary Deletes the specified Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificate_Delete.json - */ -async function deleteCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.certificates.delete( - resourceGroupName, - environmentName, - certificateName - ); - console.log(result); -} - -deleteCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesGetSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesGetSample.js deleted file mode 100644 index 2e9d5d18679a..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesGetSample.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the specified Certificate. - * - * @summary Get the specified Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificate_Get.json - */ -async function getCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.certificates.get(resourceGroupName, environmentName, certificateName); - console.log(result); -} - -getCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesListSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesListSample.js deleted file mode 100644 index 81b8eb555c7b..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesListSample.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the Certificates in a given managed environment. - * - * @summary Get the Certificates in a given managed environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificates_ListByManagedEnvironment.json - */ -async function listCertificatesByManagedEnvironment() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.certificates.list(resourceGroupName, environmentName)) { - resArray.push(item); - } - console.log(resArray); -} - -listCertificatesByManagedEnvironment().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesUpdateSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesUpdateSample.js deleted file mode 100644 index 75e6a1fe3fc7..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/certificatesUpdateSample.js +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Patches a certificate. Currently only patching of tags is supported - * - * @summary Patches a certificate. Currently only patching of tags is supported - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificates_Patch.json - */ -async function patchCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const certificateEnvelope = { - tags: { tag1: "value1", tag2: "value2" }, - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.certificates.update( - resourceGroupName, - environmentName, - certificateName, - certificateEnvelope - ); - console.log(result); -} - -patchCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesCreateOrUpdateSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesCreateOrUpdateSample.js deleted file mode 100644 index f3dfcf2cc2ed..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesCreateOrUpdateSample.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Create or Update a Certificate. - * - * @summary Create or Update a Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificate_CreateOrUpdate.json - */ -async function createOrUpdateCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const certificateEnvelope = { - location: "East US", - properties: { - password: "private key password", - value: Buffer.from("PFX-or-PEM-blob"), - }, - }; - const options = { - certificateEnvelope, - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsCertificates.createOrUpdate( - resourceGroupName, - connectedEnvironmentName, - certificateName, - options - ); - console.log(result); -} - -createOrUpdateCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesDeleteSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesDeleteSample.js deleted file mode 100644 index d35ca3587956..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesDeleteSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Deletes the specified Certificate. - * - * @summary Deletes the specified Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificate_Delete.json - */ -async function deleteCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsCertificates.delete( - resourceGroupName, - connectedEnvironmentName, - certificateName - ); - console.log(result); -} - -deleteCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesGetSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesGetSample.js deleted file mode 100644 index d402ec7f6991..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesGetSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the specified Certificate. - * - * @summary Get the specified Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificate_Get.json - */ -async function getCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsCertificates.get( - resourceGroupName, - connectedEnvironmentName, - certificateName - ); - console.log(result); -} - -getCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesListSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesListSample.js deleted file mode 100644 index cfd9a6fcf41e..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesListSample.js +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the Certificates in a given connected environment. - * - * @summary Get the Certificates in a given connected environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificates_ListByConnectedEnvironment.json - */ -async function listCertificatesByConnectedEnvironment() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.connectedEnvironmentsCertificates.list( - resourceGroupName, - connectedEnvironmentName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listCertificatesByConnectedEnvironment().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesUpdateSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesUpdateSample.js deleted file mode 100644 index e1a279e1cc32..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCertificatesUpdateSample.js +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Patches a certificate. Currently only patching of tags is supported - * - * @summary Patches a certificate. Currently only patching of tags is supported - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificates_Patch.json - */ -async function patchCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const certificateEnvelope = { - tags: { tag1: "value1", tag2: "value2" }, - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsCertificates.update( - resourceGroupName, - connectedEnvironmentName, - certificateName, - certificateEnvelope - ); - console.log(result); -} - -patchCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCheckNameAvailabilitySample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCheckNameAvailabilitySample.js deleted file mode 100644 index 730c0ee5bdff..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCheckNameAvailabilitySample.js +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Checks if resource connectedEnvironmentName is available. - * - * @summary Checks if resource connectedEnvironmentName is available. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificates_CheckNameAvailability.json - */ -async function certificatesCheckNameAvailability() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const checkNameAvailabilityRequest = { - name: "testcertificatename", - type: "Microsoft.App/connectedEnvironments/certificates", - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironments.checkNameAvailability( - resourceGroupName, - connectedEnvironmentName, - checkNameAvailabilityRequest - ); - console.log(result); -} - -certificatesCheckNameAvailability().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCreateOrUpdateSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCreateOrUpdateSample.js deleted file mode 100644 index 116dd24f7526..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsCreateOrUpdateSample.js +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Creates or updates an connectedEnvironment. - * - * @summary Creates or updates an connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_CreateOrUpdate.json - */ -async function createKubeEnvironments() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testenv"; - const environmentEnvelope = { - customDomainConfiguration: { - certificatePassword: Buffer.from("private key password"), - certificateValue: Buffer.from("PFX-or-PEM-blob"), - dnsSuffix: "www.my-name.com", - }, - daprAIConnectionString: - "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/", - location: "East US", - staticIp: "1.2.3.4", - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironments.beginCreateOrUpdateAndWait( - resourceGroupName, - connectedEnvironmentName, - environmentEnvelope - ); - console.log(result); -} - -createKubeEnvironments().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsCreateOrUpdateSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsCreateOrUpdateSample.js deleted file mode 100644 index 7e6a13c94018..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsCreateOrUpdateSample.js +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Creates or updates a Dapr Component in a connected environment. - * - * @summary Creates or updates a Dapr Component in a connected environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_CreateOrUpdate.json - */ -async function createOrUpdateDaprComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "myenvironment"; - const componentName = "reddog"; - const daprComponentEnvelope = { - componentType: "state.azure.cosmosdb", - ignoreErrors: false, - initTimeout: "50s", - metadata: [ - { name: "url", value: "" }, - { name: "database", value: "itemsDB" }, - { name: "collection", value: "items" }, - { name: "masterkey", secretRef: "masterkey" }, - ], - scopes: ["container-app-1", "container-app-2"], - secrets: [{ name: "masterkey", value: "keyvalue" }], - version: "v1", - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsDaprComponents.createOrUpdate( - resourceGroupName, - connectedEnvironmentName, - componentName, - daprComponentEnvelope - ); - console.log(result); -} - -createOrUpdateDaprComponent().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsDeleteSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsDeleteSample.js deleted file mode 100644 index 7a6b8f18a83f..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsDeleteSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Delete a Dapr Component from a connected environment. - * - * @summary Delete a Dapr Component from a connected environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_Delete.json - */ -async function deleteDaprComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsDaprComponents.delete( - resourceGroupName, - connectedEnvironmentName, - componentName - ); - console.log(result); -} - -deleteDaprComponent().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsGetSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsGetSample.js deleted file mode 100644 index 561482152264..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsGetSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get a dapr component. - * - * @summary Get a dapr component. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_Get.json - */ -async function getDaprComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsDaprComponents.get( - resourceGroupName, - connectedEnvironmentName, - componentName - ); - console.log(result); -} - -getDaprComponent().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsListSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsListSample.js deleted file mode 100644 index e8d488d6cef4..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsListSample.js +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the Dapr Components for a connected environment. - * - * @summary Get the Dapr Components for a connected environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_List.json - */ -async function listDaprComponents() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "myenvironment"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.connectedEnvironmentsDaprComponents.list( - resourceGroupName, - connectedEnvironmentName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listDaprComponents().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsListSecretsSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsListSecretsSample.js deleted file mode 100644 index cd40dbc176c6..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDaprComponentsListSecretsSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to List secrets for a dapr component - * - * @summary List secrets for a dapr component - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_ListSecrets.json - */ -async function listContainerAppsSecrets() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsDaprComponents.listSecrets( - resourceGroupName, - connectedEnvironmentName, - componentName - ); - console.log(result); -} - -listContainerAppsSecrets().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDeleteSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDeleteSample.js deleted file mode 100644 index 7002d2584e10..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsDeleteSample.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Delete an connectedEnvironment. - * - * @summary Delete an connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_Delete.json - */ -async function deleteConnectedEnvironmentByConnectedEnvironmentName() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "examplekenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironments.beginDeleteAndWait( - resourceGroupName, - connectedEnvironmentName - ); - console.log(result); -} - -deleteConnectedEnvironmentByConnectedEnvironmentName().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsGetSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsGetSample.js deleted file mode 100644 index 6765725e160c..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsGetSample.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the properties of an connectedEnvironment. - * - * @summary Get the properties of an connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_Get.json - */ -async function getConnectedEnvironmentByConnectedEnvironmentName() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "examplekenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironments.get( - resourceGroupName, - connectedEnvironmentName - ); - console.log(result); -} - -getConnectedEnvironmentByConnectedEnvironmentName().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsListByResourceGroupSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsListByResourceGroupSample.js deleted file mode 100644 index 50c91cfbe080..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsListByResourceGroupSample.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get all connectedEnvironments in a resource group. - * - * @summary Get all connectedEnvironments in a resource group. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_ListByResourceGroup.json - */ -async function listEnvironmentsByResourceGroup() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.connectedEnvironments.listByResourceGroup(resourceGroupName)) { - resArray.push(item); - } - console.log(resArray); -} - -listEnvironmentsByResourceGroup().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsListBySubscriptionSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsListBySubscriptionSample.js deleted file mode 100644 index 4e1a29e9da5c..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsListBySubscriptionSample.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get all connectedEnvironments for a subscription. - * - * @summary Get all connectedEnvironments for a subscription. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_ListBySubscription.json - */ -async function listConnectedEnvironmentsBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.connectedEnvironments.listBySubscription()) { - resArray.push(item); - } - console.log(resArray); -} - -listConnectedEnvironmentsBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsStoragesCreateOrUpdateSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsStoragesCreateOrUpdateSample.js deleted file mode 100644 index a4f1f5bdc432..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsStoragesCreateOrUpdateSample.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Create or update storage for a connectedEnvironment. - * - * @summary Create or update storage for a connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_CreateOrUpdate.json - */ -async function createOrUpdateEnvironmentsStorage() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "env"; - const storageName = "jlaw-demo1"; - const storageEnvelope = { - properties: { - azureFile: { - accessMode: "ReadOnly", - accountKey: "key", - accountName: "account1", - shareName: "share1", - }, - }, - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsStorages.createOrUpdate( - resourceGroupName, - connectedEnvironmentName, - storageName, - storageEnvelope - ); - console.log(result); -} - -createOrUpdateEnvironmentsStorage().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsStoragesDeleteSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsStoragesDeleteSample.js deleted file mode 100644 index eb03a65389f2..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsStoragesDeleteSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Delete storage for a connectedEnvironment. - * - * @summary Delete storage for a connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_Delete.json - */ -async function listEnvironmentsStoragesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "env"; - const storageName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsStorages.delete( - resourceGroupName, - connectedEnvironmentName, - storageName - ); - console.log(result); -} - -listEnvironmentsStoragesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsStoragesGetSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsStoragesGetSample.js deleted file mode 100644 index 084df5c46e69..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsStoragesGetSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get storage for a connectedEnvironment. - * - * @summary Get storage for a connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_Get.json - */ -async function getAEnvironmentsStoragePropertiesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "env"; - const storageName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsStorages.get( - resourceGroupName, - connectedEnvironmentName, - storageName - ); - console.log(result); -} - -getAEnvironmentsStoragePropertiesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsStoragesListSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsStoragesListSample.js deleted file mode 100644 index 40a4dc60e34f..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsStoragesListSample.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get all storages for a connectedEnvironment. - * - * @summary Get all storages for a connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_List.json - */ -async function listEnvironmentsStoragesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "managedEnv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsStorages.list( - resourceGroupName, - connectedEnvironmentName - ); - console.log(result); -} - -listEnvironmentsStoragesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsUpdateSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsUpdateSample.js deleted file mode 100644 index 6f9b65433c28..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/connectedEnvironmentsUpdateSample.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Patches a Managed Environment. Only patching of tags is supported currently - * - * @summary Patches a Managed Environment. Only patching of tags is supported currently - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_Patch.json - */ -async function patchManagedEnvironment() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironments.update( - resourceGroupName, - connectedEnvironmentName - ); - console.log(result); -} - -patchManagedEnvironment().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsAuthConfigsCreateOrUpdateSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsAuthConfigsCreateOrUpdateSample.js deleted file mode 100644 index 728fe7d8e24c..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsAuthConfigsCreateOrUpdateSample.js +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Create or update the AuthConfig for a Container App. - * - * @summary Create or update the AuthConfig for a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_CreateOrUpdate.json - */ -async function createOrUpdateContainerAppAuthConfig() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const authConfigName = "current"; - const authConfigEnvelope = { - globalValidation: { unauthenticatedClientAction: "AllowAnonymous" }, - identityProviders: { - facebook: { - registration: { appId: "123", appSecretSettingName: "facebook-secret" }, - }, - }, - platform: { enabled: true }, - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsAuthConfigs.createOrUpdate( - resourceGroupName, - containerAppName, - authConfigName, - authConfigEnvelope - ); - console.log(result); -} - -createOrUpdateContainerAppAuthConfig().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsAuthConfigsDeleteSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsAuthConfigsDeleteSample.js deleted file mode 100644 index 902bbbe2b611..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsAuthConfigsDeleteSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Delete a Container App AuthConfig. - * - * @summary Delete a Container App AuthConfig. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_Delete.json - */ -async function deleteContainerAppAuthConfig() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const authConfigName = "current"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsAuthConfigs.delete( - resourceGroupName, - containerAppName, - authConfigName - ); - console.log(result); -} - -deleteContainerAppAuthConfig().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsAuthConfigsGetSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsAuthConfigsGetSample.js deleted file mode 100644 index 168d13a1d19f..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsAuthConfigsGetSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get a AuthConfig of a Container App. - * - * @summary Get a AuthConfig of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_Get.json - */ -async function getContainerAppAuthConfig() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const authConfigName = "current"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsAuthConfigs.get( - resourceGroupName, - containerAppName, - authConfigName - ); - console.log(result); -} - -getContainerAppAuthConfig().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsAuthConfigsListByContainerAppSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsAuthConfigsListByContainerAppSample.js deleted file mode 100644 index a779ea09b593..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsAuthConfigsListByContainerAppSample.js +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the Container App AuthConfigs in a given resource group. - * - * @summary Get the Container App AuthConfigs in a given resource group. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_ListByContainer.json - */ -async function listAuthConfigsByContainerApps() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerAppsAuthConfigs.listByContainerApp( - resourceGroupName, - containerAppName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listAuthConfigsByContainerApps().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsCreateOrUpdateSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsCreateOrUpdateSample.js deleted file mode 100644 index bcf039a4288c..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsCreateOrUpdateSample.js +++ /dev/null @@ -1,192 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Create or update a Container App. - * - * @summary Create or update a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_CreateOrUpdate.json - */ -async function createOrUpdateContainerApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const containerAppEnvelope = { - configuration: { - dapr: { - appPort: 3000, - appProtocol: "http", - enableApiLogging: true, - enabled: true, - httpMaxRequestSize: 10, - httpReadBufferSize: 30, - logLevel: "debug", - }, - ingress: { - customDomains: [ - { - name: "www.my-name.com", - bindingType: "SniEnabled", - certificateId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com", - }, - { - name: "www.my-other-name.com", - bindingType: "SniEnabled", - certificateId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com", - }, - ], - external: true, - ipSecurityRestrictions: [ - { - name: "Allow work IP A subnet", - description: "Allowing all IP's within the subnet below to access containerapp", - action: "Allow", - ipAddressRange: "192.168.1.1/32", - }, - { - name: "Allow work IP B subnet", - description: "Allowing all IP's within the subnet below to access containerapp", - action: "Allow", - ipAddressRange: "192.168.1.1/8", - }, - ], - targetPort: 3000, - traffic: [ - { - label: "production", - revisionName: "testcontainerApp0-ab1234", - weight: 100, - }, - ], - }, - maxInactiveRevisions: 10, - }, - environmentId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube", - location: "East US", - template: { - containers: [ - { - name: "testcontainerApp0", - image: "repo/testcontainerApp0:v1", - probes: [ - { - type: "Liveness", - httpGet: { - path: "/health", - httpHeaders: [{ name: "Custom-Header", value: "Awesome" }], - port: 8080, - }, - initialDelaySeconds: 3, - periodSeconds: 3, - }, - ], - }, - ], - initContainers: [ - { - name: "testinitcontainerApp0", - args: ["-c", "while true; do echo hello; sleep 10;done"], - command: ["/bin/sh"], - image: "repo/testcontainerApp0:v4", - resources: { cpu: 0.2, memory: "100Mi" }, - }, - ], - scale: { - maxReplicas: 5, - minReplicas: 1, - rules: [ - { - name: "httpscalingrule", - custom: { type: "http", metadata: { concurrentRequests: "50" } }, - }, - ], - }, - }, - workloadProfileType: "GeneralPurpose", - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.beginCreateOrUpdateAndWait( - resourceGroupName, - containerAppName, - containerAppEnvelope - ); - console.log(result); -} - -createOrUpdateContainerApp().catch(console.error); - -/** - * This sample demonstrates how to Create or update a Container App. - * - * @summary Create or update a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_TcpApp_CreateOrUpdate.json - */ -async function createOrUpdateTcpApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerAppTcp"; - const containerAppEnvelope = { - configuration: { - ingress: { - exposedPort: 4000, - external: true, - targetPort: 3000, - traffic: [{ revisionName: "testcontainerAppTcp-ab1234", weight: 100 }], - transport: "tcp", - }, - }, - environmentId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube", - location: "East US", - template: { - containers: [ - { - name: "testcontainerAppTcp", - image: "repo/testcontainerAppTcp:v1", - probes: [ - { - type: "Liveness", - initialDelaySeconds: 3, - periodSeconds: 3, - tcpSocket: { port: 8080 }, - }, - ], - }, - ], - scale: { - maxReplicas: 5, - minReplicas: 1, - rules: [ - { - name: "tcpscalingrule", - tcp: { metadata: { concurrentConnections: "50" } }, - }, - ], - }, - }, - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.beginCreateOrUpdateAndWait( - resourceGroupName, - containerAppName, - containerAppEnvelope - ); - console.log(result); -} - -createOrUpdateTcpApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDeleteSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDeleteSample.js deleted file mode 100644 index 87f9f199a5b3..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDeleteSample.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Delete a Container App. - * - * @summary Delete a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Delete.json - */ -async function deleteContainerApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testWorkerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.beginDeleteAndWait(resourceGroupName, containerAppName); - console.log(result); -} - -deleteContainerApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsGetDetectorSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsGetDetectorSample.js deleted file mode 100644 index acc2130c5974..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsGetDetectorSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get a diagnostics result of a Container App. - * - * @summary Get a diagnostics result of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerAppsDiagnostics_Get.json - */ -async function getContainerAppDiagnosticsInfo() { - const subscriptionId = "f07f3711-b45e-40fe-a941-4e6d93f851e6"; - const resourceGroupName = "mikono-workerapp-test-rg"; - const containerAppName = "mikono-capp-stage1"; - const detectorName = "cappcontainerappnetworkIO"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsDiagnostics.getDetector( - resourceGroupName, - containerAppName, - detectorName - ); - console.log(result); -} - -getContainerAppDiagnosticsInfo().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsGetRevisionSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsGetRevisionSample.js deleted file mode 100644 index cd5b26d0adbc..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsGetRevisionSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get a revision of a Container App. - * - * @summary Get a revision of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Get.json - */ -async function getContainerAppRevision() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const revisionName = "testcontainerApp0-pjxhsye"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsDiagnostics.getRevision( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -getContainerAppRevision().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsGetRootSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsGetRootSample.js deleted file mode 100644 index 6f19ea2a3371..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsGetRootSample.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the properties of a Container App. - * - * @summary Get the properties of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Get.json - */ -async function getContainerApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsDiagnostics.getRoot(resourceGroupName, containerAppName); - console.log(result); -} - -getContainerApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsListDetectorsSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsListDetectorsSample.js deleted file mode 100644 index bb9e4dd86250..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsListDetectorsSample.js +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the list of diagnostics for a given Container App. - * - * @summary Get the list of diagnostics for a given Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerAppsDiagnostics_List.json - */ -async function getTheListOfAvailableDiagnosticsForAGivenContainerApp() { - const subscriptionId = "f07f3711-b45e-40fe-a941-4e6d93f851e6"; - const resourceGroupName = "mikono-workerapp-test-rg"; - const containerAppName = "mikono-capp-stage1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerAppsDiagnostics.listDetectors( - resourceGroupName, - containerAppName - )) { - resArray.push(item); - } - console.log(resArray); -} - -getTheListOfAvailableDiagnosticsForAGivenContainerApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsListRevisionsSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsListRevisionsSample.js deleted file mode 100644 index f99ee217627b..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsDiagnosticsListRevisionsSample.js +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the Revisions for a given Container App. - * - * @summary Get the Revisions for a given Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_List.json - */ -async function listContainerAppRevisions() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerAppsDiagnostics.listRevisions( - resourceGroupName, - containerAppName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listContainerAppRevisions().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsGetAuthTokenSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsGetAuthTokenSample.js deleted file mode 100644 index 4fd2b071b3c4..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsGetAuthTokenSample.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get auth token for a container app - * - * @summary Get auth token for a container app - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_GetAuthToken.json - */ -async function getContainerAppAuthToken() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.getAuthToken(resourceGroupName, containerAppName); - console.log(result); -} - -getContainerAppAuthToken().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsGetSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsGetSample.js deleted file mode 100644 index 0b36b2cb99c3..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsGetSample.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the properties of a Container App. - * - * @summary Get the properties of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Get.json - */ -async function getContainerApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.get(resourceGroupName, containerAppName); - console.log(result); -} - -getContainerApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsListByResourceGroupSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsListByResourceGroupSample.js deleted file mode 100644 index 0aeb012933ea..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsListByResourceGroupSample.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the Container Apps in a given resource group. - * - * @summary Get the Container Apps in a given resource group. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListByResourceGroup.json - */ -async function listContainerAppsByResourceGroup() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerApps.listByResourceGroup(resourceGroupName)) { - resArray.push(item); - } - console.log(resArray); -} - -listContainerAppsByResourceGroup().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsListBySubscriptionSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsListBySubscriptionSample.js deleted file mode 100644 index 453b59d722ce..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsListBySubscriptionSample.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the Container Apps in a given subscription. - * - * @summary Get the Container Apps in a given subscription. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListBySubscription.json - */ -async function listContainerAppsBySubscription() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerApps.listBySubscription()) { - resArray.push(item); - } - console.log(resArray); -} - -listContainerAppsBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsListCustomHostNameAnalysisSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsListCustomHostNameAnalysisSample.js deleted file mode 100644 index 2343db18babf..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsListCustomHostNameAnalysisSample.js +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Analyzes a custom hostname for a Container App - * - * @summary Analyzes a custom hostname for a Container App - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListCustomHostNameAnalysis.json - */ -async function analyzeCustomHostname() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const customHostname = "my.name.corp"; - const options = { - customHostname, - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.listCustomHostNameAnalysis( - resourceGroupName, - containerAppName, - options - ); - console.log(result); -} - -analyzeCustomHostname().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsListSecretsSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsListSecretsSample.js deleted file mode 100644 index f5204e5b3be6..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsListSecretsSample.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to List secrets for a container app - * - * @summary List secrets for a container app - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListSecrets.json - */ -async function listContainerAppsSecrets() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.listSecrets(resourceGroupName, containerAppName); - console.log(result); -} - -listContainerAppsSecrets().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionReplicasGetReplicaSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionReplicasGetReplicaSample.js deleted file mode 100644 index 9510e87f28e9..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionReplicasGetReplicaSample.js +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get a replica for a Container App Revision. - * - * @summary Get a replica for a Container App Revision. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Replicas_Get.json - */ -async function getContainerAppRevisionReplica() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "myapp"; - const revisionName = "myapp--0wlqy09"; - const replicaName = "myapp--0wlqy09-5d9774cff-5wnd8"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisionReplicas.getReplica( - resourceGroupName, - containerAppName, - revisionName, - replicaName - ); - console.log(result); -} - -getContainerAppRevisionReplica().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionReplicasListReplicasSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionReplicasListReplicasSample.js deleted file mode 100644 index acac665224f6..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionReplicasListReplicasSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to List replicas for a Container App Revision. - * - * @summary List replicas for a Container App Revision. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Replicas_List.json - */ -async function listContainerAppReplicas() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "myapp"; - const revisionName = "myapp--0wlqy09"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisionReplicas.listReplicas( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -listContainerAppReplicas().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsActivateRevisionSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsActivateRevisionSample.js deleted file mode 100644 index ad1e3bf19c27..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsActivateRevisionSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Activates a revision for a Container App - * - * @summary Activates a revision for a Container App - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Activate.json - */ -async function activateContainerAppRevision() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const revisionName = "testcontainerApp0-pjxhsye"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisions.activateRevision( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -activateContainerAppRevision().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsDeactivateRevisionSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsDeactivateRevisionSample.js deleted file mode 100644 index 29e2fcd2d2c8..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsDeactivateRevisionSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Deactivates a revision for a Container App - * - * @summary Deactivates a revision for a Container App - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Deactivate.json - */ -async function deactivateContainerAppRevision() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const revisionName = "testcontainerApp0-pjxhsye"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisions.deactivateRevision( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -deactivateContainerAppRevision().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsGetRevisionSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsGetRevisionSample.js deleted file mode 100644 index 2e5c997d1d69..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsGetRevisionSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get a revision of a Container App. - * - * @summary Get a revision of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Get.json - */ -async function getContainerAppRevision() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const revisionName = "testcontainerApp0-pjxhsye"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisions.getRevision( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -getContainerAppRevision().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsListRevisionsSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsListRevisionsSample.js deleted file mode 100644 index c57217d76698..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsListRevisionsSample.js +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the Revisions for a given Container App. - * - * @summary Get the Revisions for a given Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_List.json - */ -async function listContainerAppRevisions() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerAppsRevisions.listRevisions( - resourceGroupName, - containerAppName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listContainerAppRevisions().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsRestartRevisionSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsRestartRevisionSample.js deleted file mode 100644 index cf1af68ef06e..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsRevisionsRestartRevisionSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Restarts a revision for a Container App - * - * @summary Restarts a revision for a Container App - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Restart.json - */ -async function restartContainerAppRevision() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testStaticSite0"; - const revisionName = "testcontainerApp0-pjxhsye"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisions.restartRevision( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -restartContainerAppRevision().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsSourceControlsCreateOrUpdateSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsSourceControlsCreateOrUpdateSample.js deleted file mode 100644 index 9cd66bc576be..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsSourceControlsCreateOrUpdateSample.js +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Create or update the SourceControl for a Container App. - * - * @summary Create or update the SourceControl for a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_CreateOrUpdate.json - */ -async function createOrUpdateContainerAppSourceControl() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const sourceControlName = "current"; - const sourceControlEnvelope = { - branch: "master", - githubActionConfiguration: { - azureCredentials: { - clientId: "", - clientSecret: "", - tenantId: "", - }, - contextPath: "./", - image: "image/tag", - registryInfo: { - registryPassword: "", - registryUrl: "xwang971reg.azurecr.io", - registryUserName: "xwang971reg", - }, - }, - repoUrl: "https://github.com/xwang971/ghatest", - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsSourceControls.beginCreateOrUpdateAndWait( - resourceGroupName, - containerAppName, - sourceControlName, - sourceControlEnvelope - ); - console.log(result); -} - -createOrUpdateContainerAppSourceControl().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsSourceControlsDeleteSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsSourceControlsDeleteSample.js deleted file mode 100644 index 20233aff0c3f..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsSourceControlsDeleteSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Delete a Container App SourceControl. - * - * @summary Delete a Container App SourceControl. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_Delete.json - */ -async function deleteContainerAppSourceControl() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const sourceControlName = "current"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsSourceControls.beginDeleteAndWait( - resourceGroupName, - containerAppName, - sourceControlName - ); - console.log(result); -} - -deleteContainerAppSourceControl().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsSourceControlsGetSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsSourceControlsGetSample.js deleted file mode 100644 index 7dfe3cc6a55a..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsSourceControlsGetSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get a SourceControl of a Container App. - * - * @summary Get a SourceControl of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_Get.json - */ -async function getContainerAppSourceControl() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const sourceControlName = "current"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsSourceControls.get( - resourceGroupName, - containerAppName, - sourceControlName - ); - console.log(result); -} - -getContainerAppSourceControl().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsSourceControlsListByContainerAppSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsSourceControlsListByContainerAppSample.js deleted file mode 100644 index 737c19a60a23..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsSourceControlsListByContainerAppSample.js +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the Container App SourceControls in a given resource group. - * - * @summary Get the Container App SourceControls in a given resource group. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_ListByContainer.json - */ -async function listAppSourceControls() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerAppsSourceControls.listByContainerApp( - resourceGroupName, - containerAppName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listAppSourceControls().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsUpdateSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsUpdateSample.js deleted file mode 100644 index 3b42ed8c74b7..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/containerAppsUpdateSample.js +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Patches a Container App using JSON Merge Patch - * - * @summary Patches a Container App using JSON Merge Patch - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Patch.json - */ -async function patchContainerApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const containerAppEnvelope = { - configuration: { - dapr: { - appPort: 3000, - appProtocol: "http", - enableApiLogging: true, - enabled: true, - httpMaxRequestSize: 10, - httpReadBufferSize: 30, - logLevel: "debug", - }, - ingress: { - customDomains: [ - { - name: "www.my-name.com", - bindingType: "SniEnabled", - certificateId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com", - }, - { - name: "www.my-other-name.com", - bindingType: "SniEnabled", - certificateId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com", - }, - ], - external: true, - ipSecurityRestrictions: [ - { - name: "Allow work IP A subnet", - description: "Allowing all IP's within the subnet below to access containerapp", - action: "Allow", - ipAddressRange: "192.168.1.1/32", - }, - { - name: "Allow work IP B subnet", - description: "Allowing all IP's within the subnet below to access containerapp", - action: "Allow", - ipAddressRange: "192.168.1.1/8", - }, - ], - targetPort: 3000, - traffic: [ - { - label: "production", - revisionName: "testcontainerApp0-ab1234", - weight: 100, - }, - ], - }, - maxInactiveRevisions: 10, - }, - location: "East US", - tags: { tag1: "value1", tag2: "value2" }, - template: { - containers: [ - { - name: "testcontainerApp0", - image: "repo/testcontainerApp0:v1", - probes: [ - { - type: "Liveness", - httpGet: { - path: "/health", - httpHeaders: [{ name: "Custom-Header", value: "Awesome" }], - port: 8080, - }, - initialDelaySeconds: 3, - periodSeconds: 3, - }, - ], - }, - ], - initContainers: [ - { - name: "testinitcontainerApp0", - image: "repo/testcontainerApp0:v4", - resources: { cpu: 0.2, memory: "100Mi" }, - }, - ], - scale: { - maxReplicas: 5, - minReplicas: 1, - rules: [ - { - name: "httpscalingrule", - custom: { type: "http", metadata: { concurrentRequests: "50" } }, - }, - ], - }, - }, - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.beginUpdateAndWait( - resourceGroupName, - containerAppName, - containerAppEnvelope - ); - console.log(result); -} - -patchContainerApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsCreateOrUpdateSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsCreateOrUpdateSample.js deleted file mode 100644 index 54fd797c2c48..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsCreateOrUpdateSample.js +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Creates or updates a Dapr Component in a Managed Environment. - * - * @summary Creates or updates a Dapr Component in a Managed Environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_CreateOrUpdate_SecretStoreComponent.json - */ -async function createOrUpdateDaprComponentWithSecretStoreComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const daprComponentEnvelope = { - componentType: "state.azure.cosmosdb", - ignoreErrors: false, - initTimeout: "50s", - metadata: [ - { name: "url", value: "" }, - { name: "database", value: "itemsDB" }, - { name: "collection", value: "items" }, - { name: "masterkey", secretRef: "masterkey" }, - ], - scopes: ["container-app-1", "container-app-2"], - secretStoreComponent: "my-secret-store", - version: "v1", - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.createOrUpdate( - resourceGroupName, - environmentName, - componentName, - daprComponentEnvelope - ); - console.log(result); -} - -createOrUpdateDaprComponentWithSecretStoreComponent().catch(console.error); - -/** - * This sample demonstrates how to Creates or updates a Dapr Component in a Managed Environment. - * - * @summary Creates or updates a Dapr Component in a Managed Environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_CreateOrUpdate_Secrets.json - */ -async function createOrUpdateDaprComponentWithSecrets() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const daprComponentEnvelope = { - componentType: "state.azure.cosmosdb", - ignoreErrors: false, - initTimeout: "50s", - metadata: [ - { name: "url", value: "" }, - { name: "database", value: "itemsDB" }, - { name: "collection", value: "items" }, - { name: "masterkey", secretRef: "masterkey" }, - ], - scopes: ["container-app-1", "container-app-2"], - secrets: [{ name: "masterkey", value: "keyvalue" }], - version: "v1", - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.createOrUpdate( - resourceGroupName, - environmentName, - componentName, - daprComponentEnvelope - ); - console.log(result); -} - -createOrUpdateDaprComponentWithSecrets().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsDeleteSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsDeleteSample.js deleted file mode 100644 index 5f739c470afe..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsDeleteSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Delete a Dapr Component from a Managed Environment. - * - * @summary Delete a Dapr Component from a Managed Environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_Delete.json - */ -async function deleteDaprComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.delete( - resourceGroupName, - environmentName, - componentName - ); - console.log(result); -} - -deleteDaprComponent().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsGetSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsGetSample.js deleted file mode 100644 index ca8f0640dc13..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsGetSample.js +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get a dapr component. - * - * @summary Get a dapr component. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_Get_SecretStoreComponent.json - */ -async function getDaprComponentWithSecretStoreComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.get(resourceGroupName, environmentName, componentName); - console.log(result); -} - -getDaprComponentWithSecretStoreComponent().catch(console.error); - -/** - * This sample demonstrates how to Get a dapr component. - * - * @summary Get a dapr component. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_Get_Secrets.json - */ -async function getDaprComponentWithSecrets() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.get(resourceGroupName, environmentName, componentName); - console.log(result); -} - -getDaprComponentWithSecrets().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsListSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsListSample.js deleted file mode 100644 index 6b7e38543a7b..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsListSample.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the Dapr Components for a managed environment. - * - * @summary Get the Dapr Components for a managed environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_List.json - */ -async function listDaprComponents() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.daprComponents.list(resourceGroupName, environmentName)) { - resArray.push(item); - } - console.log(resArray); -} - -listDaprComponents().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsListSecretsSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsListSecretsSample.js deleted file mode 100644 index 2750ff5f280e..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/daprComponentsListSecretsSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to List secrets for a dapr component - * - * @summary List secrets for a dapr component - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_ListSecrets.json - */ -async function listContainerAppsSecrets() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.listSecrets( - resourceGroupName, - environmentName, - componentName - ); - console.log(result); -} - -listContainerAppsSecrets().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentDiagnosticsGetDetectorSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentDiagnosticsGetDetectorSample.js deleted file mode 100644 index 4697ec1ea08e..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentDiagnosticsGetDetectorSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the diagnostics data for a Managed Environment used to host container apps. - * - * @summary Get the diagnostics data for a Managed Environment used to host container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentDiagnostics_Get.json - */ -async function getDiagnosticDataForAManagedEnvironments() { - const subscriptionId = "f07f3711-b45e-40fe-a941-4e6d93f851e6"; - const resourceGroupName = "mikono-workerapp-test-rg"; - const environmentName = "mikonokubeenv"; - const detectorName = "ManagedEnvAvailabilityMetrics"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentDiagnostics.getDetector( - resourceGroupName, - environmentName, - detectorName - ); - console.log(result); -} - -getDiagnosticDataForAManagedEnvironments().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentDiagnosticsListDetectorsSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentDiagnosticsListDetectorsSample.js deleted file mode 100644 index 08a7e0fed070..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentDiagnosticsListDetectorsSample.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the list of diagnostics for a Managed Environment used to host container apps. - * - * @summary Get the list of diagnostics for a Managed Environment used to host container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentDiagnostics_List.json - */ -async function getTheListOfAvailableDiagnosticDataForAManagedEnvironments() { - const subscriptionId = "f07f3711-b45e-40fe-a941-4e6d93f851e6"; - const resourceGroupName = "mikono-workerapp-test-rg"; - const environmentName = "mikonokubeenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentDiagnostics.listDetectors( - resourceGroupName, - environmentName - ); - console.log(result); -} - -getTheListOfAvailableDiagnosticDataForAManagedEnvironments().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsCreateOrUpdateSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsCreateOrUpdateSample.js deleted file mode 100644 index 26039577f52c..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsCreateOrUpdateSample.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Creates or updates a Managed Environment used to host container apps. - * - * @summary Creates or updates a Managed Environment used to host container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_CreateOrUpdate.json - */ -async function createEnvironments() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const environmentEnvelope = { - appLogsConfiguration: { - logAnalyticsConfiguration: { customerId: "string", sharedKey: "string" }, - }, - customDomainConfiguration: { - certificatePassword: Buffer.from("private key password"), - certificateValue: Buffer.from("PFX-or-PEM-blob"), - dnsSuffix: "www.my-name.com", - }, - daprAIConnectionString: - "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/", - location: "East US", - sku: { name: "Premium" }, - vnetConfiguration: { - outboundSettings: { - outBoundType: "UserDefinedRouting", - virtualNetworkApplianceIp: "192.168.1.20", - }, - }, - workloadProfiles: [ - { - maximumCount: 12, - minimumCount: 3, - workloadProfileType: "GeneralPurpose", - }, - { - maximumCount: 6, - minimumCount: 3, - workloadProfileType: "MemoryOptimized", - }, - { - maximumCount: 6, - minimumCount: 3, - workloadProfileType: "ComputeOptimized", - }, - ], - zoneRedundant: true, - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironments.beginCreateOrUpdateAndWait( - resourceGroupName, - environmentName, - environmentEnvelope - ); - console.log(result); -} - -createEnvironments().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsDeleteSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsDeleteSample.js deleted file mode 100644 index aced6768493a..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsDeleteSample.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Delete a Managed Environment if it does not have any container apps. - * - * @summary Delete a Managed Environment if it does not have any container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Delete.json - */ -async function deleteEnvironmentByName() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "examplekenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironments.beginDeleteAndWait( - resourceGroupName, - environmentName - ); - console.log(result); -} - -deleteEnvironmentByName().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsDiagnosticsGetRootSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsDiagnosticsGetRootSample.js deleted file mode 100644 index 37c1260673cb..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsDiagnosticsGetRootSample.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the properties of a Managed Environment used to host container apps. - * - * @summary Get the properties of a Managed Environment used to host container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Get.json - */ -async function getEnvironmentsByName() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentsDiagnostics.getRoot( - resourceGroupName, - environmentName - ); - console.log(result); -} - -getEnvironmentsByName().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsGetAuthTokenSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsGetAuthTokenSample.js deleted file mode 100644 index 756068ffa15b..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsGetAuthTokenSample.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Checks if resource name is available. - * - * @summary Checks if resource name is available. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_GetAuthToken.json - */ -async function getManagedEnvironmentAuthToken() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "rg"; - const environmentName = "testenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironments.getAuthToken(resourceGroupName, environmentName); - console.log(result); -} - -getManagedEnvironmentAuthToken().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsGetSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsGetSample.js deleted file mode 100644 index cffeab05a6ca..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsGetSample.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get the properties of a Managed Environment used to host container apps. - * - * @summary Get the properties of a Managed Environment used to host container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Get.json - */ -async function getEnvironmentsByName() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironments.get(resourceGroupName, environmentName); - console.log(result); -} - -getEnvironmentsByName().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsListByResourceGroupSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsListByResourceGroupSample.js deleted file mode 100644 index 76b3c5b66e54..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsListByResourceGroupSample.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get all the Managed Environments in a resource group. - * - * @summary Get all the Managed Environments in a resource group. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_ListByResourceGroup.json - */ -async function listEnvironmentsByResourceGroup() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.managedEnvironments.listByResourceGroup(resourceGroupName)) { - resArray.push(item); - } - console.log(resArray); -} - -listEnvironmentsByResourceGroup().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsListBySubscriptionSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsListBySubscriptionSample.js deleted file mode 100644 index 609ff9f7bec2..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsListBySubscriptionSample.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get all Managed Environments for a subscription. - * - * @summary Get all Managed Environments for a subscription. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_ListBySubscription.json - */ -async function listEnvironmentsBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.managedEnvironments.listBySubscription()) { - resArray.push(item); - } - console.log(resArray); -} - -listEnvironmentsBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsListWorkloadProfileStatesSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsListWorkloadProfileStatesSample.js deleted file mode 100644 index 50a3066c08c2..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsListWorkloadProfileStatesSample.js +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get all workload Profile States for a Premium Managed Environment. - * - * @summary Get all workload Profile States for a Premium Managed Environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_ListWorkloadProfileStates.json - */ -async function listEnvironmentsBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.managedEnvironments.listWorkloadProfileStates( - resourceGroupName, - environmentName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listEnvironmentsBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsStoragesCreateOrUpdateSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsStoragesCreateOrUpdateSample.js deleted file mode 100644 index 2578907bc254..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsStoragesCreateOrUpdateSample.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Create or update storage for a managedEnvironment. - * - * @summary Create or update storage for a managedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json - */ -async function createOrUpdateEnvironmentsStorage() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "managedEnv"; - const storageName = "jlaw-demo1"; - const storageEnvelope = { - properties: { - azureFile: { - accessMode: "ReadOnly", - accountKey: "key", - accountName: "account1", - shareName: "share1", - }, - }, - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentsStorages.createOrUpdate( - resourceGroupName, - environmentName, - storageName, - storageEnvelope - ); - console.log(result); -} - -createOrUpdateEnvironmentsStorage().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsStoragesDeleteSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsStoragesDeleteSample.js deleted file mode 100644 index 7af15a0612f0..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsStoragesDeleteSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Delete storage for a managedEnvironment. - * - * @summary Delete storage for a managedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_Delete.json - */ -async function listEnvironmentsStoragesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "managedEnv"; - const storageName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentsStorages.delete( - resourceGroupName, - environmentName, - storageName - ); - console.log(result); -} - -listEnvironmentsStoragesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsStoragesGetSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsStoragesGetSample.js deleted file mode 100644 index cfcb3c2a601f..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsStoragesGetSample.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get storage for a managedEnvironment. - * - * @summary Get storage for a managedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_Get.json - */ -async function getAEnvironmentsStoragePropertiesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "managedEnv"; - const storageName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentsStorages.get( - resourceGroupName, - environmentName, - storageName - ); - console.log(result); -} - -getAEnvironmentsStoragePropertiesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsStoragesListSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsStoragesListSample.js deleted file mode 100644 index 9675a26c9f67..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsStoragesListSample.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Get all storages for a managedEnvironment. - * - * @summary Get all storages for a managedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_List.json - */ -async function listEnvironmentsStoragesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "managedEnv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentsStorages.list(resourceGroupName, environmentName); - console.log(result); -} - -listEnvironmentsStoragesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsUpdateSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsUpdateSample.js deleted file mode 100644 index 49af5a3a3647..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/managedEnvironmentsUpdateSample.js +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Patches a Managed Environment using JSON Merge Patch - * - * @summary Patches a Managed Environment using JSON Merge Patch - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Patch.json - */ -async function patchManagedEnvironment() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const environmentEnvelope = { - location: "East US", - tags: { tag1: "value1", tag2: "value2" }, - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironments.beginUpdateAndWait( - resourceGroupName, - environmentName, - environmentEnvelope - ); - console.log(result); -} - -patchManagedEnvironment().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/namespacesCheckNameAvailabilitySample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/namespacesCheckNameAvailabilitySample.js deleted file mode 100644 index c61210be6f7b..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/namespacesCheckNameAvailabilitySample.js +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Checks if resource name is available. - * - * @summary Checks if resource name is available. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificates_CheckNameAvailability.json - */ -async function certificatesCheckNameAvailability() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const checkNameAvailabilityRequest = { - name: "testcertificatename", - type: "Microsoft.App/managedEnvironments/certificates", - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.namespaces.checkNameAvailability( - resourceGroupName, - environmentName, - checkNameAvailabilityRequest - ); - console.log(result); -} - -certificatesCheckNameAvailability().catch(console.error); - -/** - * This sample demonstrates how to Checks if resource name is available. - * - * @summary Checks if resource name is available. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_CheckNameAvailability.json - */ -async function containerAppsCheckNameAvailability() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const checkNameAvailabilityRequest = { - name: "testcappname", - type: "Microsoft.App/containerApps", - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.namespaces.checkNameAvailability( - resourceGroupName, - environmentName, - checkNameAvailabilityRequest - ); - console.log(result); -} - -containerAppsCheckNameAvailability().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/operationsListSample.js b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/operationsListSample.js deleted file mode 100644 index e5d46d778456..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/operationsListSample.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers"); -const { DefaultAzureCredential } = require("@azure/identity"); - -/** - * This sample demonstrates how to Lists all of the available RP operations. - * - * @summary Lists all of the available RP operations. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Operations_List.json - */ -async function listAllOperations() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.operations.list()) { - resArray.push(item); - } - console.log(resArray); -} - -listAllOperations().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/package.json b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/package.json deleted file mode 100644 index 26b909b3012e..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/package.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "@azure-samples/arm-appcontainers-js-beta", - "private": true, - "version": "1.0.0", - "description": " client library samples for JavaScript (Beta)", - "engines": { - "node": ">=14.0.0" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/Azure/azure-sdk-for-js.git", - "directory": "sdk/appcontainers/arm-appcontainers" - }, - "keywords": [ - "node", - "azure", - "typescript", - "browser", - "isomorphic" - ], - "author": "Microsoft Corporation", - "license": "MIT", - "bugs": { - "url": "https://github.com/Azure/azure-sdk-for-js/issues" - }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appcontainers/arm-appcontainers", - "dependencies": { - "@azure/arm-appcontainers": "next", - "dotenv": "latest", - "@azure/identity": "^2.0.1" - } -} diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/sample.env b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/sample.env deleted file mode 100644 index 672847a3fea0..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/javascript/sample.env +++ /dev/null @@ -1,4 +0,0 @@ -# App registration secret for AAD authentication -AZURE_CLIENT_SECRET= -AZURE_CLIENT_ID= -AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/README.md b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/README.md deleted file mode 100644 index 6e3b704b7cb1..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/README.md +++ /dev/null @@ -1,219 +0,0 @@ -# client library samples for TypeScript (Beta) - -These sample programs show how to use the TypeScript client libraries for in some common scenarios. - -| **File Name** | **Description** | -| --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| [availableWorkloadProfilesGetSample.ts][availableworkloadprofilesgetsample] | Get all available workload profiles for a location. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AvailableWorkloadProfiles_Get.json | -| [billingMetersGetSample.ts][billingmetersgetsample] | Get all billingMeters for a location. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/BillingMeters_Get.json | -| [certificatesCreateOrUpdateSample.ts][certificatescreateorupdatesample] | Create or Update a Certificate. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificate_CreateOrUpdate.json | -| [certificatesDeleteSample.ts][certificatesdeletesample] | Deletes the specified Certificate. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificate_Delete.json | -| [certificatesGetSample.ts][certificatesgetsample] | Get the specified Certificate. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificate_Get.json | -| [certificatesListSample.ts][certificateslistsample] | Get the Certificates in a given managed environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificates_ListByManagedEnvironment.json | -| [certificatesUpdateSample.ts][certificatesupdatesample] | Patches a certificate. Currently only patching of tags is supported x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificates_Patch.json | -| [connectedEnvironmentsCertificatesCreateOrUpdateSample.ts][connectedenvironmentscertificatescreateorupdatesample] | Create or Update a Certificate. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificate_CreateOrUpdate.json | -| [connectedEnvironmentsCertificatesDeleteSample.ts][connectedenvironmentscertificatesdeletesample] | Deletes the specified Certificate. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificate_Delete.json | -| [connectedEnvironmentsCertificatesGetSample.ts][connectedenvironmentscertificatesgetsample] | Get the specified Certificate. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificate_Get.json | -| [connectedEnvironmentsCertificatesListSample.ts][connectedenvironmentscertificateslistsample] | Get the Certificates in a given connected environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificates_ListByConnectedEnvironment.json | -| [connectedEnvironmentsCertificatesUpdateSample.ts][connectedenvironmentscertificatesupdatesample] | Patches a certificate. Currently only patching of tags is supported x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificates_Patch.json | -| [connectedEnvironmentsCheckNameAvailabilitySample.ts][connectedenvironmentschecknameavailabilitysample] | Checks if resource connectedEnvironmentName is available. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificates_CheckNameAvailability.json | -| [connectedEnvironmentsCreateOrUpdateSample.ts][connectedenvironmentscreateorupdatesample] | Creates or updates an connectedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_CreateOrUpdate.json | -| [connectedEnvironmentsDaprComponentsCreateOrUpdateSample.ts][connectedenvironmentsdaprcomponentscreateorupdatesample] | Creates or updates a Dapr Component in a connected environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_CreateOrUpdate.json | -| [connectedEnvironmentsDaprComponentsDeleteSample.ts][connectedenvironmentsdaprcomponentsdeletesample] | Delete a Dapr Component from a connected environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_Delete.json | -| [connectedEnvironmentsDaprComponentsGetSample.ts][connectedenvironmentsdaprcomponentsgetsample] | Get a dapr component. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_Get.json | -| [connectedEnvironmentsDaprComponentsListSample.ts][connectedenvironmentsdaprcomponentslistsample] | Get the Dapr Components for a connected environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_List.json | -| [connectedEnvironmentsDaprComponentsListSecretsSample.ts][connectedenvironmentsdaprcomponentslistsecretssample] | List secrets for a dapr component x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_ListSecrets.json | -| [connectedEnvironmentsDeleteSample.ts][connectedenvironmentsdeletesample] | Delete an connectedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_Delete.json | -| [connectedEnvironmentsGetSample.ts][connectedenvironmentsgetsample] | Get the properties of an connectedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_Get.json | -| [connectedEnvironmentsListByResourceGroupSample.ts][connectedenvironmentslistbyresourcegroupsample] | Get all connectedEnvironments in a resource group. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_ListByResourceGroup.json | -| [connectedEnvironmentsListBySubscriptionSample.ts][connectedenvironmentslistbysubscriptionsample] | Get all connectedEnvironments for a subscription. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_ListBySubscription.json | -| [connectedEnvironmentsStoragesCreateOrUpdateSample.ts][connectedenvironmentsstoragescreateorupdatesample] | Create or update storage for a connectedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_CreateOrUpdate.json | -| [connectedEnvironmentsStoragesDeleteSample.ts][connectedenvironmentsstoragesdeletesample] | Delete storage for a connectedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_Delete.json | -| [connectedEnvironmentsStoragesGetSample.ts][connectedenvironmentsstoragesgetsample] | Get storage for a connectedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_Get.json | -| [connectedEnvironmentsStoragesListSample.ts][connectedenvironmentsstorageslistsample] | Get all storages for a connectedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_List.json | -| [connectedEnvironmentsUpdateSample.ts][connectedenvironmentsupdatesample] | Patches a Managed Environment. Only patching of tags is supported currently x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_Patch.json | -| [containerAppsAuthConfigsCreateOrUpdateSample.ts][containerappsauthconfigscreateorupdatesample] | Create or update the AuthConfig for a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_CreateOrUpdate.json | -| [containerAppsAuthConfigsDeleteSample.ts][containerappsauthconfigsdeletesample] | Delete a Container App AuthConfig. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_Delete.json | -| [containerAppsAuthConfigsGetSample.ts][containerappsauthconfigsgetsample] | Get a AuthConfig of a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_Get.json | -| [containerAppsAuthConfigsListByContainerAppSample.ts][containerappsauthconfigslistbycontainerappsample] | Get the Container App AuthConfigs in a given resource group. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_ListByContainer.json | -| [containerAppsCreateOrUpdateSample.ts][containerappscreateorupdatesample] | Create or update a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_CreateOrUpdate.json | -| [containerAppsDeleteSample.ts][containerappsdeletesample] | Delete a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Delete.json | -| [containerAppsDiagnosticsGetDetectorSample.ts][containerappsdiagnosticsgetdetectorsample] | Get a diagnostics result of a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerAppsDiagnostics_Get.json | -| [containerAppsDiagnosticsGetRevisionSample.ts][containerappsdiagnosticsgetrevisionsample] | Get a revision of a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Get.json | -| [containerAppsDiagnosticsGetRootSample.ts][containerappsdiagnosticsgetrootsample] | Get the properties of a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Get.json | -| [containerAppsDiagnosticsListDetectorsSample.ts][containerappsdiagnosticslistdetectorssample] | Get the list of diagnostics for a given Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerAppsDiagnostics_List.json | -| [containerAppsDiagnosticsListRevisionsSample.ts][containerappsdiagnosticslistrevisionssample] | Get the Revisions for a given Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_List.json | -| [containerAppsGetAuthTokenSample.ts][containerappsgetauthtokensample] | Get auth token for a container app x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_GetAuthToken.json | -| [containerAppsGetSample.ts][containerappsgetsample] | Get the properties of a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Get.json | -| [containerAppsListByResourceGroupSample.ts][containerappslistbyresourcegroupsample] | Get the Container Apps in a given resource group. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListByResourceGroup.json | -| [containerAppsListBySubscriptionSample.ts][containerappslistbysubscriptionsample] | Get the Container Apps in a given subscription. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListBySubscription.json | -| [containerAppsListCustomHostNameAnalysisSample.ts][containerappslistcustomhostnameanalysissample] | Analyzes a custom hostname for a Container App x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListCustomHostNameAnalysis.json | -| [containerAppsListSecretsSample.ts][containerappslistsecretssample] | List secrets for a container app x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListSecrets.json | -| [containerAppsRevisionReplicasGetReplicaSample.ts][containerappsrevisionreplicasgetreplicasample] | Get a replica for a Container App Revision. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Replicas_Get.json | -| [containerAppsRevisionReplicasListReplicasSample.ts][containerappsrevisionreplicaslistreplicassample] | List replicas for a Container App Revision. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Replicas_List.json | -| [containerAppsRevisionsActivateRevisionSample.ts][containerappsrevisionsactivaterevisionsample] | Activates a revision for a Container App x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Activate.json | -| [containerAppsRevisionsDeactivateRevisionSample.ts][containerappsrevisionsdeactivaterevisionsample] | Deactivates a revision for a Container App x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Deactivate.json | -| [containerAppsRevisionsGetRevisionSample.ts][containerappsrevisionsgetrevisionsample] | Get a revision of a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Get.json | -| [containerAppsRevisionsListRevisionsSample.ts][containerappsrevisionslistrevisionssample] | Get the Revisions for a given Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_List.json | -| [containerAppsRevisionsRestartRevisionSample.ts][containerappsrevisionsrestartrevisionsample] | Restarts a revision for a Container App x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Restart.json | -| [containerAppsSourceControlsCreateOrUpdateSample.ts][containerappssourcecontrolscreateorupdatesample] | Create or update the SourceControl for a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_CreateOrUpdate.json | -| [containerAppsSourceControlsDeleteSample.ts][containerappssourcecontrolsdeletesample] | Delete a Container App SourceControl. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_Delete.json | -| [containerAppsSourceControlsGetSample.ts][containerappssourcecontrolsgetsample] | Get a SourceControl of a Container App. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_Get.json | -| [containerAppsSourceControlsListByContainerAppSample.ts][containerappssourcecontrolslistbycontainerappsample] | Get the Container App SourceControls in a given resource group. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_ListByContainer.json | -| [containerAppsUpdateSample.ts][containerappsupdatesample] | Patches a Container App using JSON Merge Patch x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Patch.json | -| [daprComponentsCreateOrUpdateSample.ts][daprcomponentscreateorupdatesample] | Creates or updates a Dapr Component in a Managed Environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_CreateOrUpdate_SecretStoreComponent.json | -| [daprComponentsDeleteSample.ts][daprcomponentsdeletesample] | Delete a Dapr Component from a Managed Environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_Delete.json | -| [daprComponentsGetSample.ts][daprcomponentsgetsample] | Get a dapr component. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_Get_SecretStoreComponent.json | -| [daprComponentsListSample.ts][daprcomponentslistsample] | Get the Dapr Components for a managed environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_List.json | -| [daprComponentsListSecretsSample.ts][daprcomponentslistsecretssample] | List secrets for a dapr component x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_ListSecrets.json | -| [managedEnvironmentDiagnosticsGetDetectorSample.ts][managedenvironmentdiagnosticsgetdetectorsample] | Get the diagnostics data for a Managed Environment used to host container apps. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentDiagnostics_Get.json | -| [managedEnvironmentDiagnosticsListDetectorsSample.ts][managedenvironmentdiagnosticslistdetectorssample] | Get the list of diagnostics for a Managed Environment used to host container apps. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentDiagnostics_List.json | -| [managedEnvironmentsCreateOrUpdateSample.ts][managedenvironmentscreateorupdatesample] | Creates or updates a Managed Environment used to host container apps. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_CreateOrUpdate.json | -| [managedEnvironmentsDeleteSample.ts][managedenvironmentsdeletesample] | Delete a Managed Environment if it does not have any container apps. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Delete.json | -| [managedEnvironmentsDiagnosticsGetRootSample.ts][managedenvironmentsdiagnosticsgetrootsample] | Get the properties of a Managed Environment used to host container apps. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Get.json | -| [managedEnvironmentsGetAuthTokenSample.ts][managedenvironmentsgetauthtokensample] | Checks if resource name is available. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_GetAuthToken.json | -| [managedEnvironmentsGetSample.ts][managedenvironmentsgetsample] | Get the properties of a Managed Environment used to host container apps. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Get.json | -| [managedEnvironmentsListByResourceGroupSample.ts][managedenvironmentslistbyresourcegroupsample] | Get all the Managed Environments in a resource group. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_ListByResourceGroup.json | -| [managedEnvironmentsListBySubscriptionSample.ts][managedenvironmentslistbysubscriptionsample] | Get all Managed Environments for a subscription. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_ListBySubscription.json | -| [managedEnvironmentsListWorkloadProfileStatesSample.ts][managedenvironmentslistworkloadprofilestatessample] | Get all workload Profile States for a Premium Managed Environment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_ListWorkloadProfileStates.json | -| [managedEnvironmentsStoragesCreateOrUpdateSample.ts][managedenvironmentsstoragescreateorupdatesample] | Create or update storage for a managedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json | -| [managedEnvironmentsStoragesDeleteSample.ts][managedenvironmentsstoragesdeletesample] | Delete storage for a managedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_Delete.json | -| [managedEnvironmentsStoragesGetSample.ts][managedenvironmentsstoragesgetsample] | Get storage for a managedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_Get.json | -| [managedEnvironmentsStoragesListSample.ts][managedenvironmentsstorageslistsample] | Get all storages for a managedEnvironment. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_List.json | -| [managedEnvironmentsUpdateSample.ts][managedenvironmentsupdatesample] | Patches a Managed Environment using JSON Merge Patch x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Patch.json | -| [namespacesCheckNameAvailabilitySample.ts][namespaceschecknameavailabilitysample] | Checks if resource name is available. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificates_CheckNameAvailability.json | -| [operationsListSample.ts][operationslistsample] | Lists all of the available RP operations. x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Operations_List.json | - -## Prerequisites - -The sample programs are compatible with [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule). - -Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using: - -```bash -npm install -g typescript -``` - -You need [an Azure subscription][freesub] to run these sample programs. - -Samples retrieve credentials to access the service endpoint from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. - -Adapting the samples to run in the browser may require some additional consideration. For details, please see the [package README][package]. - -## Setup - -To run the samples using the published version of the package: - -1. Install the dependencies using `npm`: - -```bash -npm install -``` - -2. Compile the samples: - -```bash -npm run build -``` - -3. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically. - -4. Run whichever samples you like (note that some samples may require additional setup, see the table above): - -```bash -node dist/availableWorkloadProfilesGetSample.js -``` - -Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): - -```bash -npx cross-env node dist/availableWorkloadProfilesGetSample.js -``` - -## Next Steps - -Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. - -[availableworkloadprofilesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/availableWorkloadProfilesGetSample.ts -[billingmetersgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/billingMetersGetSample.ts -[certificatescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesCreateOrUpdateSample.ts -[certificatesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesDeleteSample.ts -[certificatesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesGetSample.ts -[certificateslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesListSample.ts -[certificatesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesUpdateSample.ts -[connectedenvironmentscertificatescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesCreateOrUpdateSample.ts -[connectedenvironmentscertificatesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesDeleteSample.ts -[connectedenvironmentscertificatesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesGetSample.ts -[connectedenvironmentscertificateslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesListSample.ts -[connectedenvironmentscertificatesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesUpdateSample.ts -[connectedenvironmentschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCheckNameAvailabilitySample.ts -[connectedenvironmentscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCreateOrUpdateSample.ts -[connectedenvironmentsdaprcomponentscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsCreateOrUpdateSample.ts -[connectedenvironmentsdaprcomponentsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsDeleteSample.ts -[connectedenvironmentsdaprcomponentsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsGetSample.ts -[connectedenvironmentsdaprcomponentslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsListSample.ts -[connectedenvironmentsdaprcomponentslistsecretssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsListSecretsSample.ts -[connectedenvironmentsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDeleteSample.ts -[connectedenvironmentsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsGetSample.ts -[connectedenvironmentslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsListByResourceGroupSample.ts -[connectedenvironmentslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsListBySubscriptionSample.ts -[connectedenvironmentsstoragescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsStoragesCreateOrUpdateSample.ts -[connectedenvironmentsstoragesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsStoragesDeleteSample.ts -[connectedenvironmentsstoragesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsStoragesGetSample.ts -[connectedenvironmentsstorageslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsStoragesListSample.ts -[connectedenvironmentsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsUpdateSample.ts -[containerappsauthconfigscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsAuthConfigsCreateOrUpdateSample.ts -[containerappsauthconfigsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsAuthConfigsDeleteSample.ts -[containerappsauthconfigsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsAuthConfigsGetSample.ts -[containerappsauthconfigslistbycontainerappsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsAuthConfigsListByContainerAppSample.ts -[containerappscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsCreateOrUpdateSample.ts -[containerappsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDeleteSample.ts -[containerappsdiagnosticsgetdetectorsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsGetDetectorSample.ts -[containerappsdiagnosticsgetrevisionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsGetRevisionSample.ts -[containerappsdiagnosticsgetrootsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsGetRootSample.ts -[containerappsdiagnosticslistdetectorssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsListDetectorsSample.ts -[containerappsdiagnosticslistrevisionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsListRevisionsSample.ts -[containerappsgetauthtokensample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsGetAuthTokenSample.ts -[containerappsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsGetSample.ts -[containerappslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsListByResourceGroupSample.ts -[containerappslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsListBySubscriptionSample.ts -[containerappslistcustomhostnameanalysissample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsListCustomHostNameAnalysisSample.ts -[containerappslistsecretssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsListSecretsSample.ts -[containerappsrevisionreplicasgetreplicasample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionReplicasGetReplicaSample.ts -[containerappsrevisionreplicaslistreplicassample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionReplicasListReplicasSample.ts -[containerappsrevisionsactivaterevisionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsActivateRevisionSample.ts -[containerappsrevisionsdeactivaterevisionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsDeactivateRevisionSample.ts -[containerappsrevisionsgetrevisionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsGetRevisionSample.ts -[containerappsrevisionslistrevisionssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsListRevisionsSample.ts -[containerappsrevisionsrestartrevisionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsRestartRevisionSample.ts -[containerappssourcecontrolscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsSourceControlsCreateOrUpdateSample.ts -[containerappssourcecontrolsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsSourceControlsDeleteSample.ts -[containerappssourcecontrolsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsSourceControlsGetSample.ts -[containerappssourcecontrolslistbycontainerappsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsSourceControlsListByContainerAppSample.ts -[containerappsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsUpdateSample.ts -[daprcomponentscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsCreateOrUpdateSample.ts -[daprcomponentsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsDeleteSample.ts -[daprcomponentsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsGetSample.ts -[daprcomponentslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsListSample.ts -[daprcomponentslistsecretssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsListSecretsSample.ts -[managedenvironmentdiagnosticsgetdetectorsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentDiagnosticsGetDetectorSample.ts -[managedenvironmentdiagnosticslistdetectorssample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentDiagnosticsListDetectorsSample.ts -[managedenvironmentscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsCreateOrUpdateSample.ts -[managedenvironmentsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsDeleteSample.ts -[managedenvironmentsdiagnosticsgetrootsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsDiagnosticsGetRootSample.ts -[managedenvironmentsgetauthtokensample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsGetAuthTokenSample.ts -[managedenvironmentsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsGetSample.ts -[managedenvironmentslistbyresourcegroupsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsListByResourceGroupSample.ts -[managedenvironmentslistbysubscriptionsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsListBySubscriptionSample.ts -[managedenvironmentslistworkloadprofilestatessample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsListWorkloadProfileStatesSample.ts -[managedenvironmentsstoragescreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsStoragesCreateOrUpdateSample.ts -[managedenvironmentsstoragesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsStoragesDeleteSample.ts -[managedenvironmentsstoragesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsStoragesGetSample.ts -[managedenvironmentsstorageslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsStoragesListSample.ts -[managedenvironmentsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsUpdateSample.ts -[namespaceschecknameavailabilitysample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/namespacesCheckNameAvailabilitySample.ts -[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/operationsListSample.ts -[apiref]: https://docs.microsoft.com/javascript/api/@azure/arm-appcontainers?view=azure-node-preview -[freesub]: https://azure.microsoft.com/free/ -[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appcontainers/arm-appcontainers/README.md -[typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/package.json b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/package.json deleted file mode 100644 index 4d3a8e78a353..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/package.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "@azure-samples/arm-appcontainers-ts-beta", - "private": true, - "version": "1.0.0", - "description": " client library samples for TypeScript (Beta)", - "engines": { - "node": ">=14.0.0" - }, - "scripts": { - "build": "tsc", - "prebuild": "rimraf dist/" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/Azure/azure-sdk-for-js.git", - "directory": "sdk/appcontainers/arm-appcontainers" - }, - "keywords": [ - "node", - "azure", - "typescript", - "browser", - "isomorphic" - ], - "author": "Microsoft Corporation", - "license": "MIT", - "bugs": { - "url": "https://github.com/Azure/azure-sdk-for-js/issues" - }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appcontainers/arm-appcontainers", - "dependencies": { - "@azure/arm-appcontainers": "next", - "dotenv": "latest", - "@azure/identity": "^2.0.1" - }, - "devDependencies": { - "@types/node": "^14.0.0", - "typescript": "~4.8.0", - "rimraf": "latest" - } -} diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/sample.env b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/sample.env deleted file mode 100644 index 672847a3fea0..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/sample.env +++ /dev/null @@ -1,4 +0,0 @@ -# App registration secret for AAD authentication -AZURE_CLIENT_SECRET= -AZURE_CLIENT_ID= -AZURE_TENANT_ID= \ No newline at end of file diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/availableWorkloadProfilesGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/availableWorkloadProfilesGetSample.ts deleted file mode 100644 index 698603df20b1..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/availableWorkloadProfilesGetSample.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all available workload profiles for a location. - * - * @summary Get all available workload profiles for a location. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AvailableWorkloadProfiles_Get.json - */ -async function billingMetersGet() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const location = "East US"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.availableWorkloadProfiles.list(location)) { - resArray.push(item); - } - console.log(resArray); -} - -billingMetersGet().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/billingMetersGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/billingMetersGetSample.ts deleted file mode 100644 index 4ab2cac8f861..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/billingMetersGetSample.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all billingMeters for a location. - * - * @summary Get all billingMeters for a location. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/BillingMeters_Get.json - */ -async function billingMetersGet() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const location = "East US"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.billingMeters.get(location); - console.log(result); -} - -billingMetersGet().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesCreateOrUpdateSample.ts deleted file mode 100644 index 3a81f38b4418..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesCreateOrUpdateSample.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - Certificate, - CertificatesCreateOrUpdateOptionalParams, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or Update a Certificate. - * - * @summary Create or Update a Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificate_CreateOrUpdate.json - */ -async function createOrUpdateCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const certificateEnvelope: Certificate = { - location: "East US", - properties: { - password: "private key password", - value: Buffer.from("PFX-or-PEM-blob") - } - }; - const options: CertificatesCreateOrUpdateOptionalParams = { - certificateEnvelope - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.certificates.createOrUpdate( - resourceGroupName, - environmentName, - certificateName, - options - ); - console.log(result); -} - -createOrUpdateCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesDeleteSample.ts deleted file mode 100644 index 9826234d5259..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deletes the specified Certificate. - * - * @summary Deletes the specified Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificate_Delete.json - */ -async function deleteCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.certificates.delete( - resourceGroupName, - environmentName, - certificateName - ); - console.log(result); -} - -deleteCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesGetSample.ts deleted file mode 100644 index dfc9a417da1b..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the specified Certificate. - * - * @summary Get the specified Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificate_Get.json - */ -async function getCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.certificates.get( - resourceGroupName, - environmentName, - certificateName - ); - console.log(result); -} - -getCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesListSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesListSample.ts deleted file mode 100644 index 2fd0d1b41794..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Certificates in a given managed environment. - * - * @summary Get the Certificates in a given managed environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificates_ListByManagedEnvironment.json - */ -async function listCertificatesByManagedEnvironment() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.certificates.list( - resourceGroupName, - environmentName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listCertificatesByManagedEnvironment().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesUpdateSample.ts deleted file mode 100644 index 07c29f9f9482..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/certificatesUpdateSample.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - CertificatePatch, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Patches a certificate. Currently only patching of tags is supported - * - * @summary Patches a certificate. Currently only patching of tags is supported - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificates_Patch.json - */ -async function patchCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const certificateEnvelope: CertificatePatch = { - tags: { tag1: "value1", tag2: "value2" } - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.certificates.update( - resourceGroupName, - environmentName, - certificateName, - certificateEnvelope - ); - console.log(result); -} - -patchCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesCreateOrUpdateSample.ts deleted file mode 100644 index a35ed9013e5b..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesCreateOrUpdateSample.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - Certificate, - ConnectedEnvironmentsCertificatesCreateOrUpdateOptionalParams, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or Update a Certificate. - * - * @summary Create or Update a Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificate_CreateOrUpdate.json - */ -async function createOrUpdateCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const certificateEnvelope: Certificate = { - location: "East US", - properties: { - password: "private key password", - value: Buffer.from("PFX-or-PEM-blob") - } - }; - const options: ConnectedEnvironmentsCertificatesCreateOrUpdateOptionalParams = { - certificateEnvelope - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsCertificates.createOrUpdate( - resourceGroupName, - connectedEnvironmentName, - certificateName, - options - ); - console.log(result); -} - -createOrUpdateCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesDeleteSample.ts deleted file mode 100644 index c96e91e0f079..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deletes the specified Certificate. - * - * @summary Deletes the specified Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificate_Delete.json - */ -async function deleteCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsCertificates.delete( - resourceGroupName, - connectedEnvironmentName, - certificateName - ); - console.log(result); -} - -deleteCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesGetSample.ts deleted file mode 100644 index 545e01de21db..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the specified Certificate. - * - * @summary Get the specified Certificate. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificate_Get.json - */ -async function getCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsCertificates.get( - resourceGroupName, - connectedEnvironmentName, - certificateName - ); - console.log(result); -} - -getCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesListSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesListSample.ts deleted file mode 100644 index 6136748e56e1..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Certificates in a given connected environment. - * - * @summary Get the Certificates in a given connected environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificates_ListByConnectedEnvironment.json - */ -async function listCertificatesByConnectedEnvironment() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.connectedEnvironmentsCertificates.list( - resourceGroupName, - connectedEnvironmentName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listCertificatesByConnectedEnvironment().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesUpdateSample.ts deleted file mode 100644 index 6727f124c0d1..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCertificatesUpdateSample.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - CertificatePatch, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Patches a certificate. Currently only patching of tags is supported - * - * @summary Patches a certificate. Currently only patching of tags is supported - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificates_Patch.json - */ -async function patchCertificate() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const certificateName = "certificate-firendly-name"; - const certificateEnvelope: CertificatePatch = { - tags: { tag1: "value1", tag2: "value2" } - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsCertificates.update( - resourceGroupName, - connectedEnvironmentName, - certificateName, - certificateEnvelope - ); - console.log(result); -} - -patchCertificate().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCheckNameAvailabilitySample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCheckNameAvailabilitySample.ts deleted file mode 100644 index 76781d175693..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCheckNameAvailabilitySample.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - CheckNameAvailabilityRequest, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Checks if resource connectedEnvironmentName is available. - * - * @summary Checks if resource connectedEnvironmentName is available. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsCertificates_CheckNameAvailability.json - */ -async function certificatesCheckNameAvailability() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testcontainerenv"; - const checkNameAvailabilityRequest: CheckNameAvailabilityRequest = { - name: "testcertificatename", - type: "Microsoft.App/connectedEnvironments/certificates" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironments.checkNameAvailability( - resourceGroupName, - connectedEnvironmentName, - checkNameAvailabilityRequest - ); - console.log(result); -} - -certificatesCheckNameAvailability().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCreateOrUpdateSample.ts deleted file mode 100644 index fe3a09f4bbb2..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsCreateOrUpdateSample.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - ConnectedEnvironment, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Creates or updates an connectedEnvironment. - * - * @summary Creates or updates an connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_CreateOrUpdate.json - */ -async function createKubeEnvironments() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testenv"; - const environmentEnvelope: ConnectedEnvironment = { - customDomainConfiguration: { - certificatePassword: Buffer.from("private key password"), - certificateValue: Buffer.from("PFX-or-PEM-blob"), - dnsSuffix: "www.my-name.com" - }, - daprAIConnectionString: - "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/", - location: "East US", - staticIp: "1.2.3.4" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironments.beginCreateOrUpdateAndWait( - resourceGroupName, - connectedEnvironmentName, - environmentEnvelope - ); - console.log(result); -} - -createKubeEnvironments().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsCreateOrUpdateSample.ts deleted file mode 100644 index 801dd2337fa8..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsCreateOrUpdateSample.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - DaprComponent, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Creates or updates a Dapr Component in a connected environment. - * - * @summary Creates or updates a Dapr Component in a connected environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_CreateOrUpdate.json - */ -async function createOrUpdateDaprComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "myenvironment"; - const componentName = "reddog"; - const daprComponentEnvelope: DaprComponent = { - componentType: "state.azure.cosmosdb", - ignoreErrors: false, - initTimeout: "50s", - metadata: [ - { name: "url", value: "" }, - { name: "database", value: "itemsDB" }, - { name: "collection", value: "items" }, - { name: "masterkey", secretRef: "masterkey" } - ], - scopes: ["container-app-1", "container-app-2"], - secrets: [{ name: "masterkey", value: "keyvalue" }], - version: "v1" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsDaprComponents.createOrUpdate( - resourceGroupName, - connectedEnvironmentName, - componentName, - daprComponentEnvelope - ); - console.log(result); -} - -createOrUpdateDaprComponent().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsDeleteSample.ts deleted file mode 100644 index 4336d0617d7e..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete a Dapr Component from a connected environment. - * - * @summary Delete a Dapr Component from a connected environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_Delete.json - */ -async function deleteDaprComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsDaprComponents.delete( - resourceGroupName, - connectedEnvironmentName, - componentName - ); - console.log(result); -} - -deleteDaprComponent().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsGetSample.ts deleted file mode 100644 index b70c0abfbce3..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get a dapr component. - * - * @summary Get a dapr component. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_Get.json - */ -async function getDaprComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsDaprComponents.get( - resourceGroupName, - connectedEnvironmentName, - componentName - ); - console.log(result); -} - -getDaprComponent().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsListSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsListSample.ts deleted file mode 100644 index 2ee4b0af6bff..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Dapr Components for a connected environment. - * - * @summary Get the Dapr Components for a connected environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_List.json - */ -async function listDaprComponents() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "myenvironment"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.connectedEnvironmentsDaprComponents.list( - resourceGroupName, - connectedEnvironmentName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listDaprComponents().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsListSecretsSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsListSecretsSample.ts deleted file mode 100644 index 3d6f275aedb2..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDaprComponentsListSecretsSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to List secrets for a dapr component - * - * @summary List secrets for a dapr component - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsDaprComponents_ListSecrets.json - */ -async function listContainerAppsSecrets() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsDaprComponents.listSecrets( - resourceGroupName, - connectedEnvironmentName, - componentName - ); - console.log(result); -} - -listContainerAppsSecrets().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDeleteSample.ts deleted file mode 100644 index 39fea934b220..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsDeleteSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete an connectedEnvironment. - * - * @summary Delete an connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_Delete.json - */ -async function deleteConnectedEnvironmentByConnectedEnvironmentName() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "examplekenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironments.beginDeleteAndWait( - resourceGroupName, - connectedEnvironmentName - ); - console.log(result); -} - -deleteConnectedEnvironmentByConnectedEnvironmentName().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsGetSample.ts deleted file mode 100644 index cb623c2ad6b1..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsGetSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the properties of an connectedEnvironment. - * - * @summary Get the properties of an connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_Get.json - */ -async function getConnectedEnvironmentByConnectedEnvironmentName() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "examplekenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironments.get( - resourceGroupName, - connectedEnvironmentName - ); - console.log(result); -} - -getConnectedEnvironmentByConnectedEnvironmentName().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsListByResourceGroupSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsListByResourceGroupSample.ts deleted file mode 100644 index 7472652f927f..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsListByResourceGroupSample.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all connectedEnvironments in a resource group. - * - * @summary Get all connectedEnvironments in a resource group. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_ListByResourceGroup.json - */ -async function listEnvironmentsByResourceGroup() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.connectedEnvironments.listByResourceGroup( - resourceGroupName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listEnvironmentsByResourceGroup().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsListBySubscriptionSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsListBySubscriptionSample.ts deleted file mode 100644 index 46d30ed3d5df..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsListBySubscriptionSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all connectedEnvironments for a subscription. - * - * @summary Get all connectedEnvironments for a subscription. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_ListBySubscription.json - */ -async function listConnectedEnvironmentsBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.connectedEnvironments.listBySubscription()) { - resArray.push(item); - } - console.log(resArray); -} - -listConnectedEnvironmentsBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsStoragesCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsStoragesCreateOrUpdateSample.ts deleted file mode 100644 index ad8e052a1ef3..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsStoragesCreateOrUpdateSample.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - ConnectedEnvironmentStorage, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or update storage for a connectedEnvironment. - * - * @summary Create or update storage for a connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_CreateOrUpdate.json - */ -async function createOrUpdateEnvironmentsStorage() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "env"; - const storageName = "jlaw-demo1"; - const storageEnvelope: ConnectedEnvironmentStorage = { - properties: { - azureFile: { - accessMode: "ReadOnly", - accountKey: "key", - accountName: "account1", - shareName: "share1" - } - } - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsStorages.createOrUpdate( - resourceGroupName, - connectedEnvironmentName, - storageName, - storageEnvelope - ); - console.log(result); -} - -createOrUpdateEnvironmentsStorage().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsStoragesDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsStoragesDeleteSample.ts deleted file mode 100644 index 2a03ad0f73e9..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsStoragesDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete storage for a connectedEnvironment. - * - * @summary Delete storage for a connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_Delete.json - */ -async function listEnvironmentsStoragesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "env"; - const storageName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsStorages.delete( - resourceGroupName, - connectedEnvironmentName, - storageName - ); - console.log(result); -} - -listEnvironmentsStoragesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsStoragesGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsStoragesGetSample.ts deleted file mode 100644 index a22e6733e052..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsStoragesGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get storage for a connectedEnvironment. - * - * @summary Get storage for a connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_Get.json - */ -async function getAEnvironmentsStoragePropertiesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "env"; - const storageName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsStorages.get( - resourceGroupName, - connectedEnvironmentName, - storageName - ); - console.log(result); -} - -getAEnvironmentsStoragePropertiesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsStoragesListSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsStoragesListSample.ts deleted file mode 100644 index 896a88e038ff..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsStoragesListSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all storages for a connectedEnvironment. - * - * @summary Get all storages for a connectedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironmentsStorages_List.json - */ -async function listEnvironmentsStoragesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "managedEnv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironmentsStorages.list( - resourceGroupName, - connectedEnvironmentName - ); - console.log(result); -} - -listEnvironmentsStoragesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsUpdateSample.ts deleted file mode 100644 index 03bcbc34fcb2..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/connectedEnvironmentsUpdateSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Patches a Managed Environment. Only patching of tags is supported currently - * - * @summary Patches a Managed Environment. Only patching of tags is supported currently - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ConnectedEnvironments_Patch.json - */ -async function patchManagedEnvironment() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const connectedEnvironmentName = "testenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.connectedEnvironments.update( - resourceGroupName, - connectedEnvironmentName - ); - console.log(result); -} - -patchManagedEnvironment().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsAuthConfigsCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsAuthConfigsCreateOrUpdateSample.ts deleted file mode 100644 index 8be594611ce3..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsAuthConfigsCreateOrUpdateSample.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { AuthConfig, ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or update the AuthConfig for a Container App. - * - * @summary Create or update the AuthConfig for a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_CreateOrUpdate.json - */ -async function createOrUpdateContainerAppAuthConfig() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const authConfigName = "current"; - const authConfigEnvelope: AuthConfig = { - globalValidation: { unauthenticatedClientAction: "AllowAnonymous" }, - identityProviders: { - facebook: { - registration: { appId: "123", appSecretSettingName: "facebook-secret" } - } - }, - platform: { enabled: true } - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsAuthConfigs.createOrUpdate( - resourceGroupName, - containerAppName, - authConfigName, - authConfigEnvelope - ); - console.log(result); -} - -createOrUpdateContainerAppAuthConfig().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsAuthConfigsDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsAuthConfigsDeleteSample.ts deleted file mode 100644 index fa32ed65ae85..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsAuthConfigsDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete a Container App AuthConfig. - * - * @summary Delete a Container App AuthConfig. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_Delete.json - */ -async function deleteContainerAppAuthConfig() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const authConfigName = "current"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsAuthConfigs.delete( - resourceGroupName, - containerAppName, - authConfigName - ); - console.log(result); -} - -deleteContainerAppAuthConfig().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsAuthConfigsGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsAuthConfigsGetSample.ts deleted file mode 100644 index 301bd06c5bff..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsAuthConfigsGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get a AuthConfig of a Container App. - * - * @summary Get a AuthConfig of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_Get.json - */ -async function getContainerAppAuthConfig() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const authConfigName = "current"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsAuthConfigs.get( - resourceGroupName, - containerAppName, - authConfigName - ); - console.log(result); -} - -getContainerAppAuthConfig().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsAuthConfigsListByContainerAppSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsAuthConfigsListByContainerAppSample.ts deleted file mode 100644 index 3e33157a6831..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsAuthConfigsListByContainerAppSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Container App AuthConfigs in a given resource group. - * - * @summary Get the Container App AuthConfigs in a given resource group. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/AuthConfigs_ListByContainer.json - */ -async function listAuthConfigsByContainerApps() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerAppsAuthConfigs.listByContainerApp( - resourceGroupName, - containerAppName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listAuthConfigsByContainerApps().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsCreateOrUpdateSample.ts deleted file mode 100644 index 89b3f42694d0..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsCreateOrUpdateSample.ts +++ /dev/null @@ -1,194 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerApp, ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or update a Container App. - * - * @summary Create or update a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_CreateOrUpdate.json - */ -async function createOrUpdateContainerApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const containerAppEnvelope: ContainerApp = { - configuration: { - dapr: { - appPort: 3000, - appProtocol: "http", - enableApiLogging: true, - enabled: true, - httpMaxRequestSize: 10, - httpReadBufferSize: 30, - logLevel: "debug" - }, - ingress: { - customDomains: [ - { - name: "www.my-name.com", - bindingType: "SniEnabled", - certificateId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com" - }, - { - name: "www.my-other-name.com", - bindingType: "SniEnabled", - certificateId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com" - } - ], - external: true, - ipSecurityRestrictions: [ - { - name: "Allow work IP A subnet", - description: - "Allowing all IP's within the subnet below to access containerapp", - action: "Allow", - ipAddressRange: "192.168.1.1/32" - }, - { - name: "Allow work IP B subnet", - description: - "Allowing all IP's within the subnet below to access containerapp", - action: "Allow", - ipAddressRange: "192.168.1.1/8" - } - ], - targetPort: 3000, - traffic: [ - { - label: "production", - revisionName: "testcontainerApp0-ab1234", - weight: 100 - } - ] - }, - maxInactiveRevisions: 10 - }, - environmentId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube", - location: "East US", - template: { - containers: [ - { - name: "testcontainerApp0", - image: "repo/testcontainerApp0:v1", - probes: [ - { - type: "Liveness", - httpGet: { - path: "/health", - httpHeaders: [{ name: "Custom-Header", value: "Awesome" }], - port: 8080 - }, - initialDelaySeconds: 3, - periodSeconds: 3 - } - ] - } - ], - initContainers: [ - { - name: "testinitcontainerApp0", - args: ["-c", "while true; do echo hello; sleep 10;done"], - command: ["/bin/sh"], - image: "repo/testcontainerApp0:v4", - resources: { cpu: 0.2, memory: "100Mi" } - } - ], - scale: { - maxReplicas: 5, - minReplicas: 1, - rules: [ - { - name: "httpscalingrule", - custom: { type: "http", metadata: { concurrentRequests: "50" } } - } - ] - } - }, - workloadProfileType: "GeneralPurpose" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.beginCreateOrUpdateAndWait( - resourceGroupName, - containerAppName, - containerAppEnvelope - ); - console.log(result); -} - -createOrUpdateContainerApp().catch(console.error); - -/** - * This sample demonstrates how to Create or update a Container App. - * - * @summary Create or update a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_TcpApp_CreateOrUpdate.json - */ -async function createOrUpdateTcpApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerAppTcp"; - const containerAppEnvelope: ContainerApp = { - configuration: { - ingress: { - exposedPort: 4000, - external: true, - targetPort: 3000, - traffic: [{ revisionName: "testcontainerAppTcp-ab1234", weight: 100 }], - transport: "tcp" - } - }, - environmentId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube", - location: "East US", - template: { - containers: [ - { - name: "testcontainerAppTcp", - image: "repo/testcontainerAppTcp:v1", - probes: [ - { - type: "Liveness", - initialDelaySeconds: 3, - periodSeconds: 3, - tcpSocket: { port: 8080 } - } - ] - } - ], - scale: { - maxReplicas: 5, - minReplicas: 1, - rules: [ - { - name: "tcpscalingrule", - tcp: { metadata: { concurrentConnections: "50" } } - } - ] - } - } - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.beginCreateOrUpdateAndWait( - resourceGroupName, - containerAppName, - containerAppEnvelope - ); - console.log(result); -} - -createOrUpdateTcpApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDeleteSample.ts deleted file mode 100644 index 7a1138e20db0..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDeleteSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete a Container App. - * - * @summary Delete a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Delete.json - */ -async function deleteContainerApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testWorkerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.beginDeleteAndWait( - resourceGroupName, - containerAppName - ); - console.log(result); -} - -deleteContainerApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsGetDetectorSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsGetDetectorSample.ts deleted file mode 100644 index 25662a7131ab..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsGetDetectorSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get a diagnostics result of a Container App. - * - * @summary Get a diagnostics result of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerAppsDiagnostics_Get.json - */ -async function getContainerAppDiagnosticsInfo() { - const subscriptionId = "f07f3711-b45e-40fe-a941-4e6d93f851e6"; - const resourceGroupName = "mikono-workerapp-test-rg"; - const containerAppName = "mikono-capp-stage1"; - const detectorName = "cappcontainerappnetworkIO"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsDiagnostics.getDetector( - resourceGroupName, - containerAppName, - detectorName - ); - console.log(result); -} - -getContainerAppDiagnosticsInfo().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsGetRevisionSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsGetRevisionSample.ts deleted file mode 100644 index e5841cc7790d..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsGetRevisionSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get a revision of a Container App. - * - * @summary Get a revision of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Get.json - */ -async function getContainerAppRevision() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const revisionName = "testcontainerApp0-pjxhsye"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsDiagnostics.getRevision( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -getContainerAppRevision().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsGetRootSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsGetRootSample.ts deleted file mode 100644 index 99fd7265f162..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsGetRootSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the properties of a Container App. - * - * @summary Get the properties of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Get.json - */ -async function getContainerApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsDiagnostics.getRoot( - resourceGroupName, - containerAppName - ); - console.log(result); -} - -getContainerApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsListDetectorsSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsListDetectorsSample.ts deleted file mode 100644 index 35216be7c122..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsListDetectorsSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the list of diagnostics for a given Container App. - * - * @summary Get the list of diagnostics for a given Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerAppsDiagnostics_List.json - */ -async function getTheListOfAvailableDiagnosticsForAGivenContainerApp() { - const subscriptionId = "f07f3711-b45e-40fe-a941-4e6d93f851e6"; - const resourceGroupName = "mikono-workerapp-test-rg"; - const containerAppName = "mikono-capp-stage1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerAppsDiagnostics.listDetectors( - resourceGroupName, - containerAppName - )) { - resArray.push(item); - } - console.log(resArray); -} - -getTheListOfAvailableDiagnosticsForAGivenContainerApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsListRevisionsSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsListRevisionsSample.ts deleted file mode 100644 index 2e43067961a9..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsDiagnosticsListRevisionsSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Revisions for a given Container App. - * - * @summary Get the Revisions for a given Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_List.json - */ -async function listContainerAppRevisions() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerAppsDiagnostics.listRevisions( - resourceGroupName, - containerAppName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listContainerAppRevisions().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsGetAuthTokenSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsGetAuthTokenSample.ts deleted file mode 100644 index f44411c37e54..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsGetAuthTokenSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get auth token for a container app - * - * @summary Get auth token for a container app - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_GetAuthToken.json - */ -async function getContainerAppAuthToken() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.getAuthToken( - resourceGroupName, - containerAppName - ); - console.log(result); -} - -getContainerAppAuthToken().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsGetSample.ts deleted file mode 100644 index 60825d27228e..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsGetSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the properties of a Container App. - * - * @summary Get the properties of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Get.json - */ -async function getContainerApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.get( - resourceGroupName, - containerAppName - ); - console.log(result); -} - -getContainerApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsListByResourceGroupSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsListByResourceGroupSample.ts deleted file mode 100644 index abe888508d18..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsListByResourceGroupSample.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Container Apps in a given resource group. - * - * @summary Get the Container Apps in a given resource group. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListByResourceGroup.json - */ -async function listContainerAppsByResourceGroup() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerApps.listByResourceGroup( - resourceGroupName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listContainerAppsByResourceGroup().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsListBySubscriptionSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsListBySubscriptionSample.ts deleted file mode 100644 index 17c23ab32300..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsListBySubscriptionSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Container Apps in a given subscription. - * - * @summary Get the Container Apps in a given subscription. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListBySubscription.json - */ -async function listContainerAppsBySubscription() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerApps.listBySubscription()) { - resArray.push(item); - } - console.log(resArray); -} - -listContainerAppsBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsListCustomHostNameAnalysisSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsListCustomHostNameAnalysisSample.ts deleted file mode 100644 index 6392220fed5d..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsListCustomHostNameAnalysisSample.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - ContainerAppsListCustomHostNameAnalysisOptionalParams, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Analyzes a custom hostname for a Container App - * - * @summary Analyzes a custom hostname for a Container App - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListCustomHostNameAnalysis.json - */ -async function analyzeCustomHostname() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const customHostname = "my.name.corp"; - const options: ContainerAppsListCustomHostNameAnalysisOptionalParams = { - customHostname - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.listCustomHostNameAnalysis( - resourceGroupName, - containerAppName, - options - ); - console.log(result); -} - -analyzeCustomHostname().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsListSecretsSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsListSecretsSample.ts deleted file mode 100644 index 8c6e649c77b7..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsListSecretsSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to List secrets for a container app - * - * @summary List secrets for a container app - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_ListSecrets.json - */ -async function listContainerAppsSecrets() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.listSecrets( - resourceGroupName, - containerAppName - ); - console.log(result); -} - -listContainerAppsSecrets().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionReplicasGetReplicaSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionReplicasGetReplicaSample.ts deleted file mode 100644 index 1f81d71ba138..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionReplicasGetReplicaSample.ts +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get a replica for a Container App Revision. - * - * @summary Get a replica for a Container App Revision. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Replicas_Get.json - */ -async function getContainerAppRevisionReplica() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "myapp"; - const revisionName = "myapp--0wlqy09"; - const replicaName = "myapp--0wlqy09-5d9774cff-5wnd8"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisionReplicas.getReplica( - resourceGroupName, - containerAppName, - revisionName, - replicaName - ); - console.log(result); -} - -getContainerAppRevisionReplica().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionReplicasListReplicasSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionReplicasListReplicasSample.ts deleted file mode 100644 index 6ec3eb9518ec..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionReplicasListReplicasSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to List replicas for a Container App Revision. - * - * @summary List replicas for a Container App Revision. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Replicas_List.json - */ -async function listContainerAppReplicas() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "myapp"; - const revisionName = "myapp--0wlqy09"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisionReplicas.listReplicas( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -listContainerAppReplicas().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsActivateRevisionSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsActivateRevisionSample.ts deleted file mode 100644 index f17d31562a11..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsActivateRevisionSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Activates a revision for a Container App - * - * @summary Activates a revision for a Container App - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Activate.json - */ -async function activateContainerAppRevision() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const revisionName = "testcontainerApp0-pjxhsye"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisions.activateRevision( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -activateContainerAppRevision().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsDeactivateRevisionSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsDeactivateRevisionSample.ts deleted file mode 100644 index 29c94e610bd7..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsDeactivateRevisionSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Deactivates a revision for a Container App - * - * @summary Deactivates a revision for a Container App - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Deactivate.json - */ -async function deactivateContainerAppRevision() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const revisionName = "testcontainerApp0-pjxhsye"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisions.deactivateRevision( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -deactivateContainerAppRevision().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsGetRevisionSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsGetRevisionSample.ts deleted file mode 100644 index d80013220cea..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsGetRevisionSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get a revision of a Container App. - * - * @summary Get a revision of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Get.json - */ -async function getContainerAppRevision() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const revisionName = "testcontainerApp0-pjxhsye"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisions.getRevision( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -getContainerAppRevision().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsListRevisionsSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsListRevisionsSample.ts deleted file mode 100644 index 05db4b97c3b9..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsListRevisionsSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Revisions for a given Container App. - * - * @summary Get the Revisions for a given Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_List.json - */ -async function listContainerAppRevisions() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerAppsRevisions.listRevisions( - resourceGroupName, - containerAppName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listContainerAppRevisions().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsRestartRevisionSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsRestartRevisionSample.ts deleted file mode 100644 index fc29bb2c88ad..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsRevisionsRestartRevisionSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Restarts a revision for a Container App - * - * @summary Restarts a revision for a Container App - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Restart.json - */ -async function restartContainerAppRevision() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testStaticSite0"; - const revisionName = "testcontainerApp0-pjxhsye"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsRevisions.restartRevision( - resourceGroupName, - containerAppName, - revisionName - ); - console.log(result); -} - -restartContainerAppRevision().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsSourceControlsCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsSourceControlsCreateOrUpdateSample.ts deleted file mode 100644 index 86418ae8cf45..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsSourceControlsCreateOrUpdateSample.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - SourceControl, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or update the SourceControl for a Container App. - * - * @summary Create or update the SourceControl for a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_CreateOrUpdate.json - */ -async function createOrUpdateContainerAppSourceControl() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const sourceControlName = "current"; - const sourceControlEnvelope: SourceControl = { - branch: "master", - githubActionConfiguration: { - azureCredentials: { - clientId: "", - clientSecret: "", - tenantId: "" - }, - contextPath: "./", - image: "image/tag", - registryInfo: { - registryPassword: "", - registryUrl: "xwang971reg.azurecr.io", - registryUserName: "xwang971reg" - } - }, - repoUrl: "https://github.com/xwang971/ghatest" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsSourceControls.beginCreateOrUpdateAndWait( - resourceGroupName, - containerAppName, - sourceControlName, - sourceControlEnvelope - ); - console.log(result); -} - -createOrUpdateContainerAppSourceControl().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsSourceControlsDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsSourceControlsDeleteSample.ts deleted file mode 100644 index 2b0f557de321..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsSourceControlsDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete a Container App SourceControl. - * - * @summary Delete a Container App SourceControl. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_Delete.json - */ -async function deleteContainerAppSourceControl() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const sourceControlName = "current"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsSourceControls.beginDeleteAndWait( - resourceGroupName, - containerAppName, - sourceControlName - ); - console.log(result); -} - -deleteContainerAppSourceControl().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsSourceControlsGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsSourceControlsGetSample.ts deleted file mode 100644 index 3866b69a12ea..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsSourceControlsGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get a SourceControl of a Container App. - * - * @summary Get a SourceControl of a Container App. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_Get.json - */ -async function getContainerAppSourceControl() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const sourceControlName = "current"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerAppsSourceControls.get( - resourceGroupName, - containerAppName, - sourceControlName - ); - console.log(result); -} - -getContainerAppSourceControl().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsSourceControlsListByContainerAppSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsSourceControlsListByContainerAppSample.ts deleted file mode 100644 index c9f6fe3aac45..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsSourceControlsListByContainerAppSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Container App SourceControls in a given resource group. - * - * @summary Get the Container App SourceControls in a given resource group. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/SourceControls_ListByContainer.json - */ -async function listAppSourceControls() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "workerapps-rg-xj"; - const containerAppName = "testcanadacentral"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.containerAppsSourceControls.listByContainerApp( - resourceGroupName, - containerAppName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listAppSourceControls().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsUpdateSample.ts deleted file mode 100644 index 4d02d6f05848..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/containerAppsUpdateSample.ts +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerApp, ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Patches a Container App using JSON Merge Patch - * - * @summary Patches a Container App using JSON Merge Patch - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_Patch.json - */ -async function patchContainerApp() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "rg"; - const containerAppName = "testcontainerApp0"; - const containerAppEnvelope: ContainerApp = { - configuration: { - dapr: { - appPort: 3000, - appProtocol: "http", - enableApiLogging: true, - enabled: true, - httpMaxRequestSize: 10, - httpReadBufferSize: 30, - logLevel: "debug" - }, - ingress: { - customDomains: [ - { - name: "www.my-name.com", - bindingType: "SniEnabled", - certificateId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-name-dot-com" - }, - { - name: "www.my-other-name.com", - bindingType: "SniEnabled", - certificateId: - "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube/certificates/my-certificate-for-my-other-name-dot-com" - } - ], - external: true, - ipSecurityRestrictions: [ - { - name: "Allow work IP A subnet", - description: - "Allowing all IP's within the subnet below to access containerapp", - action: "Allow", - ipAddressRange: "192.168.1.1/32" - }, - { - name: "Allow work IP B subnet", - description: - "Allowing all IP's within the subnet below to access containerapp", - action: "Allow", - ipAddressRange: "192.168.1.1/8" - } - ], - targetPort: 3000, - traffic: [ - { - label: "production", - revisionName: "testcontainerApp0-ab1234", - weight: 100 - } - ] - }, - maxInactiveRevisions: 10 - }, - location: "East US", - tags: { tag1: "value1", tag2: "value2" }, - template: { - containers: [ - { - name: "testcontainerApp0", - image: "repo/testcontainerApp0:v1", - probes: [ - { - type: "Liveness", - httpGet: { - path: "/health", - httpHeaders: [{ name: "Custom-Header", value: "Awesome" }], - port: 8080 - }, - initialDelaySeconds: 3, - periodSeconds: 3 - } - ] - } - ], - initContainers: [ - { - name: "testinitcontainerApp0", - image: "repo/testcontainerApp0:v4", - resources: { cpu: 0.2, memory: "100Mi" } - } - ], - scale: { - maxReplicas: 5, - minReplicas: 1, - rules: [ - { - name: "httpscalingrule", - custom: { type: "http", metadata: { concurrentRequests: "50" } } - } - ] - } - } - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.containerApps.beginUpdateAndWait( - resourceGroupName, - containerAppName, - containerAppEnvelope - ); - console.log(result); -} - -patchContainerApp().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsCreateOrUpdateSample.ts deleted file mode 100644 index 338e0f0f227e..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsCreateOrUpdateSample.ts +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - DaprComponent, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Creates or updates a Dapr Component in a Managed Environment. - * - * @summary Creates or updates a Dapr Component in a Managed Environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_CreateOrUpdate_SecretStoreComponent.json - */ -async function createOrUpdateDaprComponentWithSecretStoreComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const daprComponentEnvelope: DaprComponent = { - componentType: "state.azure.cosmosdb", - ignoreErrors: false, - initTimeout: "50s", - metadata: [ - { name: "url", value: "" }, - { name: "database", value: "itemsDB" }, - { name: "collection", value: "items" }, - { name: "masterkey", secretRef: "masterkey" } - ], - scopes: ["container-app-1", "container-app-2"], - secretStoreComponent: "my-secret-store", - version: "v1" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.createOrUpdate( - resourceGroupName, - environmentName, - componentName, - daprComponentEnvelope - ); - console.log(result); -} - -createOrUpdateDaprComponentWithSecretStoreComponent().catch(console.error); - -/** - * This sample demonstrates how to Creates or updates a Dapr Component in a Managed Environment. - * - * @summary Creates or updates a Dapr Component in a Managed Environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_CreateOrUpdate_Secrets.json - */ -async function createOrUpdateDaprComponentWithSecrets() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const daprComponentEnvelope: DaprComponent = { - componentType: "state.azure.cosmosdb", - ignoreErrors: false, - initTimeout: "50s", - metadata: [ - { name: "url", value: "" }, - { name: "database", value: "itemsDB" }, - { name: "collection", value: "items" }, - { name: "masterkey", secretRef: "masterkey" } - ], - scopes: ["container-app-1", "container-app-2"], - secrets: [{ name: "masterkey", value: "keyvalue" }], - version: "v1" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.createOrUpdate( - resourceGroupName, - environmentName, - componentName, - daprComponentEnvelope - ); - console.log(result); -} - -createOrUpdateDaprComponentWithSecrets().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsDeleteSample.ts deleted file mode 100644 index a25337cb573d..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete a Dapr Component from a Managed Environment. - * - * @summary Delete a Dapr Component from a Managed Environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_Delete.json - */ -async function deleteDaprComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.delete( - resourceGroupName, - environmentName, - componentName - ); - console.log(result); -} - -deleteDaprComponent().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsGetSample.ts deleted file mode 100644 index 7af846366d9a..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsGetSample.ts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get a dapr component. - * - * @summary Get a dapr component. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_Get_SecretStoreComponent.json - */ -async function getDaprComponentWithSecretStoreComponent() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.get( - resourceGroupName, - environmentName, - componentName - ); - console.log(result); -} - -getDaprComponentWithSecretStoreComponent().catch(console.error); - -/** - * This sample demonstrates how to Get a dapr component. - * - * @summary Get a dapr component. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_Get_Secrets.json - */ -async function getDaprComponentWithSecrets() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.get( - resourceGroupName, - environmentName, - componentName - ); - console.log(result); -} - -getDaprComponentWithSecrets().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsListSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsListSample.ts deleted file mode 100644 index 523a92eec55a..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsListSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the Dapr Components for a managed environment. - * - * @summary Get the Dapr Components for a managed environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_List.json - */ -async function listDaprComponents() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.daprComponents.list( - resourceGroupName, - environmentName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listDaprComponents().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsListSecretsSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsListSecretsSample.ts deleted file mode 100644 index 22ee2b7da364..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/daprComponentsListSecretsSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to List secrets for a dapr component - * - * @summary List secrets for a dapr component - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/DaprComponents_ListSecrets.json - */ -async function listContainerAppsSecrets() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "myenvironment"; - const componentName = "reddog"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.daprComponents.listSecrets( - resourceGroupName, - environmentName, - componentName - ); - console.log(result); -} - -listContainerAppsSecrets().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentDiagnosticsGetDetectorSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentDiagnosticsGetDetectorSample.ts deleted file mode 100644 index 249ff959e347..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentDiagnosticsGetDetectorSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the diagnostics data for a Managed Environment used to host container apps. - * - * @summary Get the diagnostics data for a Managed Environment used to host container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentDiagnostics_Get.json - */ -async function getDiagnosticDataForAManagedEnvironments() { - const subscriptionId = "f07f3711-b45e-40fe-a941-4e6d93f851e6"; - const resourceGroupName = "mikono-workerapp-test-rg"; - const environmentName = "mikonokubeenv"; - const detectorName = "ManagedEnvAvailabilityMetrics"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentDiagnostics.getDetector( - resourceGroupName, - environmentName, - detectorName - ); - console.log(result); -} - -getDiagnosticDataForAManagedEnvironments().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentDiagnosticsListDetectorsSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentDiagnosticsListDetectorsSample.ts deleted file mode 100644 index e8fcf2a71dc0..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentDiagnosticsListDetectorsSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the list of diagnostics for a Managed Environment used to host container apps. - * - * @summary Get the list of diagnostics for a Managed Environment used to host container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentDiagnostics_List.json - */ -async function getTheListOfAvailableDiagnosticDataForAManagedEnvironments() { - const subscriptionId = "f07f3711-b45e-40fe-a941-4e6d93f851e6"; - const resourceGroupName = "mikono-workerapp-test-rg"; - const environmentName = "mikonokubeenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentDiagnostics.listDetectors( - resourceGroupName, - environmentName - ); - console.log(result); -} - -getTheListOfAvailableDiagnosticDataForAManagedEnvironments().catch( - console.error -); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsCreateOrUpdateSample.ts deleted file mode 100644 index ef1d2a05483c..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsCreateOrUpdateSample.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - ManagedEnvironment, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Creates or updates a Managed Environment used to host container apps. - * - * @summary Creates or updates a Managed Environment used to host container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_CreateOrUpdate.json - */ -async function createEnvironments() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const environmentEnvelope: ManagedEnvironment = { - appLogsConfiguration: { - logAnalyticsConfiguration: { customerId: "string", sharedKey: "string" } - }, - customDomainConfiguration: { - certificatePassword: Buffer.from("private key password"), - certificateValue: Buffer.from("PFX-or-PEM-blob"), - dnsSuffix: "www.my-name.com" - }, - daprAIConnectionString: - "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://northcentralus-0.in.applicationinsights.azure.com/", - location: "East US", - sku: { name: "Premium" }, - vnetConfiguration: { - outboundSettings: { - outBoundType: "UserDefinedRouting", - virtualNetworkApplianceIp: "192.168.1.20" - } - }, - workloadProfiles: [ - { - maximumCount: 12, - minimumCount: 3, - workloadProfileType: "GeneralPurpose" - }, - { - maximumCount: 6, - minimumCount: 3, - workloadProfileType: "MemoryOptimized" - }, - { - maximumCount: 6, - minimumCount: 3, - workloadProfileType: "ComputeOptimized" - } - ], - zoneRedundant: true - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironments.beginCreateOrUpdateAndWait( - resourceGroupName, - environmentName, - environmentEnvelope - ); - console.log(result); -} - -createEnvironments().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsDeleteSample.ts deleted file mode 100644 index 0a20d29b8396..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsDeleteSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete a Managed Environment if it does not have any container apps. - * - * @summary Delete a Managed Environment if it does not have any container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Delete.json - */ -async function deleteEnvironmentByName() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "examplekenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironments.beginDeleteAndWait( - resourceGroupName, - environmentName - ); - console.log(result); -} - -deleteEnvironmentByName().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsDiagnosticsGetRootSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsDiagnosticsGetRootSample.ts deleted file mode 100644 index 497d60bfe67c..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsDiagnosticsGetRootSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the properties of a Managed Environment used to host container apps. - * - * @summary Get the properties of a Managed Environment used to host container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Get.json - */ -async function getEnvironmentsByName() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentsDiagnostics.getRoot( - resourceGroupName, - environmentName - ); - console.log(result); -} - -getEnvironmentsByName().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsGetAuthTokenSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsGetAuthTokenSample.ts deleted file mode 100644 index 8086473b0918..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsGetAuthTokenSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Checks if resource name is available. - * - * @summary Checks if resource name is available. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_GetAuthToken.json - */ -async function getManagedEnvironmentAuthToken() { - const subscriptionId = "651f8027-33e8-4ec4-97b4-f6e9f3dc8744"; - const resourceGroupName = "rg"; - const environmentName = "testenv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironments.getAuthToken( - resourceGroupName, - environmentName - ); - console.log(result); -} - -getManagedEnvironmentAuthToken().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsGetSample.ts deleted file mode 100644 index 5a822df7e7c5..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsGetSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get the properties of a Managed Environment used to host container apps. - * - * @summary Get the properties of a Managed Environment used to host container apps. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Get.json - */ -async function getEnvironmentsByName() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironments.get( - resourceGroupName, - environmentName - ); - console.log(result); -} - -getEnvironmentsByName().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsListByResourceGroupSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsListByResourceGroupSample.ts deleted file mode 100644 index fc292fcd4f94..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsListByResourceGroupSample.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all the Managed Environments in a resource group. - * - * @summary Get all the Managed Environments in a resource group. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_ListByResourceGroup.json - */ -async function listEnvironmentsByResourceGroup() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.managedEnvironments.listByResourceGroup( - resourceGroupName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listEnvironmentsByResourceGroup().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsListBySubscriptionSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsListBySubscriptionSample.ts deleted file mode 100644 index 26d08b1a499d..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsListBySubscriptionSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all Managed Environments for a subscription. - * - * @summary Get all Managed Environments for a subscription. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_ListBySubscription.json - */ -async function listEnvironmentsBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.managedEnvironments.listBySubscription()) { - resArray.push(item); - } - console.log(resArray); -} - -listEnvironmentsBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsListWorkloadProfileStatesSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsListWorkloadProfileStatesSample.ts deleted file mode 100644 index bc4eb79e4476..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsListWorkloadProfileStatesSample.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all workload Profile States for a Premium Managed Environment. - * - * @summary Get all workload Profile States for a Premium Managed Environment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_ListWorkloadProfileStates.json - */ -async function listEnvironmentsBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.managedEnvironments.listWorkloadProfileStates( - resourceGroupName, - environmentName - )) { - resArray.push(item); - } - console.log(resArray); -} - -listEnvironmentsBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsStoragesCreateOrUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsStoragesCreateOrUpdateSample.ts deleted file mode 100644 index 1c2f40f19495..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsStoragesCreateOrUpdateSample.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - ManagedEnvironmentStorage, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Create or update storage for a managedEnvironment. - * - * @summary Create or update storage for a managedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_CreateOrUpdate.json - */ -async function createOrUpdateEnvironmentsStorage() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "managedEnv"; - const storageName = "jlaw-demo1"; - const storageEnvelope: ManagedEnvironmentStorage = { - properties: { - azureFile: { - accessMode: "ReadOnly", - accountKey: "key", - accountName: "account1", - shareName: "share1" - } - } - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentsStorages.createOrUpdate( - resourceGroupName, - environmentName, - storageName, - storageEnvelope - ); - console.log(result); -} - -createOrUpdateEnvironmentsStorage().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsStoragesDeleteSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsStoragesDeleteSample.ts deleted file mode 100644 index e956869c28fb..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsStoragesDeleteSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Delete storage for a managedEnvironment. - * - * @summary Delete storage for a managedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_Delete.json - */ -async function listEnvironmentsStoragesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "managedEnv"; - const storageName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentsStorages.delete( - resourceGroupName, - environmentName, - storageName - ); - console.log(result); -} - -listEnvironmentsStoragesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsStoragesGetSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsStoragesGetSample.ts deleted file mode 100644 index 359c283d858f..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsStoragesGetSample.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get storage for a managedEnvironment. - * - * @summary Get storage for a managedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_Get.json - */ -async function getAEnvironmentsStoragePropertiesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "managedEnv"; - const storageName = "jlaw-demo1"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentsStorages.get( - resourceGroupName, - environmentName, - storageName - ); - console.log(result); -} - -getAEnvironmentsStoragePropertiesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsStoragesListSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsStoragesListSample.ts deleted file mode 100644 index 7b6069aac420..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsStoragesListSample.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Get all storages for a managedEnvironment. - * - * @summary Get all storages for a managedEnvironment. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironmentsStorages_List.json - */ -async function listEnvironmentsStoragesBySubscription() { - const subscriptionId = "8efdecc5-919e-44eb-b179-915dca89ebf9"; - const resourceGroupName = "examplerg"; - const environmentName = "managedEnv"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironmentsStorages.list( - resourceGroupName, - environmentName - ); - console.log(result); -} - -listEnvironmentsStoragesBySubscription().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsUpdateSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsUpdateSample.ts deleted file mode 100644 index 28543cfe3b93..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/managedEnvironmentsUpdateSample.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - ManagedEnvironment, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Patches a Managed Environment using JSON Merge Patch - * - * @summary Patches a Managed Environment using JSON Merge Patch - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ManagedEnvironments_Patch.json - */ -async function patchManagedEnvironment() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const environmentEnvelope: ManagedEnvironment = { - location: "East US", - tags: { tag1: "value1", tag2: "value2" } - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.managedEnvironments.beginUpdateAndWait( - resourceGroupName, - environmentName, - environmentEnvelope - ); - console.log(result); -} - -patchManagedEnvironment().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/namespacesCheckNameAvailabilitySample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/namespacesCheckNameAvailabilitySample.ts deleted file mode 100644 index 4f74d5e40cc5..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/namespacesCheckNameAvailabilitySample.ts +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { - CheckNameAvailabilityRequest, - ContainerAppsAPIClient -} from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Checks if resource name is available. - * - * @summary Checks if resource name is available. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Certificates_CheckNameAvailability.json - */ -async function certificatesCheckNameAvailability() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const checkNameAvailabilityRequest: CheckNameAvailabilityRequest = { - name: "testcertificatename", - type: "Microsoft.App/managedEnvironments/certificates" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.namespaces.checkNameAvailability( - resourceGroupName, - environmentName, - checkNameAvailabilityRequest - ); - console.log(result); -} - -certificatesCheckNameAvailability().catch(console.error); - -/** - * This sample demonstrates how to Checks if resource name is available. - * - * @summary Checks if resource name is available. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/ContainerApps_CheckNameAvailability.json - */ -async function containerAppsCheckNameAvailability() { - const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"; - const resourceGroupName = "examplerg"; - const environmentName = "testcontainerenv"; - const checkNameAvailabilityRequest: CheckNameAvailabilityRequest = { - name: "testcappname", - type: "Microsoft.App/containerApps" - }; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const result = await client.namespaces.checkNameAvailability( - resourceGroupName, - environmentName, - checkNameAvailabilityRequest - ); - console.log(result); -} - -containerAppsCheckNameAvailability().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/operationsListSample.ts b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/operationsListSample.ts deleted file mode 100644 index b2ea13421d19..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/src/operationsListSample.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import { ContainerAppsAPIClient } from "@azure/arm-appcontainers"; -import { DefaultAzureCredential } from "@azure/identity"; - -/** - * This sample demonstrates how to Lists all of the available RP operations. - * - * @summary Lists all of the available RP operations. - * x-ms-original-file: specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Operations_List.json - */ -async function listAllOperations() { - const subscriptionId = "00000000-0000-0000-0000-000000000000"; - const credential = new DefaultAzureCredential(); - const client = new ContainerAppsAPIClient(credential, subscriptionId); - const resArray = new Array(); - for await (let item of client.operations.list()) { - resArray.push(item); - } - console.log(resArray); -} - -listAllOperations().catch(console.error); diff --git a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/tsconfig.json b/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/tsconfig.json deleted file mode 100644 index 416c2dd82e00..000000000000 --- a/sdk/appcontainers/arm-appcontainers/samples/v2-beta/typescript/tsconfig.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2018", - "module": "commonjs", - "moduleResolution": "node", - "resolveJsonModule": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "strict": true, - "alwaysStrict": true, - "outDir": "dist", - "rootDir": "src" - }, - "include": [ - "src/**.ts" - ] -} diff --git a/sdk/appcontainers/arm-appcontainers/src/containerAppsAPIClient.ts b/sdk/appcontainers/arm-appcontainers/src/containerAppsAPIClient.ts index 832c212b8601..399b508bdb23 100644 --- a/sdk/appcontainers/arm-appcontainers/src/containerAppsAPIClient.ts +++ b/sdk/appcontainers/arm-appcontainers/src/containerAppsAPIClient.ts @@ -16,47 +16,53 @@ import { import * as coreAuth from "@azure/core-auth"; import { ContainerAppsAuthConfigsImpl, + AvailableWorkloadProfilesImpl, + BillingMetersImpl, + ConnectedEnvironmentsImpl, + ConnectedEnvironmentsCertificatesImpl, + ConnectedEnvironmentsDaprComponentsImpl, + ConnectedEnvironmentsStoragesImpl, ContainerAppsImpl, + JobsImpl, + JobOperationsImpl, ContainerAppsRevisionsImpl, ContainerAppsRevisionReplicasImpl, - DaprComponentsImpl, ContainerAppsDiagnosticsImpl, ManagedEnvironmentDiagnosticsImpl, ManagedEnvironmentsDiagnosticsImpl, OperationsImpl, ManagedEnvironmentsImpl, CertificatesImpl, + ManagedCertificatesImpl, NamespacesImpl, + DaprComponentsImpl, ManagedEnvironmentsStoragesImpl, - ContainerAppsSourceControlsImpl, - ConnectedEnvironmentsImpl, - ConnectedEnvironmentsCertificatesImpl, - ConnectedEnvironmentsDaprComponentsImpl, - ConnectedEnvironmentsStoragesImpl, - AvailableWorkloadProfilesImpl, - BillingMetersImpl + ContainerAppsSourceControlsImpl } from "./operations"; import { ContainerAppsAuthConfigs, + AvailableWorkloadProfiles, + BillingMeters, + ConnectedEnvironments, + ConnectedEnvironmentsCertificates, + ConnectedEnvironmentsDaprComponents, + ConnectedEnvironmentsStorages, ContainerApps, + Jobs, + JobOperations, ContainerAppsRevisions, ContainerAppsRevisionReplicas, - DaprComponents, ContainerAppsDiagnostics, ManagedEnvironmentDiagnostics, ManagedEnvironmentsDiagnostics, Operations, ManagedEnvironments, Certificates, + ManagedCertificates, Namespaces, + DaprComponents, ManagedEnvironmentsStorages, - ContainerAppsSourceControls, - ConnectedEnvironments, - ConnectedEnvironmentsCertificates, - ConnectedEnvironmentsDaprComponents, - ConnectedEnvironmentsStorages, - AvailableWorkloadProfiles, - BillingMeters + ContainerAppsSourceControls } from "./operationsInterfaces"; import { ContainerAppsAPIClientOptionalParams } from "./models"; @@ -145,14 +151,27 @@ export class ContainerAppsAPIClient extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2022-06-01-preview"; + this.apiVersion = options.apiVersion || "2022-11-01-preview"; this.containerAppsAuthConfigs = new ContainerAppsAuthConfigsImpl(this); + this.availableWorkloadProfiles = new AvailableWorkloadProfilesImpl(this); + this.billingMeters = new BillingMetersImpl(this); + this.connectedEnvironments = new ConnectedEnvironmentsImpl(this); + this.connectedEnvironmentsCertificates = new ConnectedEnvironmentsCertificatesImpl( + this + ); + this.connectedEnvironmentsDaprComponents = new ConnectedEnvironmentsDaprComponentsImpl( + this + ); + this.connectedEnvironmentsStorages = new ConnectedEnvironmentsStoragesImpl( + this + ); this.containerApps = new ContainerAppsImpl(this); + this.jobs = new JobsImpl(this); + this.jobOperations = new JobOperationsImpl(this); this.containerAppsRevisions = new ContainerAppsRevisionsImpl(this); this.containerAppsRevisionReplicas = new ContainerAppsRevisionReplicasImpl( this ); - this.daprComponents = new DaprComponentsImpl(this); this.containerAppsDiagnostics = new ContainerAppsDiagnosticsImpl(this); this.managedEnvironmentDiagnostics = new ManagedEnvironmentDiagnosticsImpl( this @@ -163,25 +182,15 @@ export class ContainerAppsAPIClient extends coreClient.ServiceClient { this.operations = new OperationsImpl(this); this.managedEnvironments = new ManagedEnvironmentsImpl(this); this.certificates = new CertificatesImpl(this); + this.managedCertificates = new ManagedCertificatesImpl(this); this.namespaces = new NamespacesImpl(this); + this.daprComponents = new DaprComponentsImpl(this); this.managedEnvironmentsStorages = new ManagedEnvironmentsStoragesImpl( this ); this.containerAppsSourceControls = new ContainerAppsSourceControlsImpl( this ); - this.connectedEnvironments = new ConnectedEnvironmentsImpl(this); - this.connectedEnvironmentsCertificates = new ConnectedEnvironmentsCertificatesImpl( - this - ); - this.connectedEnvironmentsDaprComponents = new ConnectedEnvironmentsDaprComponentsImpl( - this - ); - this.connectedEnvironmentsStorages = new ConnectedEnvironmentsStoragesImpl( - this - ); - this.availableWorkloadProfiles = new AvailableWorkloadProfilesImpl(this); - this.billingMeters = new BillingMetersImpl(this); this.addCustomApiVersionPolicy(options.apiVersion); } @@ -214,23 +223,26 @@ export class ContainerAppsAPIClient extends coreClient.ServiceClient { } containerAppsAuthConfigs: ContainerAppsAuthConfigs; + availableWorkloadProfiles: AvailableWorkloadProfiles; + billingMeters: BillingMeters; + connectedEnvironments: ConnectedEnvironments; + connectedEnvironmentsCertificates: ConnectedEnvironmentsCertificates; + connectedEnvironmentsDaprComponents: ConnectedEnvironmentsDaprComponents; + connectedEnvironmentsStorages: ConnectedEnvironmentsStorages; containerApps: ContainerApps; + jobs: Jobs; + jobOperations: JobOperations; containerAppsRevisions: ContainerAppsRevisions; containerAppsRevisionReplicas: ContainerAppsRevisionReplicas; - daprComponents: DaprComponents; containerAppsDiagnostics: ContainerAppsDiagnostics; managedEnvironmentDiagnostics: ManagedEnvironmentDiagnostics; managedEnvironmentsDiagnostics: ManagedEnvironmentsDiagnostics; operations: Operations; managedEnvironments: ManagedEnvironments; certificates: Certificates; + managedCertificates: ManagedCertificates; namespaces: Namespaces; + daprComponents: DaprComponents; managedEnvironmentsStorages: ManagedEnvironmentsStorages; containerAppsSourceControls: ContainerAppsSourceControls; - connectedEnvironments: ConnectedEnvironments; - connectedEnvironmentsCertificates: ConnectedEnvironmentsCertificates; - connectedEnvironmentsDaprComponents: ConnectedEnvironmentsDaprComponents; - connectedEnvironmentsStorages: ConnectedEnvironmentsStorages; - availableWorkloadProfiles: AvailableWorkloadProfiles; - billingMeters: BillingMeters; } diff --git a/sdk/appcontainers/arm-appcontainers/src/models/index.ts b/sdk/appcontainers/arm-appcontainers/src/models/index.ts index 918d484dd049..a72f73c07a49 100644 --- a/sdk/appcontainers/arm-appcontainers/src/models/index.ts +++ b/sdk/appcontainers/arm-appcontainers/src/models/index.ts @@ -494,10 +494,100 @@ export interface DefaultErrorResponseErrorDetailsItem { readonly target?: string; } -/** Container App collection ARM resource. */ -export interface ContainerAppCollection { +/** Collection of available workload profiles in the location. */ +export interface AvailableWorkloadProfilesCollection { + /** Collection of workload profiles. */ + value: AvailableWorkloadProfile[]; + /** + * Link to next page of resources. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** Revision resource specific properties */ +export interface AvailableWorkloadProfileProperties { + /** Used to map workload profile types to billing meter. */ + billingMeterCategory?: Category; + /** indicates whether the profile is default for the location. */ + applicability?: Applicability; + /** Number of cores in CPU. */ + cores?: number; + /** Memory in GiB. */ + memoryGiB?: number; + /** The everyday name of the workload profile. */ + displayName?: string; +} + +/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */ +export interface ErrorResponse { + /** The error object. */ + error?: ErrorDetail; +} + +/** The error detail. */ +export interface ErrorDetail { + /** + * The error code. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly code?: string; + /** + * The error message. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly message?: string; + /** + * The error target. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly target?: string; + /** + * The error details. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly details?: ErrorDetail[]; + /** + * The error additional info. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly additionalInfo?: ErrorAdditionalInfo[]; +} + +/** The resource management error additional info. */ +export interface ErrorAdditionalInfo { + /** + * The additional info type. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly type?: string; + /** + * The additional info. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly info?: Record; +} + +/** Collection of premium workload billing meters. */ +export interface BillingMeterCollection { + /** Collection of billing meters. */ + value: BillingMeter[]; +} + +/** Revision resource specific properties */ +export interface BillingMeterProperties { + /** Used to map workload profile types to billing meter. */ + category?: Category; + /** Billing meter type. */ + meterType?: string; + /** The everyday name of the billing meter. */ + displayName?: string; +} + +/** Collection of connectedEnvironments */ +export interface ConnectedEnvironmentCollection { /** Collection of resources. */ - value: ContainerApp[]; + value?: ConnectedEnvironment[]; /** * Link to next page of resources. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -513,55 +603,133 @@ export interface ExtendedLocation { type?: ExtendedLocationTypes; } -/** Managed service identity (system assigned and/or user assigned identities) */ -export interface ManagedServiceIdentity { +/** Configuration properties for apps environment custom domain */ +export interface CustomDomainConfiguration { /** - * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + * Id used to verify domain name ownership * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly principalId?: string; + readonly customDomainVerificationId?: string; + /** Dns suffix for the environment domain */ + dnsSuffix?: string; + /** PFX or PEM blob */ + certificateValue?: Uint8Array; + /** Certificate password */ + certificatePassword?: string; /** - * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + * Certificate expiration date. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly tenantId?: string; - /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ - type: ManagedServiceIdentityType; - /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ - userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity }; + readonly expirationDate?: Date; + /** + * Certificate thumbprint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly thumbprint?: string; + /** + * Subject name of the certificate. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly subjectName?: string; } -/** User assigned identity properties */ -export interface UserAssignedIdentity { +/** The check availability request body. */ +export interface CheckNameAvailabilityRequest { + /** The name of the resource for which availability needs to be checked. */ + name?: string; + /** The resource type. */ + type?: string; +} + +/** The check availability result. */ +export interface CheckNameAvailabilityResponse { + /** Indicates if the resource name is available. */ + nameAvailable?: boolean; + /** The reason why the given name is not available. */ + reason?: CheckNameAvailabilityReason; + /** Detailed reason why the given name is available. */ + message?: string; +} + +/** Collection of Certificates. */ +export interface CertificateCollection { + /** Collection of resources. */ + value: Certificate[]; /** - * The principal ID of the assigned identity. + * Link to next page of resources. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly principalId?: string; + readonly nextLink?: string; +} + +/** Certificate resource specific properties */ +export interface CertificateProperties { /** - * The client ID of the assigned identity. + * Provisioning state of the certificate. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly clientId?: string; + readonly provisioningState?: CertificateProvisioningState; + /** Certificate password. */ + password?: string; + /** + * Subject name of the certificate. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly subjectName?: string; + /** + * Subject alternative names the certificate applies to. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly subjectAlternativeNames?: string[]; + /** PFX or PEM blob */ + value?: Uint8Array; + /** + * Certificate issuer. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly issuer?: string; + /** + * Certificate issue Date. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly issueDate?: Date; + /** + * Certificate expiration date. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly expirationDate?: Date; + /** + * Certificate thumbprint. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly thumbprint?: string; + /** + * Is the certificate valid?. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly valid?: boolean; + /** + * Public key hash. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly publicKeyHash?: string; } -/** Non versioned Container App configuration properties that define the mutable settings of a Container app */ -export interface Configuration { - /** Collection of secrets used by a Container app */ - secrets?: Secret[]; +/** A certificate to update */ +export interface CertificatePatch { + /** Application-specific metadata in the form of key-value pairs. */ + tags?: { [propertyName: string]: string }; +} + +/** Dapr Components ARM resource. */ +export interface DaprComponentsCollection { + /** Collection of resources. */ + value: DaprComponent[]; /** - * ActiveRevisionsMode controls how active revisions are handled for the Container app: - * Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default. + * Link to next page of resources. + * NOTE: This property will not be serialized. It can only be populated by the server. */ - activeRevisionsMode?: ActiveRevisionsMode; - /** Ingress configurations. */ - ingress?: Ingress; - /** Collection of private container registry credentials for containers used by the Container app */ - registries?: RegistryCredentials[]; - /** Dapr configuration for the Container App. */ - dapr?: Dapr; - /** Optional. Max inactive revisions a Container App can have. */ - maxInactiveRevisions?: number; + readonly nextLink?: string; } /** Secret definition. */ @@ -570,12 +738,132 @@ export interface Secret { name?: string; /** Secret Value. */ value?: string; + /** Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity. */ + identity?: string; + /** Azure Key Vault URL pointing to the secret referenced by the container app. */ + keyVaultUrl?: string; } -/** Container App Ingress configuration. */ -export interface Ingress { +/** Dapr component metadata. */ +export interface DaprMetadata { + /** Metadata property name. */ + name?: string; + /** Metadata property value. */ + value?: string; + /** Name of the Dapr Component secret from which to pull the metadata property value. */ + secretRef?: string; +} + +/** Dapr component Secrets Collection for ListSecrets Action. */ +export interface DaprSecretsCollection { + /** Collection of secrets used by a Dapr component */ + value: DaprSecret[]; +} + +/** Dapr component Secret for ListSecrets Action */ +export interface DaprSecret { /** - * Hostname. + * Secret Name. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly name?: string; + /** + * Secret Value. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: string; +} + +/** Collection of Storage for Environments */ +export interface ConnectedEnvironmentStoragesCollection { + /** Collection of storage resources. */ + value: ConnectedEnvironmentStorage[]; +} + +/** Storage properties */ +export interface ConnectedEnvironmentStorageProperties { + /** Azure file properties */ + azureFile?: AzureFileProperties; +} + +/** Azure File Properties. */ +export interface AzureFileProperties { + /** Storage account name for azure file. */ + accountName?: string; + /** Storage account key for azure file. */ + accountKey?: string; + /** Access mode for storage */ + accessMode?: AccessMode; + /** Azure file share name. */ + shareName?: string; +} + +/** Container App collection ARM resource. */ +export interface ContainerAppCollection { + /** Collection of resources. */ + value: ContainerApp[]; + /** + * Link to next page of resources. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** Managed service identity (system assigned and/or user assigned identities) */ +export interface ManagedServiceIdentity { + /** + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly principalId?: string; + /** + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly tenantId?: string; + /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ + type: ManagedServiceIdentityType; + /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ + userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity }; +} + +/** User assigned identity properties */ +export interface UserAssignedIdentity { + /** + * The principal ID of the assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly principalId?: string; + /** + * The client ID of the assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly clientId?: string; +} + +/** Non versioned Container App configuration properties that define the mutable settings of a Container app */ +export interface Configuration { + /** Collection of secrets used by a Container app */ + secrets?: Secret[]; + /** + * ActiveRevisionsMode controls how active revisions are handled for the Container app: + * Multiple: multiple revisions can be active.Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default. + */ + activeRevisionsMode?: ActiveRevisionsMode; + /** Ingress configurations. */ + ingress?: Ingress; + /** Collection of private container registry credentials for containers used by the Container app */ + registries?: RegistryCredentials[]; + /** Dapr configuration for the Container App. */ + dapr?: Dapr; + /** Optional. Max inactive revisions a Container App can have. */ + maxInactiveRevisions?: number; +} + +/** Container App Ingress configuration. */ +export interface Ingress { + /** + * Hostname. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly fqdn?: string; @@ -595,6 +883,12 @@ export interface Ingress { allowInsecure?: boolean; /** Rules to restrict incoming IP address. */ ipSecurityRestrictions?: IpSecurityRestrictionRule[]; + /** Sticky Sessions for Single Revision Mode */ + stickySessions?: IngressStickySessions; + /** Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate. */ + clientCertificateMode?: IngressClientCertificateMode; + /** CORS policy for container app */ + corsPolicy?: CorsPolicy; } /** Traffic weight assigned to a revision */ @@ -616,7 +910,7 @@ export interface CustomDomain { /** Custom Domain binding type. */ bindingType?: BindingType; /** Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment. */ - certificateId: string; + certificateId?: string; } /** Rule to restrict incoming IP address. */ @@ -631,6 +925,28 @@ export interface IpSecurityRestrictionRule { action: Action; } +/** Sticky Sessions for Single Revision Mode */ +export interface IngressStickySessions { + /** Sticky Session Affinity */ + affinity?: Affinity; +} + +/** Cross-Origin-Resource-Sharing policy */ +export interface CorsPolicy { + /** allowed origins */ + allowedOrigins: string[]; + /** allowed HTTP methods */ + allowedMethods?: string[]; + /** allowed HTTP headers */ + allowedHeaders?: string[]; + /** expose HTTP headers */ + exposeHeaders?: string[]; + /** max time client can cache the result */ + maxAge?: number; + /** allow credential or not */ + allowCredentials?: boolean; +} + /** Container App Private Registry */ export interface RegistryCredentials { /** Container Registry Server */ @@ -970,6 +1286,169 @@ export interface ContainerAppSecret { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: string; + /** + * Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly identity?: string; + /** + * Azure Key Vault URL pointing to the secret referenced by the container app. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly keyVaultUrl?: string; +} + +/** Container Apps Jobs collection ARM resource. */ +export interface JobsCollection { + /** Collection of resources. */ + value: Job[]; + /** + * Link to next page of resources. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** Non versioned Container Apps Job configuration properties */ +export interface JobConfiguration { + /** Collection of secrets used by a Container app */ + secrets?: Secret[]; + /** Trigger type of the job */ + triggerType: TriggerType; + /** Maximum number of seconds a replica is allowed to run. */ + replicaTimeout: number; + /** Maximum number of retries before failing the job. */ + replicaRetryLimit?: number; + /** Manual trigger configuration for a single execution job. Properties replicaCompletionCount and parallelism would be set to 1 by default */ + manualTriggerConfig?: JobConfigurationManualTriggerConfig; + /** Cron formatted repeating trigger schedule ("* * * * *") for cronjobs. Properties completions and parallelism would be set to 1 by default */ + scheduleTriggerConfig?: JobConfigurationScheduleTriggerConfig; + /** Collection of private container registry credentials used by a Container apps job */ + registries?: RegistryCredentials[]; +} + +/** Manual trigger configuration for a single execution job. Properties replicaCompletionCount and parallelism would be set to 1 by default */ +export interface JobConfigurationManualTriggerConfig { + /** Minimum number of successful replica completions before overall job completion. */ + replicaCompletionCount?: number; + /** Number of parallel replicas of a job that can run at a given time. */ + parallelism?: number; +} + +/** Cron formatted repeating trigger schedule ("* * * * *") for cronjobs. Properties completions and parallelism would be set to 1 by default */ +export interface JobConfigurationScheduleTriggerConfig { + /** Minimum number of successful replica completions before overall job completion. */ + replicaCompletionCount?: number; + /** Cron formatted repeating schedule ("* * * * *") of a Cron Job. */ + cronExpression: string; + /** Number of parallel replicas of a job that can run at a given time. */ + parallelism?: number; +} + +/** Container Apps Job versioned application definition. Defines the desired state of an immutable revision. Any changes to this section Will result in a new revision being created */ +export interface JobTemplate { + /** List of specialized containers that run before app containers. */ + initContainers?: InitContainer[]; + /** List of container definitions for the Container App. */ + containers?: Container[]; + /** List of volume definitions for the Container App. */ + volumes?: Volume[]; +} + +/** ContainerApp resource specific properties. */ +export interface JobPatchProperties { + /** Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code. */ + identity?: ManagedServiceIdentity; + properties?: JobPatchPropertiesProperties; +} + +export interface JobPatchPropertiesProperties { + /** Resource ID of environment. */ + environmentId?: string; + /** Container Apps Job configuration properties. */ + configuration?: JobConfiguration; + /** Container Apps job definition. */ + template?: JobTemplate; + /** Outbound IP Addresses of a container apps job. */ + outboundIpAddresses?: string[]; + /** The endpoint of the eventstream of the container apps job. */ + eventStreamEndpoint?: string; +} + +/** Job's execution template, containing container configuration for a job's execution */ +export interface JobExecutionTemplate { + /** List of container definitions for the Container Apps Job. */ + containers?: JobExecutionContainer[]; + /** List of specialized containers that run before job containers. */ + initContainers?: JobExecutionContainer[]; +} + +/** Container Apps Jobs execution container definition. */ +export interface JobExecutionContainer { + /** Container image tag. */ + image?: string; + /** Custom container name. */ + name?: string; + /** Container start command. */ + command?: string[]; + /** Container start command arguments. */ + args?: string[]; + /** Container environment variables. */ + env?: EnvironmentVar[]; + /** Container resource requirements. */ + resources?: ContainerResources; +} + +/** Container App's Job execution name. */ +export interface JobExecutionBase { + /** Job execution name. */ + name?: string; + /** Job execution Id. */ + id?: string; +} + +/** Container App executions names list. */ +export interface JobExecutionNamesCollection { + /** Collection of resources. */ + value: JobExecutionBase[]; +} + +/** Container App executions collection ARM resource. */ +export interface ContainerAppJobExecutions { + /** Collection of resources. */ + value: JobExecution[]; + /** + * Link to next page of resources. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** Container Apps Jobs execution. */ +export interface JobExecution { + /** Job execution Name. */ + name?: string; + /** Job execution Id. */ + id?: string; + /** Job Type. */ + type?: string; + /** + * Current running State of the job + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly status?: JobExecutionRunningState; + /** Job execution start time. */ + startTime?: Date; + /** Job execution start time. */ + endTime?: Date; + /** Job's execution container. */ + template?: JobExecutionTemplate; +} + +/** Container Apps Job Secrets Collection ARM resource. */ +export interface JobSecretsCollection { + /** Collection of resources. */ + value: Secret[]; } /** Container App Revisions collection ARM resource. */ @@ -1013,33 +1492,6 @@ export interface ReplicaCollection { value: Replica[]; } -/** Dapr Components ARM resource. */ -export interface DaprComponentsCollection { - /** Collection of resources. */ - value: DaprComponent[]; - /** - * Link to next page of resources. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; -} - -/** Dapr component metadata. */ -export interface DaprMetadata { - /** Metadata property name. */ - name?: string; - /** Metadata property value. */ - value?: string; - /** Name of the Dapr Component secret from which to pull the metadata property value. */ - secretRef?: string; -} - -/** Dapr component Secrets Collection for ListSecrets Action. */ -export interface DaprSecretsCollection { - /** Collection of secrets used by a Dapr component */ - value: Secret[]; -} - /** Diagnostics data collection for a resource. */ export interface DiagnosticsCollection { /** Collection of diagnostic data. */ @@ -1184,36 +1636,18 @@ export interface DiagnosticDataProviderMetadataPropertyBagItem { value?: string; } -/** Managed Environment resource SKU properties. */ -export interface EnvironmentSkuProperties { - /** Name of the Sku. */ - name: SkuName; -} - /** Configuration properties for apps environment to join a Virtual Network */ export interface VnetConfiguration { - /** Boolean indicating the environment only has an internal load balancer. These environments do not have a public static IP resource. They must provide runtimeSubnetId and infrastructureSubnetId if enabling this property */ + /** Boolean indicating the environment only has an internal load balancer. These environments do not have a public static IP resource. They must provide infrastructureSubnetId if enabling this property */ internal?: boolean; - /** Resource ID of a subnet for infrastructure components. This subnet must be in the same VNET as the subnet defined in runtimeSubnetId. Must not overlap with any other provided IP ranges. */ + /** Resource ID of a subnet for infrastructure components. Must not overlap with any other provided IP ranges. */ infrastructureSubnetId?: string; - /** Resource ID of a subnet that Container App containers are injected into. This subnet must be in the same VNET as the subnet defined in infrastructureSubnetId. Must not overlap with any other provided IP ranges. */ - runtimeSubnetId?: string; /** CIDR notation IP range assigned to the Docker bridge, network. Must not overlap with any other provided IP ranges. */ dockerBridgeCidr?: string; /** IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. Must not overlap with any other provided IP ranges. */ platformReservedCidr?: string; /** An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server. */ platformReservedDnsIP?: string; - /** Configuration used to control the Environment Egress outbound traffic */ - outboundSettings?: ManagedEnvironmentOutboundSettings; -} - -/** Configuration used to control the Environment Egress outbound traffic */ -export interface ManagedEnvironmentOutboundSettings { - /** Outbound type for the cluster */ - outBoundType?: ManagedEnvironmentOutBoundType; - /** Virtual Appliance IP used as the Egress controller for the Environment */ - virtualNetworkApplianceIp?: string; } /** Configuration of application logs */ @@ -1232,36 +1666,6 @@ export interface LogAnalyticsConfiguration { sharedKey?: string; } -/** Configuration properties for apps environment custom domain */ -export interface CustomDomainConfiguration { - /** - * Id used to verify domain name ownership - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly customDomainVerificationId?: string; - /** Dns suffix for the environment domain */ - dnsSuffix?: string; - /** PFX or PEM blob */ - certificateValue?: Uint8Array; - /** Certificate password */ - certificatePassword?: Uint8Array; - /** - * Certificate expiration date. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly expirationDate?: Date; - /** - * Certificate thumbprint. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly thumbprint?: string; - /** - * Subject name of the certificate. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly subjectName?: string; -} - /** Workload profile to scope container app execution. */ export interface WorkloadProfile { /** Workload profile type for the workloads to run on. */ @@ -1272,6 +1676,24 @@ export interface WorkloadProfile { maximumCount: number; } +/** Configuration properties Keda component */ +export interface KedaConfiguration { + /** + * The version of Keda + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly version?: string; +} + +/** Configuration properties Dapr component */ +export interface DaprConfiguration { + /** + * The version of Dapr + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly version?: string; +} + /** Available operations of the service */ export interface AvailableOperations { /** Collection of available operation details */ @@ -1308,327 +1730,140 @@ export interface OperationDisplay { } /** Collection of Environments */ -export interface ManagedEnvironmentsCollection { - /** Collection of resources. */ - value: ManagedEnvironment[]; - /** - * Link to next page of resources. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; -} - -/** Collection of Certificates. */ -export interface CertificateCollection { - /** Collection of resources. */ - value: Certificate[]; - /** - * Link to next page of resources. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; -} - -/** Certificate resource specific properties */ -export interface CertificateProperties { - /** - * Provisioning state of the certificate. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: CertificateProvisioningState; - /** Certificate password. */ - password?: string; - /** - * Subject name of the certificate. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly subjectName?: string; - /** - * Subject alternative names the certificate applies to. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly subjectAlternativeNames?: string[]; - /** PFX or PEM blob */ - value?: Uint8Array; - /** - * Certificate issuer. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly issuer?: string; - /** - * Certificate issue Date. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly issueDate?: Date; - /** - * Certificate expiration date. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly expirationDate?: Date; - /** - * Certificate thumbprint. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly thumbprint?: string; - /** - * Is the certificate valid?. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly valid?: boolean; - /** - * Public key hash. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly publicKeyHash?: string; -} - -/** A certificate to update */ -export interface CertificatePatch { - /** Application-specific metadata in the form of key-value pairs. */ - tags?: { [propertyName: string]: string }; -} - -/** The check availability request body. */ -export interface CheckNameAvailabilityRequest { - /** The name of the resource for which availability needs to be checked. */ - name?: string; - /** The resource type. */ - type?: string; -} - -/** The check availability result. */ -export interface CheckNameAvailabilityResponse { - /** Indicates if the resource name is available. */ - nameAvailable?: boolean; - /** The reason why the given name is not available. */ - reason?: CheckNameAvailabilityReason; - /** Detailed reason why the given name is available. */ - message?: string; -} - -/** Collection of workloadProfileStates */ -export interface WorkloadProfileStatesCollection { - /** Collection of resources. */ - value: WorkloadProfileStates[]; - /** - * Link to next page of resources. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; -} - -/** Workload Profile resource specific properties. */ -export interface WorkloadProfileStatesProperties { - /** Minimum count of instances. */ - minimumCount?: number; - /** Maximum count of nodes. */ - maximumCount?: number; - /** Current count of nodes. */ - currentCount?: number; -} - -/** Collection of Storage for Environments */ -export interface ManagedEnvironmentStoragesCollection { - /** Collection of storage resources. */ - value: ManagedEnvironmentStorage[]; -} - -/** Storage properties */ -export interface ManagedEnvironmentStorageProperties { - /** Azure file properties */ - azureFile?: AzureFileProperties; -} - -/** Azure File Properties. */ -export interface AzureFileProperties { - /** Storage account name for azure file. */ - accountName?: string; - /** Storage account key for azure file. */ - accountKey?: string; - /** Access mode for storage */ - accessMode?: AccessMode; - /** Azure file share name. */ - shareName?: string; -} - -/** SourceControl collection ARM resource. */ -export interface SourceControlCollection { - /** Collection of resources. */ - value: SourceControl[]; - /** - * Link to next page of resources. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; -} - -/** Configuration properties that define the mutable settings of a Container App SourceControl */ -export interface GithubActionConfiguration { - /** Registry configurations. */ - registryInfo?: RegistryInfo; - /** AzureCredentials configurations. */ - azureCredentials?: AzureCredentials; - /** Context path */ - contextPath?: string; - /** Image name */ - image?: string; - /** Code or Image */ - publishType?: string; - /** Operation system */ - os?: string; - /** Runtime stack */ - runtimeStack?: string; - /** Runtime version */ - runtimeVersion?: string; -} - -/** Container App registry information. */ -export interface RegistryInfo { - /** registry server Url. */ - registryUrl?: string; - /** registry username. */ - registryUserName?: string; - /** registry secret. */ - registryPassword?: string; -} - -/** Container App credentials. */ -export interface AzureCredentials { - /** Client Id. */ - clientId?: string; - /** Client Secret. */ - clientSecret?: string; - /** Tenant Id. */ - tenantId?: string; - /** Subscription Id. */ - subscriptionId?: string; -} - -/** Collection of connectedEnvironments */ -export interface ConnectedEnvironmentCollection { - /** Collection of resources. */ - value?: ConnectedEnvironment[]; - /** - * Link to next page of resources. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; -} - -/** Collection of Storage for Environments */ -export interface ConnectedEnvironmentStoragesCollection { - /** Collection of storage resources. */ - value: ConnectedEnvironmentStorage[]; -} - -/** Storage properties */ -export interface ConnectedEnvironmentStorageProperties { - /** Azure file properties */ - azureFile?: AzureFileProperties; -} - -/** Collection of available workload profiles in the location. */ -export interface AvailableWorkloadProfilesCollection { - /** Collection of workload profiles. */ - value: AvailableWorkloadProfile[]; - /** - * Link to next page of resources. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; -} - -/** Revision resource specific properties */ -export interface AvailableWorkloadProfileProperties { - /** Used to map workload profile types to billing meter. */ - billingMeterCategory?: Category; - /** indicates whether the profile is default for the location. */ - applicability?: Applicability; - /** Number of cores in CPU. */ - cores?: number; - /** Memory in GiB. */ - memoryGiB?: number; - /** The everyday name of the workload profile. */ - displayName?: string; -} - -/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */ -export interface ErrorResponse { - /** The error object. */ - error?: ErrorDetail; -} - -/** The error detail. */ -export interface ErrorDetail { - /** - * The error code. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly code?: string; +export interface ManagedEnvironmentsCollection { + /** Collection of resources. */ + value: ManagedEnvironment[]; /** - * The error message. + * Link to next page of resources. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly message?: string; + readonly nextLink?: string; +} + +/** Certificate resource specific properties */ +export interface ManagedCertificateProperties { /** - * The error target. + * Provisioning state of the certificate. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly target?: string; + readonly provisioningState?: CertificateProvisioningState; + /** Subject name of the certificate. */ + subjectName?: string; /** - * The error details. + * Any error occurred during the certificate provision. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly details?: ErrorDetail[]; + readonly error?: string; + /** Selected type of domain control validation for managed certificates. */ + domainControlValidation?: ManagedCertificateDomainControlValidation; /** - * The error additional info. + * A TXT token used for DNS TXT domain control validation when issuing this type of managed certificates. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly additionalInfo?: ErrorAdditionalInfo[]; + readonly validationToken?: string; } -/** The resource management error additional info. */ -export interface ErrorAdditionalInfo { +/** A managed certificate to update */ +export interface ManagedCertificatePatch { + /** Application-specific metadata in the form of key-value pairs. */ + tags?: { [propertyName: string]: string }; +} + +/** Collection of Managed Certificates. */ +export interface ManagedCertificateCollection { + /** Collection of resources. */ + value: ManagedCertificate[]; /** - * The additional info type. + * Link to next page of resources. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly type?: string; + readonly nextLink?: string; +} + +/** Collection of workloadProfileStates */ +export interface WorkloadProfileStatesCollection { + /** Collection of resources. */ + value: WorkloadProfileStates[]; /** - * The additional info. + * Link to next page of resources. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly info?: Record; + readonly nextLink?: string; } -/** Collection of premium workload billing meters. */ -export interface BillingMeterCollection { - /** Collection of billing meters. */ - value: BillingMeter[]; +/** Workload Profile resource specific properties. */ +export interface WorkloadProfileStatesProperties { + /** Minimum count of instances. */ + minimumCount?: number; + /** Maximum count of nodes. */ + maximumCount?: number; + /** Current count of nodes. */ + currentCount?: number; } -/** Revision resource specific properties */ -export interface BillingMeterProperties { - /** Used to map workload profile types to billing meter. */ - category?: Category; - /** Billing meter type. */ - meterType?: string; - /** The everyday name of the billing meter. */ - displayName?: string; +/** Collection of Storage for Environments */ +export interface ManagedEnvironmentStoragesCollection { + /** Collection of storage resources. */ + value: ManagedEnvironmentStorage[]; } -/** Dapr component Secret for ListSecrets Action */ -export interface DaprSecret { - /** - * Secret Name. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly name?: string; +/** Storage properties */ +export interface ManagedEnvironmentStorageProperties { + /** Azure file properties */ + azureFile?: AzureFileProperties; +} + +/** SourceControl collection ARM resource. */ +export interface SourceControlCollection { + /** Collection of resources. */ + value: SourceControl[]; /** - * Secret Value. + * Link to next page of resources. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly value?: string; + readonly nextLink?: string; +} + +/** Configuration properties that define the mutable settings of a Container App SourceControl */ +export interface GithubActionConfiguration { + /** Registry configurations. */ + registryInfo?: RegistryInfo; + /** AzureCredentials configurations. */ + azureCredentials?: AzureCredentials; + /** Context path */ + contextPath?: string; + /** Image name */ + image?: string; + /** Code or Image */ + publishType?: string; + /** Operation system */ + os?: string; + /** Runtime stack */ + runtimeStack?: string; + /** Runtime version */ + runtimeVersion?: string; +} + +/** Container App registry information. */ +export interface RegistryInfo { + /** registry server Url. */ + registryUrl?: string; + /** registry username. */ + registryUserName?: string; + /** registry secret. */ + registryPassword?: string; +} + +/** Container App credentials. */ +export interface AzureCredentials { + /** Client Id. */ + clientId?: string; + /** Client Secret. */ + clientSecret?: string; + /** Tenant Id. */ + tenantId?: string; + /** Subscription Id. */ + subscriptionId?: string; } /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ @@ -1665,6 +1900,48 @@ export interface AuthConfig extends ProxyResource { httpSettings?: HttpSettings; } +/** A premium workload profile. */ +export interface AvailableWorkloadProfile extends ProxyResource { + /** Region of the workload profile. */ + location?: string; + /** Revision resource specific properties */ + properties?: AvailableWorkloadProfileProperties; +} + +/** A premium billing meter. */ +export interface BillingMeter extends ProxyResource { + /** Region for the billing meter. */ + location?: string; + /** Revision resource specific properties */ + properties?: BillingMeterProperties; +} + +/** Dapr Component. */ +export interface DaprComponent extends ProxyResource { + /** Component type */ + componentType?: string; + /** Component version */ + version?: string; + /** Boolean describing if the component errors are ignores */ + ignoreErrors?: boolean; + /** Initialization timeout */ + initTimeout?: string; + /** Collection of secrets used by a Dapr component */ + secrets?: Secret[]; + /** Name of a Dapr component to retrieve component secrets from */ + secretStoreComponent?: string; + /** Component metadata */ + metadata?: DaprMetadata[]; + /** Names of container apps that can use this Dapr component */ + scopes?: string[]; +} + +/** Storage resource for connectedEnvironment. */ +export interface ConnectedEnvironmentStorage extends ProxyResource { + /** Storage properties */ + properties?: ConnectedEnvironmentStorageProperties; +} + /** Container App Revision. */ export interface Revision extends ProxyResource { /** @@ -1733,26 +2010,6 @@ export interface Replica extends ProxyResource { containers?: ReplicaContainer[]; } -/** Dapr Component. */ -export interface DaprComponent extends ProxyResource { - /** Component type */ - componentType?: string; - /** Component version */ - version?: string; - /** Boolean describing if the component errors are ignores */ - ignoreErrors?: boolean; - /** Initialization timeout */ - initTimeout?: string; - /** Collection of secrets used by a Dapr component */ - secrets?: Secret[]; - /** Name of a Dapr component to retrieve component secrets from */ - secretStoreComponent?: string; - /** Component metadata */ - metadata?: DaprMetadata[]; - /** Names of container apps that can use this Dapr component */ - scopes?: string[]; -} - /** Diagnostics data for a resource. */ export interface Diagnostics extends ProxyResource { /** Diagnostics resource specific properties */ @@ -1790,26 +2047,37 @@ export interface SourceControl extends ProxyResource { githubActionConfiguration?: GithubActionConfiguration; } -/** Storage resource for connectedEnvironment. */ -export interface ConnectedEnvironmentStorage extends ProxyResource { - /** Storage properties */ - properties?: ConnectedEnvironmentStorageProperties; -} - -/** A premium workload profile. */ -export interface AvailableWorkloadProfile extends ProxyResource { - /** Region of the workload profile. */ - location?: string; - /** Revision resource specific properties */ - properties?: AvailableWorkloadProfileProperties; +/** An environment for Kubernetes cluster specialized for web workloads by Azure App Service */ +export interface ConnectedEnvironment extends TrackedResource { + /** The complex type of the extended location. */ + extendedLocation?: ExtendedLocation; + /** + * Provisioning state of the Kubernetes Environment. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: ConnectedEnvironmentProvisioningState; + /** + * Any errors that occurred during deployment or deployment validation + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly deploymentErrors?: string; + /** + * Default Domain Name for the cluster + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly defaultDomain?: string; + /** Static IP of the connectedEnvironment */ + staticIp?: string; + /** Application Insights connection string used by Dapr to export Service to Service communication telemetry */ + daprAIConnectionString?: string; + /** Custom domain configuration for the environment */ + customDomainConfiguration?: CustomDomainConfiguration; } -/** A premium billing meter. */ -export interface BillingMeter extends ProxyResource { - /** Region for the billing meter. */ - location?: string; - /** Revision resource specific properties */ - properties?: BillingMeterProperties; +/** Certificate used for Custom Domain bindings of Container Apps in a Managed Environment */ +export interface Certificate extends TrackedResource { + /** Certificate resource specific properties */ + properties?: CertificateProperties; } /** Container App. */ @@ -1818,6 +2086,8 @@ export interface ContainerApp extends TrackedResource { extendedLocation?: ExtendedLocation; /** managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code. */ identity?: ManagedServiceIdentity; + /** The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource. */ + managedBy?: string; /** * Provisioning state of the Container App. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1834,6 +2104,11 @@ export interface ContainerApp extends TrackedResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly latestRevisionName?: string; + /** + * Name of the latest ready revision of the Container App. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly latestReadyRevisionName?: string; /** * Fully Qualified Domain Name of the latest revision of the Container App. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1868,16 +2143,45 @@ export interface ContainerAppAuthToken extends TrackedResource { */ readonly token?: string; /** - * Token expiration date. + * Token expiration date. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly expires?: Date; +} + +/** Container App Job */ +export interface Job extends TrackedResource { + /** The complex type of the extended location. */ + extendedLocation?: ExtendedLocation; + /** Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code. */ + identity?: ManagedServiceIdentity; + /** + * Provisioning state of the Container Apps Job. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly provisioningState?: JobProvisioningState; + /** Resource ID of environment. */ + environmentId?: string; + /** Container Apps Job configuration properties. */ + configuration?: JobConfiguration; + /** Container Apps job definition. */ + template?: JobTemplate; + /** + * Outbound IP Addresses of a container apps job. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly outboundIpAddresses?: string[]; + /** + * The endpoint of the eventstream of the container apps job. * NOTE: This property will not be serialized. It can only be populated by the server. */ - readonly expires?: Date; + readonly eventStreamEndpoint?: string; } /** An environment for hosting container apps */ export interface ManagedEnvironment extends TrackedResource { - /** SKU properties of the Environment. */ - sku?: EnvironmentSkuProperties; + /** Kind of the Environment. */ + kind?: string; /** * Provisioning state of the Environment. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1921,12 +2225,16 @@ export interface ManagedEnvironment extends TrackedResource { readonly eventStreamEndpoint?: string; /** Workload profiles configured for the Managed Environment. */ workloadProfiles?: WorkloadProfile[]; + /** The configuration of Keda component. */ + kedaConfiguration?: KedaConfiguration; + /** The configuration of Dapr component. */ + daprConfiguration?: DaprConfiguration; } -/** Certificate used for Custom Domain bindings of Container Apps in a Managed Environment */ -export interface Certificate extends TrackedResource { +/** Managed certificates used for Custom Domain bindings of Container Apps in a Managed Environment */ +export interface ManagedCertificate extends TrackedResource { /** Certificate resource specific properties */ - properties?: CertificateProperties; + properties?: ManagedCertificateProperties; } /** Environment Auth Token. */ @@ -1943,31 +2251,39 @@ export interface EnvironmentAuthToken extends TrackedResource { readonly expires?: Date; } -/** An environment for Kubernetes cluster specialized for web workloads by Azure App Service */ -export interface ConnectedEnvironment extends TrackedResource { - /** The complex type of the extended location. */ - extendedLocation?: ExtendedLocation; - /** - * Provisioning state of the Kubernetes Environment. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly provisioningState?: ConnectedEnvironmentProvisioningState; - /** - * Any errors that occurred during deployment or deployment validation - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly deploymentErrors?: string; - /** - * Default Domain Name for the cluster - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly defaultDomain?: string; - /** Static IP of the connectedEnvironment */ - staticIp?: string; - /** Application Insights connection string used by Dapr to export Service to Service communication telemetry */ - daprAIConnectionString?: string; - /** Custom domain configuration for the environment */ - customDomainConfiguration?: CustomDomainConfiguration; +/** Defines headers for Job_delete operation. */ +export interface JobDeleteHeaders { + location?: string; +} + +/** Defines headers for Job_update operation. */ +export interface JobUpdateHeaders { + location?: string; +} + +/** Defines headers for Job_run operation. */ +export interface JobRunHeaders { + location?: string; +} + +/** Defines headers for Job_terminate operation. */ +export interface JobTerminateHeaders { + location?: string; +} + +/** Defines headers for Job_terminateMultipleExecutions operation. */ +export interface JobTerminateMultipleExecutionsHeaders { + location?: string; +} + +/** Defines headers for Job_executions operation. */ +export interface JobExecutionsHeaders { + location?: string; +} + +/** Defines headers for Job_executionsNext operation. */ +export interface JobExecutionsNextHeaders { + location?: string; } /** Known values of {@link CreatedByType} that the service accepts. */ @@ -1994,6 +2310,45 @@ export enum KnownCreatedByType { */ export type CreatedByType = string; +/** Known values of {@link Category} that the service accepts. */ +export enum KnownCategory { + /** PremiumSkuGeneralPurpose */ + PremiumSkuGeneralPurpose = "PremiumSkuGeneralPurpose", + /** PremiumSkuMemoryOptimized */ + PremiumSkuMemoryOptimized = "PremiumSkuMemoryOptimized", + /** PremiumSkuComputeOptimized */ + PremiumSkuComputeOptimized = "PremiumSkuComputeOptimized" +} + +/** + * Defines values for Category. \ + * {@link KnownCategory} can be used interchangeably with Category, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **PremiumSkuGeneralPurpose** \ + * **PremiumSkuMemoryOptimized** \ + * **PremiumSkuComputeOptimized** + */ +export type Category = string; + +/** Known values of {@link Applicability} that the service accepts. */ +export enum KnownApplicability { + /** LocationDefault */ + LocationDefault = "LocationDefault", + /** Custom */ + Custom = "Custom" +} + +/** + * Defines values for Applicability. \ + * {@link KnownApplicability} can be used interchangeably with Applicability, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **LocationDefault** \ + * **Custom** + */ +export type Applicability = string; + /** Known values of {@link ExtendedLocationTypes} that the service accepts. */ export enum KnownExtendedLocationTypes { /** CustomLocation */ @@ -2009,6 +2364,105 @@ export enum KnownExtendedLocationTypes { */ export type ExtendedLocationTypes = string; +/** Known values of {@link ConnectedEnvironmentProvisioningState} that the service accepts. */ +export enum KnownConnectedEnvironmentProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", + /** Waiting */ + Waiting = "Waiting", + /** InitializationInProgress */ + InitializationInProgress = "InitializationInProgress", + /** InfrastructureSetupInProgress */ + InfrastructureSetupInProgress = "InfrastructureSetupInProgress", + /** InfrastructureSetupComplete */ + InfrastructureSetupComplete = "InfrastructureSetupComplete", + /** ScheduledForDelete */ + ScheduledForDelete = "ScheduledForDelete" +} + +/** + * Defines values for ConnectedEnvironmentProvisioningState. \ + * {@link KnownConnectedEnvironmentProvisioningState} can be used interchangeably with ConnectedEnvironmentProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded** \ + * **Failed** \ + * **Canceled** \ + * **Waiting** \ + * **InitializationInProgress** \ + * **InfrastructureSetupInProgress** \ + * **InfrastructureSetupComplete** \ + * **ScheduledForDelete** + */ +export type ConnectedEnvironmentProvisioningState = string; + +/** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */ +export enum KnownCheckNameAvailabilityReason { + /** Invalid */ + Invalid = "Invalid", + /** AlreadyExists */ + AlreadyExists = "AlreadyExists" +} + +/** + * Defines values for CheckNameAvailabilityReason. \ + * {@link KnownCheckNameAvailabilityReason} can be used interchangeably with CheckNameAvailabilityReason, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Invalid** \ + * **AlreadyExists** + */ +export type CheckNameAvailabilityReason = string; + +/** Known values of {@link CertificateProvisioningState} that the service accepts. */ +export enum KnownCertificateProvisioningState { + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", + /** DeleteFailed */ + DeleteFailed = "DeleteFailed", + /** Pending */ + Pending = "Pending" +} + +/** + * Defines values for CertificateProvisioningState. \ + * {@link KnownCertificateProvisioningState} can be used interchangeably with CertificateProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Succeeded** \ + * **Failed** \ + * **Canceled** \ + * **DeleteFailed** \ + * **Pending** + */ +export type CertificateProvisioningState = string; + +/** Known values of {@link AccessMode} that the service accepts. */ +export enum KnownAccessMode { + /** ReadOnly */ + ReadOnly = "ReadOnly", + /** ReadWrite */ + ReadWrite = "ReadWrite" +} + +/** + * Defines values for AccessMode. \ + * {@link KnownAccessMode} can be used interchangeably with AccessMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ReadOnly** \ + * **ReadWrite** + */ +export type AccessMode = string; + /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */ export enum KnownManagedServiceIdentityType { /** None */ @@ -2138,6 +2592,45 @@ export enum KnownAction { */ export type Action = string; +/** Known values of {@link Affinity} that the service accepts. */ +export enum KnownAffinity { + /** Sticky */ + Sticky = "sticky", + /** None */ + None = "none" +} + +/** + * Defines values for Affinity. \ + * {@link KnownAffinity} can be used interchangeably with Affinity, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **sticky** \ + * **none** + */ +export type Affinity = string; + +/** Known values of {@link IngressClientCertificateMode} that the service accepts. */ +export enum KnownIngressClientCertificateMode { + /** Ignore */ + Ignore = "ignore", + /** Accept */ + Accept = "accept", + /** Require */ + Require = "require" +} + +/** + * Defines values for IngressClientCertificateMode. \ + * {@link KnownIngressClientCertificateMode} can be used interchangeably with IngressClientCertificateMode, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **ignore** \ + * **accept** \ + * **require** + */ +export type IngressClientCertificateMode = string; + /** Known values of {@link AppProtocol} that the service accepts. */ export enum KnownAppProtocol { /** Http */ @@ -2209,33 +2702,111 @@ export enum KnownType { } /** - * Defines values for Type. \ - * {@link KnownType} can be used interchangeably with Type, + * Defines values for Type. \ + * {@link KnownType} can be used interchangeably with Type, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **Liveness** \ + * **Readiness** \ + * **Startup** + */ +export type Type = string; + +/** Known values of {@link StorageType} that the service accepts. */ +export enum KnownStorageType { + /** AzureFile */ + AzureFile = "AzureFile", + /** EmptyDir */ + EmptyDir = "EmptyDir" +} + +/** + * Defines values for StorageType. \ + * {@link KnownStorageType} can be used interchangeably with StorageType, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **AzureFile** \ + * **EmptyDir** + */ +export type StorageType = string; + +/** Known values of {@link JobProvisioningState} that the service accepts. */ +export enum KnownJobProvisioningState { + /** InProgress */ + InProgress = "InProgress", + /** Succeeded */ + Succeeded = "Succeeded", + /** Failed */ + Failed = "Failed", + /** Canceled */ + Canceled = "Canceled", + /** Deleting */ + Deleting = "Deleting" +} + +/** + * Defines values for JobProvisioningState. \ + * {@link KnownJobProvisioningState} can be used interchangeably with JobProvisioningState, + * this enum contains the known values that the service supports. + * ### Known values supported by the service + * **InProgress** \ + * **Succeeded** \ + * **Failed** \ + * **Canceled** \ + * **Deleting** + */ +export type JobProvisioningState = string; + +/** Known values of {@link TriggerType} that the service accepts. */ +export enum KnownTriggerType { + /** Scheduled */ + Scheduled = "Scheduled", + /** Event */ + Event = "Event", + /** Manual */ + Manual = "Manual" +} + +/** + * Defines values for TriggerType. \ + * {@link KnownTriggerType} can be used interchangeably with TriggerType, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **Liveness** \ - * **Readiness** \ - * **Startup** + * **Scheduled** \ + * **Event** \ + * **Manual** */ -export type Type = string; - -/** Known values of {@link StorageType} that the service accepts. */ -export enum KnownStorageType { - /** AzureFile */ - AzureFile = "AzureFile", - /** EmptyDir */ - EmptyDir = "EmptyDir" +export type TriggerType = string; + +/** Known values of {@link JobExecutionRunningState} that the service accepts. */ +export enum KnownJobExecutionRunningState { + /** Running */ + Running = "Running", + /** Processing */ + Processing = "Processing", + /** Stopped */ + Stopped = "Stopped", + /** Degraded */ + Degraded = "Degraded", + /** Failed */ + Failed = "Failed", + /** Unknown */ + Unknown = "Unknown" } /** - * Defines values for StorageType. \ - * {@link KnownStorageType} can be used interchangeably with StorageType, + * Defines values for JobExecutionRunningState. \ + * {@link KnownJobExecutionRunningState} can be used interchangeably with JobExecutionRunningState, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **AzureFile** \ - * **EmptyDir** + * **Running** \ + * **Processing** \ + * **Stopped** \ + * **Degraded** \ + * **Failed** \ + * **Unknown** */ -export type StorageType = string; +export type JobExecutionRunningState = string; /** Known values of {@link RevisionHealthState} that the service accepts. */ export enum KnownRevisionHealthState { @@ -2285,24 +2856,6 @@ export enum KnownRevisionProvisioningState { */ export type RevisionProvisioningState = string; -/** Known values of {@link SkuName} that the service accepts. */ -export enum KnownSkuName { - /** Consumption SKU of Managed Environment. */ - Consumption = "Consumption", - /** Premium SKU of Managed Environment. */ - Premium = "Premium" -} - -/** - * Defines values for SkuName. \ - * {@link KnownSkuName} can be used interchangeably with SkuName, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Consumption**: Consumption SKU of Managed Environment. \ - * **Premium**: Premium SKU of Managed Environment. - */ -export type SkuName = string; - /** Known values of {@link EnvironmentProvisioningState} that the service accepts. */ export enum KnownEnvironmentProvisioningState { /** Succeeded */ @@ -2345,86 +2898,26 @@ export enum KnownEnvironmentProvisioningState { */ export type EnvironmentProvisioningState = string; -/** Known values of {@link ManagedEnvironmentOutBoundType} that the service accepts. */ -export enum KnownManagedEnvironmentOutBoundType { - /** LoadBalancer */ - LoadBalancer = "LoadBalancer", - /** UserDefinedRouting */ - UserDefinedRouting = "UserDefinedRouting" -} - -/** - * Defines values for ManagedEnvironmentOutBoundType. \ - * {@link KnownManagedEnvironmentOutBoundType} can be used interchangeably with ManagedEnvironmentOutBoundType, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **LoadBalancer** \ - * **UserDefinedRouting** - */ -export type ManagedEnvironmentOutBoundType = string; - -/** Known values of {@link CertificateProvisioningState} that the service accepts. */ -export enum KnownCertificateProvisioningState { - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", - /** DeleteFailed */ - DeleteFailed = "DeleteFailed", - /** Pending */ - Pending = "Pending" -} - -/** - * Defines values for CertificateProvisioningState. \ - * {@link KnownCertificateProvisioningState} can be used interchangeably with CertificateProvisioningState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Succeeded** \ - * **Failed** \ - * **Canceled** \ - * **DeleteFailed** \ - * **Pending** - */ -export type CertificateProvisioningState = string; - -/** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */ -export enum KnownCheckNameAvailabilityReason { - /** Invalid */ - Invalid = "Invalid", - /** AlreadyExists */ - AlreadyExists = "AlreadyExists" -} - -/** - * Defines values for CheckNameAvailabilityReason. \ - * {@link KnownCheckNameAvailabilityReason} can be used interchangeably with CheckNameAvailabilityReason, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Invalid** \ - * **AlreadyExists** - */ -export type CheckNameAvailabilityReason = string; - -/** Known values of {@link AccessMode} that the service accepts. */ -export enum KnownAccessMode { - /** ReadOnly */ - ReadOnly = "ReadOnly", - /** ReadWrite */ - ReadWrite = "ReadWrite" +/** Known values of {@link ManagedCertificateDomainControlValidation} that the service accepts. */ +export enum KnownManagedCertificateDomainControlValidation { + /** Cname */ + Cname = "CNAME", + /** Http */ + Http = "HTTP", + /** TXT */ + TXT = "TXT" } /** - * Defines values for AccessMode. \ - * {@link KnownAccessMode} can be used interchangeably with AccessMode, + * Defines values for ManagedCertificateDomainControlValidation. \ + * {@link KnownManagedCertificateDomainControlValidation} can be used interchangeably with ManagedCertificateDomainControlValidation, * this enum contains the known values that the service supports. * ### Known values supported by the service - * **ReadOnly** \ - * **ReadWrite** + * **CNAME** \ + * **HTTP** \ + * **TXT** */ -export type AccessMode = string; +export type ManagedCertificateDomainControlValidation = string; /** Known values of {@link SourceControlOperationState} that the service accepts. */ export enum KnownSourceControlOperationState { @@ -2449,127 +2942,249 @@ export enum KnownSourceControlOperationState { * **Canceled** */ export type SourceControlOperationState = string; +/** Defines values for UnauthenticatedClientActionV2. */ +export type UnauthenticatedClientActionV2 = + | "RedirectToLoginPage" + | "AllowAnonymous" + | "Return401" + | "Return403"; +/** Defines values for CookieExpirationConvention. */ +export type CookieExpirationConvention = + | "FixedTime" + | "IdentityProviderDerived"; +/** Defines values for ForwardProxyConvention. */ +export type ForwardProxyConvention = "NoProxy" | "Standard" | "Custom"; +/** Defines values for DnsVerificationTestResult. */ +export type DnsVerificationTestResult = "Passed" | "Failed" | "Skipped"; -/** Known values of {@link ConnectedEnvironmentProvisioningState} that the service accepts. */ -export enum KnownConnectedEnvironmentProvisioningState { - /** Succeeded */ - Succeeded = "Succeeded", - /** Failed */ - Failed = "Failed", - /** Canceled */ - Canceled = "Canceled", - /** Waiting */ - Waiting = "Waiting", - /** InitializationInProgress */ - InitializationInProgress = "InitializationInProgress", - /** InfrastructureSetupInProgress */ - InfrastructureSetupInProgress = "InfrastructureSetupInProgress", - /** InfrastructureSetupComplete */ - InfrastructureSetupComplete = "InfrastructureSetupComplete", - /** ScheduledForDelete */ - ScheduledForDelete = "ScheduledForDelete" +/** Optional parameters. */ +export interface ContainerAppsAuthConfigsListByContainerAppOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByContainerApp operation. */ +export type ContainerAppsAuthConfigsListByContainerAppResponse = AuthConfigCollection; + +/** Optional parameters. */ +export interface ContainerAppsAuthConfigsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ContainerAppsAuthConfigsGetResponse = AuthConfig; + +/** Optional parameters. */ +export interface ContainerAppsAuthConfigsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type ContainerAppsAuthConfigsCreateOrUpdateResponse = AuthConfig; + +/** Optional parameters. */ +export interface ContainerAppsAuthConfigsDeleteOptionalParams + extends coreClient.OperationOptions {} + +/** Optional parameters. */ +export interface ContainerAppsAuthConfigsListByContainerAppNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByContainerAppNext operation. */ +export type ContainerAppsAuthConfigsListByContainerAppNextResponse = AuthConfigCollection; + +/** Optional parameters. */ +export interface AvailableWorkloadProfilesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type AvailableWorkloadProfilesGetResponse = AvailableWorkloadProfilesCollection; + +/** Optional parameters. */ +export interface AvailableWorkloadProfilesGetNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the getNext operation. */ +export type AvailableWorkloadProfilesGetNextResponse = AvailableWorkloadProfilesCollection; + +/** Optional parameters. */ +export interface BillingMetersGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type BillingMetersGetResponse = BillingMeterCollection; + +/** Optional parameters. */ +export interface ConnectedEnvironmentsListBySubscriptionOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscription operation. */ +export type ConnectedEnvironmentsListBySubscriptionResponse = ConnectedEnvironmentCollection; + +/** Optional parameters. */ +export interface ConnectedEnvironmentsListByResourceGroupOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroup operation. */ +export type ConnectedEnvironmentsListByResourceGroupResponse = ConnectedEnvironmentCollection; + +/** Optional parameters. */ +export interface ConnectedEnvironmentsGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ConnectedEnvironmentsGetResponse = ConnectedEnvironment; + +/** Optional parameters. */ +export interface ConnectedEnvironmentsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** - * Defines values for ConnectedEnvironmentProvisioningState. \ - * {@link KnownConnectedEnvironmentProvisioningState} can be used interchangeably with ConnectedEnvironmentProvisioningState, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Succeeded** \ - * **Failed** \ - * **Canceled** \ - * **Waiting** \ - * **InitializationInProgress** \ - * **InfrastructureSetupInProgress** \ - * **InfrastructureSetupComplete** \ - * **ScheduledForDelete** - */ -export type ConnectedEnvironmentProvisioningState = string; +/** Contains response data for the createOrUpdate operation. */ +export type ConnectedEnvironmentsCreateOrUpdateResponse = ConnectedEnvironment; + +/** Optional parameters. */ +export interface ConnectedEnvironmentsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface ConnectedEnvironmentsUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type ConnectedEnvironmentsUpdateResponse = ConnectedEnvironment; + +/** Optional parameters. */ +export interface ConnectedEnvironmentsCheckNameAvailabilityOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the checkNameAvailability operation. */ +export type ConnectedEnvironmentsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse; + +/** Optional parameters. */ +export interface ConnectedEnvironmentsListBySubscriptionNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listBySubscriptionNext operation. */ +export type ConnectedEnvironmentsListBySubscriptionNextResponse = ConnectedEnvironmentCollection; + +/** Optional parameters. */ +export interface ConnectedEnvironmentsListByResourceGroupNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listByResourceGroupNext operation. */ +export type ConnectedEnvironmentsListByResourceGroupNextResponse = ConnectedEnvironmentCollection; + +/** Optional parameters. */ +export interface ConnectedEnvironmentsCertificatesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type ConnectedEnvironmentsCertificatesListResponse = CertificateCollection; + +/** Optional parameters. */ +export interface ConnectedEnvironmentsCertificatesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ConnectedEnvironmentsCertificatesGetResponse = Certificate; -/** Known values of {@link Category} that the service accepts. */ -export enum KnownCategory { - /** PremiumSkuGeneralPurpose */ - PremiumSkuGeneralPurpose = "PremiumSkuGeneralPurpose", - /** PremiumSkuMemoryOptimized */ - PremiumSkuMemoryOptimized = "PremiumSkuMemoryOptimized", - /** PremiumSkuComputeOptimized */ - PremiumSkuComputeOptimized = "PremiumSkuComputeOptimized" +/** Optional parameters. */ +export interface ConnectedEnvironmentsCertificatesCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Certificate to be created or updated */ + certificateEnvelope?: Certificate; } -/** - * Defines values for Category. \ - * {@link KnownCategory} can be used interchangeably with Category, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **PremiumSkuGeneralPurpose** \ - * **PremiumSkuMemoryOptimized** \ - * **PremiumSkuComputeOptimized** - */ -export type Category = string; +/** Contains response data for the createOrUpdate operation. */ +export type ConnectedEnvironmentsCertificatesCreateOrUpdateResponse = Certificate; -/** Known values of {@link Applicability} that the service accepts. */ -export enum KnownApplicability { - /** LocationDefault */ - LocationDefault = "LocationDefault", - /** Custom */ - Custom = "Custom" -} +/** Optional parameters. */ +export interface ConnectedEnvironmentsCertificatesDeleteOptionalParams + extends coreClient.OperationOptions {} -/** - * Defines values for Applicability. \ - * {@link KnownApplicability} can be used interchangeably with Applicability, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **LocationDefault** \ - * **Custom** - */ -export type Applicability = string; -/** Defines values for UnauthenticatedClientActionV2. */ -export type UnauthenticatedClientActionV2 = - | "RedirectToLoginPage" - | "AllowAnonymous" - | "Return401" - | "Return403"; -/** Defines values for CookieExpirationConvention. */ -export type CookieExpirationConvention = - | "FixedTime" - | "IdentityProviderDerived"; -/** Defines values for ForwardProxyConvention. */ -export type ForwardProxyConvention = "NoProxy" | "Standard" | "Custom"; -/** Defines values for DnsVerificationTestResult. */ -export type DnsVerificationTestResult = "Passed" | "Failed" | "Skipped"; +/** Optional parameters. */ +export interface ConnectedEnvironmentsCertificatesUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the update operation. */ +export type ConnectedEnvironmentsCertificatesUpdateResponse = Certificate; /** Optional parameters. */ -export interface ContainerAppsAuthConfigsListByContainerAppOptionalParams +export interface ConnectedEnvironmentsCertificatesListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByContainerApp operation. */ -export type ContainerAppsAuthConfigsListByContainerAppResponse = AuthConfigCollection; +/** Contains response data for the listNext operation. */ +export type ConnectedEnvironmentsCertificatesListNextResponse = CertificateCollection; /** Optional parameters. */ -export interface ContainerAppsAuthConfigsGetOptionalParams +export interface ConnectedEnvironmentsDaprComponentsListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type ConnectedEnvironmentsDaprComponentsListResponse = DaprComponentsCollection; + +/** Optional parameters. */ +export interface ConnectedEnvironmentsDaprComponentsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ContainerAppsAuthConfigsGetResponse = AuthConfig; +export type ConnectedEnvironmentsDaprComponentsGetResponse = DaprComponent; /** Optional parameters. */ -export interface ContainerAppsAuthConfigsCreateOrUpdateOptionalParams +export interface ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type ContainerAppsAuthConfigsCreateOrUpdateResponse = AuthConfig; +export type ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse = DaprComponent; /** Optional parameters. */ -export interface ContainerAppsAuthConfigsDeleteOptionalParams +export interface ConnectedEnvironmentsDaprComponentsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface ContainerAppsAuthConfigsListByContainerAppNextOptionalParams +export interface ConnectedEnvironmentsDaprComponentsListSecretsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByContainerAppNext operation. */ -export type ContainerAppsAuthConfigsListByContainerAppNextResponse = AuthConfigCollection; +/** Contains response data for the listSecrets operation. */ +export type ConnectedEnvironmentsDaprComponentsListSecretsResponse = DaprSecretsCollection; + +/** Optional parameters. */ +export interface ConnectedEnvironmentsDaprComponentsListNextOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the listNext operation. */ +export type ConnectedEnvironmentsDaprComponentsListNextResponse = DaprComponentsCollection; + +/** Optional parameters. */ +export interface ConnectedEnvironmentsStoragesListOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the list operation. */ +export type ConnectedEnvironmentsStoragesListResponse = ConnectedEnvironmentStoragesCollection; + +/** Optional parameters. */ +export interface ConnectedEnvironmentsStoragesGetOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type ConnectedEnvironmentsStoragesGetResponse = ConnectedEnvironmentStorage; + +/** Optional parameters. */ +export interface ConnectedEnvironmentsStoragesCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} + +/** Contains response data for the createOrUpdate operation. */ +export type ConnectedEnvironmentsStoragesCreateOrUpdateResponse = ConnectedEnvironmentStorage; + +/** Optional parameters. */ +export interface ConnectedEnvironmentsStoragesDeleteOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ export interface ContainerAppsListBySubscriptionOptionalParams @@ -2622,6 +3237,9 @@ export interface ContainerAppsUpdateOptionalParams resumeFrom?: string; } +/** Contains response data for the update operation. */ +export type ContainerAppsUpdateResponse = ContainerApp; + /** Optional parameters. */ export interface ContainerAppsListCustomHostNameAnalysisOptionalParams extends coreClient.OperationOptions { @@ -2661,96 +3279,177 @@ export interface ContainerAppsListByResourceGroupNextOptionalParams export type ContainerAppsListByResourceGroupNextResponse = ContainerAppCollection; /** Optional parameters. */ -export interface ContainerAppsRevisionsListRevisionsOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. */ - filter?: string; -} +export interface JobsListBySubscriptionOptionalParams + extends coreClient.OperationOptions {} -/** Contains response data for the listRevisions operation. */ -export type ContainerAppsRevisionsListRevisionsResponse = RevisionCollection; +/** Contains response data for the listBySubscription operation. */ +export type JobsListBySubscriptionResponse = JobsCollection; /** Optional parameters. */ -export interface ContainerAppsRevisionsGetRevisionOptionalParams +export interface JobsListByResourceGroupOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the getRevision operation. */ -export type ContainerAppsRevisionsGetRevisionResponse = Revision; +/** Contains response data for the listByResourceGroup operation. */ +export type JobsListByResourceGroupResponse = JobsCollection; /** Optional parameters. */ -export interface ContainerAppsRevisionsActivateRevisionOptionalParams +export interface JobsListSecretsOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the listSecrets operation. */ +export type JobsListSecretsResponse = JobSecretsCollection; + /** Optional parameters. */ -export interface ContainerAppsRevisionsDeactivateRevisionOptionalParams +export interface JobsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the listBySubscriptionNext operation. */ +export type JobsListBySubscriptionNextResponse = JobsCollection; + /** Optional parameters. */ -export interface ContainerAppsRevisionsRestartRevisionOptionalParams +export interface JobsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the listByResourceGroupNext operation. */ +export type JobsListByResourceGroupNextResponse = JobsCollection; + /** Optional parameters. */ -export interface ContainerAppsRevisionsListRevisionsNextOptionalParams +export interface JobGetOptionalParams extends coreClient.OperationOptions {} + +/** Contains response data for the get operation. */ +export type JobGetResponse = Job; + +/** Optional parameters. */ +export interface JobCreateOrUpdateOptionalParams extends coreClient.OperationOptions { - /** The filter to apply on the operation. */ - filter?: string; + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; } -/** Contains response data for the listRevisionsNext operation. */ -export type ContainerAppsRevisionsListRevisionsNextResponse = RevisionCollection; +/** Contains response data for the createOrUpdate operation. */ +export type JobCreateOrUpdateResponse = Job; /** Optional parameters. */ -export interface ContainerAppsRevisionReplicasGetReplicaOptionalParams - extends coreClient.OperationOptions {} +export interface JobDeleteOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} -/** Contains response data for the getReplica operation. */ -export type ContainerAppsRevisionReplicasGetReplicaResponse = Replica; +/** Optional parameters. */ +export interface JobUpdateOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the update operation. */ +export type JobUpdateResponse = Job; /** Optional parameters. */ -export interface ContainerAppsRevisionReplicasListReplicasOptionalParams +export interface JobRunOptionalParams extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the run operation. */ +export type JobRunResponse = JobExecutionBase; + +/** Optional parameters. */ +export interface JobTerminateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Optional parameters. */ +export interface JobTerminateMultipleExecutionsOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the terminateMultipleExecutions operation. */ +export type JobTerminateMultipleExecutionsResponse = ContainerAppJobExecutions; + +/** Optional parameters. */ +export interface JobExecutionsOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} + +/** Contains response data for the executions operation. */ +export type JobExecutionsResponse = ContainerAppJobExecutions; + +/** Optional parameters. */ +export interface JobExecutionsNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listReplicas operation. */ -export type ContainerAppsRevisionReplicasListReplicasResponse = ReplicaCollection; +/** Contains response data for the executionsNext operation. */ +export type JobExecutionsNextResponse = ContainerAppJobExecutions; /** Optional parameters. */ -export interface DaprComponentsListOptionalParams +export interface ContainerAppsRevisionsListRevisionsOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply on the operation. */ + filter?: string; +} + +/** Contains response data for the listRevisions operation. */ +export type ContainerAppsRevisionsListRevisionsResponse = RevisionCollection; + +/** Optional parameters. */ +export interface ContainerAppsRevisionsGetRevisionOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type DaprComponentsListResponse = DaprComponentsCollection; +/** Contains response data for the getRevision operation. */ +export type ContainerAppsRevisionsGetRevisionResponse = Revision; + +/** Optional parameters. */ +export interface ContainerAppsRevisionsActivateRevisionOptionalParams + extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface DaprComponentsGetOptionalParams +export interface ContainerAppsRevisionsDeactivateRevisionOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type DaprComponentsGetResponse = DaprComponent; - /** Optional parameters. */ -export interface DaprComponentsCreateOrUpdateOptionalParams +export interface ContainerAppsRevisionsRestartRevisionOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the createOrUpdate operation. */ -export type DaprComponentsCreateOrUpdateResponse = DaprComponent; - /** Optional parameters. */ -export interface DaprComponentsDeleteOptionalParams +export interface ContainerAppsRevisionsListRevisionsNextOptionalParams extends coreClient.OperationOptions {} +/** Contains response data for the listRevisionsNext operation. */ +export type ContainerAppsRevisionsListRevisionsNextResponse = RevisionCollection; + /** Optional parameters. */ -export interface DaprComponentsListSecretsOptionalParams +export interface ContainerAppsRevisionReplicasGetReplicaOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listSecrets operation. */ -export type DaprComponentsListSecretsResponse = DaprSecretsCollection; +/** Contains response data for the getReplica operation. */ +export type ContainerAppsRevisionReplicasGetReplicaResponse = Replica; /** Optional parameters. */ -export interface DaprComponentsListNextOptionalParams +export interface ContainerAppsRevisionReplicasListReplicasOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type DaprComponentsListNextResponse = DaprComponentsCollection; +/** Contains response data for the listReplicas operation. */ +export type ContainerAppsRevisionReplicasListReplicasResponse = ReplicaCollection; /** Optional parameters. */ export interface ContainerAppsDiagnosticsListDetectorsOptionalParams @@ -2799,10 +3498,7 @@ export type ContainerAppsDiagnosticsListDetectorsNextResponse = DiagnosticsColle /** Optional parameters. */ export interface ContainerAppsDiagnosticsListRevisionsNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply on the operation. */ - filter?: string; -} + extends coreClient.OperationOptions {} /** Contains response data for the listRevisionsNext operation. */ export type ContainerAppsDiagnosticsListRevisionsNextResponse = RevisionCollection; @@ -2893,6 +3589,9 @@ export interface ManagedEnvironmentsUpdateOptionalParams resumeFrom?: string; } +/** Contains response data for the update operation. */ +export type ManagedEnvironmentsUpdateResponse = ManagedEnvironment; + /** Optional parameters. */ export interface ManagedEnvironmentsGetAuthTokenOptionalParams extends coreClient.OperationOptions {} @@ -2971,54 +3670,17 @@ export interface CertificatesListNextOptionalParams export type CertificatesListNextResponse = CertificateCollection; /** Optional parameters. */ -export interface NamespacesCheckNameAvailabilityOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the checkNameAvailability operation. */ -export type NamespacesCheckNameAvailabilityResponse = CheckNameAvailabilityResponse; - -/** Optional parameters. */ -export interface ManagedEnvironmentsStoragesListOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the list operation. */ -export type ManagedEnvironmentsStoragesListResponse = ManagedEnvironmentStoragesCollection; - -/** Optional parameters. */ -export interface ManagedEnvironmentsStoragesGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type ManagedEnvironmentsStoragesGetResponse = ManagedEnvironmentStorage; - -/** Optional parameters. */ -export interface ManagedEnvironmentsStoragesCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the createOrUpdate operation. */ -export type ManagedEnvironmentsStoragesCreateOrUpdateResponse = ManagedEnvironmentStorage; - -/** Optional parameters. */ -export interface ManagedEnvironmentsStoragesDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface ContainerAppsSourceControlsListByContainerAppOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByContainerApp operation. */ -export type ContainerAppsSourceControlsListByContainerAppResponse = SourceControlCollection; - -/** Optional parameters. */ -export interface ContainerAppsSourceControlsGetOptionalParams +export interface ManagedCertificatesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ContainerAppsSourceControlsGetResponse = SourceControl; +export type ManagedCertificatesGetResponse = ManagedCertificate; /** Optional parameters. */ -export interface ContainerAppsSourceControlsCreateOrUpdateOptionalParams +export interface ManagedCertificatesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { + /** Managed Certificate to be created or updated */ + managedCertificateEnvelope?: ManagedCertificate; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ @@ -3026,220 +3688,145 @@ export interface ContainerAppsSourceControlsCreateOrUpdateOptionalParams } /** Contains response data for the createOrUpdate operation. */ -export type ContainerAppsSourceControlsCreateOrUpdateResponse = SourceControl; - -/** Optional parameters. */ -export interface ContainerAppsSourceControlsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Optional parameters. */ -export interface ContainerAppsSourceControlsListByContainerAppNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByContainerAppNext operation. */ -export type ContainerAppsSourceControlsListByContainerAppNextResponse = SourceControlCollection; - -/** Optional parameters. */ -export interface ConnectedEnvironmentsListBySubscriptionOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listBySubscription operation. */ -export type ConnectedEnvironmentsListBySubscriptionResponse = ConnectedEnvironmentCollection; - -/** Optional parameters. */ -export interface ConnectedEnvironmentsListByResourceGroupOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listByResourceGroup operation. */ -export type ConnectedEnvironmentsListByResourceGroupResponse = ConnectedEnvironmentCollection; +export type ManagedCertificatesCreateOrUpdateResponse = ManagedCertificate; /** Optional parameters. */ -export interface ConnectedEnvironmentsGetOptionalParams +export interface ManagedCertificatesDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type ConnectedEnvironmentsGetResponse = ConnectedEnvironment; - -/** Optional parameters. */ -export interface ConnectedEnvironmentsCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - -/** Contains response data for the createOrUpdate operation. */ -export type ConnectedEnvironmentsCreateOrUpdateResponse = ConnectedEnvironment; - -/** Optional parameters. */ -export interface ConnectedEnvironmentsDeleteOptionalParams - extends coreClient.OperationOptions { - /** Delay to wait until next poll, in milliseconds. */ - updateIntervalInMs?: number; - /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ - resumeFrom?: string; -} - /** Optional parameters. */ -export interface ConnectedEnvironmentsUpdateOptionalParams +export interface ManagedCertificatesUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the update operation. */ -export type ConnectedEnvironmentsUpdateResponse = ConnectedEnvironment; +export type ManagedCertificatesUpdateResponse = ManagedCertificate; /** Optional parameters. */ -export interface ConnectedEnvironmentsCheckNameAvailabilityOptionalParams +export interface ManagedCertificatesListOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the checkNameAvailability operation. */ -export type ConnectedEnvironmentsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse; +/** Contains response data for the list operation. */ +export type ManagedCertificatesListResponse = ManagedCertificateCollection; /** Optional parameters. */ -export interface ConnectedEnvironmentsListBySubscriptionNextOptionalParams +export interface ManagedCertificatesListNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listBySubscriptionNext operation. */ -export type ConnectedEnvironmentsListBySubscriptionNextResponse = ConnectedEnvironmentCollection; +/** Contains response data for the listNext operation. */ +export type ManagedCertificatesListNextResponse = ManagedCertificateCollection; /** Optional parameters. */ -export interface ConnectedEnvironmentsListByResourceGroupNextOptionalParams +export interface NamespacesCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listByResourceGroupNext operation. */ -export type ConnectedEnvironmentsListByResourceGroupNextResponse = ConnectedEnvironmentCollection; +/** Contains response data for the checkNameAvailability operation. */ +export type NamespacesCheckNameAvailabilityResponse = CheckNameAvailabilityResponse; /** Optional parameters. */ -export interface ConnectedEnvironmentsCertificatesListOptionalParams +export interface DaprComponentsListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type ConnectedEnvironmentsCertificatesListResponse = CertificateCollection; +export type DaprComponentsListResponse = DaprComponentsCollection; /** Optional parameters. */ -export interface ConnectedEnvironmentsCertificatesGetOptionalParams +export interface DaprComponentsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ConnectedEnvironmentsCertificatesGetResponse = Certificate; +export type DaprComponentsGetResponse = DaprComponent; /** Optional parameters. */ -export interface ConnectedEnvironmentsCertificatesCreateOrUpdateOptionalParams - extends coreClient.OperationOptions { - /** Certificate to be created or updated */ - certificateEnvelope?: Certificate; -} +export interface DaprComponentsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type ConnectedEnvironmentsCertificatesCreateOrUpdateResponse = Certificate; +export type DaprComponentsCreateOrUpdateResponse = DaprComponent; /** Optional parameters. */ -export interface ConnectedEnvironmentsCertificatesDeleteOptionalParams +export interface DaprComponentsDeleteOptionalParams extends coreClient.OperationOptions {} /** Optional parameters. */ -export interface ConnectedEnvironmentsCertificatesUpdateOptionalParams +export interface DaprComponentsListSecretsOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the update operation. */ -export type ConnectedEnvironmentsCertificatesUpdateResponse = Certificate; +/** Contains response data for the listSecrets operation. */ +export type DaprComponentsListSecretsResponse = DaprSecretsCollection; /** Optional parameters. */ -export interface ConnectedEnvironmentsCertificatesListNextOptionalParams +export interface DaprComponentsListNextOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the listNext operation. */ -export type ConnectedEnvironmentsCertificatesListNextResponse = CertificateCollection; +export type DaprComponentsListNextResponse = DaprComponentsCollection; /** Optional parameters. */ -export interface ConnectedEnvironmentsDaprComponentsListOptionalParams +export interface ManagedEnvironmentsStoragesListOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the list operation. */ -export type ConnectedEnvironmentsDaprComponentsListResponse = DaprComponentsCollection; +export type ManagedEnvironmentsStoragesListResponse = ManagedEnvironmentStoragesCollection; /** Optional parameters. */ -export interface ConnectedEnvironmentsDaprComponentsGetOptionalParams +export interface ManagedEnvironmentsStoragesGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ConnectedEnvironmentsDaprComponentsGetResponse = DaprComponent; +export type ManagedEnvironmentsStoragesGetResponse = ManagedEnvironmentStorage; /** Optional parameters. */ -export interface ConnectedEnvironmentsDaprComponentsCreateOrUpdateOptionalParams +export interface ManagedEnvironmentsStoragesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the createOrUpdate operation. */ -export type ConnectedEnvironmentsDaprComponentsCreateOrUpdateResponse = DaprComponent; - -/** Optional parameters. */ -export interface ConnectedEnvironmentsDaprComponentsDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface ConnectedEnvironmentsDaprComponentsListSecretsOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the listSecrets operation. */ -export type ConnectedEnvironmentsDaprComponentsListSecretsResponse = DaprSecretsCollection; +export type ManagedEnvironmentsStoragesCreateOrUpdateResponse = ManagedEnvironmentStorage; /** Optional parameters. */ -export interface ConnectedEnvironmentsDaprComponentsListNextOptionalParams +export interface ManagedEnvironmentsStoragesDeleteOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the listNext operation. */ -export type ConnectedEnvironmentsDaprComponentsListNextResponse = DaprComponentsCollection; - /** Optional parameters. */ -export interface ConnectedEnvironmentsStoragesListOptionalParams +export interface ContainerAppsSourceControlsListByContainerAppOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the list operation. */ -export type ConnectedEnvironmentsStoragesListResponse = ConnectedEnvironmentStoragesCollection; +/** Contains response data for the listByContainerApp operation. */ +export type ContainerAppsSourceControlsListByContainerAppResponse = SourceControlCollection; /** Optional parameters. */ -export interface ConnectedEnvironmentsStoragesGetOptionalParams +export interface ContainerAppsSourceControlsGetOptionalParams extends coreClient.OperationOptions {} /** Contains response data for the get operation. */ -export type ConnectedEnvironmentsStoragesGetResponse = ConnectedEnvironmentStorage; +export type ContainerAppsSourceControlsGetResponse = SourceControl; /** Optional parameters. */ -export interface ConnectedEnvironmentsStoragesCreateOrUpdateOptionalParams - extends coreClient.OperationOptions {} +export interface ContainerAppsSourceControlsCreateOrUpdateOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Contains response data for the createOrUpdate operation. */ -export type ConnectedEnvironmentsStoragesCreateOrUpdateResponse = ConnectedEnvironmentStorage; - -/** Optional parameters. */ -export interface ConnectedEnvironmentsStoragesDeleteOptionalParams - extends coreClient.OperationOptions {} - -/** Optional parameters. */ -export interface AvailableWorkloadProfilesGetOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the get operation. */ -export type AvailableWorkloadProfilesGetResponse = AvailableWorkloadProfilesCollection; +export type ContainerAppsSourceControlsCreateOrUpdateResponse = SourceControl; /** Optional parameters. */ -export interface AvailableWorkloadProfilesGetNextOptionalParams - extends coreClient.OperationOptions {} - -/** Contains response data for the getNext operation. */ -export type AvailableWorkloadProfilesGetNextResponse = AvailableWorkloadProfilesCollection; +export interface ContainerAppsSourceControlsDeleteOptionalParams + extends coreClient.OperationOptions { + /** Delay to wait until next poll, in milliseconds. */ + updateIntervalInMs?: number; + /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ + resumeFrom?: string; +} /** Optional parameters. */ -export interface BillingMetersGetOptionalParams +export interface ContainerAppsSourceControlsListByContainerAppNextOptionalParams extends coreClient.OperationOptions {} -/** Contains response data for the get operation. */ -export type BillingMetersGetResponse = BillingMeterCollection; +/** Contains response data for the listByContainerAppNext operation. */ +export type ContainerAppsSourceControlsListByContainerAppNextResponse = SourceControlCollection; /** Optional parameters. */ export interface ContainerAppsAPIClientOptionalParams diff --git a/sdk/appcontainers/arm-appcontainers/src/models/mappers.ts b/sdk/appcontainers/arm-appcontainers/src/models/mappers.ts index e70ccb8c77eb..c457eb061af2 100644 --- a/sdk/appcontainers/arm-appcontainers/src/models/mappers.ts +++ b/sdk/appcontainers/arm-appcontainers/src/models/mappers.ts @@ -1214,10 +1214,10 @@ export const DefaultErrorResponseErrorDetailsItem: coreClient.CompositeMapper = } }; -export const ContainerAppCollection: coreClient.CompositeMapper = { +export const AvailableWorkloadProfilesCollection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ContainerAppCollection", + className: "AvailableWorkloadProfilesCollection", modelProperties: { value: { serializedName: "value", @@ -1227,7 +1227,7 @@ export const ContainerAppCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "ContainerApp" + className: "AvailableWorkloadProfile" } } } @@ -1243,19 +1243,37 @@ export const ContainerAppCollection: coreClient.CompositeMapper = { } }; -export const ExtendedLocation: coreClient.CompositeMapper = { +export const AvailableWorkloadProfileProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ExtendedLocation", + className: "AvailableWorkloadProfileProperties", modelProperties: { - name: { - serializedName: "name", + billingMeterCategory: { + serializedName: "billingMeterCategory", type: { name: "String" } }, - type: { - serializedName: "type", + applicability: { + serializedName: "applicability", + type: { + name: "String" + } + }, + cores: { + serializedName: "cores", + type: { + name: "Number" + } + }, + memoryGiB: { + serializedName: "memoryGiB", + type: { + name: "Number" + } + }, + displayName: { + serializedName: "displayName", type: { name: "String" } @@ -1264,38 +1282,71 @@ export const ExtendedLocation: coreClient.CompositeMapper = { } }; -export const ManagedServiceIdentity: coreClient.CompositeMapper = { +export const ErrorResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedServiceIdentity", + className: "ErrorResponse", modelProperties: { - principalId: { - serializedName: "principalId", + error: { + serializedName: "error", + type: { + name: "Composite", + className: "ErrorDetail" + } + } + } + } +}; + +export const ErrorDetail: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ErrorDetail", + modelProperties: { + code: { + serializedName: "code", readOnly: true, type: { - name: "Uuid" + name: "String" } }, - tenantId: { - serializedName: "tenantId", + message: { + serializedName: "message", readOnly: true, type: { - name: "Uuid" + name: "String" } }, - type: { - serializedName: "type", - required: true, + target: { + serializedName: "target", + readOnly: true, type: { name: "String" } }, - userAssignedIdentities: { - serializedName: "userAssignedIdentities", + details: { + serializedName: "details", + readOnly: true, type: { - name: "Dictionary", - value: { - type: { name: "Composite", className: "UserAssignedIdentity" } + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorDetail" + } + } + } + }, + additionalInfo: { + serializedName: "additionalInfo", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ErrorAdditionalInfo" + } } } } @@ -1303,92 +1354,111 @@ export const ManagedServiceIdentity: coreClient.CompositeMapper = { } }; -export const UserAssignedIdentity: coreClient.CompositeMapper = { +export const ErrorAdditionalInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserAssignedIdentity", + className: "ErrorAdditionalInfo", modelProperties: { - principalId: { - serializedName: "principalId", + type: { + serializedName: "type", readOnly: true, type: { - name: "Uuid" + name: "String" } }, - clientId: { - serializedName: "clientId", + info: { + serializedName: "info", readOnly: true, type: { - name: "Uuid" + name: "Dictionary", + value: { type: { name: "any" } } } } } } }; -export const Configuration: coreClient.CompositeMapper = { +export const BillingMeterCollection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Configuration", + className: "BillingMeterCollection", modelProperties: { - secrets: { - serializedName: "secrets", + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "Secret" + className: "BillingMeter" } } } - }, - activeRevisionsMode: { - serializedName: "activeRevisionsMode", + } + } + } +}; + +export const BillingMeterProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BillingMeterProperties", + modelProperties: { + category: { + serializedName: "category", type: { name: "String" } }, - ingress: { - serializedName: "ingress", + meterType: { + serializedName: "meterType", type: { - name: "Composite", - className: "Ingress" + name: "String" } }, - registries: { - serializedName: "registries", + displayName: { + serializedName: "displayName", + type: { + name: "String" + } + } + } + } +}; + +export const ConnectedEnvironmentCollection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectedEnvironmentCollection", + modelProperties: { + value: { + serializedName: "value", type: { name: "Sequence", element: { type: { name: "Composite", - className: "RegistryCredentials" + className: "ConnectedEnvironment" } } } }, - dapr: { - serializedName: "dapr", - type: { - name: "Composite", - className: "Dapr" - } - }, - maxInactiveRevisions: { - serializedName: "maxInactiveRevisions", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Number" + name: "String" } } } } }; -export const Secret: coreClient.CompositeMapper = { +export const ExtendedLocation: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Secret", + className: "ExtendedLocation", modelProperties: { name: { serializedName: "name", @@ -1396,8 +1466,8 @@ export const Secret: coreClient.CompositeMapper = { name: "String" } }, - value: { - serializedName: "value", + type: { + serializedName: "type", type: { name: "String" } @@ -1406,69 +1476,664 @@ export const Secret: coreClient.CompositeMapper = { } }; -export const Ingress: coreClient.CompositeMapper = { +export const CustomDomainConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Ingress", + className: "CustomDomainConfiguration", modelProperties: { - fqdn: { - serializedName: "fqdn", + customDomainVerificationId: { + serializedName: "customDomainVerificationId", readOnly: true, type: { name: "String" } }, - external: { - defaultValue: false, - serializedName: "external", - type: { - name: "Boolean" - } - }, - targetPort: { - serializedName: "targetPort", + dnsSuffix: { + serializedName: "dnsSuffix", type: { - name: "Number" + name: "String" } }, - exposedPort: { - serializedName: "exposedPort", + certificateValue: { + serializedName: "certificateValue", type: { - name: "Number" + name: "ByteArray" } }, - transport: { - serializedName: "transport", + certificatePassword: { + serializedName: "certificatePassword", type: { name: "String" } }, - traffic: { - serializedName: "traffic", + expirationDate: { + serializedName: "expirationDate", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "TrafficWeight" - } - } + name: "DateTime" } }, - customDomains: { - serializedName: "customDomains", + thumbprint: { + serializedName: "thumbprint", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "CustomDomain" - } - } + name: "String" } }, - allowInsecure: { - serializedName: "allowInsecure", + subjectName: { + serializedName: "subjectName", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const CheckNameAvailabilityRequest: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CheckNameAvailabilityRequest", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + +export const CheckNameAvailabilityResponse: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CheckNameAvailabilityResponse", + modelProperties: { + nameAvailable: { + serializedName: "nameAvailable", + type: { + name: "Boolean" + } + }, + reason: { + serializedName: "reason", + type: { + name: "String" + } + }, + message: { + serializedName: "message", + type: { + name: "String" + } + } + } + } +}; + +export const CertificateCollection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CertificateCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Certificate" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const CertificateProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CertificateProperties", + modelProperties: { + provisioningState: { + serializedName: "provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + password: { + serializedName: "password", + type: { + name: "String" + } + }, + subjectName: { + serializedName: "subjectName", + readOnly: true, + type: { + name: "String" + } + }, + subjectAlternativeNames: { + serializedName: "subjectAlternativeNames", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + value: { + serializedName: "value", + type: { + name: "ByteArray" + } + }, + issuer: { + serializedName: "issuer", + readOnly: true, + type: { + name: "String" + } + }, + issueDate: { + serializedName: "issueDate", + readOnly: true, + type: { + name: "DateTime" + } + }, + expirationDate: { + serializedName: "expirationDate", + readOnly: true, + type: { + name: "DateTime" + } + }, + thumbprint: { + serializedName: "thumbprint", + readOnly: true, + type: { + name: "String" + } + }, + valid: { + serializedName: "valid", + readOnly: true, + type: { + name: "Boolean" + } + }, + publicKeyHash: { + serializedName: "publicKeyHash", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const CertificatePatch: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CertificatePatch", + modelProperties: { + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { type: { name: "String" } } + } + } + } + } +}; + +export const DaprComponentsCollection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DaprComponentsCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DaprComponent" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const Secret: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Secret", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "String" + } + }, + identity: { + serializedName: "identity", + type: { + name: "String" + } + }, + keyVaultUrl: { + serializedName: "keyVaultUrl", + type: { + name: "String" + } + } + } + } +}; + +export const DaprMetadata: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DaprMetadata", + modelProperties: { + name: { + serializedName: "name", + type: { + name: "String" + } + }, + value: { + serializedName: "value", + type: { + name: "String" + } + }, + secretRef: { + serializedName: "secretRef", + type: { + name: "String" + } + } + } + } +}; + +export const DaprSecretsCollection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DaprSecretsCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DaprSecret" + } + } + } + } + } + } +}; + +export const DaprSecret: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DaprSecret", + modelProperties: { + name: { + serializedName: "name", + readOnly: true, + type: { + name: "String" + } + }, + value: { + serializedName: "value", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const ConnectedEnvironmentStoragesCollection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectedEnvironmentStoragesCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ConnectedEnvironmentStorage" + } + } + } + } + } + } +}; + +export const ConnectedEnvironmentStorageProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectedEnvironmentStorageProperties", + modelProperties: { + azureFile: { + serializedName: "azureFile", + type: { + name: "Composite", + className: "AzureFileProperties" + } + } + } + } +}; + +export const AzureFileProperties: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AzureFileProperties", + modelProperties: { + accountName: { + serializedName: "accountName", + type: { + name: "String" + } + }, + accountKey: { + serializedName: "accountKey", + type: { + name: "String" + } + }, + accessMode: { + serializedName: "accessMode", + type: { + name: "String" + } + }, + shareName: { + serializedName: "shareName", + type: { + name: "String" + } + } + } + } +}; + +export const ContainerAppCollection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ContainerAppCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ContainerApp" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const ManagedServiceIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedServiceIdentity", + modelProperties: { + principalId: { + serializedName: "principalId", + readOnly: true, + type: { + name: "Uuid" + } + }, + tenantId: { + serializedName: "tenantId", + readOnly: true, + type: { + name: "Uuid" + } + }, + type: { + serializedName: "type", + required: true, + type: { + name: "String" + } + }, + userAssignedIdentities: { + serializedName: "userAssignedIdentities", + type: { + name: "Dictionary", + value: { + type: { name: "Composite", className: "UserAssignedIdentity" } + } + } + } + } + } +}; + +export const UserAssignedIdentity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UserAssignedIdentity", + modelProperties: { + principalId: { + serializedName: "principalId", + readOnly: true, + type: { + name: "Uuid" + } + }, + clientId: { + serializedName: "clientId", + readOnly: true, + type: { + name: "Uuid" + } + } + } + } +}; + +export const Configuration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Configuration", + modelProperties: { + secrets: { + serializedName: "secrets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Secret" + } + } + } + }, + activeRevisionsMode: { + defaultValue: "Single", + serializedName: "activeRevisionsMode", + type: { + name: "String" + } + }, + ingress: { + serializedName: "ingress", + type: { + name: "Composite", + className: "Ingress" + } + }, + registries: { + serializedName: "registries", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RegistryCredentials" + } + } + } + }, + dapr: { + serializedName: "dapr", + type: { + name: "Composite", + className: "Dapr" + } + }, + maxInactiveRevisions: { + serializedName: "maxInactiveRevisions", + type: { + name: "Number" + } + } + } + } +}; + +export const Ingress: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Ingress", + modelProperties: { + fqdn: { + serializedName: "fqdn", + readOnly: true, + type: { + name: "String" + } + }, + external: { + defaultValue: false, + serializedName: "external", + type: { + name: "Boolean" + } + }, + targetPort: { + serializedName: "targetPort", + type: { + name: "Number" + } + }, + exposedPort: { + serializedName: "exposedPort", + type: { + name: "Number" + } + }, + transport: { + defaultValue: "auto", + serializedName: "transport", + type: { + name: "String" + } + }, + traffic: { + serializedName: "traffic", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "TrafficWeight" + } + } + } + }, + customDomains: { + serializedName: "customDomains", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomDomain" + } + } + } + }, + allowInsecure: { + defaultValue: false, + serializedName: "allowInsecure", type: { name: "Boolean" } @@ -1484,6 +2149,26 @@ export const Ingress: coreClient.CompositeMapper = { } } } + }, + stickySessions: { + serializedName: "stickySessions", + type: { + name: "Composite", + className: "IngressStickySessions" + } + }, + clientCertificateMode: { + serializedName: "clientCertificateMode", + type: { + name: "String" + } + }, + corsPolicy: { + serializedName: "corsPolicy", + type: { + name: "Composite", + className: "CorsPolicy" + } } } } @@ -1543,7 +2228,6 @@ export const CustomDomain: coreClient.CompositeMapper = { }, certificateId: { serializedName: "certificateId", - required: true, type: { name: "String" } @@ -1588,6 +2272,87 @@ export const IpSecurityRestrictionRule: coreClient.CompositeMapper = { } }; +export const IngressStickySessions: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "IngressStickySessions", + modelProperties: { + affinity: { + serializedName: "affinity", + type: { + name: "String" + } + } + } + } +}; + +export const CorsPolicy: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "CorsPolicy", + modelProperties: { + allowedOrigins: { + serializedName: "allowedOrigins", + required: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + allowedMethods: { + serializedName: "allowedMethods", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + allowedHeaders: { + serializedName: "allowedHeaders", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + exposeHeaders: { + serializedName: "exposeHeaders", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + maxAge: { + serializedName: "maxAge", + type: { + name: "Number" + } + }, + allowCredentials: { + serializedName: "allowCredentials", + type: { + name: "Boolean" + } + } + } + } +}; + export const RegistryCredentials: coreClient.CompositeMapper = { type: { name: "Composite", @@ -1627,6 +2392,7 @@ export const Dapr: coreClient.CompositeMapper = { className: "Dapr", modelProperties: { enabled: { + defaultValue: false, serializedName: "enabled", type: { name: "Boolean" @@ -1639,6 +2405,7 @@ export const Dapr: coreClient.CompositeMapper = { } }, appProtocol: { + defaultValue: "http", serializedName: "appProtocol", type: { name: "String" @@ -2054,6 +2821,7 @@ export const Scale: coreClient.CompositeMapper = { } }, maxReplicas: { + defaultValue: 10, serializedName: "maxReplicas", type: { name: "Number" @@ -2519,15 +3287,29 @@ export const ContainerAppSecret: coreClient.CompositeMapper = { type: { name: "String" } + }, + identity: { + serializedName: "identity", + readOnly: true, + type: { + name: "String" + } + }, + keyVaultUrl: { + serializedName: "keyVaultUrl", + readOnly: true, + type: { + name: "String" + } } } } }; -export const RevisionCollection: coreClient.CompositeMapper = { +export const JobsCollection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "RevisionCollection", + className: "JobsCollection", modelProperties: { value: { serializedName: "value", @@ -2537,7 +3319,7 @@ export const RevisionCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "Revision" + className: "Job" } } } @@ -2553,180 +3335,229 @@ export const RevisionCollection: coreClient.CompositeMapper = { } }; -export const ReplicaContainer: coreClient.CompositeMapper = { +export const JobConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ReplicaContainer", + className: "JobConfiguration", modelProperties: { - name: { - serializedName: "name", + secrets: { + serializedName: "secrets", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Secret" + } + } } }, - containerId: { - serializedName: "containerId", + triggerType: { + defaultValue: "Manual", + serializedName: "triggerType", + required: true, type: { name: "String" } }, - ready: { - serializedName: "ready", + replicaTimeout: { + serializedName: "replicaTimeout", + required: true, type: { - name: "Boolean" + name: "Number" } }, - started: { - serializedName: "started", + replicaRetryLimit: { + serializedName: "replicaRetryLimit", type: { - name: "Boolean" + name: "Number" } }, - restartCount: { - serializedName: "restartCount", + manualTriggerConfig: { + serializedName: "manualTriggerConfig", type: { - name: "Number" + name: "Composite", + className: "JobConfigurationManualTriggerConfig" } }, - logStreamEndpoint: { - serializedName: "logStreamEndpoint", - readOnly: true, + scheduleTriggerConfig: { + serializedName: "scheduleTriggerConfig", type: { - name: "String" + name: "Composite", + className: "JobConfigurationScheduleTriggerConfig" } }, - execEndpoint: { - serializedName: "execEndpoint", - readOnly: true, + registries: { + serializedName: "registries", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "RegistryCredentials" + } + } } } } } }; -export const ReplicaCollection: coreClient.CompositeMapper = { +export const JobConfigurationManualTriggerConfig: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ReplicaCollection", + className: "JobConfigurationManualTriggerConfig", modelProperties: { - value: { - serializedName: "value", - required: true, + replicaCompletionCount: { + serializedName: "replicaCompletionCount", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Replica" - } - } + name: "Number" + } + }, + parallelism: { + serializedName: "parallelism", + type: { + name: "Number" } } } } }; -export const DaprComponentsCollection: coreClient.CompositeMapper = { +export const JobConfigurationScheduleTriggerConfig: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DaprComponentsCollection", + className: "JobConfigurationScheduleTriggerConfig", modelProperties: { - value: { - serializedName: "value", + replicaCompletionCount: { + serializedName: "replicaCompletionCount", + type: { + name: "Number" + } + }, + cronExpression: { + serializedName: "cronExpression", required: true, + type: { + name: "String" + } + }, + parallelism: { + serializedName: "parallelism", + type: { + name: "Number" + } + } + } + } +}; + +export const JobTemplate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobTemplate", + modelProperties: { + initContainers: { + serializedName: "initContainers", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DaprComponent" + className: "InitContainer" } } } }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + containers: { + serializedName: "containers", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Container" + } + } + } + }, + volumes: { + serializedName: "volumes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Volume" + } + } } } } } }; -export const DaprMetadata: coreClient.CompositeMapper = { +export const JobPatchProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DaprMetadata", + className: "JobPatchProperties", modelProperties: { - name: { - serializedName: "name", - type: { - name: "String" - } - }, - value: { - serializedName: "value", + identity: { + serializedName: "identity", type: { - name: "String" + name: "Composite", + className: "ManagedServiceIdentity" } }, - secretRef: { - serializedName: "secretRef", + properties: { + serializedName: "properties", type: { - name: "String" + name: "Composite", + className: "JobPatchPropertiesProperties" } } } } }; -export const DaprSecretsCollection: coreClient.CompositeMapper = { +export const JobPatchPropertiesProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DaprSecretsCollection", + className: "JobPatchPropertiesProperties", modelProperties: { - value: { - serializedName: "value", - required: true, + environmentId: { + serializedName: "environmentId", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Secret" - } - } + name: "String" } - } - } - } -}; - -export const DiagnosticsCollection: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DiagnosticsCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, + }, + configuration: { + serializedName: "configuration", + type: { + name: "Composite", + className: "JobConfiguration" + } + }, + template: { + serializedName: "template", + type: { + name: "Composite", + className: "JobTemplate" + } + }, + outboundIpAddresses: { + serializedName: "outboundIpAddresses", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "Diagnostics" + name: "String" } } } }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + eventStreamEndpoint: { + serializedName: "eventStreamEndpoint", type: { name: "String" } @@ -2735,102 +3566,69 @@ export const DiagnosticsCollection: coreClient.CompositeMapper = { } }; -export const DiagnosticsProperties: coreClient.CompositeMapper = { +export const JobExecutionTemplate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnosticsProperties", + className: "JobExecutionTemplate", modelProperties: { - metadata: { - serializedName: "metadata", - type: { - name: "Composite", - className: "DiagnosticsDefinition" - } - }, - dataset: { - serializedName: "dataset", + containers: { + serializedName: "containers", type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiagnosticsDataApiResponse" + className: "JobExecutionContainer" } } } }, - status: { - serializedName: "status", - type: { - name: "Composite", - className: "DiagnosticsStatus" - } - }, - dataProviderMetadata: { - serializedName: "dataProviderMetadata", + initContainers: { + serializedName: "initContainers", type: { - name: "Composite", - className: "DiagnosticDataProviderMetadata" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobExecutionContainer" + } + } } } } } }; -export const DiagnosticsDefinition: coreClient.CompositeMapper = { +export const JobExecutionContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnosticsDefinition", + className: "JobExecutionContainer", modelProperties: { - id: { - serializedName: "id", - readOnly: true, + image: { + serializedName: "image", type: { name: "String" } }, name: { serializedName: "name", - readOnly: true, - type: { - name: "String" - } - }, - description: { - serializedName: "description", - readOnly: true, - type: { - name: "String" - } - }, - author: { - serializedName: "author", - readOnly: true, - type: { - name: "String" - } - }, - category: { - serializedName: "category", - readOnly: true, type: { name: "String" } }, - supportTopicList: { - serializedName: "supportTopicList", + command: { + serializedName: "command", type: { name: "Sequence", element: { type: { - name: "Composite", - className: "DiagnosticSupportTopic" + name: "String" } } } }, - analysisTypes: { - serializedName: "analysisTypes", + args: { + serializedName: "args", type: { name: "Sequence", element: { @@ -2840,39 +3638,42 @@ export const DiagnosticsDefinition: coreClient.CompositeMapper = { } } }, - type: { - serializedName: "type", - readOnly: true, + env: { + serializedName: "env", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "EnvironmentVar" + } + } } }, - score: { - serializedName: "score", - readOnly: true, + resources: { + serializedName: "resources", type: { - name: "Number" + name: "Composite", + className: "ContainerResources" } } } } }; -export const DiagnosticSupportTopic: coreClient.CompositeMapper = { +export const JobExecutionBase: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnosticSupportTopic", + className: "JobExecutionBase", modelProperties: { - id: { - serializedName: "id", - readOnly: true, + name: { + serializedName: "name", type: { name: "String" } }, - pesId: { - serializedName: "pesId", - readOnly: true, + id: { + serializedName: "id", type: { name: "String" } @@ -2881,168 +3682,124 @@ export const DiagnosticSupportTopic: coreClient.CompositeMapper = { } }; -export const DiagnosticsDataApiResponse: coreClient.CompositeMapper = { +export const JobExecutionNamesCollection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnosticsDataApiResponse", + className: "JobExecutionNamesCollection", modelProperties: { - table: { - serializedName: "table", - type: { - name: "Composite", - className: "DiagnosticDataTableResponseObject" - } - }, - renderingProperties: { - serializedName: "renderingProperties", + value: { + serializedName: "value", + required: true, type: { - name: "Composite", - className: "DiagnosticRendering" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "JobExecutionBase" + } + } } } } } }; -export const DiagnosticDataTableResponseObject: coreClient.CompositeMapper = { +export const ContainerAppJobExecutions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnosticDataTableResponseObject", + className: "ContainerAppJobExecutions", modelProperties: { - tableName: { - serializedName: "tableName", - type: { - name: "String" - } - }, - columns: { - serializedName: "columns", + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiagnosticDataTableResponseColumn" + className: "JobExecution" } } } }, - rows: { - serializedName: "rows", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Dictionary", - value: { type: { name: "any" } } - } - } + name: "String" } } } } }; -export const DiagnosticDataTableResponseColumn: coreClient.CompositeMapper = { +export const JobExecution: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnosticDataTableResponseColumn", + className: "JobExecution", modelProperties: { - columnName: { - serializedName: "columnName", - type: { - name: "String" - } - }, - dataType: { - serializedName: "dataType", - type: { - name: "String" - } - }, - columnType: { - serializedName: "columnType", + name: { + serializedName: "name", type: { name: "String" } - } - } - } -}; - -export const DiagnosticRendering: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DiagnosticRendering", - modelProperties: { - type: { - serializedName: "type", + }, + id: { + serializedName: "id", type: { - name: "Number" + name: "String" } }, - title: { - serializedName: "title", + type: { + serializedName: "type", type: { name: "String" } }, - description: { - serializedName: "description", + status: { + serializedName: "status", + readOnly: true, type: { name: "String" } }, - isVisible: { - serializedName: "isVisible", + startTime: { + serializedName: "startTime", type: { - name: "Boolean" + name: "DateTime" } - } - } - } -}; - -export const DiagnosticsStatus: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DiagnosticsStatus", - modelProperties: { - message: { - serializedName: "message", + }, + endTime: { + serializedName: "endTime", type: { - name: "String" + name: "DateTime" } }, - statusId: { - serializedName: "statusId", + template: { + serializedName: "template", type: { - name: "Number" + name: "Composite", + className: "JobExecutionTemplate" } } } } }; -export const DiagnosticDataProviderMetadata: coreClient.CompositeMapper = { +export const JobSecretsCollection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnosticDataProviderMetadata", + className: "JobSecretsCollection", modelProperties: { - providerName: { - serializedName: "providerName", - type: { - name: "String" - } - }, - propertyBag: { - serializedName: "propertyBag", + value: { + serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "DiagnosticDataProviderMetadataPropertyBagItem" + className: "Secret" } } } @@ -3051,19 +3808,27 @@ export const DiagnosticDataProviderMetadata: coreClient.CompositeMapper = { } }; -export const DiagnosticDataProviderMetadataPropertyBagItem: coreClient.CompositeMapper = { +export const RevisionCollection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "DiagnosticDataProviderMetadataPropertyBagItem", + className: "RevisionCollection", modelProperties: { - name: { - serializedName: "name", + value: { + serializedName: "value", + required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Revision" + } + } } }, - value: { - serializedName: "value", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { name: "String" } @@ -3072,184 +3837,247 @@ export const DiagnosticDataProviderMetadataPropertyBagItem: coreClient.Composite } }; -export const EnvironmentSkuProperties: coreClient.CompositeMapper = { +export const ReplicaContainer: coreClient.CompositeMapper = { type: { name: "Composite", - className: "EnvironmentSkuProperties", + className: "ReplicaContainer", modelProperties: { name: { serializedName: "name", - required: true, type: { name: "String" } - } - } - } -}; - -export const VnetConfiguration: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "VnetConfiguration", - modelProperties: { - internal: { - serializedName: "internal", - type: { - name: "Boolean" - } }, - infrastructureSubnetId: { - serializedName: "infrastructureSubnetId", + containerId: { + serializedName: "containerId", type: { name: "String" } }, - runtimeSubnetId: { - serializedName: "runtimeSubnetId", + ready: { + serializedName: "ready", type: { - name: "String" + name: "Boolean" } }, - dockerBridgeCidr: { - serializedName: "dockerBridgeCidr", + started: { + serializedName: "started", type: { - name: "String" + name: "Boolean" } }, - platformReservedCidr: { - serializedName: "platformReservedCidr", + restartCount: { + serializedName: "restartCount", type: { - name: "String" + name: "Number" } }, - platformReservedDnsIP: { - serializedName: "platformReservedDnsIP", + logStreamEndpoint: { + serializedName: "logStreamEndpoint", + readOnly: true, type: { name: "String" } }, - outboundSettings: { - serializedName: "outboundSettings", + execEndpoint: { + serializedName: "execEndpoint", + readOnly: true, type: { - name: "Composite", - className: "ManagedEnvironmentOutboundSettings" + name: "String" } } } } }; -export const ManagedEnvironmentOutboundSettings: coreClient.CompositeMapper = { +export const ReplicaCollection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedEnvironmentOutboundSettings", + className: "ReplicaCollection", modelProperties: { - outBoundType: { - serializedName: "outBoundType", - type: { - name: "String" - } - }, - virtualNetworkApplianceIp: { - serializedName: "virtualNetworkApplianceIp", + value: { + serializedName: "value", + required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Replica" + } + } } } } } }; -export const AppLogsConfiguration: coreClient.CompositeMapper = { +export const DiagnosticsCollection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AppLogsConfiguration", + className: "DiagnosticsCollection", modelProperties: { - destination: { - serializedName: "destination", + value: { + serializedName: "value", + required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Diagnostics" + } + } } }, - logAnalyticsConfiguration: { - serializedName: "logAnalyticsConfiguration", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { - name: "Composite", - className: "LogAnalyticsConfiguration" + name: "String" } } } } }; -export const LogAnalyticsConfiguration: coreClient.CompositeMapper = { +export const DiagnosticsProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LogAnalyticsConfiguration", + className: "DiagnosticsProperties", modelProperties: { - customerId: { - serializedName: "customerId", + metadata: { + serializedName: "metadata", type: { - name: "String" + name: "Composite", + className: "DiagnosticsDefinition" } }, - sharedKey: { - serializedName: "sharedKey", + dataset: { + serializedName: "dataset", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnosticsDataApiResponse" + } + } + } + }, + status: { + serializedName: "status", + type: { + name: "Composite", + className: "DiagnosticsStatus" + } + }, + dataProviderMetadata: { + serializedName: "dataProviderMetadata", + type: { + name: "Composite", + className: "DiagnosticDataProviderMetadata" } } } } }; -export const CustomDomainConfiguration: coreClient.CompositeMapper = { +export const DiagnosticsDefinition: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CustomDomainConfiguration", + className: "DiagnosticsDefinition", modelProperties: { - customDomainVerificationId: { - serializedName: "customDomainVerificationId", + id: { + serializedName: "id", readOnly: true, type: { name: "String" } }, - dnsSuffix: { - serializedName: "dnsSuffix", + name: { + serializedName: "name", + readOnly: true, type: { name: "String" } }, - certificateValue: { - serializedName: "certificateValue", + description: { + serializedName: "description", + readOnly: true, type: { - name: "ByteArray" + name: "String" + } + }, + author: { + serializedName: "author", + readOnly: true, + type: { + name: "String" + } + }, + category: { + serializedName: "category", + readOnly: true, + type: { + name: "String" + } + }, + supportTopicList: { + serializedName: "supportTopicList", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DiagnosticSupportTopic" + } + } + } + }, + analysisTypes: { + serializedName: "analysisTypes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } } }, - certificatePassword: { - serializedName: "certificatePassword", + type: { + serializedName: "type", + readOnly: true, type: { - name: "ByteArray" + name: "String" } }, - expirationDate: { - serializedName: "expirationDate", + score: { + serializedName: "score", readOnly: true, type: { - name: "DateTime" + name: "Number" } - }, - thumbprint: { - serializedName: "thumbprint", + } + } + } +}; + +export const DiagnosticSupportTopic: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DiagnosticSupportTopic", + modelProperties: { + id: { + serializedName: "id", readOnly: true, type: { name: "String" } }, - subjectName: { - serializedName: "subjectName", + pesId: { + serializedName: "pesId", readOnly: true, type: { name: "String" @@ -3259,89 +4087,87 @@ export const CustomDomainConfiguration: coreClient.CompositeMapper = { } }; -export const WorkloadProfile: coreClient.CompositeMapper = { +export const DiagnosticsDataApiResponse: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkloadProfile", + className: "DiagnosticsDataApiResponse", modelProperties: { - workloadProfileType: { - serializedName: "workloadProfileType", - required: true, - type: { - name: "String" - } - }, - minimumCount: { - serializedName: "minimumCount", - required: true, + table: { + serializedName: "table", type: { - name: "Number" + name: "Composite", + className: "DiagnosticDataTableResponseObject" } }, - maximumCount: { - serializedName: "maximumCount", - required: true, + renderingProperties: { + serializedName: "renderingProperties", type: { - name: "Number" + name: "Composite", + className: "DiagnosticRendering" } } } } }; -export const AvailableOperations: coreClient.CompositeMapper = { +export const DiagnosticDataTableResponseObject: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AvailableOperations", + className: "DiagnosticDataTableResponseObject", modelProperties: { - value: { - serializedName: "value", + tableName: { + serializedName: "tableName", + type: { + name: "String" + } + }, + columns: { + serializedName: "columns", type: { name: "Sequence", element: { type: { name: "Composite", - className: "OperationDetail" + className: "DiagnosticDataTableResponseColumn" } } } }, - nextLink: { - serializedName: "nextLink", + rows: { + serializedName: "rows", type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Dictionary", + value: { type: { name: "any" } } + } + } } } } } }; -export const OperationDetail: coreClient.CompositeMapper = { +export const DiagnosticDataTableResponseColumn: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationDetail", + className: "DiagnosticDataTableResponseColumn", modelProperties: { - name: { - serializedName: "name", + columnName: { + serializedName: "columnName", type: { name: "String" } }, - isDataAction: { - serializedName: "isDataAction", - type: { - name: "Boolean" - } - }, - display: { - serializedName: "display", + dataType: { + serializedName: "dataType", type: { - name: "Composite", - className: "OperationDisplay" + name: "String" } }, - origin: { - serializedName: "origin", + columnType: { + serializedName: "columnType", type: { name: "String" } @@ -3350,178 +4176,139 @@ export const OperationDetail: coreClient.CompositeMapper = { } }; -export const OperationDisplay: coreClient.CompositeMapper = { +export const DiagnosticRendering: coreClient.CompositeMapper = { type: { name: "Composite", - className: "OperationDisplay", + className: "DiagnosticRendering", modelProperties: { - provider: { - serializedName: "provider", + type: { + serializedName: "type", type: { - name: "String" + name: "Number" } }, - resource: { - serializedName: "resource", + title: { + serializedName: "title", type: { name: "String" } }, - operation: { - serializedName: "operation", + description: { + serializedName: "description", type: { name: "String" } }, - description: { - serializedName: "description", + isVisible: { + serializedName: "isVisible", type: { - name: "String" + name: "Boolean" } } } } }; -export const ManagedEnvironmentsCollection: coreClient.CompositeMapper = { +export const DiagnosticsStatus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedEnvironmentsCollection", + className: "DiagnosticsStatus", modelProperties: { - value: { - serializedName: "value", - required: true, + message: { + serializedName: "message", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ManagedEnvironment" - } - } + name: "String" } }, - nextLink: { - serializedName: "nextLink", - readOnly: true, + statusId: { + serializedName: "statusId", type: { - name: "String" + name: "Number" } } } } }; -export const CertificateCollection: coreClient.CompositeMapper = { +export const DiagnosticDataProviderMetadata: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CertificateCollection", + className: "DiagnosticDataProviderMetadata", modelProperties: { - value: { - serializedName: "value", - required: true, + providerName: { + serializedName: "providerName", + type: { + name: "String" + } + }, + propertyBag: { + serializedName: "propertyBag", type: { name: "Sequence", element: { type: { name: "Composite", - className: "Certificate" + className: "DiagnosticDataProviderMetadataPropertyBagItem" } } } - }, - nextLink: { - serializedName: "nextLink", - readOnly: true, - type: { - name: "String" - } } } } }; -export const CertificateProperties: coreClient.CompositeMapper = { +export const DiagnosticDataProviderMetadataPropertyBagItem: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CertificateProperties", + className: "DiagnosticDataProviderMetadataPropertyBagItem", modelProperties: { - provisioningState: { - serializedName: "provisioningState", - readOnly: true, - type: { - name: "String" - } - }, - password: { - serializedName: "password", - type: { - name: "String" - } - }, - subjectName: { - serializedName: "subjectName", - readOnly: true, + name: { + serializedName: "name", type: { name: "String" } }, - subjectAlternativeNames: { - serializedName: "subjectAlternativeNames", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, value: { serializedName: "value", - type: { - name: "ByteArray" - } - }, - issuer: { - serializedName: "issuer", - readOnly: true, type: { name: "String" } - }, - issueDate: { - serializedName: "issueDate", - readOnly: true, + } + } + } +}; + +export const VnetConfiguration: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "VnetConfiguration", + modelProperties: { + internal: { + serializedName: "internal", type: { - name: "DateTime" + name: "Boolean" } }, - expirationDate: { - serializedName: "expirationDate", - readOnly: true, + infrastructureSubnetId: { + serializedName: "infrastructureSubnetId", type: { - name: "DateTime" + name: "String" } }, - thumbprint: { - serializedName: "thumbprint", - readOnly: true, + dockerBridgeCidr: { + serializedName: "dockerBridgeCidr", type: { name: "String" } }, - valid: { - serializedName: "valid", - readOnly: true, + platformReservedCidr: { + serializedName: "platformReservedCidr", type: { - name: "Boolean" + name: "String" } }, - publicKeyHash: { - serializedName: "publicKeyHash", - readOnly: true, + platformReservedDnsIP: { + serializedName: "platformReservedDnsIP", type: { name: "String" } @@ -3530,35 +4317,41 @@ export const CertificateProperties: coreClient.CompositeMapper = { } }; -export const CertificatePatch: coreClient.CompositeMapper = { +export const AppLogsConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CertificatePatch", + className: "AppLogsConfiguration", modelProperties: { - tags: { - serializedName: "tags", + destination: { + serializedName: "destination", type: { - name: "Dictionary", - value: { type: { name: "String" } } + name: "String" + } + }, + logAnalyticsConfiguration: { + serializedName: "logAnalyticsConfiguration", + type: { + name: "Composite", + className: "LogAnalyticsConfiguration" } } } } }; -export const CheckNameAvailabilityRequest: coreClient.CompositeMapper = { +export const LogAnalyticsConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CheckNameAvailabilityRequest", + className: "LogAnalyticsConfiguration", modelProperties: { - name: { - serializedName: "name", + customerId: { + serializedName: "customerId", type: { name: "String" } }, - type: { - serializedName: "type", + sharedKey: { + serializedName: "sharedKey", type: { name: "String" } @@ -3567,53 +4360,43 @@ export const CheckNameAvailabilityRequest: coreClient.CompositeMapper = { } }; -export const CheckNameAvailabilityResponse: coreClient.CompositeMapper = { +export const WorkloadProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "CheckNameAvailabilityResponse", + className: "WorkloadProfile", modelProperties: { - nameAvailable: { - serializedName: "nameAvailable", + workloadProfileType: { + serializedName: "workloadProfileType", + required: true, type: { - name: "Boolean" + name: "String" } }, - reason: { - serializedName: "reason", + minimumCount: { + serializedName: "minimumCount", + required: true, type: { - name: "String" + name: "Number" } }, - message: { - serializedName: "message", + maximumCount: { + serializedName: "maximumCount", + required: true, type: { - name: "String" + name: "Number" } } } } }; -export const WorkloadProfileStatesCollection: coreClient.CompositeMapper = { +export const KedaConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkloadProfileStatesCollection", + className: "KedaConfiguration", modelProperties: { - value: { - serializedName: "value", - required: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "WorkloadProfileStates" - } - } - } - }, - nextLink: { - serializedName: "nextLink", + version: { + serializedName: "version", readOnly: true, type: { name: "String" @@ -3623,96 +4406,108 @@ export const WorkloadProfileStatesCollection: coreClient.CompositeMapper = { } }; -export const WorkloadProfileStatesProperties: coreClient.CompositeMapper = { +export const DaprConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "WorkloadProfileStatesProperties", + className: "DaprConfiguration", modelProperties: { - minimumCount: { - serializedName: "minimumCount", - type: { - name: "Number" - } - }, - maximumCount: { - serializedName: "maximumCount", - type: { - name: "Number" - } - }, - currentCount: { - serializedName: "currentCount", + version: { + serializedName: "version", + readOnly: true, type: { - name: "Number" + name: "String" } } } } }; -export const ManagedEnvironmentStoragesCollection: coreClient.CompositeMapper = { +export const AvailableOperations: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedEnvironmentStoragesCollection", + className: "AvailableOperations", modelProperties: { value: { serializedName: "value", - required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ManagedEnvironmentStorage" + className: "OperationDetail" } } } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } } } } }; -export const ManagedEnvironmentStorageProperties: coreClient.CompositeMapper = { +export const OperationDetail: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ManagedEnvironmentStorageProperties", + className: "OperationDetail", modelProperties: { - azureFile: { - serializedName: "azureFile", + name: { + serializedName: "name", + type: { + name: "String" + } + }, + isDataAction: { + serializedName: "isDataAction", + type: { + name: "Boolean" + } + }, + display: { + serializedName: "display", type: { name: "Composite", - className: "AzureFileProperties" + className: "OperationDisplay" + } + }, + origin: { + serializedName: "origin", + type: { + name: "String" } } } } }; -export const AzureFileProperties: coreClient.CompositeMapper = { +export const OperationDisplay: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureFileProperties", + className: "OperationDisplay", modelProperties: { - accountName: { - serializedName: "accountName", + provider: { + serializedName: "provider", type: { name: "String" } }, - accountKey: { - serializedName: "accountKey", + resource: { + serializedName: "resource", type: { name: "String" } }, - accessMode: { - serializedName: "accessMode", + operation: { + serializedName: "operation", type: { name: "String" } }, - shareName: { - serializedName: "shareName", + description: { + serializedName: "description", type: { name: "String" } @@ -3721,10 +4516,10 @@ export const AzureFileProperties: coreClient.CompositeMapper = { } }; -export const SourceControlCollection: coreClient.CompositeMapper = { +export const ManagedEnvironmentsCollection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "SourceControlCollection", + className: "ManagedEnvironmentsCollection", modelProperties: { value: { serializedName: "value", @@ -3734,7 +4529,7 @@ export const SourceControlCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "SourceControl" + className: "ManagedEnvironment" } } } @@ -3750,84 +4545,40 @@ export const SourceControlCollection: coreClient.CompositeMapper = { } }; -export const GithubActionConfiguration: coreClient.CompositeMapper = { +export const ManagedCertificateProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "GithubActionConfiguration", + className: "ManagedCertificateProperties", modelProperties: { - registryInfo: { - serializedName: "registryInfo", - type: { - name: "Composite", - className: "RegistryInfo" - } - }, - azureCredentials: { - serializedName: "azureCredentials", - type: { - name: "Composite", - className: "AzureCredentials" - } - }, - contextPath: { - serializedName: "contextPath", - type: { - name: "String" - } - }, - image: { - serializedName: "image", - type: { - name: "String" - } - }, - publishType: { - serializedName: "publishType", - type: { - name: "String" - } - }, - os: { - serializedName: "os", + provisioningState: { + serializedName: "provisioningState", + readOnly: true, type: { name: "String" } }, - runtimeStack: { - serializedName: "runtimeStack", + subjectName: { + serializedName: "subjectName", type: { name: "String" } }, - runtimeVersion: { - serializedName: "runtimeVersion", - type: { - name: "String" - } - } - } - } -}; - -export const RegistryInfo: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "RegistryInfo", - modelProperties: { - registryUrl: { - serializedName: "registryUrl", + error: { + serializedName: "error", + readOnly: true, type: { name: "String" } }, - registryUserName: { - serializedName: "registryUserName", + domainControlValidation: { + serializedName: "domainControlValidation", type: { name: "String" } }, - registryPassword: { - serializedName: "registryPassword", + validationToken: { + serializedName: "validationToken", + readOnly: true, type: { name: "String" } @@ -3836,31 +4587,43 @@ export const RegistryInfo: coreClient.CompositeMapper = { } }; -export const AzureCredentials: coreClient.CompositeMapper = { +export const ManagedCertificatePatch: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AzureCredentials", + className: "ManagedCertificatePatch", modelProperties: { - clientId: { - serializedName: "clientId", - type: { - name: "String" - } - }, - clientSecret: { - serializedName: "clientSecret", + tags: { + serializedName: "tags", type: { - name: "String" + name: "Dictionary", + value: { type: { name: "String" } } } - }, - tenantId: { - serializedName: "tenantId", + } + } + } +}; + +export const ManagedCertificateCollection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedCertificateCollection", + modelProperties: { + value: { + serializedName: "value", + required: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ManagedCertificate" + } + } } }, - subscriptionId: { - serializedName: "subscriptionId", + nextLink: { + serializedName: "nextLink", + readOnly: true, type: { name: "String" } @@ -3869,19 +4632,20 @@ export const AzureCredentials: coreClient.CompositeMapper = { } }; -export const ConnectedEnvironmentCollection: coreClient.CompositeMapper = { +export const WorkloadProfileStatesCollection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectedEnvironmentCollection", + className: "WorkloadProfileStatesCollection", modelProperties: { value: { serializedName: "value", + required: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "ConnectedEnvironment" + className: "WorkloadProfileStates" } } } @@ -3897,10 +4661,37 @@ export const ConnectedEnvironmentCollection: coreClient.CompositeMapper = { } }; -export const ConnectedEnvironmentStoragesCollection: coreClient.CompositeMapper = { +export const WorkloadProfileStatesProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectedEnvironmentStoragesCollection", + className: "WorkloadProfileStatesProperties", + modelProperties: { + minimumCount: { + serializedName: "minimumCount", + type: { + name: "Number" + } + }, + maximumCount: { + serializedName: "maximumCount", + type: { + name: "Number" + } + }, + currentCount: { + serializedName: "currentCount", + type: { + name: "Number" + } + } + } + } +}; + +export const ManagedEnvironmentStoragesCollection: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ManagedEnvironmentStoragesCollection", modelProperties: { value: { serializedName: "value", @@ -3910,7 +4701,7 @@ export const ConnectedEnvironmentStoragesCollection: coreClient.CompositeMapper element: { type: { name: "Composite", - className: "ConnectedEnvironmentStorage" + className: "ManagedEnvironmentStorage" } } } @@ -3919,10 +4710,10 @@ export const ConnectedEnvironmentStoragesCollection: coreClient.CompositeMapper } }; -export const ConnectedEnvironmentStorageProperties: coreClient.CompositeMapper = { +export const ManagedEnvironmentStorageProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectedEnvironmentStorageProperties", + className: "ManagedEnvironmentStorageProperties", modelProperties: { azureFile: { serializedName: "azureFile", @@ -3935,10 +4726,10 @@ export const ConnectedEnvironmentStorageProperties: coreClient.CompositeMapper = } }; -export const AvailableWorkloadProfilesCollection: coreClient.CompositeMapper = { +export const SourceControlCollection: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AvailableWorkloadProfilesCollection", + className: "SourceControlCollection", modelProperties: { value: { serializedName: "value", @@ -3948,7 +4739,7 @@ export const AvailableWorkloadProfilesCollection: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "AvailableWorkloadProfile" + className: "SourceControl" } } } @@ -3964,205 +4755,117 @@ export const AvailableWorkloadProfilesCollection: coreClient.CompositeMapper = { } }; -export const AvailableWorkloadProfileProperties: coreClient.CompositeMapper = { +export const GithubActionConfiguration: coreClient.CompositeMapper = { type: { name: "Composite", - className: "AvailableWorkloadProfileProperties", + className: "GithubActionConfiguration", modelProperties: { - billingMeterCategory: { - serializedName: "billingMeterCategory", - type: { - name: "String" - } - }, - applicability: { - serializedName: "applicability", - type: { - name: "String" - } - }, - cores: { - serializedName: "cores", + registryInfo: { + serializedName: "registryInfo", type: { - name: "Number" + name: "Composite", + className: "RegistryInfo" } }, - memoryGiB: { - serializedName: "memoryGiB", + azureCredentials: { + serializedName: "azureCredentials", type: { - name: "Number" + name: "Composite", + className: "AzureCredentials" } }, - displayName: { - serializedName: "displayName", + contextPath: { + serializedName: "contextPath", type: { name: "String" } - } - } - } -}; - -export const ErrorResponse: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ErrorResponse", - modelProperties: { - error: { - serializedName: "error", - type: { - name: "Composite", - className: "ErrorDetail" - } - } - } - } -}; - -export const ErrorDetail: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ErrorDetail", - modelProperties: { - code: { - serializedName: "code", - readOnly: true, + }, + image: { + serializedName: "image", type: { name: "String" } }, - message: { - serializedName: "message", - readOnly: true, + publishType: { + serializedName: "publishType", type: { name: "String" } }, - target: { - serializedName: "target", - readOnly: true, + os: { + serializedName: "os", type: { name: "String" } }, - details: { - serializedName: "details", - readOnly: true, + runtimeStack: { + serializedName: "runtimeStack", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorDetail" - } - } + name: "String" } }, - additionalInfo: { - serializedName: "additionalInfo", - readOnly: true, + runtimeVersion: { + serializedName: "runtimeVersion", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "ErrorAdditionalInfo" - } - } + name: "String" } } } } }; -export const ErrorAdditionalInfo: coreClient.CompositeMapper = { +export const RegistryInfo: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ErrorAdditionalInfo", + className: "RegistryInfo", modelProperties: { - type: { - serializedName: "type", - readOnly: true, + registryUrl: { + serializedName: "registryUrl", type: { name: "String" } }, - info: { - serializedName: "info", - readOnly: true, + registryUserName: { + serializedName: "registryUserName", type: { - name: "Dictionary", - value: { type: { name: "any" } } + name: "String" } - } - } - } -}; - -export const BillingMeterCollection: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "BillingMeterCollection", - modelProperties: { - value: { - serializedName: "value", - required: true, + }, + registryPassword: { + serializedName: "registryPassword", type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "BillingMeter" - } - } + name: "String" } } } } }; -export const BillingMeterProperties: coreClient.CompositeMapper = { +export const AzureCredentials: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BillingMeterProperties", + className: "AzureCredentials", modelProperties: { - category: { - serializedName: "category", + clientId: { + serializedName: "clientId", type: { name: "String" } }, - meterType: { - serializedName: "meterType", + clientSecret: { + serializedName: "clientSecret", type: { name: "String" } }, - displayName: { - serializedName: "displayName", - type: { - name: "String" - } - } - } - } -}; - -export const DaprSecret: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DaprSecret", - modelProperties: { - name: { - serializedName: "name", - readOnly: true, + tenantId: { + serializedName: "tenantId", type: { name: "String" } - }, - value: { - serializedName: "value", - readOnly: true, + }, + subscriptionId: { + serializedName: "subscriptionId", type: { name: "String" } @@ -4282,6 +4985,145 @@ export const AuthConfig: coreClient.CompositeMapper = { } }; +export const AvailableWorkloadProfile: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "AvailableWorkloadProfile", + modelProperties: { + ...ProxyResource.type.modelProperties, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "AvailableWorkloadProfileProperties" + } + } + } + } +}; + +export const BillingMeter: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "BillingMeter", + modelProperties: { + ...ProxyResource.type.modelProperties, + location: { + serializedName: "location", + type: { + name: "String" + } + }, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "BillingMeterProperties" + } + } + } + } +}; + +export const DaprComponent: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "DaprComponent", + modelProperties: { + ...ProxyResource.type.modelProperties, + componentType: { + serializedName: "properties.componentType", + type: { + name: "String" + } + }, + version: { + serializedName: "properties.version", + type: { + name: "String" + } + }, + ignoreErrors: { + defaultValue: false, + serializedName: "properties.ignoreErrors", + type: { + name: "Boolean" + } + }, + initTimeout: { + serializedName: "properties.initTimeout", + type: { + name: "String" + } + }, + secrets: { + serializedName: "properties.secrets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Secret" + } + } + } + }, + secretStoreComponent: { + serializedName: "properties.secretStoreComponent", + type: { + name: "String" + } + }, + metadata: { + serializedName: "properties.metadata", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "DaprMetadata" + } + } + } + }, + scopes: { + serializedName: "properties.scopes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const ConnectedEnvironmentStorage: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectedEnvironmentStorage", + modelProperties: { + ...ProxyResource.type.modelProperties, + properties: { + serializedName: "properties", + type: { + name: "Composite", + className: "ConnectedEnvironmentStorageProperties" + } + } + } + } +}; + export const Revision: coreClient.CompositeMapper = { type: { name: "Composite", @@ -4391,81 +5233,6 @@ export const Replica: coreClient.CompositeMapper = { } }; -export const DaprComponent: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "DaprComponent", - modelProperties: { - ...ProxyResource.type.modelProperties, - componentType: { - serializedName: "properties.componentType", - type: { - name: "String" - } - }, - version: { - serializedName: "properties.version", - type: { - name: "String" - } - }, - ignoreErrors: { - serializedName: "properties.ignoreErrors", - type: { - name: "Boolean" - } - }, - initTimeout: { - serializedName: "properties.initTimeout", - type: { - name: "String" - } - }, - secrets: { - serializedName: "properties.secrets", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Secret" - } - } - } - }, - secretStoreComponent: { - serializedName: "properties.secretStoreComponent", - type: { - name: "String" - } - }, - metadata: { - serializedName: "properties.metadata", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "DaprMetadata" - } - } - } - }, - scopes: { - serializedName: "properties.scopes", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - export const Diagnostics: coreClient.CompositeMapper = { type: { name: "Composite", @@ -4530,86 +5297,97 @@ export const SourceControl: coreClient.CompositeMapper = { name: "String" } }, - repoUrl: { - serializedName: "properties.repoUrl", + repoUrl: { + serializedName: "properties.repoUrl", + type: { + name: "String" + } + }, + branch: { + serializedName: "properties.branch", + type: { + name: "String" + } + }, + githubActionConfiguration: { + serializedName: "properties.githubActionConfiguration", + type: { + name: "Composite", + className: "GithubActionConfiguration" + } + } + } + } +}; + +export const ConnectedEnvironment: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "ConnectedEnvironment", + modelProperties: { + ...TrackedResource.type.modelProperties, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + deploymentErrors: { + serializedName: "properties.deploymentErrors", + readOnly: true, type: { name: "String" } }, - branch: { - serializedName: "properties.branch", + defaultDomain: { + serializedName: "properties.defaultDomain", + readOnly: true, type: { name: "String" } }, - githubActionConfiguration: { - serializedName: "properties.githubActionConfiguration", - type: { - name: "Composite", - className: "GithubActionConfiguration" - } - } - } - } -}; - -export const ConnectedEnvironmentStorage: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "ConnectedEnvironmentStorage", - modelProperties: { - ...ProxyResource.type.modelProperties, - properties: { - serializedName: "properties", + staticIp: { + serializedName: "properties.staticIp", type: { - name: "Composite", - className: "ConnectedEnvironmentStorageProperties" + name: "String" } - } - } - } -}; - -export const AvailableWorkloadProfile: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "AvailableWorkloadProfile", - modelProperties: { - ...ProxyResource.type.modelProperties, - location: { - serializedName: "location", + }, + daprAIConnectionString: { + serializedName: "properties.daprAIConnectionString", type: { name: "String" } }, - properties: { - serializedName: "properties", + customDomainConfiguration: { + serializedName: "properties.customDomainConfiguration", type: { name: "Composite", - className: "AvailableWorkloadProfileProperties" + className: "CustomDomainConfiguration" } } } } }; -export const BillingMeter: coreClient.CompositeMapper = { +export const Certificate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "BillingMeter", + className: "Certificate", modelProperties: { - ...ProxyResource.type.modelProperties, - location: { - serializedName: "location", - type: { - name: "String" - } - }, + ...TrackedResource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "BillingMeterProperties" + className: "CertificateProperties" } } } @@ -4636,6 +5414,12 @@ export const ContainerApp: coreClient.CompositeMapper = { className: "ManagedServiceIdentity" } }, + managedBy: { + serializedName: "managedBy", + type: { + name: "String" + } + }, provisioningState: { serializedName: "properties.provisioningState", readOnly: true, @@ -4668,6 +5452,13 @@ export const ContainerApp: coreClient.CompositeMapper = { name: "String" } }, + latestReadyRevisionName: { + serializedName: "properties.latestReadyRevisionName", + readOnly: true, + type: { + name: "String" + } + }, latestRevisionFqdn: { serializedName: "properties.latestRevisionFqdn", readOnly: true, @@ -4743,17 +5534,86 @@ export const ContainerAppAuthToken: coreClient.CompositeMapper = { } }; +export const Job: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Job", + modelProperties: { + ...TrackedResource.type.modelProperties, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation" + } + }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "ManagedServiceIdentity" + } + }, + provisioningState: { + serializedName: "properties.provisioningState", + readOnly: true, + type: { + name: "String" + } + }, + environmentId: { + serializedName: "properties.environmentId", + type: { + name: "String" + } + }, + configuration: { + serializedName: "properties.configuration", + type: { + name: "Composite", + className: "JobConfiguration" + } + }, + template: { + serializedName: "properties.template", + type: { + name: "Composite", + className: "JobTemplate" + } + }, + outboundIpAddresses: { + serializedName: "properties.outboundIpAddresses", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + eventStreamEndpoint: { + serializedName: "properties.eventStreamEndpoint", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + export const ManagedEnvironment: coreClient.CompositeMapper = { type: { name: "Composite", className: "ManagedEnvironment", modelProperties: { ...TrackedResource.type.modelProperties, - sku: { - serializedName: "sku", + kind: { + serializedName: "kind", type: { - name: "Composite", - className: "EnvironmentSkuProperties" + name: "String" } }, provisioningState: { @@ -4841,22 +5701,36 @@ export const ManagedEnvironment: coreClient.CompositeMapper = { } } } + }, + kedaConfiguration: { + serializedName: "properties.kedaConfiguration", + type: { + name: "Composite", + className: "KedaConfiguration" + } + }, + daprConfiguration: { + serializedName: "properties.daprConfiguration", + type: { + name: "Composite", + className: "DaprConfiguration" + } } } } }; -export const Certificate: coreClient.CompositeMapper = { +export const ManagedCertificate: coreClient.CompositeMapper = { type: { name: "Composite", - className: "Certificate", + className: "ManagedCertificate", modelProperties: { ...TrackedResource.type.modelProperties, properties: { serializedName: "properties", type: { name: "Composite", - className: "CertificateProperties" + className: "ManagedCertificateProperties" } } } @@ -4887,57 +5761,105 @@ export const EnvironmentAuthToken: coreClient.CompositeMapper = { } }; -export const ConnectedEnvironment: coreClient.CompositeMapper = { +export const JobDeleteHeaders: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ConnectedEnvironment", + className: "JobDeleteHeaders", modelProperties: { - ...TrackedResource.type.modelProperties, - extendedLocation: { - serializedName: "extendedLocation", + location: { + serializedName: "location", type: { - name: "Composite", - className: "ExtendedLocation" + name: "String" } - }, - provisioningState: { - serializedName: "properties.provisioningState", - readOnly: true, + } + } + } +}; + +export const JobUpdateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobUpdateHeaders", + modelProperties: { + location: { + serializedName: "location", type: { name: "String" } - }, - deploymentErrors: { - serializedName: "properties.deploymentErrors", - readOnly: true, + } + } + } +}; + +export const JobRunHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobRunHeaders", + modelProperties: { + location: { + serializedName: "location", type: { name: "String" } - }, - defaultDomain: { - serializedName: "properties.defaultDomain", - readOnly: true, + } + } + } +}; + +export const JobTerminateHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobTerminateHeaders", + modelProperties: { + location: { + serializedName: "location", type: { name: "String" } - }, - staticIp: { - serializedName: "properties.staticIp", + } + } + } +}; + +export const JobTerminateMultipleExecutionsHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobTerminateMultipleExecutionsHeaders", + modelProperties: { + location: { + serializedName: "location", type: { name: "String" } - }, - daprAIConnectionString: { - serializedName: "properties.daprAIConnectionString", + } + } + } +}; + +export const JobExecutionsHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobExecutionsHeaders", + modelProperties: { + location: { + serializedName: "location", type: { name: "String" } - }, - customDomainConfiguration: { - serializedName: "properties.customDomainConfiguration", + } + } + } +}; + +export const JobExecutionsNextHeaders: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "JobExecutionsNextHeaders", + modelProperties: { + location: { + serializedName: "location", type: { - name: "Composite", - className: "CustomDomainConfiguration" + name: "String" } } } diff --git a/sdk/appcontainers/arm-appcontainers/src/models/parameters.ts b/sdk/appcontainers/arm-appcontainers/src/models/parameters.ts index 8f3673eadcad..d7bcee45d281 100644 --- a/sdk/appcontainers/arm-appcontainers/src/models/parameters.ts +++ b/sdk/appcontainers/arm-appcontainers/src/models/parameters.ts @@ -13,16 +13,22 @@ import { } from "@azure/core-client"; import { AuthConfig as AuthConfigMapper, - ContainerApp as ContainerAppMapper, - DaprComponent as DaprComponentMapper, - ManagedEnvironment as ManagedEnvironmentMapper, + ConnectedEnvironment as ConnectedEnvironmentMapper, + CheckNameAvailabilityRequest as CheckNameAvailabilityRequestMapper, Certificate as CertificateMapper, CertificatePatch as CertificatePatchMapper, - CheckNameAvailabilityRequest as CheckNameAvailabilityRequestMapper, + DaprComponent as DaprComponentMapper, + ConnectedEnvironmentStorage as ConnectedEnvironmentStorageMapper, + ContainerApp as ContainerAppMapper, + Job as JobMapper, + JobPatchProperties as JobPatchPropertiesMapper, + JobExecutionTemplate as JobExecutionTemplateMapper, + JobExecutionNamesCollection as JobExecutionNamesCollectionMapper, + ManagedEnvironment as ManagedEnvironmentMapper, + ManagedCertificate as ManagedCertificateMapper, + ManagedCertificatePatch as ManagedCertificatePatchMapper, ManagedEnvironmentStorage as ManagedEnvironmentStorageMapper, - SourceControl as SourceControlMapper, - ConnectedEnvironment as ConnectedEnvironmentMapper, - ConnectedEnvironmentStorage as ConnectedEnvironmentStorageMapper + SourceControl as SourceControlMapper } from "../models/mappers"; export const accept: OperationParameter = { @@ -92,7 +98,7 @@ export const containerAppName: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2022-06-01-preview", + defaultValue: "2022-11-01-preview", isConstant: true, serializedName: "api-version", type: { @@ -141,35 +147,66 @@ export const nextLink: OperationURLParameter = { skipEncoding: true }; -export const containerAppEnvelope: OperationParameter = { - parameterPath: "containerAppEnvelope", - mapper: ContainerAppMapper +export const location: OperationURLParameter = { + parameterPath: "location", + mapper: { + constraints: { + MinLength: 1 + }, + serializedName: "location", + required: true, + type: { + name: "String" + } + } }; -export const customHostname: OperationQueryParameter = { - parameterPath: ["options", "customHostname"], +export const connectedEnvironmentName: OperationURLParameter = { + parameterPath: "connectedEnvironmentName", mapper: { - serializedName: "customHostname", + serializedName: "connectedEnvironmentName", + required: true, type: { name: "String" } } }; -export const filter: OperationQueryParameter = { - parameterPath: ["options", "filter"], +export const environmentEnvelope: OperationParameter = { + parameterPath: "environmentEnvelope", + mapper: ConnectedEnvironmentMapper +}; + +export const checkNameAvailabilityRequest: OperationParameter = { + parameterPath: "checkNameAvailabilityRequest", + mapper: CheckNameAvailabilityRequestMapper +}; + +export const certificateName: OperationURLParameter = { + parameterPath: "certificateName", mapper: { - serializedName: "$filter", + serializedName: "certificateName", + required: true, type: { name: "String" } } }; -export const revisionName: OperationURLParameter = { - parameterPath: "revisionName", +export const certificateEnvelope: OperationParameter = { + parameterPath: ["options", "certificateEnvelope"], + mapper: CertificateMapper +}; + +export const certificateEnvelope1: OperationParameter = { + parameterPath: "certificateEnvelope", + mapper: CertificatePatchMapper +}; + +export const componentName: OperationURLParameter = { + parameterPath: "componentName", mapper: { - serializedName: "revisionName", + serializedName: "componentName", required: true, type: { name: "String" @@ -177,10 +214,15 @@ export const revisionName: OperationURLParameter = { } }; -export const replicaName: OperationURLParameter = { - parameterPath: "replicaName", +export const daprComponentEnvelope: OperationParameter = { + parameterPath: "daprComponentEnvelope", + mapper: DaprComponentMapper +}; + +export const storageName: OperationURLParameter = { + parameterPath: "storageName", mapper: { - serializedName: "replicaName", + serializedName: "storageName", required: true, type: { name: "String" @@ -188,21 +230,33 @@ export const replicaName: OperationURLParameter = { } }; -export const environmentName: OperationURLParameter = { - parameterPath: "environmentName", +export const storageEnvelope: OperationParameter = { + parameterPath: "storageEnvelope", + mapper: ConnectedEnvironmentStorageMapper +}; + +export const containerAppEnvelope: OperationParameter = { + parameterPath: "containerAppEnvelope", + mapper: ContainerAppMapper +}; + +export const customHostname: OperationQueryParameter = { + parameterPath: ["options", "customHostname"], mapper: { - serializedName: "environmentName", - required: true, + serializedName: "customHostname", type: { name: "String" } } }; -export const componentName: OperationURLParameter = { - parameterPath: "componentName", +export const jobName: OperationURLParameter = { + parameterPath: "jobName", mapper: { - serializedName: "componentName", + constraints: { + Pattern: new RegExp("^[-\\w\\._\\(\\)]+$") + }, + serializedName: "jobName", required: true, type: { name: "String" @@ -210,15 +264,15 @@ export const componentName: OperationURLParameter = { } }; -export const daprComponentEnvelope: OperationParameter = { - parameterPath: "daprComponentEnvelope", - mapper: DaprComponentMapper +export const jobEnvelope: OperationParameter = { + parameterPath: "jobEnvelope", + mapper: JobMapper }; -export const detectorName: OperationURLParameter = { - parameterPath: "detectorName", +export const jobName1: OperationURLParameter = { + parameterPath: "jobName", mapper: { - serializedName: "detectorName", + serializedName: "jobName", required: true, type: { name: "String" @@ -226,15 +280,23 @@ export const detectorName: OperationURLParameter = { } }; -export const environmentEnvelope: OperationParameter = { - parameterPath: "environmentEnvelope", - mapper: ManagedEnvironmentMapper +export const jobEnvelope1: OperationParameter = { + parameterPath: "jobEnvelope", + mapper: JobPatchPropertiesMapper }; -export const certificateName: OperationURLParameter = { - parameterPath: "certificateName", +export const template: OperationParameter = { + parameterPath: "template", + mapper: JobExecutionTemplateMapper +}; + +export const jobExecutionName: OperationURLParameter = { + parameterPath: "jobExecutionName", mapper: { - serializedName: "certificateName", + constraints: { + Pattern: new RegExp("^[-\\w\\._\\(\\)]+$") + }, + serializedName: "jobExecutionName", required: true, type: { name: "String" @@ -242,25 +304,36 @@ export const certificateName: OperationURLParameter = { } }; -export const certificateEnvelope: OperationParameter = { - parameterPath: ["options", "certificateEnvelope"], - mapper: CertificateMapper +export const jobExecutionName1: OperationParameter = { + parameterPath: "jobExecutionName", + mapper: JobExecutionNamesCollectionMapper }; -export const certificateEnvelope1: OperationParameter = { - parameterPath: "certificateEnvelope", - mapper: CertificatePatchMapper +export const filter: OperationQueryParameter = { + parameterPath: ["options", "filter"], + mapper: { + serializedName: "$filter", + type: { + name: "String" + } + } }; -export const checkNameAvailabilityRequest: OperationParameter = { - parameterPath: "checkNameAvailabilityRequest", - mapper: CheckNameAvailabilityRequestMapper +export const revisionName: OperationURLParameter = { + parameterPath: "revisionName", + mapper: { + serializedName: "revisionName", + required: true, + type: { + name: "String" + } + } }; -export const storageName: OperationURLParameter = { - parameterPath: "storageName", +export const replicaName: OperationURLParameter = { + parameterPath: "replicaName", mapper: { - serializedName: "storageName", + serializedName: "replicaName", required: true, type: { name: "String" @@ -268,15 +341,21 @@ export const storageName: OperationURLParameter = { } }; -export const storageEnvelope: OperationParameter = { - parameterPath: "storageEnvelope", - mapper: ManagedEnvironmentStorageMapper +export const detectorName: OperationURLParameter = { + parameterPath: "detectorName", + mapper: { + serializedName: "detectorName", + required: true, + type: { + name: "String" + } + } }; -export const sourceControlName: OperationURLParameter = { - parameterPath: "sourceControlName", +export const environmentName: OperationURLParameter = { + parameterPath: "environmentName", mapper: { - serializedName: "sourceControlName", + serializedName: "environmentName", required: true, type: { name: "String" @@ -284,15 +363,15 @@ export const sourceControlName: OperationURLParameter = { } }; -export const sourceControlEnvelope: OperationParameter = { - parameterPath: "sourceControlEnvelope", - mapper: SourceControlMapper +export const environmentEnvelope1: OperationParameter = { + parameterPath: "environmentEnvelope", + mapper: ManagedEnvironmentMapper }; -export const connectedEnvironmentName: OperationURLParameter = { - parameterPath: "connectedEnvironmentName", +export const managedCertificateName: OperationURLParameter = { + parameterPath: "managedCertificateName", mapper: { - serializedName: "connectedEnvironmentName", + serializedName: "managedCertificateName", required: true, type: { name: "String" @@ -300,26 +379,33 @@ export const connectedEnvironmentName: OperationURLParameter = { } }; -export const environmentEnvelope1: OperationParameter = { - parameterPath: "environmentEnvelope", - mapper: ConnectedEnvironmentMapper +export const managedCertificateEnvelope: OperationParameter = { + parameterPath: ["options", "managedCertificateEnvelope"], + mapper: ManagedCertificateMapper +}; + +export const managedCertificateEnvelope1: OperationParameter = { + parameterPath: "managedCertificateEnvelope", + mapper: ManagedCertificatePatchMapper }; export const storageEnvelope1: OperationParameter = { parameterPath: "storageEnvelope", - mapper: ConnectedEnvironmentStorageMapper + mapper: ManagedEnvironmentStorageMapper }; -export const location: OperationURLParameter = { - parameterPath: "location", +export const sourceControlName: OperationURLParameter = { + parameterPath: "sourceControlName", mapper: { - constraints: { - MinLength: 1 - }, - serializedName: "location", + serializedName: "sourceControlName", required: true, type: { name: "String" } } }; + +export const sourceControlEnvelope: OperationParameter = { + parameterPath: "sourceControlEnvelope", + mapper: SourceControlMapper +}; diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/availableWorkloadProfiles.ts b/sdk/appcontainers/arm-appcontainers/src/operations/availableWorkloadProfiles.ts index 40572dc25833..0a770c0b01be 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operations/availableWorkloadProfiles.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operations/availableWorkloadProfiles.ts @@ -160,7 +160,6 @@ const getNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.ErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/certificates.ts b/sdk/appcontainers/arm-appcontainers/src/operations/certificates.ts index abc53d53ec7c..50def81fbc80 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operations/certificates.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operations/certificates.ts @@ -284,8 +284,8 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.environmentName, - Parameters.certificateName + Parameters.certificateName, + Parameters.environmentName ], headerParameters: [Parameters.accept], serializer @@ -308,8 +308,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.environmentName, - Parameters.certificateName + Parameters.certificateName, + Parameters.environmentName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -331,8 +331,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.environmentName, - Parameters.certificateName + Parameters.certificateName, + Parameters.environmentName ], headerParameters: [Parameters.accept], serializer @@ -355,8 +355,8 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.environmentName, - Parameters.certificateName + Parameters.certificateName, + Parameters.environmentName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -373,7 +373,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/connectedEnvironments.ts b/sdk/appcontainers/arm-appcontainers/src/operations/connectedEnvironments.ts index 6e00f85d2ff8..3faa9f00824b 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operations/connectedEnvironments.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operations/connectedEnvironments.ts @@ -554,7 +554,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - requestBody: Parameters.environmentEnvelope1, + requestBody: Parameters.environmentEnvelope, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -646,7 +646,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -666,7 +665,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/connectedEnvironmentsCertificates.ts b/sdk/appcontainers/arm-appcontainers/src/operations/connectedEnvironmentsCertificates.ts index a920e82c0390..10bf2489fb05 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operations/connectedEnvironmentsCertificates.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operations/connectedEnvironmentsCertificates.ts @@ -289,8 +289,8 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.certificateName, - Parameters.connectedEnvironmentName + Parameters.connectedEnvironmentName, + Parameters.certificateName ], headerParameters: [Parameters.accept], serializer @@ -313,8 +313,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.certificateName, - Parameters.connectedEnvironmentName + Parameters.connectedEnvironmentName, + Parameters.certificateName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -336,8 +336,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.certificateName, - Parameters.connectedEnvironmentName + Parameters.connectedEnvironmentName, + Parameters.certificateName ], headerParameters: [Parameters.accept], serializer @@ -360,8 +360,8 @@ const updateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.certificateName, - Parameters.connectedEnvironmentName + Parameters.connectedEnvironmentName, + Parameters.certificateName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -378,7 +378,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/connectedEnvironmentsDaprComponents.ts b/sdk/appcontainers/arm-appcontainers/src/operations/connectedEnvironmentsDaprComponents.ts index 1d69b38a5dcd..e4f61d14dee4 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operations/connectedEnvironmentsDaprComponents.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operations/connectedEnvironmentsDaprComponents.ts @@ -288,8 +288,8 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.componentName, - Parameters.connectedEnvironmentName + Parameters.connectedEnvironmentName, + Parameters.componentName ], headerParameters: [Parameters.accept], serializer @@ -312,8 +312,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.componentName, - Parameters.connectedEnvironmentName + Parameters.connectedEnvironmentName, + Parameters.componentName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -335,8 +335,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.componentName, - Parameters.connectedEnvironmentName + Parameters.connectedEnvironmentName, + Parameters.componentName ], headerParameters: [Parameters.accept], serializer @@ -358,8 +358,8 @@ const listSecretsOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.componentName, - Parameters.connectedEnvironmentName + Parameters.connectedEnvironmentName, + Parameters.componentName ], headerParameters: [Parameters.accept], serializer @@ -375,7 +375,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/connectedEnvironmentsStorages.ts b/sdk/appcontainers/arm-appcontainers/src/operations/connectedEnvironmentsStorages.ts index e1f12b3c7f33..38a5f292aa22 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operations/connectedEnvironmentsStorages.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operations/connectedEnvironmentsStorages.ts @@ -159,8 +159,8 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.storageName, - Parameters.connectedEnvironmentName + Parameters.connectedEnvironmentName, + Parameters.storageName ], headerParameters: [Parameters.accept], serializer @@ -177,14 +177,14 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - requestBody: Parameters.storageEnvelope1, + requestBody: Parameters.storageEnvelope, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.storageName, - Parameters.connectedEnvironmentName + Parameters.connectedEnvironmentName, + Parameters.storageName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -206,8 +206,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.storageName, - Parameters.connectedEnvironmentName + Parameters.connectedEnvironmentName, + Parameters.storageName ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/containerApps.ts b/sdk/appcontainers/arm-appcontainers/src/operations/containerApps.ts index ef137d3b1ba5..c0505c1a4b7f 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operations/containerApps.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operations/containerApps.ts @@ -29,6 +29,7 @@ import { ContainerAppsCreateOrUpdateResponse, ContainerAppsDeleteOptionalParams, ContainerAppsUpdateOptionalParams, + ContainerAppsUpdateResponse, ContainerAppsListCustomHostNameAnalysisOptionalParams, ContainerAppsListCustomHostNameAnalysisResponse, ContainerAppsListSecretsOptionalParams, @@ -406,11 +407,16 @@ export class ContainerAppsImpl implements ContainerApps { containerAppName: string, containerAppEnvelope: ContainerApp, options?: ContainerAppsUpdateOptionalParams - ): Promise, void>> { + ): Promise< + PollerLike< + PollOperationState, + ContainerAppsUpdateResponse + > + > { const directSendOperation = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec - ): Promise => { + ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperation = async ( @@ -471,7 +477,7 @@ export class ContainerAppsImpl implements ContainerApps { containerAppName: string, containerAppEnvelope: ContainerApp, options?: ContainerAppsUpdateOptionalParams - ): Promise { + ): Promise { const poller = await this.beginUpdate( resourceGroupName, containerAppName, @@ -690,10 +696,18 @@ const updateOperationSpec: coreClient.OperationSpec = { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}", httpMethod: "PATCH", responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, + 200: { + bodyMapper: Mappers.ContainerApp + }, + 201: { + bodyMapper: Mappers.ContainerApp + }, + 202: { + bodyMapper: Mappers.ContainerApp + }, + 204: { + bodyMapper: Mappers.ContainerApp + }, default: { bodyMapper: Mappers.DefaultErrorResponse } @@ -790,7 +804,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -810,7 +823,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/containerAppsAuthConfigs.ts b/sdk/appcontainers/arm-appcontainers/src/operations/containerAppsAuthConfigs.ts index 9e45d15ab288..730b4f246cc7 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operations/containerAppsAuthConfigs.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operations/containerAppsAuthConfigs.ts @@ -330,7 +330,6 @@ const listByContainerAppNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/containerAppsDiagnostics.ts b/sdk/appcontainers/arm-appcontainers/src/operations/containerAppsDiagnostics.ts index 849175306fc6..2f5bac546cb4 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operations/containerAppsDiagnostics.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operations/containerAppsDiagnostics.ts @@ -469,7 +469,6 @@ const listDetectorsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -491,7 +490,6 @@ const listRevisionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/containerAppsRevisions.ts b/sdk/appcontainers/arm-appcontainers/src/operations/containerAppsRevisions.ts index daf6f1750a48..102a0c9d61d6 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operations/containerAppsRevisions.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operations/containerAppsRevisions.ts @@ -357,7 +357,6 @@ const listRevisionsNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.filter], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/containerAppsSourceControls.ts b/sdk/appcontainers/arm-appcontainers/src/operations/containerAppsSourceControls.ts index 4afa93622d9f..ba2838f695ca 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operations/containerAppsSourceControls.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operations/containerAppsSourceControls.ts @@ -488,7 +488,6 @@ const listByContainerAppNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/daprComponents.ts b/sdk/appcontainers/arm-appcontainers/src/operations/daprComponents.ts index d05d6ff004b3..e288f99384fb 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operations/daprComponents.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operations/daprComponents.ts @@ -283,8 +283,8 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.environmentName, - Parameters.componentName + Parameters.componentName, + Parameters.environmentName ], headerParameters: [Parameters.accept], serializer @@ -307,8 +307,8 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.environmentName, - Parameters.componentName + Parameters.componentName, + Parameters.environmentName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -330,8 +330,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.environmentName, - Parameters.componentName + Parameters.componentName, + Parameters.environmentName ], headerParameters: [Parameters.accept], serializer @@ -353,8 +353,8 @@ const listSecretsOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.environmentName, - Parameters.componentName + Parameters.componentName, + Parameters.environmentName ], headerParameters: [Parameters.accept], serializer @@ -370,7 +370,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/index.ts b/sdk/appcontainers/arm-appcontainers/src/operations/index.ts index cb79504dd5c6..b727cd6be80a 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operations/index.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operations/index.ts @@ -7,22 +7,25 @@ */ export * from "./containerAppsAuthConfigs"; +export * from "./availableWorkloadProfiles"; +export * from "./billingMeters"; +export * from "./connectedEnvironments"; +export * from "./connectedEnvironmentsCertificates"; +export * from "./connectedEnvironmentsDaprComponents"; +export * from "./connectedEnvironmentsStorages"; export * from "./containerApps"; +export * from "./jobs"; +export * from "./jobOperations"; export * from "./containerAppsRevisions"; export * from "./containerAppsRevisionReplicas"; -export * from "./daprComponents"; export * from "./containerAppsDiagnostics"; export * from "./managedEnvironmentDiagnostics"; export * from "./managedEnvironmentsDiagnostics"; export * from "./operations"; export * from "./managedEnvironments"; export * from "./certificates"; +export * from "./managedCertificates"; export * from "./namespaces"; +export * from "./daprComponents"; export * from "./managedEnvironmentsStorages"; export * from "./containerAppsSourceControls"; -export * from "./connectedEnvironments"; -export * from "./connectedEnvironmentsCertificates"; -export * from "./connectedEnvironmentsDaprComponents"; -export * from "./connectedEnvironmentsStorages"; -export * from "./availableWorkloadProfiles"; -export * from "./billingMeters"; diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/jobOperations.ts b/sdk/appcontainers/arm-appcontainers/src/operations/jobOperations.ts new file mode 100644 index 000000000000..c012f97bbca4 --- /dev/null +++ b/sdk/appcontainers/arm-appcontainers/src/operations/jobOperations.ts @@ -0,0 +1,1026 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { JobOperations } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { ContainerAppsAPIClient } from "../containerAppsAPIClient"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + JobExecution, + JobExecutionsNextOptionalParams, + JobExecutionsOptionalParams, + JobExecutionsResponse, + JobGetOptionalParams, + JobGetResponse, + Job, + JobCreateOrUpdateOptionalParams, + JobCreateOrUpdateResponse, + JobDeleteOptionalParams, + JobPatchProperties, + JobUpdateOptionalParams, + JobUpdateResponse, + JobExecutionTemplate, + JobRunOptionalParams, + JobRunResponse, + JobTerminateOptionalParams, + JobExecutionNamesCollection, + JobTerminateMultipleExecutionsOptionalParams, + JobTerminateMultipleExecutionsResponse, + JobExecutionsNextResponse +} from "../models"; + +/// +/** Class containing JobOperations operations. */ +export class JobOperationsImpl implements JobOperations { + private readonly client: ContainerAppsAPIClient; + + /** + * Initialize a new instance of the class JobOperations class. + * @param client Reference to the service client + */ + constructor(client: ContainerAppsAPIClient) { + this.client = client; + } + + /** + * Get a Container Apps Job's executions + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param options The options parameters. + */ + public beginListExecutionsAndWait( + resourceGroupName: string, + jobName: string, + options?: JobExecutionsOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.executionsPagingAll(resourceGroupName, jobName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.executionsPagingPage( + resourceGroupName, + jobName, + options, + settings + ); + } + }; + } + + private async *executionsPagingPage( + resourceGroupName: string, + jobName: string, + options?: JobExecutionsOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: JobExecutionsResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + const poller = await this._executions( + resourceGroupName, + jobName, + options + ); + result = await poller.pollUntilDone(); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._executionsNext( + resourceGroupName, + jobName, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *executionsPagingAll( + resourceGroupName: string, + jobName: string, + options?: JobExecutionsOptionalParams + ): AsyncIterableIterator { + for await (const page of this.executionsPagingPage( + resourceGroupName, + jobName, + options + )) { + yield* page; + } + } + + /** + * Get the properties of a Container Apps Job. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + jobName: string, + options?: JobGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, jobName, options }, + getOperationSpec + ); + } + + /** + * Create or Update a Container Apps Job. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param jobEnvelope Properties used to create a container apps job + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + jobName: string, + jobEnvelope: Job, + options?: JobCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + JobCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, jobName, jobEnvelope, options }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "azure-async-operation" + }); + await poller.poll(); + return poller; + } + + /** + * Create or Update a Container Apps Job. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param jobEnvelope Properties used to create a container apps job + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + jobName: string, + jobEnvelope: Job, + options?: JobCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + jobName, + jobEnvelope, + options + ); + return poller.pollUntilDone(); + } + + /** + * Delete a Container Apps Job. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param options The options parameters. + */ + async beginDelete( + resourceGroupName: string, + jobName: string, + options?: JobDeleteOptionalParams + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, jobName, options }, + deleteOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Delete a Container Apps Job. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param options The options parameters. + */ + async beginDeleteAndWait( + resourceGroupName: string, + jobName: string, + options?: JobDeleteOptionalParams + ): Promise { + const poller = await this.beginDelete(resourceGroupName, jobName, options); + return poller.pollUntilDone(); + } + + /** + * Patches a Container Apps Job using JSON Merge Patch + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param jobEnvelope Properties used to create a container apps job + * @param options The options parameters. + */ + async beginUpdate( + resourceGroupName: string, + jobName: string, + jobEnvelope: JobPatchProperties, + options?: JobUpdateOptionalParams + ): Promise< + PollerLike, JobUpdateResponse> + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, jobName, jobEnvelope, options }, + updateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs + }); + await poller.poll(); + return poller; + } + + /** + * Patches a Container Apps Job using JSON Merge Patch + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param jobEnvelope Properties used to create a container apps job + * @param options The options parameters. + */ + async beginUpdateAndWait( + resourceGroupName: string, + jobName: string, + jobEnvelope: JobPatchProperties, + options?: JobUpdateOptionalParams + ): Promise { + const poller = await this.beginUpdate( + resourceGroupName, + jobName, + jobEnvelope, + options + ); + return poller.pollUntilDone(); + } + + /** + * Runs a Container Apps Job + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param template Properties used to start a job instance. + * @param options The options parameters. + */ + async beginRun( + resourceGroupName: string, + jobName: string, + template: JobExecutionTemplate, + options?: JobRunOptionalParams + ): Promise, JobRunResponse>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, jobName, template, options }, + runOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Runs a Container Apps Job + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param template Properties used to start a job instance. + * @param options The options parameters. + */ + async beginRunAndWait( + resourceGroupName: string, + jobName: string, + template: JobExecutionTemplate, + options?: JobRunOptionalParams + ): Promise { + const poller = await this.beginRun( + resourceGroupName, + jobName, + template, + options + ); + return poller.pollUntilDone(); + } + + /** + * Terminates execution of a running container apps job + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param jobExecutionName Job execution name. + * @param options The options parameters. + */ + async beginTerminate( + resourceGroupName: string, + jobName: string, + jobExecutionName: string, + options?: JobTerminateOptionalParams + ): Promise, void>> { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, jobName, jobExecutionName, options }, + terminateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Terminates execution of a running container apps job + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param jobExecutionName Job execution name. + * @param options The options parameters. + */ + async beginTerminateAndWait( + resourceGroupName: string, + jobName: string, + jobExecutionName: string, + options?: JobTerminateOptionalParams + ): Promise { + const poller = await this.beginTerminate( + resourceGroupName, + jobName, + jobExecutionName, + options + ); + return poller.pollUntilDone(); + } + + /** + * Terminates execution of a running container apps job + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param jobExecutionName List of all job executions that should be stopped. + * @param options The options parameters. + */ + async beginTerminateMultipleExecutions( + resourceGroupName: string, + jobName: string, + jobExecutionName: JobExecutionNamesCollection, + options?: JobTerminateMultipleExecutionsOptionalParams + ): Promise< + PollerLike< + PollOperationState, + JobTerminateMultipleExecutionsResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, jobName, jobExecutionName, options }, + terminateMultipleExecutionsOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * Terminates execution of a running container apps job + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param jobExecutionName List of all job executions that should be stopped. + * @param options The options parameters. + */ + async beginTerminateMultipleExecutionsAndWait( + resourceGroupName: string, + jobName: string, + jobExecutionName: JobExecutionNamesCollection, + options?: JobTerminateMultipleExecutionsOptionalParams + ): Promise { + const poller = await this.beginTerminateMultipleExecutions( + resourceGroupName, + jobName, + jobExecutionName, + options + ); + return poller.pollUntilDone(); + } + + /** + * Get a Container Apps Job's executions + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param options The options parameters. + */ + private async _executions( + resourceGroupName: string, + jobName: string, + options?: JobExecutionsOptionalParams + ): Promise< + PollerLike, JobExecutionsResponse> + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, jobName, options }, + executionsOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "location" + }); + await poller.poll(); + return poller; + } + + /** + * ExecutionsNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param nextLink The nextLink from the previous successful call to the Executions method. + * @param options The options parameters. + */ + private _executionsNext( + resourceGroupName: string, + jobName: string, + nextLink: string, + options?: JobExecutionsNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, jobName, nextLink, options }, + executionsNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/jobs/{jobName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.Job + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/jobs/{jobName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.Job + }, + 201: { + bodyMapper: Mappers.Job + }, + 202: { + bodyMapper: Mappers.Job + }, + 204: { + bodyMapper: Mappers.Job + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + requestBody: Parameters.jobEnvelope, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobName1 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/jobs/{jobName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobName1 + ], + headerParameters: [Parameters.accept], + serializer +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/jobs/{jobName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.Job + }, + 201: { + bodyMapper: Mappers.Job + }, + 202: { + bodyMapper: Mappers.Job + }, + 204: { + bodyMapper: Mappers.Job + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + requestBody: Parameters.jobEnvelope1, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobName1 + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const runOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/jobs/{jobName}/start", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.JobExecutionBase + }, + 201: { + bodyMapper: Mappers.JobExecutionBase + }, + 202: { + bodyMapper: Mappers.JobExecutionBase + }, + 204: { + bodyMapper: Mappers.JobExecutionBase + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + requestBody: Parameters.template, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const terminateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/jobs/{jobName}/executions/{jobExecutionName}/stop", + httpMethod: "POST", + responses: { + 200: {}, + 201: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobName, + Parameters.jobExecutionName + ], + headerParameters: [Parameters.accept], + serializer +}; +const terminateMultipleExecutionsOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/jobs/{jobName}/stop", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.ContainerAppJobExecutions + }, + 201: { + bodyMapper: Mappers.ContainerAppJobExecutions + }, + 202: { + bodyMapper: Mappers.ContainerAppJobExecutions + }, + 204: { + bodyMapper: Mappers.ContainerAppJobExecutions + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + requestBody: Parameters.jobExecutionName1, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const executionsOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/jobs/{jobName}/executions", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.ContainerAppJobExecutions + }, + 201: { + bodyMapper: Mappers.ContainerAppJobExecutions + }, + 202: { + bodyMapper: Mappers.ContainerAppJobExecutions + }, + 204: { + bodyMapper: Mappers.ContainerAppJobExecutions + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobName + ], + headerParameters: [Parameters.accept], + serializer +}; +const executionsNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ContainerAppJobExecutions + }, + 202: { + headersMapper: Mappers.JobExecutionsNextHeaders + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.jobName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/jobs.ts b/sdk/appcontainers/arm-appcontainers/src/operations/jobs.ts new file mode 100644 index 000000000000..ed374975e27f --- /dev/null +++ b/sdk/appcontainers/arm-appcontainers/src/operations/jobs.ts @@ -0,0 +1,343 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { Jobs } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { ContainerAppsAPIClient } from "../containerAppsAPIClient"; +import { + Job, + JobsListBySubscriptionNextOptionalParams, + JobsListBySubscriptionOptionalParams, + JobsListBySubscriptionResponse, + JobsListByResourceGroupNextOptionalParams, + JobsListByResourceGroupOptionalParams, + JobsListByResourceGroupResponse, + JobsListSecretsOptionalParams, + JobsListSecretsResponse, + JobsListBySubscriptionNextResponse, + JobsListByResourceGroupNextResponse +} from "../models"; + +/// +/** Class containing Jobs operations. */ +export class JobsImpl implements Jobs { + private readonly client: ContainerAppsAPIClient; + + /** + * Initialize a new instance of the class Jobs class. + * @param client Reference to the service client + */ + constructor(client: ContainerAppsAPIClient) { + this.client = client; + } + + /** + * Get the Container Apps Jobs in a given subscription. + * @param options The options parameters. + */ + public listBySubscription( + options?: JobsListBySubscriptionOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listBySubscriptionPagingAll(options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listBySubscriptionPagingPage(options, settings); + } + }; + } + + private async *listBySubscriptionPagingPage( + options?: JobsListBySubscriptionOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: JobsListBySubscriptionResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listBySubscription(options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listBySubscriptionNext(continuationToken, options); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listBySubscriptionPagingAll( + options?: JobsListBySubscriptionOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listBySubscriptionPagingPage(options)) { + yield* page; + } + } + + /** + * Get the Container Apps Jobs in a given resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + public listByResourceGroup( + resourceGroupName: string, + options?: JobsListByResourceGroupOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listByResourceGroupPagingAll(resourceGroupName, options); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listByResourceGroupPagingPage( + resourceGroupName, + options, + settings + ); + } + }; + } + + private async *listByResourceGroupPagingPage( + resourceGroupName: string, + options?: JobsListByResourceGroupOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: JobsListByResourceGroupResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._listByResourceGroup(resourceGroupName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listByResourceGroupNext( + resourceGroupName, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listByResourceGroupPagingAll( + resourceGroupName: string, + options?: JobsListByResourceGroupOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listByResourceGroupPagingPage( + resourceGroupName, + options + )) { + yield* page; + } + } + + /** + * Get the Container Apps Jobs in a given subscription. + * @param options The options parameters. + */ + private _listBySubscription( + options?: JobsListBySubscriptionOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { options }, + listBySubscriptionOperationSpec + ); + } + + /** + * Get the Container Apps Jobs in a given resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + private _listByResourceGroup( + resourceGroupName: string, + options?: JobsListByResourceGroupOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, options }, + listByResourceGroupOperationSpec + ); + } + + /** + * List secrets for a container apps job + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param options The options parameters. + */ + listSecrets( + resourceGroupName: string, + jobName: string, + options?: JobsListSecretsOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, jobName, options }, + listSecretsOperationSpec + ); + } + + /** + * ListBySubscriptionNext + * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. + * @param options The options parameters. + */ + private _listBySubscriptionNext( + nextLink: string, + options?: JobsListBySubscriptionNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { nextLink, options }, + listBySubscriptionNextOperationSpec + ); + } + + /** + * ListByResourceGroupNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. + * @param options The options parameters. + */ + private _listByResourceGroupNext( + resourceGroupName: string, + nextLink: string, + options?: JobsListByResourceGroupNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, nextLink, options }, + listByResourceGroupNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const listBySubscriptionOperationSpec: coreClient.OperationSpec = { + path: "/subscriptions/{subscriptionId}/providers/Microsoft.App/jobs", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.JobsCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [Parameters.$host, Parameters.subscriptionId], + headerParameters: [Parameters.accept], + serializer +}; +const listByResourceGroupOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/jobs", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.JobsCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listSecretsOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/jobs/{jobName}/listSecrets", + httpMethod: "POST", + responses: { + 200: { + bodyMapper: Mappers.JobSecretsCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.jobName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.JobsCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; +const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.JobsCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/managedCertificates.ts b/sdk/appcontainers/arm-appcontainers/src/operations/managedCertificates.ts new file mode 100644 index 000000000000..4e8cb84450b0 --- /dev/null +++ b/sdk/appcontainers/arm-appcontainers/src/operations/managedCertificates.ts @@ -0,0 +1,473 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging"; +import { setContinuationToken } from "../pagingHelper"; +import { ManagedCertificates } from "../operationsInterfaces"; +import * as coreClient from "@azure/core-client"; +import * as Mappers from "../models/mappers"; +import * as Parameters from "../models/parameters"; +import { ContainerAppsAPIClient } from "../containerAppsAPIClient"; +import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; +import { LroImpl } from "../lroImpl"; +import { + ManagedCertificate, + ManagedCertificatesListNextOptionalParams, + ManagedCertificatesListOptionalParams, + ManagedCertificatesListResponse, + ManagedCertificatesGetOptionalParams, + ManagedCertificatesGetResponse, + ManagedCertificatesCreateOrUpdateOptionalParams, + ManagedCertificatesCreateOrUpdateResponse, + ManagedCertificatesDeleteOptionalParams, + ManagedCertificatePatch, + ManagedCertificatesUpdateOptionalParams, + ManagedCertificatesUpdateResponse, + ManagedCertificatesListNextResponse +} from "../models"; + +/// +/** Class containing ManagedCertificates operations. */ +export class ManagedCertificatesImpl implements ManagedCertificates { + private readonly client: ContainerAppsAPIClient; + + /** + * Initialize a new instance of the class ManagedCertificates class. + * @param client Reference to the service client + */ + constructor(client: ContainerAppsAPIClient) { + this.client = client; + } + + /** + * Get the Managed Certificates in a given managed environment. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param environmentName Name of the Managed Environment. + * @param options The options parameters. + */ + public list( + resourceGroupName: string, + environmentName: string, + options?: ManagedCertificatesListOptionalParams + ): PagedAsyncIterableIterator { + const iter = this.listPagingAll( + resourceGroupName, + environmentName, + options + ); + return { + next() { + return iter.next(); + }, + [Symbol.asyncIterator]() { + return this; + }, + byPage: (settings?: PageSettings) => { + if (settings?.maxPageSize) { + throw new Error("maxPageSize is not supported by this operation."); + } + return this.listPagingPage( + resourceGroupName, + environmentName, + options, + settings + ); + } + }; + } + + private async *listPagingPage( + resourceGroupName: string, + environmentName: string, + options?: ManagedCertificatesListOptionalParams, + settings?: PageSettings + ): AsyncIterableIterator { + let result: ManagedCertificatesListResponse; + let continuationToken = settings?.continuationToken; + if (!continuationToken) { + result = await this._list(resourceGroupName, environmentName, options); + let page = result.value || []; + continuationToken = result.nextLink; + setContinuationToken(page, continuationToken); + yield page; + } + while (continuationToken) { + result = await this._listNext( + resourceGroupName, + environmentName, + continuationToken, + options + ); + continuationToken = result.nextLink; + let page = result.value || []; + setContinuationToken(page, continuationToken); + yield page; + } + } + + private async *listPagingAll( + resourceGroupName: string, + environmentName: string, + options?: ManagedCertificatesListOptionalParams + ): AsyncIterableIterator { + for await (const page of this.listPagingPage( + resourceGroupName, + environmentName, + options + )) { + yield* page; + } + } + + /** + * Get the specified Managed Certificate. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param environmentName Name of the Managed Environment. + * @param managedCertificateName Name of the Managed Certificate. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + environmentName: string, + managedCertificateName: string, + options?: ManagedCertificatesGetOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, environmentName, managedCertificateName, options }, + getOperationSpec + ); + } + + /** + * Create or Update a Managed Certificate. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param environmentName Name of the Managed Environment. + * @param managedCertificateName Name of the Managed Certificate. + * @param options The options parameters. + */ + async beginCreateOrUpdate( + resourceGroupName: string, + environmentName: string, + managedCertificateName: string, + options?: ManagedCertificatesCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + ManagedCertificatesCreateOrUpdateResponse + > + > { + const directSendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ): Promise => { + return this.client.sendOperationRequest(args, spec); + }; + const sendOperation = async ( + args: coreClient.OperationArguments, + spec: coreClient.OperationSpec + ) => { + let currentRawResponse: + | coreClient.FullOperationResponse + | undefined = undefined; + const providedCallback = args.options?.onResponse; + const callback: coreClient.RawResponseCallback = ( + rawResponse: coreClient.FullOperationResponse, + flatResponse: unknown + ) => { + currentRawResponse = rawResponse; + providedCallback?.(rawResponse, flatResponse); + }; + const updatedArgs = { + ...args, + options: { + ...args.options, + onResponse: callback + } + }; + const flatResponse = await directSendOperation(updatedArgs, spec); + return { + flatResponse, + rawResponse: { + statusCode: currentRawResponse!.status, + body: currentRawResponse!.parsedBody, + headers: currentRawResponse!.headers.toJSON() + } + }; + }; + + const lro = new LroImpl( + sendOperation, + { resourceGroupName, environmentName, managedCertificateName, options }, + createOrUpdateOperationSpec + ); + const poller = new LroEngine(lro, { + resumeFrom: options?.resumeFrom, + intervalInMs: options?.updateIntervalInMs, + lroResourceLocationConfig: "azure-async-operation" + }); + await poller.poll(); + return poller; + } + + /** + * Create or Update a Managed Certificate. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param environmentName Name of the Managed Environment. + * @param managedCertificateName Name of the Managed Certificate. + * @param options The options parameters. + */ + async beginCreateOrUpdateAndWait( + resourceGroupName: string, + environmentName: string, + managedCertificateName: string, + options?: ManagedCertificatesCreateOrUpdateOptionalParams + ): Promise { + const poller = await this.beginCreateOrUpdate( + resourceGroupName, + environmentName, + managedCertificateName, + options + ); + return poller.pollUntilDone(); + } + + /** + * Deletes the specified Managed Certificate. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param environmentName Name of the Managed Environment. + * @param managedCertificateName Name of the Managed Certificate. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + environmentName: string, + managedCertificateName: string, + options?: ManagedCertificatesDeleteOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, environmentName, managedCertificateName, options }, + deleteOperationSpec + ); + } + + /** + * Patches a managed certificate. Oly patching of tags is supported + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param environmentName Name of the Managed Environment. + * @param managedCertificateName Name of the Managed Certificate. + * @param managedCertificateEnvelope Properties of a managed certificate that need to be updated + * @param options The options parameters. + */ + update( + resourceGroupName: string, + environmentName: string, + managedCertificateName: string, + managedCertificateEnvelope: ManagedCertificatePatch, + options?: ManagedCertificatesUpdateOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + environmentName, + managedCertificateName, + managedCertificateEnvelope, + options + }, + updateOperationSpec + ); + } + + /** + * Get the Managed Certificates in a given managed environment. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param environmentName Name of the Managed Environment. + * @param options The options parameters. + */ + private _list( + resourceGroupName: string, + environmentName: string, + options?: ManagedCertificatesListOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, environmentName, options }, + listOperationSpec + ); + } + + /** + * ListNext + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param environmentName Name of the Managed Environment. + * @param nextLink The nextLink from the previous successful call to the List method. + * @param options The options parameters. + */ + private _listNext( + resourceGroupName: string, + environmentName: string, + nextLink: string, + options?: ManagedCertificatesListNextOptionalParams + ): Promise { + return this.client.sendOperationRequest( + { resourceGroupName, environmentName, nextLink, options }, + listNextOperationSpec + ); + } +} +// Operation Specifications +const serializer = coreClient.createSerializer(Mappers, /* isXml */ false); + +const getOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/managedCertificates/{managedCertificateName}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ManagedCertificate + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.environmentName, + Parameters.managedCertificateName + ], + headerParameters: [Parameters.accept], + serializer +}; +const createOrUpdateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/managedCertificates/{managedCertificateName}", + httpMethod: "PUT", + responses: { + 200: { + bodyMapper: Mappers.ManagedCertificate + }, + 201: { + bodyMapper: Mappers.ManagedCertificate + }, + 202: { + bodyMapper: Mappers.ManagedCertificate + }, + 204: { + bodyMapper: Mappers.ManagedCertificate + }, + 400: { + isError: true + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + requestBody: Parameters.managedCertificateEnvelope, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.environmentName, + Parameters.managedCertificateName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const deleteOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/managedCertificates/{managedCertificateName}", + httpMethod: "DELETE", + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.environmentName, + Parameters.managedCertificateName + ], + headerParameters: [Parameters.accept], + serializer +}; +const updateOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/managedCertificates/{managedCertificateName}", + httpMethod: "PATCH", + responses: { + 200: { + bodyMapper: Mappers.ManagedCertificate + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + requestBody: Parameters.managedCertificateEnvelope1, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.environmentName, + Parameters.managedCertificateName + ], + headerParameters: [Parameters.accept, Parameters.contentType], + mediaType: "json", + serializer +}; +const listOperationSpec: coreClient.OperationSpec = { + path: + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/managedCertificates", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ManagedCertificateCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + queryParameters: [Parameters.apiVersion], + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.environmentName + ], + headerParameters: [Parameters.accept], + serializer +}; +const listNextOperationSpec: coreClient.OperationSpec = { + path: "{nextLink}", + httpMethod: "GET", + responses: { + 200: { + bodyMapper: Mappers.ManagedCertificateCollection + }, + default: { + bodyMapper: Mappers.DefaultErrorResponse + } + }, + urlParameters: [ + Parameters.$host, + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.nextLink, + Parameters.environmentName + ], + headerParameters: [Parameters.accept], + serializer +}; diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/managedEnvironmentDiagnostics.ts b/sdk/appcontainers/arm-appcontainers/src/operations/managedEnvironmentDiagnostics.ts index a74c66507b36..b8c4ee4edaae 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operations/managedEnvironmentDiagnostics.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operations/managedEnvironmentDiagnostics.ts @@ -109,8 +109,8 @@ const getDetectorOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.environmentName, - Parameters.detectorName + Parameters.detectorName, + Parameters.environmentName ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/managedEnvironments.ts b/sdk/appcontainers/arm-appcontainers/src/operations/managedEnvironments.ts index 709d202cfaaa..0ae6925af330 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operations/managedEnvironments.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operations/managedEnvironments.ts @@ -33,6 +33,7 @@ import { ManagedEnvironmentsCreateOrUpdateResponse, ManagedEnvironmentsDeleteOptionalParams, ManagedEnvironmentsUpdateOptionalParams, + ManagedEnvironmentsUpdateResponse, ManagedEnvironmentsGetAuthTokenOptionalParams, ManagedEnvironmentsGetAuthTokenResponse, ManagedEnvironmentsListBySubscriptionNextResponse, @@ -491,11 +492,16 @@ export class ManagedEnvironmentsImpl implements ManagedEnvironments { environmentName: string, environmentEnvelope: ManagedEnvironment, options?: ManagedEnvironmentsUpdateOptionalParams - ): Promise, void>> { + ): Promise< + PollerLike< + PollOperationState, + ManagedEnvironmentsUpdateResponse + > + > { const directSendOperation = async ( args: coreClient.OperationArguments, spec: coreClient.OperationSpec - ): Promise => { + ): Promise => { return this.client.sendOperationRequest(args, spec); }; const sendOperation = async ( @@ -556,7 +562,7 @@ export class ManagedEnvironmentsImpl implements ManagedEnvironments { environmentName: string, environmentEnvelope: ManagedEnvironment, options?: ManagedEnvironmentsUpdateOptionalParams - ): Promise { + ): Promise { const poller = await this.beginUpdate( resourceGroupName, environmentName, @@ -736,7 +742,7 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - requestBody: Parameters.environmentEnvelope, + requestBody: Parameters.environmentEnvelope1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -776,15 +782,23 @@ const updateOperationSpec: coreClient.OperationSpec = { "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}", httpMethod: "PATCH", responses: { - 200: {}, - 201: {}, - 202: {}, - 204: {}, + 200: { + bodyMapper: Mappers.ManagedEnvironment + }, + 201: { + bodyMapper: Mappers.ManagedEnvironment + }, + 202: { + bodyMapper: Mappers.ManagedEnvironment + }, + 204: { + bodyMapper: Mappers.ManagedEnvironment + }, default: { bodyMapper: Mappers.DefaultErrorResponse } }, - requestBody: Parameters.environmentEnvelope, + requestBody: Parameters.environmentEnvelope1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, @@ -851,7 +865,6 @@ const listBySubscriptionNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -871,7 +884,6 @@ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, @@ -892,7 +904,6 @@ const listWorkloadProfileStatesNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/managedEnvironmentsStorages.ts b/sdk/appcontainers/arm-appcontainers/src/operations/managedEnvironmentsStorages.ts index ed330cba0b98..8f0707995923 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operations/managedEnvironmentsStorages.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operations/managedEnvironmentsStorages.ts @@ -159,8 +159,8 @@ const getOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.environmentName, - Parameters.storageName + Parameters.storageName, + Parameters.environmentName ], headerParameters: [Parameters.accept], serializer @@ -177,14 +177,14 @@ const createOrUpdateOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - requestBody: Parameters.storageEnvelope, + requestBody: Parameters.storageEnvelope1, queryParameters: [Parameters.apiVersion], urlParameters: [ Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.environmentName, - Parameters.storageName + Parameters.storageName, + Parameters.environmentName ], headerParameters: [Parameters.accept, Parameters.contentType], mediaType: "json", @@ -206,8 +206,8 @@ const deleteOperationSpec: coreClient.OperationSpec = { Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName, - Parameters.environmentName, - Parameters.storageName + Parameters.storageName, + Parameters.environmentName ], headerParameters: [Parameters.accept], serializer diff --git a/sdk/appcontainers/arm-appcontainers/src/operations/operations.ts b/sdk/appcontainers/arm-appcontainers/src/operations/operations.ts index ce821e2ed00d..4ed2af793177 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operations/operations.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operations/operations.ts @@ -143,7 +143,6 @@ const listNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer diff --git a/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/containerApps.ts b/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/containerApps.ts index e891805063ca..aac0033c5f42 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/containerApps.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/containerApps.ts @@ -18,6 +18,7 @@ import { ContainerAppsCreateOrUpdateResponse, ContainerAppsDeleteOptionalParams, ContainerAppsUpdateOptionalParams, + ContainerAppsUpdateResponse, ContainerAppsListCustomHostNameAnalysisOptionalParams, ContainerAppsListCustomHostNameAnalysisResponse, ContainerAppsListSecretsOptionalParams, @@ -121,7 +122,12 @@ export interface ContainerApps { containerAppName: string, containerAppEnvelope: ContainerApp, options?: ContainerAppsUpdateOptionalParams - ): Promise, void>>; + ): Promise< + PollerLike< + PollOperationState, + ContainerAppsUpdateResponse + > + >; /** * Patches a Container App using JSON Merge Patch * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -134,7 +140,7 @@ export interface ContainerApps { containerAppName: string, containerAppEnvelope: ContainerApp, options?: ContainerAppsUpdateOptionalParams - ): Promise; + ): Promise; /** * Analyzes a custom hostname for a Container App * @param resourceGroupName The name of the resource group. The name is case insensitive. diff --git a/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/index.ts b/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/index.ts index cb79504dd5c6..b727cd6be80a 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/index.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/index.ts @@ -7,22 +7,25 @@ */ export * from "./containerAppsAuthConfigs"; +export * from "./availableWorkloadProfiles"; +export * from "./billingMeters"; +export * from "./connectedEnvironments"; +export * from "./connectedEnvironmentsCertificates"; +export * from "./connectedEnvironmentsDaprComponents"; +export * from "./connectedEnvironmentsStorages"; export * from "./containerApps"; +export * from "./jobs"; +export * from "./jobOperations"; export * from "./containerAppsRevisions"; export * from "./containerAppsRevisionReplicas"; -export * from "./daprComponents"; export * from "./containerAppsDiagnostics"; export * from "./managedEnvironmentDiagnostics"; export * from "./managedEnvironmentsDiagnostics"; export * from "./operations"; export * from "./managedEnvironments"; export * from "./certificates"; +export * from "./managedCertificates"; export * from "./namespaces"; +export * from "./daprComponents"; export * from "./managedEnvironmentsStorages"; export * from "./containerAppsSourceControls"; -export * from "./connectedEnvironments"; -export * from "./connectedEnvironmentsCertificates"; -export * from "./connectedEnvironmentsDaprComponents"; -export * from "./connectedEnvironmentsStorages"; -export * from "./availableWorkloadProfiles"; -export * from "./billingMeters"; diff --git a/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/jobOperations.ts b/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/jobOperations.ts new file mode 100644 index 000000000000..1b0e90ecd503 --- /dev/null +++ b/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/jobOperations.ts @@ -0,0 +1,221 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { + JobExecution, + JobExecutionsOptionalParams, + JobGetOptionalParams, + JobGetResponse, + Job, + JobCreateOrUpdateOptionalParams, + JobCreateOrUpdateResponse, + JobDeleteOptionalParams, + JobPatchProperties, + JobUpdateOptionalParams, + JobUpdateResponse, + JobExecutionTemplate, + JobRunOptionalParams, + JobRunResponse, + JobTerminateOptionalParams, + JobExecutionNamesCollection, + JobTerminateMultipleExecutionsOptionalParams, + JobTerminateMultipleExecutionsResponse +} from "../models"; + +/// +/** Interface representing a JobOperations. */ +export interface JobOperations { + /** + * Get a Container Apps Job's executions + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param options The options parameters. + */ + beginListExecutionsAndWait( + resourceGroupName: string, + jobName: string, + options?: JobExecutionsOptionalParams + ): PagedAsyncIterableIterator; + /** + * Get the properties of a Container Apps Job. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + jobName: string, + options?: JobGetOptionalParams + ): Promise; + /** + * Create or Update a Container Apps Job. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param jobEnvelope Properties used to create a container apps job + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + jobName: string, + jobEnvelope: Job, + options?: JobCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + JobCreateOrUpdateResponse + > + >; + /** + * Create or Update a Container Apps Job. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param jobEnvelope Properties used to create a container apps job + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + jobName: string, + jobEnvelope: Job, + options?: JobCreateOrUpdateOptionalParams + ): Promise; + /** + * Delete a Container Apps Job. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param options The options parameters. + */ + beginDelete( + resourceGroupName: string, + jobName: string, + options?: JobDeleteOptionalParams + ): Promise, void>>; + /** + * Delete a Container Apps Job. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param options The options parameters. + */ + beginDeleteAndWait( + resourceGroupName: string, + jobName: string, + options?: JobDeleteOptionalParams + ): Promise; + /** + * Patches a Container Apps Job using JSON Merge Patch + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param jobEnvelope Properties used to create a container apps job + * @param options The options parameters. + */ + beginUpdate( + resourceGroupName: string, + jobName: string, + jobEnvelope: JobPatchProperties, + options?: JobUpdateOptionalParams + ): Promise< + PollerLike, JobUpdateResponse> + >; + /** + * Patches a Container Apps Job using JSON Merge Patch + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param jobEnvelope Properties used to create a container apps job + * @param options The options parameters. + */ + beginUpdateAndWait( + resourceGroupName: string, + jobName: string, + jobEnvelope: JobPatchProperties, + options?: JobUpdateOptionalParams + ): Promise; + /** + * Runs a Container Apps Job + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param template Properties used to start a job instance. + * @param options The options parameters. + */ + beginRun( + resourceGroupName: string, + jobName: string, + template: JobExecutionTemplate, + options?: JobRunOptionalParams + ): Promise, JobRunResponse>>; + /** + * Runs a Container Apps Job + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param template Properties used to start a job instance. + * @param options The options parameters. + */ + beginRunAndWait( + resourceGroupName: string, + jobName: string, + template: JobExecutionTemplate, + options?: JobRunOptionalParams + ): Promise; + /** + * Terminates execution of a running container apps job + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param jobExecutionName Job execution name. + * @param options The options parameters. + */ + beginTerminate( + resourceGroupName: string, + jobName: string, + jobExecutionName: string, + options?: JobTerminateOptionalParams + ): Promise, void>>; + /** + * Terminates execution of a running container apps job + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param jobExecutionName Job execution name. + * @param options The options parameters. + */ + beginTerminateAndWait( + resourceGroupName: string, + jobName: string, + jobExecutionName: string, + options?: JobTerminateOptionalParams + ): Promise; + /** + * Terminates execution of a running container apps job + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param jobExecutionName List of all job executions that should be stopped. + * @param options The options parameters. + */ + beginTerminateMultipleExecutions( + resourceGroupName: string, + jobName: string, + jobExecutionName: JobExecutionNamesCollection, + options?: JobTerminateMultipleExecutionsOptionalParams + ): Promise< + PollerLike< + PollOperationState, + JobTerminateMultipleExecutionsResponse + > + >; + /** + * Terminates execution of a running container apps job + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param jobExecutionName List of all job executions that should be stopped. + * @param options The options parameters. + */ + beginTerminateMultipleExecutionsAndWait( + resourceGroupName: string, + jobName: string, + jobExecutionName: JobExecutionNamesCollection, + options?: JobTerminateMultipleExecutionsOptionalParams + ): Promise; +} diff --git a/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/jobs.ts b/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/jobs.ts new file mode 100644 index 000000000000..1ecb8bf1ae0b --- /dev/null +++ b/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/jobs.ts @@ -0,0 +1,48 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { + Job, + JobsListBySubscriptionOptionalParams, + JobsListByResourceGroupOptionalParams, + JobsListSecretsOptionalParams, + JobsListSecretsResponse +} from "../models"; + +/// +/** Interface representing a Jobs. */ +export interface Jobs { + /** + * Get the Container Apps Jobs in a given subscription. + * @param options The options parameters. + */ + listBySubscription( + options?: JobsListBySubscriptionOptionalParams + ): PagedAsyncIterableIterator; + /** + * Get the Container Apps Jobs in a given resource group. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param options The options parameters. + */ + listByResourceGroup( + resourceGroupName: string, + options?: JobsListByResourceGroupOptionalParams + ): PagedAsyncIterableIterator; + /** + * List secrets for a container apps job + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param jobName Name of the Container Apps Job. + * @param options The options parameters. + */ + listSecrets( + resourceGroupName: string, + jobName: string, + options?: JobsListSecretsOptionalParams + ): Promise; +} diff --git a/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/managedCertificates.ts b/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/managedCertificates.ts new file mode 100644 index 000000000000..26eb2f9c61ee --- /dev/null +++ b/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/managedCertificates.ts @@ -0,0 +1,110 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { PagedAsyncIterableIterator } from "@azure/core-paging"; +import { PollerLike, PollOperationState } from "@azure/core-lro"; +import { + ManagedCertificate, + ManagedCertificatesListOptionalParams, + ManagedCertificatesGetOptionalParams, + ManagedCertificatesGetResponse, + ManagedCertificatesCreateOrUpdateOptionalParams, + ManagedCertificatesCreateOrUpdateResponse, + ManagedCertificatesDeleteOptionalParams, + ManagedCertificatePatch, + ManagedCertificatesUpdateOptionalParams, + ManagedCertificatesUpdateResponse +} from "../models"; + +/// +/** Interface representing a ManagedCertificates. */ +export interface ManagedCertificates { + /** + * Get the Managed Certificates in a given managed environment. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param environmentName Name of the Managed Environment. + * @param options The options parameters. + */ + list( + resourceGroupName: string, + environmentName: string, + options?: ManagedCertificatesListOptionalParams + ): PagedAsyncIterableIterator; + /** + * Get the specified Managed Certificate. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param environmentName Name of the Managed Environment. + * @param managedCertificateName Name of the Managed Certificate. + * @param options The options parameters. + */ + get( + resourceGroupName: string, + environmentName: string, + managedCertificateName: string, + options?: ManagedCertificatesGetOptionalParams + ): Promise; + /** + * Create or Update a Managed Certificate. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param environmentName Name of the Managed Environment. + * @param managedCertificateName Name of the Managed Certificate. + * @param options The options parameters. + */ + beginCreateOrUpdate( + resourceGroupName: string, + environmentName: string, + managedCertificateName: string, + options?: ManagedCertificatesCreateOrUpdateOptionalParams + ): Promise< + PollerLike< + PollOperationState, + ManagedCertificatesCreateOrUpdateResponse + > + >; + /** + * Create or Update a Managed Certificate. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param environmentName Name of the Managed Environment. + * @param managedCertificateName Name of the Managed Certificate. + * @param options The options parameters. + */ + beginCreateOrUpdateAndWait( + resourceGroupName: string, + environmentName: string, + managedCertificateName: string, + options?: ManagedCertificatesCreateOrUpdateOptionalParams + ): Promise; + /** + * Deletes the specified Managed Certificate. + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param environmentName Name of the Managed Environment. + * @param managedCertificateName Name of the Managed Certificate. + * @param options The options parameters. + */ + delete( + resourceGroupName: string, + environmentName: string, + managedCertificateName: string, + options?: ManagedCertificatesDeleteOptionalParams + ): Promise; + /** + * Patches a managed certificate. Oly patching of tags is supported + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param environmentName Name of the Managed Environment. + * @param managedCertificateName Name of the Managed Certificate. + * @param managedCertificateEnvelope Properties of a managed certificate that need to be updated + * @param options The options parameters. + */ + update( + resourceGroupName: string, + environmentName: string, + managedCertificateName: string, + managedCertificateEnvelope: ManagedCertificatePatch, + options?: ManagedCertificatesUpdateOptionalParams + ): Promise; +} diff --git a/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/managedEnvironments.ts b/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/managedEnvironments.ts index 1d2e810c840f..bdeab74a08c3 100644 --- a/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/managedEnvironments.ts +++ b/sdk/appcontainers/arm-appcontainers/src/operationsInterfaces/managedEnvironments.ts @@ -20,6 +20,7 @@ import { ManagedEnvironmentsCreateOrUpdateResponse, ManagedEnvironmentsDeleteOptionalParams, ManagedEnvironmentsUpdateOptionalParams, + ManagedEnvironmentsUpdateResponse, ManagedEnvironmentsGetAuthTokenOptionalParams, ManagedEnvironmentsGetAuthTokenResponse } from "../models"; @@ -130,7 +131,12 @@ export interface ManagedEnvironments { environmentName: string, environmentEnvelope: ManagedEnvironment, options?: ManagedEnvironmentsUpdateOptionalParams - ): Promise, void>>; + ): Promise< + PollerLike< + PollOperationState, + ManagedEnvironmentsUpdateResponse + > + >; /** * Patches a Managed Environment using JSON Merge Patch * @param resourceGroupName The name of the resource group. The name is case insensitive. @@ -143,7 +149,7 @@ export interface ManagedEnvironments { environmentName: string, environmentEnvelope: ManagedEnvironment, options?: ManagedEnvironmentsUpdateOptionalParams - ): Promise; + ): Promise; /** * Checks if resource name is available. * @param resourceGroupName The name of the resource group. The name is case insensitive. diff --git a/sdk/appcontainers/arm-appcontainers/src/pagingHelper.ts b/sdk/appcontainers/arm-appcontainers/src/pagingHelper.ts index d85fc13bce1e..269a2b9814b5 100644 --- a/sdk/appcontainers/arm-appcontainers/src/pagingHelper.ts +++ b/sdk/appcontainers/arm-appcontainers/src/pagingHelper.ts @@ -13,11 +13,11 @@ export interface PageInfo { const pageMap = new WeakMap(); /** - * Given a result page from a pageable operation, returns a - * continuation token that can be used to begin paging from + * Given the last `.value` produced by the `byPage` iterator, + * returns a continuation token that can be used to begin paging from * that point later. - * @param page A result object from calling .byPage() on a paged operation. - * @returns The continuation token that can be passed into byPage(). + * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. + * @returns The continuation token that can be passed into byPage() during future calls. */ export function getContinuationToken(page: unknown): string | undefined { if (typeof page !== "object" || page === null) { diff --git a/sdk/appcontainers/arm-appcontainers/test/appcontainers_examples.spec.ts b/sdk/appcontainers/arm-appcontainers/test/appcontainers_examples.spec.ts deleted file mode 100644 index a9454b0124aa..000000000000 --- a/sdk/appcontainers/arm-appcontainers/test/appcontainers_examples.spec.ts +++ /dev/null @@ -1,124 +0,0 @@ -/* - * Copyright (c) Microsoft Corporation. - * Licensed under the MIT License. - * - * Code generated by Microsoft (R) AutoRest Code Generator. - * Changes may cause incorrect behavior and will be lost if the code is regenerated. - */ - -import { - env, - Recorder, - RecorderStartOptions, - delay, - isPlaybackMode, -} from "@azure-tools/test-recorder"; -import { createTestCredential } from "@azure-tools/test-credential"; -import { assert, use } from "chai"; -import { Context } from "mocha"; -import { ContainerAppsAPIClient } from "../src/containerAppsAPIClient"; -import { ContainerApp, ManagedEnvironment } from "../src/models"; - -const replaceableVariables: Record = { - AZURE_CLIENT_ID: "azure_client_id", - AZURE_CLIENT_SECRET: "azure_client_secret", - AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", - SUBSCRIPTION_ID: "azure_subscription_id" -}; - -const recorderOptions: RecorderStartOptions = { - envSetupForPlayback: replaceableVariables -}; - -export const testPollingOptions = { - updateIntervalInMs: isPlaybackMode() ? 0 : undefined, -}; - -describe("AppContainer test", () => { - let recorder: Recorder; - let subscriptionId: string; - let client: ContainerAppsAPIClient; - let location: string; - let resourceGroup: string; - let containerAppName: string; - let environmentEnvelope: ManagedEnvironment; - let containerAppEnvelope: ContainerApp; - let environmentName: string; - - beforeEach(async function (this: Context) { - recorder = new Recorder(this.currentTest); - await recorder.start(recorderOptions); - subscriptionId = env.SUBSCRIPTION_ID || ''; - // This is an example of how the environment variables are used - const credential = createTestCredential(); - client = new ContainerAppsAPIClient(credential, subscriptionId, recorder.configureClientOptions({})); - location = "eastus"; - resourceGroup = "myjstest"; - containerAppName = "mycontainerappxxx"; - environmentName = "testcontainerenv12"; - }); - - afterEach(async function () { - await recorder.stop(); - }); - - it("managedEnvironments create test", async function () { - environmentEnvelope = { - location: "East US", - zoneRedundant: false - }; - const res = await client.managedEnvironments.beginCreateOrUpdateAndWait( - resourceGroup, - environmentName, - environmentEnvelope, - testPollingOptions - ); - assert.equal(res.name, environmentName); - }) - - it("containerApp create test", async function () { - containerAppEnvelope = { - "location": location, - "managedEnvironmentId": "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroup + "/providers/Microsoft.App/managedEnvironments/" + environmentName, - template: { - containers: [ - { - name: "simple-hello-world-container", - image: "mcr.microsoft.com/azuredocs/containerapps-helloworld", - resources: { - cpu: 0.25, - memory: "0.5Gi" - } - } - ] - } - } - const res = await client.containerApps.beginCreateOrUpdateAndWait(resourceGroup, containerAppName, containerAppEnvelope, testPollingOptions); - assert.equal(res.name, containerAppName); - }); - - it("containerapp list Secrets test", async function () { - const res = await client.containerApps.listSecrets( - resourceGroup, - containerAppName - ); - }); - - it("containerapp delete test", async function () { - const res = await client.containerApps.beginDeleteAndWait(resourceGroup, containerAppName); - const resArray = new Array(); - for await (let item of client.containerApps.listByResourceGroup(resourceGroup)) { - resArray.push(item); - } - assert.equal(resArray.length, 0); - }) - - it("managedEnvironments delete test", async function () { - const res = await client.managedEnvironments.beginDeleteAndWait(resourceGroup, environmentName); - const resArray = new Array(); - for await (let item of client.managedEnvironments.listByResourceGroup(resourceGroup)) { - resArray.push(item); - } - assert.equal(resArray.length, 0); - }) -}) diff --git a/sdk/appcontainers/arm-appcontainers/test/sampleTest.ts b/sdk/appcontainers/arm-appcontainers/test/sampleTest.ts new file mode 100644 index 000000000000..25aeb3ebcc36 --- /dev/null +++ b/sdk/appcontainers/arm-appcontainers/test/sampleTest.ts @@ -0,0 +1,43 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + Recorder, + RecorderStartOptions, + env +} from "@azure-tools/test-recorder"; +import { assert } from "chai"; +import { Context } from "mocha"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id" +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function(this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + afterEach(async function() { + await recorder.stop(); + }); + + it("sample test", async function() { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/appcontainers/arm-appcontainers/tsconfig.json b/sdk/appcontainers/arm-appcontainers/tsconfig.json index 00a8ff1127f8..3e6ae96443f3 100644 --- a/sdk/appcontainers/arm-appcontainers/tsconfig.json +++ b/sdk/appcontainers/arm-appcontainers/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-appcontainers": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"