Initial commit

This commit is contained in:
2025-03-07 19:22:02 +01:00
commit 4a98255d83
55743 changed files with 5280367 additions and 0 deletions
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersCreateOrUpdateCertificateSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersCreateOrUpdateCertificateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersCreateOrUpdateCertificateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,37 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Creates or updates a certificate and associates with key vault secret.
*
* @summary Description for Creates or updates a certificate and associates with key vault secret.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/CreateAppServiceCertificate.json
*/
function createCertificate() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const certificateOrderName = "SampleCertificateOrderName";
const name = "SampleCertName1";
const keyVaultCertificate = {
keyVaultId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName",
keyVaultSecretName: "SampleSecretName1",
location: "Global"
};
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceCertificateOrders.beginCreateOrUpdateCertificateAndWait(resourceGroupName, certificateOrderName, name, keyVaultCertificate);
console.log(result);
});
}
createCertificate().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersCreateOrUpdateCertificateSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersCreateOrUpdateCertificateSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersCreateOrUpdateCertificateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,IAAI,GAAG,iBAAiB,CAAC;QAC/B,MAAM,mBAAmB,GAAkC;YACzD,UAAU,EACR,kIAAkI;YACpI,kBAAkB,EAAE,mBAAmB;YACvC,QAAQ,EAAE,QAAQ;SACnB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,qCAAqC,CAC3F,iBAAiB,EACjB,oBAAoB,EACpB,IAAI,EACJ,mBAAmB,CACpB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iBAAiB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersCreateOrUpdateSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersCreateOrUpdateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,49 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Create or update a certificate purchase order.
*
* @summary Description for Create or update a certificate purchase order.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/CreateAppServiceCertificateOrder.json
*/
function createCertificateOrder() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const certificateOrderName = "SampleCertificateOrderName";
const certificateDistinguishedName = {
autoRenew: true,
certificates: {
sampleCertName1: {
keyVaultId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName",
keyVaultSecretName: "SampleSecretName1"
},
sampleCertName2: {
keyVaultId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName",
keyVaultSecretName: "SampleSecretName2"
}
},
distinguishedName: "CN=SampleCustomDomain.com",
keySize: 2048,
location: "Global",
productType: "StandardDomainValidatedSsl",
validityInYears: 2
};
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceCertificateOrders.beginCreateOrUpdateAndWait(resourceGroupName, certificateOrderName, certificateDistinguishedName);
console.log(result);
});
}
createCertificateOrder().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersCreateOrUpdateSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,sBAAsB;;QACnC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,4BAA4B,GAA+B;YAC/D,SAAS,EAAE,IAAI;YACf,YAAY,EAAE;gBACZ,eAAe,EAAE;oBACf,UAAU,EACR,kIAAkI;oBACpI,kBAAkB,EAAE,mBAAmB;iBACxC;gBACD,eAAe,EAAE;oBACf,UAAU,EACR,kIAAkI;oBACpI,kBAAkB,EAAE,mBAAmB;iBACxC;aACF;YACD,iBAAiB,EAAE,2BAA2B;YAC9C,OAAO,EAAE,IAAI;YACb,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,4BAA4B;YACzC,eAAe,EAAE,CAAC;SACnB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,0BAA0B,CAChF,iBAAiB,EACjB,oBAAoB,EACpB,4BAA4B,CAC7B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,sBAAsB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersDeleteCertificateSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersDeleteCertificateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersDeleteCertificateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Delete the certificate associated with a certificate order.
*
* @summary Description for Delete the certificate associated with a certificate order.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/DeleteAppServiceCertificate.json
*/
function deleteAppServiceCertificate() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const certificateOrderName = "SampleCertificateOrderName";
const name = "SampleCertName1";
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceCertificateOrders.deleteCertificate(resourceGroupName, certificateOrderName, name);
console.log(result);
});
}
deleteAppServiceCertificate().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersDeleteCertificateSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersDeleteCertificateSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersDeleteCertificateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,IAAI,GAAG,iBAAiB,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,iBAAiB,CACvE,iBAAiB,EACjB,oBAAoB,EACpB,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2BAA2B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersDeleteSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersDeleteSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Delete an existing certificate order.
*
* @summary Description for Delete an existing certificate order.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/DeleteAppServiceCertificateOrder.json
*/
function deleteAppServiceCertificateOrder() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const certificateOrderName = "SampleCertificateOrderName";
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceCertificateOrders.delete(resourceGroupName, certificateOrderName);
console.log(result);
});
}
deleteAppServiceCertificateOrder().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersDeleteSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,MAAM,CAC5D,iBAAiB,EACjB,oBAAoB,CACrB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gCAAgC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersGetCertificateSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersGetCertificateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersGetCertificateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Get the certificate associated with a certificate order.
*
* @summary Description for Get the certificate associated with a certificate order.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/GetAppServiceCertificate.json
*/
function getAppServiceCertificate() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const certificateOrderName = "SampleCertificateOrderName";
const name = "SampleCertName1";
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceCertificateOrders.getCertificate(resourceGroupName, certificateOrderName, name);
console.log(result);
});
}
getAppServiceCertificate().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersGetCertificateSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersGetCertificateSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersGetCertificateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,wBAAwB;;QACrC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,IAAI,GAAG,iBAAiB,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,cAAc,CACpE,iBAAiB,EACjB,oBAAoB,EACpB,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,wBAAwB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersGetSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersGetSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Get a certificate order.
*
* @summary Description for Get a certificate order.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/GetAppServiceCertificateOrder.json
*/
function getAppServiceCertificateOrder() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const certificateOrderName = "SampleCertificateOrderName";
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceCertificateOrders.get(resourceGroupName, certificateOrderName);
console.log(result);
});
}
getAppServiceCertificateOrder().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersGetSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersGetSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,6BAA6B;;QAC1C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,GAAG,CACzD,iBAAiB,EACjB,oBAAoB,CACrB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,6BAA6B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersListByResourceGroupSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersListByResourceGroupSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersListByResourceGroupSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,44 @@
/*
* 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 { __asyncValues, __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Get certificate orders in a resource group.
*
* @summary Description for Get certificate orders in a resource group.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/ListAppServiceCertificateOrdersByResourceGroup.json
*/
function listAppServiceCertificateOrdersByResourceGroup() {
var e_1, _a;
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const resArray = new Array();
try {
for (var _b = __asyncValues(client.appServiceCertificateOrders.listByResourceGroup(resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
}
finally { if (e_1) throw e_1.error; }
}
console.log(resArray);
});
}
listAppServiceCertificateOrdersByResourceGroup().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersListByResourceGroupSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,8CAA8C;;;QAC3D,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,2BAA2B,CAAC,mBAAmB,CAC3E,iBAAiB,CAClB,CAAA,IAAA;gBAFU,IAAI,IAAI,WAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,8CAA8C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersListCertificatesSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersListCertificatesSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersListCertificatesSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,45 @@
/*
* 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 { __asyncValues, __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for List all certificates associated with a certificate order.
*
* @summary Description for List all certificates associated with a certificate order.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/ListCertificatesByAppServiceCertificateOrder.json
*/
function listCertificatesByAppServiceCertificate() {
var e_1, _a;
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const certificateOrderName = "SampleCertificateOrderName";
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const resArray = new Array();
try {
for (var _b = __asyncValues(client.appServiceCertificateOrders.listCertificates(resourceGroupName, certificateOrderName)), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
}
finally { if (e_1) throw e_1.error; }
}
console.log(resArray);
});
}
listCertificatesByAppServiceCertificate().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersListCertificatesSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersListCertificatesSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersListCertificatesSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uCAAuC;;;QACpD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,2BAA2B,CAAC,gBAAgB,CACxE,iBAAiB,EACjB,oBAAoB,CACrB,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,uCAAuC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersListSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersListSample.ts"],"names":[],"mappings":""}
@@ -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 { __asyncValues, __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for List all certificate orders in a subscription.
*
* @summary Description for List all certificate orders in a subscription.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/ListAppServiceCertificateOrdersBySubscription.json
*/
function listAppServiceCertificateOrdersBySubscription() {
var e_1, _a;
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const resArray = new Array();
try {
for (var _b = __asyncValues(client.appServiceCertificateOrders.list()), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
}
finally { if (e_1) throw e_1.error; }
}
console.log(resArray);
});
}
listAppServiceCertificateOrdersBySubscription().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersListSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersListSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,6CAA6C;;;QAC1D,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,2BAA2B,CAAC,IAAI,EAAE,CAAA,IAAA;gBAArD,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,6CAA6C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersReissueSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersReissueSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersReissueSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,37 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Reissue an existing certificate order.
*
* @summary Description for Reissue an existing certificate order.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/ReissueAppServiceCertificateOrder.json
*/
function reissueAppServiceCertificateOrder() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const certificateOrderName = "SampleCertificateOrderName";
const reissueCertificateOrderRequest = {
csr: "CSR1223238Value",
delayExistingRevokeInHours: 2,
isPrivateKeyExternal: false,
keySize: 2048
};
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceCertificateOrders.reissue(resourceGroupName, certificateOrderName, reissueCertificateOrderRequest);
console.log(result);
});
}
reissueAppServiceCertificateOrder().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersReissueSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersReissueSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersReissueSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iCAAiC;;QAC9C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,8BAA8B,GAAmC;YACrE,GAAG,EAAE,iBAAiB;YACtB,0BAA0B,EAAE,CAAC;YAC7B,oBAAoB,EAAE,KAAK;YAC3B,OAAO,EAAE,IAAI;SACd,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,OAAO,CAC7D,iBAAiB,EACjB,oBAAoB,EACpB,8BAA8B,CAC/B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iCAAiC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersRenewSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersRenewSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersRenewSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,36 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Renew an existing certificate order.
*
* @summary Description for Renew an existing certificate order.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/RenewAppServiceCertificateOrder.json
*/
function renewAppServiceCertificateOrder() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const certificateOrderName = "SampleCertificateOrderName";
const renewCertificateOrderRequest = {
csr: "CSR1223238Value",
isPrivateKeyExternal: false,
keySize: 2048
};
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceCertificateOrders.renew(resourceGroupName, certificateOrderName, renewCertificateOrderRequest);
console.log(result);
});
}
renewAppServiceCertificateOrder().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersRenewSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersRenewSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersRenewSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,+BAA+B;;QAC5C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,4BAA4B,GAAiC;YACjE,GAAG,EAAE,iBAAiB;YACtB,oBAAoB,EAAE,KAAK;YAC3B,OAAO,EAAE,IAAI;SACd,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,KAAK,CAC3D,iBAAiB,EACjB,oBAAoB,EACpB,4BAA4B,CAC7B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,+BAA+B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersResendEmailSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersResendEmailSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersResendEmailSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Resend certificate email.
*
* @summary Description for Resend certificate email.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/ResendAppServiceCertificateOrderEmail.json
*/
function resendAppServiceCertificateOrderEmail() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const certificateOrderName = "SampleCertificateOrderName";
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceCertificateOrders.resendEmail(resourceGroupName, certificateOrderName);
console.log(result);
});
}
resendAppServiceCertificateOrderEmail().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersResendEmailSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersResendEmailSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersResendEmailSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,qCAAqC;;QAClD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,WAAW,CACjE,iBAAiB,EACjB,oBAAoB,CACrB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qCAAqC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersResendRequestEmailsSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersResendRequestEmailsSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersResendRequestEmailsSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Resend domain verification ownership email containing steps on how to verify a domain for a given certificate order
*
* @summary Resend domain verification ownership email containing steps on how to verify a domain for a given certificate order
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/ResendDomainOwnershipVerificationEmail.json
*/
function resendDomainOwnershipVerificationEmail() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const certificateOrderName = "SampleCertificateOrderName";
const nameIdentifier = { name: "Domain name" };
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceCertificateOrders.resendRequestEmails(resourceGroupName, certificateOrderName, nameIdentifier);
console.log(result);
});
}
resendDomainOwnershipVerificationEmail().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersResendRequestEmailsSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersResendRequestEmailsSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersResendRequestEmailsSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAkB,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,sCAAsC;;QACnD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,cAAc,GAAmB,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;QAC/D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,mBAAmB,CACzE,iBAAiB,EACjB,oBAAoB,EACpB,cAAc,CACf,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,sCAAsC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersRetrieveCertificateActionsSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersRetrieveCertificateActionsSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersRetrieveCertificateActionsSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Retrieve the list of certificate actions.
*
* @summary Description for Retrieve the list of certificate actions.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/RetrieveCertificateOrderActions.json
*/
function retrieveCertificateOrderActions() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const name = "SampleCertOrder";
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceCertificateOrders.retrieveCertificateActions(resourceGroupName, name);
console.log(result);
});
}
retrieveCertificateOrderActions().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersRetrieveCertificateActionsSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersRetrieveCertificateActionsSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersRetrieveCertificateActionsSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,+BAA+B;;QAC5C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,IAAI,GAAG,iBAAiB,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,0BAA0B,CAChF,iBAAiB,EACjB,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,+BAA+B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersRetrieveCertificateEmailHistorySample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersRetrieveCertificateEmailHistorySample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersRetrieveCertificateEmailHistorySample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Retrieve email history.
*
* @summary Description for Retrieve email history.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/RetrieveCertificateEmailHistory.json
*/
function retrieveCertificateEmailHistory() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const name = "SampleCertOrder";
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceCertificateOrders.retrieveCertificateEmailHistory(resourceGroupName, name);
console.log(result);
});
}
retrieveCertificateEmailHistory().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersRetrieveCertificateEmailHistorySample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersRetrieveCertificateEmailHistorySample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersRetrieveCertificateEmailHistorySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,+BAA+B;;QAC5C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,IAAI,GAAG,iBAAiB,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,+BAA+B,CACrF,iBAAiB,EACjB,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,+BAA+B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersRetrieveSiteSealSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersRetrieveSiteSealSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersRetrieveSiteSealSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,35 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to This method is used to obtain the site seal information for an issued certificate. A site seal is a graphic that the certificate purchaser can embed on their web site to show their visitors information about their SSL certificate. If a web site visitor clicks on the site seal image, a pop-up page is displayed that contains detailed information about the SSL certificate. The site seal token is used to link the site seal graphic image to the appropriate certificate details pop-up page display when a user clicks on the site seal. The site seal images are expected to be static images and hosted by the reseller, to minimize delays for customer page load times.
*
* @summary This method is used to obtain the site seal information for an issued certificate. A site seal is a graphic that the certificate purchaser can embed on their web site to show their visitors information about their SSL certificate. If a web site visitor clicks on the site seal image, a pop-up page is displayed that contains detailed information about the SSL certificate. The site seal token is used to link the site seal graphic image to the appropriate certificate details pop-up page display when a user clicks on the site seal. The site seal images are expected to be static images and hosted by the reseller, to minimize delays for customer page load times.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/RetrieveSiteSeal.json
*/
function retrieveSiteSeal() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const certificateOrderName = "SampleCertOrder";
const siteSealRequest = {
lightTheme: true,
locale: "en-us"
};
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceCertificateOrders.retrieveSiteSeal(resourceGroupName, certificateOrderName, siteSealRequest);
console.log(result);
});
}
retrieveSiteSeal().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersRetrieveSiteSealSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersRetrieveSiteSealSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersRetrieveSiteSealSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,gBAAgB;;QAC7B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,oBAAoB,GAAG,iBAAiB,CAAC;QAC/C,MAAM,eAAe,GAAoB;YACvC,UAAU,EAAE,IAAI;YAChB,MAAM,EAAE,OAAO;SAChB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,gBAAgB,CACtE,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gBAAgB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersUpdateCertificateSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersUpdateCertificateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersUpdateCertificateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,36 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Creates or updates a certificate and associates with key vault secret.
*
* @summary Description for Creates or updates a certificate and associates with key vault secret.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/UpdateAppServiceCertificate.json
*/
function updateCertificate() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const certificateOrderName = "SampleCertificateOrderName";
const name = "SampleCertName1";
const keyVaultCertificate = {
keyVaultId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName",
keyVaultSecretName: "SampleSecretName1"
};
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceCertificateOrders.updateCertificate(resourceGroupName, certificateOrderName, name, keyVaultCertificate);
console.log(result);
});
}
updateCertificate().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersUpdateCertificateSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersUpdateCertificateSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersUpdateCertificateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iBAAiB;;QAC9B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,IAAI,GAAG,iBAAiB,CAAC;QAC/B,MAAM,mBAAmB,GAAuC;YAC9D,UAAU,EACR,kIAAkI;YACpI,kBAAkB,EAAE,mBAAmB;SACxC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,iBAAiB,CACvE,iBAAiB,EACjB,oBAAoB,EACpB,IAAI,EACJ,mBAAmB,CACpB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,iBAAiB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersUpdateSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersUpdateSample.ts"],"names":[],"mappings":""}
@@ -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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Create or update a certificate purchase order.
*
* @summary Description for Create or update a certificate purchase order.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/UpdateAppServiceCertificateOrder.json
*/
function updateCertificateOrder() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const certificateOrderName = "SampleCertificateOrderName";
const certificateDistinguishedName = {
autoRenew: true,
certificates: {
sampleCertName1: {
keyVaultId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName",
keyVaultSecretName: "SampleSecretName1"
},
sampleCertName2: {
keyVaultId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName",
keyVaultSecretName: "SampleSecretName2"
}
},
distinguishedName: "CN=SampleCustomDomain.com",
keySize: 2048,
productType: "StandardDomainValidatedSsl",
validityInYears: 2
};
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceCertificateOrders.update(resourceGroupName, certificateOrderName, certificateDistinguishedName);
console.log(result);
});
}
updateCertificateOrder().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersUpdateSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,sBAAsB;;QACnC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,4BAA4B,GAA4C;YAC5E,SAAS,EAAE,IAAI;YACf,YAAY,EAAE;gBACZ,eAAe,EAAE;oBACf,UAAU,EACR,kIAAkI;oBACpI,kBAAkB,EAAE,mBAAmB;iBACxC;gBACD,eAAe,EAAE;oBACf,UAAU,EACR,kIAAkI;oBACpI,kBAAkB,EAAE,mBAAmB;iBACxC;aACF;YACD,iBAAiB,EAAE,2BAA2B;YAC9C,OAAO,EAAE,IAAI;YACb,WAAW,EAAE,4BAA4B;YACzC,eAAe,EAAE,CAAC;SACnB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,MAAM,CAC5D,iBAAiB,EACjB,oBAAoB,EACpB,4BAA4B,CAC7B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,sBAAsB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersValidatePurchaseInformationSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersValidatePurchaseInformationSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersValidatePurchaseInformationSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,47 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Validate information for a certificate order.
*
* @summary Description for Validate information for a certificate order.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/ValidateAppServiceCertificatePurchaseInformationBySubscription.json
*/
function validateAppServiceCertificatePurchaseInformationBySubscription() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const appServiceCertificateOrder = {
autoRenew: true,
certificates: {
sampleCertName1: {
keyVaultId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName",
keyVaultSecretName: "SampleSecretName1"
},
sampleCertName2: {
keyVaultId: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/microsoft.keyvault/vaults/SamplevaultName",
keyVaultSecretName: "SampleSecretName2"
}
},
distinguishedName: "CN=SampleCustomDomain.com",
keySize: 2048,
location: "Global",
productType: "StandardDomainValidatedSsl",
validityInYears: 2
};
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceCertificateOrders.validatePurchaseInformation(appServiceCertificateOrder);
console.log(result);
});
}
validateAppServiceCertificatePurchaseInformationBySubscription().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersValidatePurchaseInformationSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersValidatePurchaseInformationSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersValidatePurchaseInformationSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,8DAA8D;;QAC3E,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,0BAA0B,GAA+B;YAC7D,SAAS,EAAE,IAAI;YACf,YAAY,EAAE;gBACZ,eAAe,EAAE;oBACf,UAAU,EACR,kIAAkI;oBACpI,kBAAkB,EAAE,mBAAmB;iBACxC;gBACD,eAAe,EAAE;oBACf,UAAU,EACR,kIAAkI;oBACpI,kBAAkB,EAAE,mBAAmB;iBACxC;aACF;YACD,iBAAiB,EAAE,2BAA2B;YAC9C,OAAO,EAAE,IAAI;YACb,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,4BAA4B;YACzC,eAAe,EAAE,CAAC;SACnB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,2BAA2B,CACjF,0BAA0B,CAC3B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,8DAA8D,EAAE,CAAC,KAAK,CACpE,OAAO,CAAC,KAAK,CACd,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceCertificateOrdersVerifyDomainOwnershipSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersVerifyDomainOwnershipSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersVerifyDomainOwnershipSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Verify domain ownership for this certificate order.
*
* @summary Description for Verify domain ownership for this certificate order.
* x-ms-original-file: specification/web/resource-manager/Microsoft.CertificateRegistration/stable/2022-03-01/examples/VerifyDomainOwnership.json
*/
function verifyDomainOwnership() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "testrg123";
const certificateOrderName = "SampleCertificateOrderName";
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceCertificateOrders.verifyDomainOwnership(resourceGroupName, certificateOrderName);
console.log(result);
});
}
verifyDomainOwnership().catch(console.error);
//# sourceMappingURL=appServiceCertificateOrdersVerifyDomainOwnershipSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceCertificateOrdersVerifyDomainOwnershipSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceCertificateOrdersVerifyDomainOwnershipSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,WAAW,CAAC;QACtC,MAAM,oBAAoB,GAAG,4BAA4B,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,2BAA2B,CAAC,qBAAqB,CAC3E,iBAAiB,EACjB,oBAAoB,CACrB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qBAAqB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,38 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Approves or rejects a private endpoint connection
*
* @summary Description for Approves or rejects a private endpoint connection
* x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/AppServiceEnvironments_ApproveOrRejectPrivateEndpointConnection.json
*/
function approvesOrRejectsAPrivateEndpointConnection() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "test-rg";
const name = "test-ase";
const privateEndpointConnectionName = "fa38656c-034e-43d8-adce-fe06ce039c98";
const privateEndpointWrapper = {
privateLinkServiceConnectionState: {
description: "Approved by johndoe@company.com",
status: "Approved"
}
};
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceEnvironments.beginApproveOrRejectPrivateEndpointConnectionAndWait(resourceGroupName, name, privateEndpointConnectionName, privateEndpointWrapper);
console.log(result);
});
}
approvesOrRejectsAPrivateEndpointConnection().catch(console.error);
//# sourceMappingURL=appServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceEnvironmentsApproveOrRejectPrivateEndpointConnectionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,2CAA2C;;QACxD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,IAAI,GAAG,UAAU,CAAC;QACxB,MAAM,6BAA6B,GAAG,sCAAsC,CAAC;QAC7E,MAAM,sBAAsB,GAAiD;YAC3E,iCAAiC,EAAE;gBACjC,WAAW,EAAE,iCAAiC;gBAC9C,MAAM,EAAE,UAAU;aACnB;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,oDAAoD,CACrG,iBAAiB,EACjB,IAAI,EACJ,6BAA6B,EAC7B,sBAAsB,CACvB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2CAA2C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceEnvironmentsChangeVnetSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceEnvironmentsChangeVnetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceEnvironmentsChangeVnetSample.ts"],"names":[],"mappings":""}
@@ -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 { __asyncValues, __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Move an App Service Environment to a different VNET.
*
* @summary Description for Move an App Service Environment to a different VNET.
* x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/AppServiceEnvironments_ChangeVnet.json
*/
function moveAnAppServiceEnvironmentToADifferentVnet() {
var e_1, _a;
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "test-rg";
const name = "test-ase";
const vnetInfo = {
id: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default"
};
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const resArray = new Array();
try {
for (var _b = __asyncValues(client.appServiceEnvironments.beginListChangeVnetAndWait(resourceGroupName, name, vnetInfo)), _c; _c = yield _b.next(), !_c.done;) {
let item = _c.value;
resArray.push(item);
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
}
finally { if (e_1) throw e_1.error; }
}
console.log(resArray);
});
}
moveAnAppServiceEnvironmentToADifferentVnet().catch(console.error);
//# sourceMappingURL=appServiceEnvironmentsChangeVnetSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceEnvironmentsChangeVnetSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceEnvironmentsChangeVnetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,2CAA2C;;;QACxD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,IAAI,GAAG,UAAU,CAAC;QACxB,MAAM,QAAQ,GAA0B;YACtC,EAAE,EACA,kJAAkJ;SACrJ,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,sBAAsB,CAAC,0BAA0B,CAC7E,iBAAiB,EACjB,IAAI,EACJ,QAAQ,CACT,CAAA,IAAA;gBAJU,IAAI,IAAI,WAAA,CAAA;gBAKjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,2CAA2C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceEnvironmentsCreateOrUpdateMultiRolePoolSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceEnvironmentsCreateOrUpdateMultiRolePoolSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceEnvironmentsCreateOrUpdateMultiRolePoolSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,35 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Create or update a multi-role pool.
*
* @summary Description for Create or update a multi-role pool.
* x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/AppServiceEnvironments_CreateOrUpdateMultiRolePool.json
*/
function createOrUpdateAMultiRolePool() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "test-rg";
const name = "test-ase";
const multiRolePoolEnvelope = {
workerCount: 3,
workerSize: "Medium"
};
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceEnvironments.beginCreateOrUpdateMultiRolePoolAndWait(resourceGroupName, name, multiRolePoolEnvelope);
console.log(result);
});
}
createOrUpdateAMultiRolePool().catch(console.error);
//# sourceMappingURL=appServiceEnvironmentsCreateOrUpdateMultiRolePoolSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceEnvironmentsCreateOrUpdateMultiRolePoolSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceEnvironmentsCreateOrUpdateMultiRolePoolSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,4BAA4B;;QACzC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,IAAI,GAAG,UAAU,CAAC;QACxB,MAAM,qBAAqB,GAAuB;YAChD,WAAW,EAAE,CAAC;YACd,UAAU,EAAE,QAAQ;SACrB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,uCAAuC,CACxF,iBAAiB,EACjB,IAAI,EACJ,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,4BAA4B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceEnvironmentsCreateOrUpdateSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceEnvironmentsCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceEnvironmentsCreateOrUpdateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,38 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Create or update an App Service Environment.
*
* @summary Description for Create or update an App Service Environment.
* x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/AppServiceEnvironments_CreateOrUpdate.json
*/
function createOrUpdateAnAppServiceEnvironment() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "test-rg";
const name = "test-ase";
const hostingEnvironmentEnvelope = {
kind: "Asev3",
location: "South Central US",
virtualNetwork: {
id: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/delegated"
}
};
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceEnvironments.beginCreateOrUpdateAndWait(resourceGroupName, name, hostingEnvironmentEnvelope);
console.log(result);
});
}
createOrUpdateAnAppServiceEnvironment().catch(console.error);
//# sourceMappingURL=appServiceEnvironmentsCreateOrUpdateSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceEnvironmentsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceEnvironmentsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,qCAAqC;;QAClD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,IAAI,GAAG,UAAU,CAAC;QACxB,MAAM,0BAA0B,GAAkC;YAChE,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,kBAAkB;YAC5B,cAAc,EAAE;gBACd,EAAE,EACA,oJAAoJ;aACvJ;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,0BAA0B,CAC3E,iBAAiB,EACjB,IAAI,EACJ,0BAA0B,CAC3B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qCAAqC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=appServiceEnvironmentsCreateOrUpdateWorkerPoolSample.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceEnvironmentsCreateOrUpdateWorkerPoolSample.d.ts","sourceRoot":"","sources":["../../samples-dev/appServiceEnvironmentsCreateOrUpdateWorkerPoolSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,36 @@
/*
* 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 { __awaiter } from "tslib";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice";
import { DefaultAzureCredential } from "@azure/identity";
/**
* This sample demonstrates how to Description for Create or update a worker pool.
*
* @summary Description for Create or update a worker pool.
* x-ms-original-file: specification/web/resource-manager/Microsoft.Web/stable/2022-03-01/examples/AppServiceEnvironments_CreateOrUpdateWorkerPool.json
*/
function getPropertiesOfAWorkerPool() {
return __awaiter(this, void 0, void 0, function* () {
const subscriptionId = "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345";
const resourceGroupName = "test-rg";
const name = "test-ase";
const workerPoolName = "0";
const workerPoolEnvelope = {
workerCount: 3,
workerSize: "Small"
};
const credential = new DefaultAzureCredential();
const client = new WebSiteManagementClient(credential, subscriptionId);
const result = yield client.appServiceEnvironments.beginCreateOrUpdateWorkerPoolAndWait(resourceGroupName, name, workerPoolName, workerPoolEnvelope);
console.log(result);
});
}
getPropertiesOfAWorkerPool().catch(console.error);
//# sourceMappingURL=appServiceEnvironmentsCreateOrUpdateWorkerPoolSample.js.map
@@ -0,0 +1 @@
{"version":3,"file":"appServiceEnvironmentsCreateOrUpdateWorkerPoolSample.js","sourceRoot":"","sources":["../../samples-dev/appServiceEnvironmentsCreateOrUpdateWorkerPoolSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,uBAAuB,EACxB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,SAAS,CAAC;QACpC,MAAM,IAAI,GAAG,UAAU,CAAC;QACxB,MAAM,cAAc,GAAG,GAAG,CAAC;QAC3B,MAAM,kBAAkB,GAAuB;YAC7C,WAAW,EAAE,CAAC;YACd,UAAU,EAAE,OAAO;SACpB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,uBAAuB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACvE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,oCAAoC,CACrF,iBAAiB,EACjB,IAAI,EACJ,cAAc,EACd,kBAAkB,CACnB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,0BAA0B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}

Some files were not shown because too many files have changed in this diff Show More