New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@azure/arm-appplatform

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/arm-appplatform - npm Package Compare versions

Comparing version

to
2.1.0-beta.4

# Release History
## 2.1.0-beta.4 (2022-11-16)
- Bugs Fixed
## 2.1.0-beta.3 (2022-10-08)

@@ -4,0 +8,0 @@

@@ -21,3 +21,3 @@ /*

constructor(credentials, subscriptionId, options) {
var _a, _b;
var _a, _b, _c;
if (credentials === undefined) {

@@ -37,12 +37,9 @@ throw new Error("'credentials' cannot be null");

};
const packageDetails = `azsdk-js-arm-appplatform/2.1.0-beta.3`;
const packageDetails = `azsdk-js-arm-appplatform/2.1.0-beta.4`;
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
: `${packageDetails}`;
if (!options.credentialScopes) {
options.credentialScopes = ["https://management.azure.com/.default"];
}
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
userAgentPrefix
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
super(optionsWithDefaults);

@@ -64,3 +61,3 @@ let bearerTokenAuthenticationPolicyFound = false;

credential: credentials,
scopes: `${optionsWithDefaults.credentialScopes}`,
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
challengeCallbacks: {

@@ -67,0 +64,0 @@ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge

/// <reference lib="esnext.asynciterable" />
export { getContinuationToken } from "./pagingHelper";
export * from "./models";

@@ -3,0 +4,0 @@ export { AppPlatformManagementClient } from "./appPlatformManagementClient";

@@ -9,2 +9,3 @@ /*

/// <reference lib="esnext.asynciterable" />
export { getContinuationToken } from "./pagingHelper";
export * from "./models";

@@ -11,0 +12,0 @@ export { AppPlatformManagementClient } from "./appPlatformManagementClient";

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -42,16 +43,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, apiPortalName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, serviceName, apiPortalName, options, settings);
}
};
}
listPagingPage(resourceGroupName, serviceName, apiPortalName, options) {
listPagingPage(resourceGroupName, serviceName, apiPortalName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(resourceGroupName, serviceName, apiPortalName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, serviceName, apiPortalName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, serviceName, apiPortalName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -58,0 +70,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -41,16 +42,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, serviceName, options, settings);
}
};
}
listPagingPage(resourceGroupName, serviceName, options) {
listPagingPage(resourceGroupName, serviceName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(resourceGroupName, serviceName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, serviceName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, serviceName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -57,0 +69,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -41,16 +42,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, serviceName, options, settings);
}
};
}
listPagingPage(resourceGroupName, serviceName, options) {
listPagingPage(resourceGroupName, serviceName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(resourceGroupName, serviceName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, serviceName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, serviceName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -57,0 +69,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -42,16 +43,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, appName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, serviceName, appName, options, settings);
}
};
}
listPagingPage(resourceGroupName, serviceName, appName, options) {
listPagingPage(resourceGroupName, serviceName, appName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(resourceGroupName, serviceName, appName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, serviceName, appName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, serviceName, appName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -58,0 +70,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -43,16 +44,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, buildServiceName, builderName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, serviceName, buildServiceName, builderName, options, settings);
}
};
}
listPagingPage(resourceGroupName, serviceName, buildServiceName, builderName, options) {
listPagingPage(resourceGroupName, serviceName, buildServiceName, builderName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(resourceGroupName, serviceName, buildServiceName, builderName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, serviceName, buildServiceName, builderName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, serviceName, buildServiceName, builderName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -59,0 +71,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -42,16 +43,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, buildServiceName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, serviceName, buildServiceName, options, settings);
}
};
}
listPagingPage(resourceGroupName, serviceName, buildServiceName, options) {
listPagingPage(resourceGroupName, serviceName, buildServiceName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(resourceGroupName, serviceName, buildServiceName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, serviceName, buildServiceName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, serviceName, buildServiceName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -58,0 +70,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -42,16 +43,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, buildServiceName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, serviceName, buildServiceName, options, settings);
}
};
}
listPagingPage(resourceGroupName, serviceName, buildServiceName, options) {
listPagingPage(resourceGroupName, serviceName, buildServiceName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(resourceGroupName, serviceName, buildServiceName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, serviceName, buildServiceName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, serviceName, buildServiceName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -58,0 +70,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -39,16 +40,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listBuildServicesPagingPage(resourceGroupName, serviceName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listBuildServicesPagingPage(resourceGroupName, serviceName, options, settings);
}
};
}
listBuildServicesPagingPage(resourceGroupName, serviceName, options) {
listBuildServicesPagingPage(resourceGroupName, serviceName, options, settings) {
return __asyncGenerator(this, arguments, function* listBuildServicesPagingPage_1() {
let result = yield __await(this._listBuildServices(resourceGroupName, serviceName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listBuildServices(resourceGroupName, serviceName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listBuildServicesNext(resourceGroupName, serviceName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -92,16 +104,27 @@ });

},
byPage: () => {
return this.listBuildsPagingPage(resourceGroupName, serviceName, buildServiceName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listBuildsPagingPage(resourceGroupName, serviceName, buildServiceName, options, settings);
}
};
}
listBuildsPagingPage(resourceGroupName, serviceName, buildServiceName, options) {
listBuildsPagingPage(resourceGroupName, serviceName, buildServiceName, options, settings) {
return __asyncGenerator(this, arguments, function* listBuildsPagingPage_1() {
let result = yield __await(this._listBuilds(resourceGroupName, serviceName, buildServiceName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listBuilds(resourceGroupName, serviceName, buildServiceName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listBuildsNext(resourceGroupName, serviceName, buildServiceName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -146,16 +169,27 @@ });

},
byPage: () => {
return this.listBuildResultsPagingPage(resourceGroupName, serviceName, buildServiceName, buildName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listBuildResultsPagingPage(resourceGroupName, serviceName, buildServiceName, buildName, options, settings);
}
};
}
listBuildResultsPagingPage(resourceGroupName, serviceName, buildServiceName, buildName, options) {
listBuildResultsPagingPage(resourceGroupName, serviceName, buildServiceName, buildName, options, settings) {
return __asyncGenerator(this, arguments, function* listBuildResultsPagingPage_1() {
let result = yield __await(this._listBuildResults(resourceGroupName, serviceName, buildServiceName, buildName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listBuildResults(resourceGroupName, serviceName, buildServiceName, buildName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listBuildResultsNext(resourceGroupName, serviceName, buildServiceName, buildName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -162,0 +196,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -41,16 +42,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, serviceName, options, settings);
}
};
}
listPagingPage(resourceGroupName, serviceName, options) {
listPagingPage(resourceGroupName, serviceName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(resourceGroupName, serviceName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, serviceName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, serviceName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -57,0 +69,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -41,16 +42,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, serviceName, options, settings);
}
};
}
listPagingPage(resourceGroupName, serviceName, options) {
listPagingPage(resourceGroupName, serviceName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(resourceGroupName, serviceName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, serviceName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, serviceName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -57,0 +69,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -42,16 +43,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, appName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, serviceName, appName, options, settings);
}
};
}
listPagingPage(resourceGroupName, serviceName, appName, options) {
listPagingPage(resourceGroupName, serviceName, appName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(resourceGroupName, serviceName, appName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, serviceName, appName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, serviceName, appName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -58,0 +70,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -42,16 +43,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, appName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, serviceName, appName, options, settings);
}
};
}
listPagingPage(resourceGroupName, serviceName, appName, options) {
listPagingPage(resourceGroupName, serviceName, appName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(resourceGroupName, serviceName, appName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, serviceName, appName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, serviceName, appName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -94,16 +106,27 @@ });

},
byPage: () => {
return this.listForClusterPagingPage(resourceGroupName, serviceName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listForClusterPagingPage(resourceGroupName, serviceName, options, settings);
}
};
}
listForClusterPagingPage(resourceGroupName, serviceName, options) {
listForClusterPagingPage(resourceGroupName, serviceName, options, settings) {
return __asyncGenerator(this, arguments, function* listForClusterPagingPage_1() {
let result = yield __await(this._listForCluster(resourceGroupName, serviceName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listForCluster(resourceGroupName, serviceName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listForClusterNext(resourceGroupName, serviceName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -110,0 +133,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -42,16 +43,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, gatewayName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, serviceName, gatewayName, options, settings);
}
};
}
listPagingPage(resourceGroupName, serviceName, gatewayName, options) {
listPagingPage(resourceGroupName, serviceName, gatewayName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(resourceGroupName, serviceName, gatewayName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, serviceName, gatewayName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, serviceName, gatewayName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -58,0 +70,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -42,16 +43,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, gatewayName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, serviceName, gatewayName, options, settings);
}
};
}
listPagingPage(resourceGroupName, serviceName, gatewayName, options) {
listPagingPage(resourceGroupName, serviceName, gatewayName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(resourceGroupName, serviceName, gatewayName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, serviceName, gatewayName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, serviceName, gatewayName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -58,0 +70,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -41,16 +42,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, serviceName, options, settings);
}
};
}
listPagingPage(resourceGroupName, serviceName, options) {
listPagingPage(resourceGroupName, serviceName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(resourceGroupName, serviceName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, serviceName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, serviceName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -57,0 +69,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -36,16 +37,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(options, settings);
}
};
}
listPagingPage(options) {
listPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -52,0 +64,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -41,16 +42,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, serviceName, options, settings);
}
};
}
listPagingPage(resourceGroupName, serviceName, options) {
listPagingPage(resourceGroupName, serviceName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(resourceGroupName, serviceName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, serviceName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, serviceName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -57,0 +69,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -38,16 +39,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listBySubscriptionPagingPage(options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listBySubscriptionPagingPage(options, settings);
}
};
}
listBySubscriptionPagingPage(options) {
listBySubscriptionPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
let result = yield __await(this._listBySubscription(options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._listBySubscription(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listBySubscriptionNext(continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -89,16 +101,27 @@ });

},
byPage: () => {
return this.listPagingPage(resourceGroupName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, options, settings);
}
};
}
listPagingPage(resourceGroupName, options) {
listPagingPage(resourceGroupName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(resourceGroupName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -105,0 +128,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -36,16 +37,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(options, settings);
}
};
}
listPagingPage(options) {
listPagingPage(options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -52,0 +64,0 @@ });

@@ -9,2 +9,3 @@ /*

import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
import { setContinuationToken } from "../pagingHelper";
import * as coreClient from "@azure/core-client";

@@ -41,16 +42,27 @@ import * as Mappers from "../models/mappers";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, options);
byPage: (settings) => {
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, serviceName, options, settings);
}
};
}
listPagingPage(resourceGroupName, serviceName, options) {
listPagingPage(resourceGroupName, serviceName, options, settings) {
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
let result = yield __await(this._list(resourceGroupName, serviceName, options));
yield yield __await(result.value || []);
let continuationToken = result.nextLink;
let result;
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
if (!continuationToken) {
result = yield __await(this._list(resourceGroupName, serviceName, options));
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield yield __await(page);
}
while (continuationToken) {
result = yield __await(this._listNext(resourceGroupName, serviceName, continuationToken, options));
continuationToken = result.nextLink;
yield yield __await(result.value || []);
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield yield __await(page);
}

@@ -57,0 +69,0 @@ });

@@ -6,5 +6,5 @@ {

"description": "A generated SDK for AppPlatformManagementClient.",
"version": "2.1.0-beta.3",
"version": "2.1.0-beta.4",
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
},

@@ -15,3 +15,3 @@ "dependencies": {

"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.5.0",
"@azure/core-client": "^1.6.1",
"@azure/core-auth": "^1.3.0",

@@ -41,3 +41,3 @@ "@azure/core-rest-pipeline": "^1.8.0",

"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.6.0",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",

@@ -52,2 +52,3 @@ "rimraf": "^3.0.0",

"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0"

@@ -125,2 +126,2 @@ },

}
}
}

@@ -16,3 +16,3 @@ # Azure AppPlatformManagement client library for JavaScript

- [LTS versions of Node.js](https://nodejs.org/en/download/)
- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
- Latest versions of Safari, Chrome, Edge and Firefox.

@@ -19,0 +19,0 @@

@@ -102,3 +102,3 @@ /*

const packageDetails = `azsdk-js-arm-appplatform/2.1.0-beta.3`;
const packageDetails = `azsdk-js-arm-appplatform/2.1.0-beta.4`;
const userAgentPrefix =

@@ -109,5 +109,2 @@ options.userAgentOptions && options.userAgentOptions.userAgentPrefix

if (!options.credentialScopes) {
options.credentialScopes = ["https://management.azure.com/.default"];
}
const optionsWithDefaults = {

@@ -119,3 +116,3 @@ ...defaults,

},
baseUri:
endpoint:
options.endpoint ?? options.baseUri ?? "https://management.azure.com"

@@ -146,3 +143,5 @@ };

credential: credentials,
scopes: `${optionsWithDefaults.credentialScopes}`,
scopes:
optionsWithDefaults.credentialScopes ??
`${optionsWithDefaults.endpoint}/.default`,
challengeCallbacks: {

@@ -149,0 +148,0 @@ authorizeRequestOnChallenge:

@@ -10,4 +10,5 @@ /*

/// <reference lib="esnext.asynciterable" />
export { getContinuationToken } from "./pagingHelper";
export * from "./models";
export { AppPlatformManagementClient } from "./appPlatformManagementClient";
export * from "./operationsInterfaces";

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { ApiPortalCustomDomains } from "../operationsInterfaces";

@@ -22,2 +23,3 @@ import * as coreClient from "@azure/core-client";

ApiPortalCustomDomainsListOptionalParams,
ApiPortalCustomDomainsListResponse,
ApiPortalCustomDomainsGetOptionalParams,

@@ -28,3 +30,2 @@ ApiPortalCustomDomainsGetResponse,

ApiPortalCustomDomainsDeleteOptionalParams,
ApiPortalCustomDomainsListResponse,
ApiPortalCustomDomainsListNextResponse

@@ -73,3 +74,6 @@ } from "../models";

},
byPage: () => {
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(

@@ -79,3 +83,4 @@ resourceGroupName,

apiPortalName,
options
options,
settings
);

@@ -90,12 +95,19 @@ }

apiPortalName: string,
options?: ApiPortalCustomDomainsListOptionalParams
options?: ApiPortalCustomDomainsListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<ApiPortalCustomDomainResource[]> {
let result = await this._list(
resourceGroupName,
serviceName,
apiPortalName,
options
);
yield result.value || [];
let continuationToken = result.nextLink;
let result: ApiPortalCustomDomainsListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(
resourceGroupName,
serviceName,
apiPortalName,
options
);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -110,3 +122,5 @@ result = await this._listNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -113,0 +127,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { ApiPortals } from "../operationsInterfaces";

@@ -22,2 +23,3 @@ import * as coreClient from "@azure/core-client";

ApiPortalsListOptionalParams,
ApiPortalsListResponse,
ApiPortalsGetOptionalParams,

@@ -28,3 +30,2 @@ ApiPortalsGetResponse,

ApiPortalsDeleteOptionalParams,
ApiPortalsListResponse,
CustomDomainValidatePayload,

@@ -69,4 +70,12 @@ ApiPortalsValidateDomainOptionalParams,

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, options);
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(
resourceGroupName,
serviceName,
options,
settings
);
}

@@ -79,7 +88,14 @@ };

serviceName: string,
options?: ApiPortalsListOptionalParams
options?: ApiPortalsListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<ApiPortalResource[]> {
let result = await this._list(resourceGroupName, serviceName, options);
yield result.value || [];
let continuationToken = result.nextLink;
let result: ApiPortalsListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(resourceGroupName, serviceName, options);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -93,3 +109,5 @@ result = await this._listNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -96,0 +114,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { Apps } from "../operationsInterfaces";

@@ -22,2 +23,3 @@ import * as coreClient from "@azure/core-client";

AppsListOptionalParams,
AppsListResponse,
AppsGetOptionalParams,

@@ -30,3 +32,2 @@ AppsGetResponse,

AppsUpdateResponse,
AppsListResponse,
AppsGetResourceUploadUrlOptionalParams,

@@ -76,4 +77,12 @@ AppsGetResourceUploadUrlResponse,

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, options);
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(
resourceGroupName,
serviceName,
options,
settings
);
}

@@ -86,7 +95,14 @@ };

serviceName: string,
options?: AppsListOptionalParams
options?: AppsListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<AppResource[]> {
let result = await this._list(resourceGroupName, serviceName, options);
yield result.value || [];
let continuationToken = result.nextLink;
let result: AppsListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(resourceGroupName, serviceName, options);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -100,3 +116,5 @@ result = await this._listNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -103,0 +121,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { Bindings } from "../operationsInterfaces";

@@ -22,2 +23,3 @@ import * as coreClient from "@azure/core-client";

BindingsListOptionalParams,
BindingsListResponse,
BindingsGetOptionalParams,

@@ -30,3 +32,2 @@ BindingsGetResponse,

BindingsUpdateResponse,
BindingsListResponse,
BindingsListNextResponse

@@ -75,3 +76,6 @@ } from "../models";

},
byPage: () => {
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(

@@ -81,3 +85,4 @@ resourceGroupName,

appName,
options
options,
settings
);

@@ -92,12 +97,19 @@ }

appName: string,
options?: BindingsListOptionalParams
options?: BindingsListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<BindingResource[]> {
let result = await this._list(
resourceGroupName,
serviceName,
appName,
options
);
yield result.value || [];
let continuationToken = result.nextLink;
let result: BindingsListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(
resourceGroupName,
serviceName,
appName,
options
);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -112,3 +124,5 @@ result = await this._listNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -115,0 +129,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { BuildpackBinding } from "../operationsInterfaces";

@@ -22,2 +23,3 @@ import * as coreClient from "@azure/core-client";

BuildpackBindingListOptionalParams,
BuildpackBindingListResponse,
BuildpackBindingGetOptionalParams,

@@ -28,3 +30,2 @@ BuildpackBindingGetResponse,

BuildpackBindingDeleteOptionalParams,
BuildpackBindingListResponse,
BuildpackBindingListNextResponse

@@ -76,3 +77,6 @@ } from "../models";

},
byPage: () => {
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(

@@ -83,3 +87,4 @@ resourceGroupName,

builderName,
options
options,
settings
);

@@ -95,13 +100,20 @@ }

builderName: string,
options?: BuildpackBindingListOptionalParams
options?: BuildpackBindingListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<BuildpackBindingResource[]> {
let result = await this._list(
resourceGroupName,
serviceName,
buildServiceName,
builderName,
options
);
yield result.value || [];
let continuationToken = result.nextLink;
let result: BuildpackBindingListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(
resourceGroupName,
serviceName,
buildServiceName,
builderName,
options
);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -117,3 +129,5 @@ result = await this._listNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -120,0 +134,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { BuildServiceAgentPool } from "../operationsInterfaces";

@@ -70,3 +71,6 @@ import * as coreClient from "@azure/core-client";

},
byPage: () => {
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(

@@ -76,3 +80,4 @@ resourceGroupName,

buildServiceName,
options
options,
settings
);

@@ -87,12 +92,19 @@ }

buildServiceName: string,
options?: BuildServiceAgentPoolListOptionalParams
options?: BuildServiceAgentPoolListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<BuildServiceAgentPoolResource[]> {
let result = await this._list(
resourceGroupName,
serviceName,
buildServiceName,
options
);
yield result.value || [];
let continuationToken = result.nextLink;
let result: BuildServiceAgentPoolListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(
resourceGroupName,
serviceName,
buildServiceName,
options
);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -107,3 +119,5 @@ result = await this._listNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -110,0 +124,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { BuildServiceBuilder } from "../operationsInterfaces";

@@ -22,2 +23,3 @@ import * as coreClient from "@azure/core-client";

BuildServiceBuilderListOptionalParams,
BuildServiceBuilderListResponse,
BuildServiceBuilderGetOptionalParams,

@@ -28,3 +30,2 @@ BuildServiceBuilderGetResponse,

BuildServiceBuilderDeleteOptionalParams,
BuildServiceBuilderListResponse,
BuildServiceBuilderListDeploymentsOptionalParams,

@@ -75,3 +76,6 @@ BuildServiceBuilderListDeploymentsResponse,

},
byPage: () => {
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(

@@ -81,3 +85,4 @@ resourceGroupName,

buildServiceName,
options
options,
settings
);

@@ -92,12 +97,19 @@ }

buildServiceName: string,
options?: BuildServiceBuilderListOptionalParams
options?: BuildServiceBuilderListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<BuilderResource[]> {
let result = await this._list(
resourceGroupName,
serviceName,
buildServiceName,
options
);
yield result.value || [];
let continuationToken = result.nextLink;
let result: BuildServiceBuilderListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(
resourceGroupName,
serviceName,
buildServiceName,
options
);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -112,3 +124,5 @@ result = await this._listNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -115,0 +129,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { BuildServiceOperations } from "../operationsInterfaces";

@@ -20,12 +21,13 @@ import * as coreClient from "@azure/core-client";

BuildServiceListBuildServicesOptionalParams,
BuildServiceListBuildServicesResponse,
Build,
BuildServiceListBuildsNextOptionalParams,
BuildServiceListBuildsOptionalParams,
BuildServiceListBuildsResponse,
BuildResult,
BuildServiceListBuildResultsNextOptionalParams,
BuildServiceListBuildResultsOptionalParams,
BuildServiceListBuildServicesResponse,
BuildServiceListBuildResultsResponse,
BuildServiceGetBuildServiceOptionalParams,
BuildServiceGetBuildServiceResponse,
BuildServiceListBuildsResponse,
BuildServiceGetBuildOptionalParams,

@@ -35,3 +37,2 @@ BuildServiceGetBuildResponse,

BuildServiceCreateOrUpdateBuildResponse,
BuildServiceListBuildResultsResponse,
BuildServiceGetBuildResultOptionalParams,

@@ -93,7 +94,11 @@ BuildServiceGetBuildResultResponse,

},
byPage: () => {
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listBuildServicesPagingPage(
resourceGroupName,
serviceName,
options
options,
settings
);

@@ -107,11 +112,18 @@ }

serviceName: string,
options?: BuildServiceListBuildServicesOptionalParams
options?: BuildServiceListBuildServicesOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<BuildService[]> {
let result = await this._listBuildServices(
resourceGroupName,
serviceName,
options
);
yield result.value || [];
let continuationToken = result.nextLink;
let result: BuildServiceListBuildServicesResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._listBuildServices(
resourceGroupName,
serviceName,
options
);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -125,3 +137,5 @@ result = await this._listBuildServicesNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -171,3 +185,6 @@ }

},
byPage: () => {
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listBuildsPagingPage(

@@ -177,3 +194,4 @@ resourceGroupName,

buildServiceName,
options
options,
settings
);

@@ -188,12 +206,19 @@ }

buildServiceName: string,
options?: BuildServiceListBuildsOptionalParams
options?: BuildServiceListBuildsOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<Build[]> {
let result = await this._listBuilds(
resourceGroupName,
serviceName,
buildServiceName,
options
);
yield result.value || [];
let continuationToken = result.nextLink;
let result: BuildServiceListBuildsResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._listBuilds(
resourceGroupName,
serviceName,
buildServiceName,
options
);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -208,3 +233,5 @@ result = await this._listBuildsNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -259,3 +286,6 @@ }

},
byPage: () => {
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listBuildResultsPagingPage(

@@ -266,3 +296,4 @@ resourceGroupName,

buildName,
options
options,
settings
);

@@ -278,13 +309,20 @@ }

buildName: string,
options?: BuildServiceListBuildResultsOptionalParams
options?: BuildServiceListBuildResultsOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<BuildResult[]> {
let result = await this._listBuildResults(
resourceGroupName,
serviceName,
buildServiceName,
buildName,
options
);
yield result.value || [];
let continuationToken = result.nextLink;
let result: BuildServiceListBuildResultsResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._listBuildResults(
resourceGroupName,
serviceName,
buildServiceName,
buildName,
options
);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -300,3 +338,5 @@ result = await this._listBuildResultsNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -303,0 +343,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { Certificates } from "../operationsInterfaces";

@@ -22,2 +23,3 @@ import * as coreClient from "@azure/core-client";

CertificatesListOptionalParams,
CertificatesListResponse,
CertificatesGetOptionalParams,

@@ -28,3 +30,2 @@ CertificatesGetResponse,

CertificatesDeleteOptionalParams,
CertificatesListResponse,
CertificatesListNextResponse

@@ -66,4 +67,12 @@ } from "../models";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, options);
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(
resourceGroupName,
serviceName,
options,
settings
);
}

@@ -76,7 +85,14 @@ };

serviceName: string,
options?: CertificatesListOptionalParams
options?: CertificatesListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<CertificateResource[]> {
let result = await this._list(resourceGroupName, serviceName, options);
yield result.value || [];
let continuationToken = result.nextLink;
let result: CertificatesListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(resourceGroupName, serviceName, options);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -90,3 +106,5 @@ result = await this._listNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -93,0 +111,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { ConfigurationServices } from "../operationsInterfaces";

@@ -22,2 +23,3 @@ import * as coreClient from "@azure/core-client";

ConfigurationServicesListOptionalParams,
ConfigurationServicesListResponse,
ConfigurationServicesGetOptionalParams,

@@ -28,3 +30,2 @@ ConfigurationServicesGetResponse,

ConfigurationServicesDeleteOptionalParams,
ConfigurationServicesListResponse,
ConfigurationServiceSettings,

@@ -69,4 +70,12 @@ ConfigurationServicesValidateOptionalParams,

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, options);
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(
resourceGroupName,
serviceName,
options,
settings
);
}

@@ -79,7 +88,14 @@ };

serviceName: string,
options?: ConfigurationServicesListOptionalParams
options?: ConfigurationServicesListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<ConfigurationServiceResource[]> {
let result = await this._list(resourceGroupName, serviceName, options);
yield result.value || [];
let continuationToken = result.nextLink;
let result: ConfigurationServicesListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(resourceGroupName, serviceName, options);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -93,3 +109,5 @@ result = await this._listNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -96,0 +114,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { CustomDomains } from "../operationsInterfaces";

@@ -22,2 +23,3 @@ import * as coreClient from "@azure/core-client";

CustomDomainsListOptionalParams,
CustomDomainsListResponse,
CustomDomainsGetOptionalParams,

@@ -30,3 +32,2 @@ CustomDomainsGetResponse,

CustomDomainsUpdateResponse,
CustomDomainsListResponse,
CustomDomainsListNextResponse

@@ -75,3 +76,6 @@ } from "../models";

},
byPage: () => {
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(

@@ -81,3 +85,4 @@ resourceGroupName,

appName,
options
options,
settings
);

@@ -92,12 +97,19 @@ }

appName: string,
options?: CustomDomainsListOptionalParams
options?: CustomDomainsListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<CustomDomainResource[]> {
let result = await this._list(
resourceGroupName,
serviceName,
appName,
options
);
yield result.value || [];
let continuationToken = result.nextLink;
let result: CustomDomainsListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(
resourceGroupName,
serviceName,
appName,
options
);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -112,3 +124,5 @@ result = await this._listNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -115,0 +129,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { Deployments } from "../operationsInterfaces";

@@ -22,4 +23,6 @@ import * as coreClient from "@azure/core-client";

DeploymentsListOptionalParams,
DeploymentsListResponse,
DeploymentsListForClusterNextOptionalParams,
DeploymentsListForClusterOptionalParams,
DeploymentsListForClusterResponse,
DeploymentsGetOptionalParams,

@@ -32,4 +35,2 @@ DeploymentsGetResponse,

DeploymentsUpdateResponse,
DeploymentsListResponse,
DeploymentsListForClusterResponse,
DeploymentsStartOptionalParams,

@@ -94,3 +95,6 @@ DeploymentsStopOptionalParams,

},
byPage: () => {
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(

@@ -100,3 +104,4 @@ resourceGroupName,

appName,
options
options,
settings
);

@@ -111,12 +116,19 @@ }

appName: string,
options?: DeploymentsListOptionalParams
options?: DeploymentsListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<DeploymentResource[]> {
let result = await this._list(
resourceGroupName,
serviceName,
appName,
options
);
yield result.value || [];
let continuationToken = result.nextLink;
let result: DeploymentsListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(
resourceGroupName,
serviceName,
appName,
options
);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -131,3 +143,5 @@ result = await this._listNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -176,7 +190,11 @@ }

},
byPage: () => {
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listForClusterPagingPage(
resourceGroupName,
serviceName,
options
options,
settings
);

@@ -190,11 +208,18 @@ }

serviceName: string,
options?: DeploymentsListForClusterOptionalParams
options?: DeploymentsListForClusterOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<DeploymentResource[]> {
let result = await this._listForCluster(
resourceGroupName,
serviceName,
options
);
yield result.value || [];
let continuationToken = result.nextLink;
let result: DeploymentsListForClusterResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._listForCluster(
resourceGroupName,
serviceName,
options
);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -208,3 +233,5 @@ result = await this._listForClusterNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -211,0 +238,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { GatewayCustomDomains } from "../operationsInterfaces";

@@ -22,2 +23,3 @@ import * as coreClient from "@azure/core-client";

GatewayCustomDomainsListOptionalParams,
GatewayCustomDomainsListResponse,
GatewayCustomDomainsGetOptionalParams,

@@ -28,3 +30,2 @@ GatewayCustomDomainsGetResponse,

GatewayCustomDomainsDeleteOptionalParams,
GatewayCustomDomainsListResponse,
GatewayCustomDomainsListNextResponse

@@ -73,3 +74,6 @@ } from "../models";

},
byPage: () => {
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(

@@ -79,3 +83,4 @@ resourceGroupName,

gatewayName,
options
options,
settings
);

@@ -90,12 +95,19 @@ }

gatewayName: string,
options?: GatewayCustomDomainsListOptionalParams
options?: GatewayCustomDomainsListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<GatewayCustomDomainResource[]> {
let result = await this._list(
resourceGroupName,
serviceName,
gatewayName,
options
);
yield result.value || [];
let continuationToken = result.nextLink;
let result: GatewayCustomDomainsListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(
resourceGroupName,
serviceName,
gatewayName,
options
);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -110,3 +122,5 @@ result = await this._listNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -113,0 +127,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { GatewayRouteConfigs } from "../operationsInterfaces";

@@ -22,2 +23,3 @@ import * as coreClient from "@azure/core-client";

GatewayRouteConfigsListOptionalParams,
GatewayRouteConfigsListResponse,
GatewayRouteConfigsGetOptionalParams,

@@ -28,3 +30,2 @@ GatewayRouteConfigsGetResponse,

GatewayRouteConfigsDeleteOptionalParams,
GatewayRouteConfigsListResponse,
GatewayRouteConfigsListNextResponse

@@ -73,3 +74,6 @@ } from "../models";

},
byPage: () => {
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(

@@ -79,3 +83,4 @@ resourceGroupName,

gatewayName,
options
options,
settings
);

@@ -90,12 +95,19 @@ }

gatewayName: string,
options?: GatewayRouteConfigsListOptionalParams
options?: GatewayRouteConfigsListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<GatewayRouteConfigResource[]> {
let result = await this._list(
resourceGroupName,
serviceName,
gatewayName,
options
);
yield result.value || [];
let continuationToken = result.nextLink;
let result: GatewayRouteConfigsListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(
resourceGroupName,
serviceName,
gatewayName,
options
);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -110,3 +122,5 @@ result = await this._listNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -113,0 +127,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { Gateways } from "../operationsInterfaces";

@@ -22,2 +23,3 @@ import * as coreClient from "@azure/core-client";

GatewaysListOptionalParams,
GatewaysListResponse,
GatewaysGetOptionalParams,

@@ -28,3 +30,2 @@ GatewaysGetResponse,

GatewaysDeleteOptionalParams,
GatewaysListResponse,
CustomDomainValidatePayload,

@@ -69,4 +70,12 @@ GatewaysValidateDomainOptionalParams,

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, options);
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(
resourceGroupName,
serviceName,
options,
settings
);
}

@@ -79,7 +88,14 @@ };

serviceName: string,
options?: GatewaysListOptionalParams
options?: GatewaysListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<GatewayResource[]> {
let result = await this._list(resourceGroupName, serviceName, options);
yield result.value || [];
let continuationToken = result.nextLink;
let result: GatewaysListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(resourceGroupName, serviceName, options);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -93,3 +109,5 @@ result = await this._listNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -96,0 +114,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { Operations } from "../operationsInterfaces";

@@ -52,4 +53,7 @@ import * as coreClient from "@azure/core-client";

},
byPage: () => {
return this.listPagingPage(options);
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(options, settings);
}

@@ -60,11 +64,20 @@ };

private async *listPagingPage(
options?: OperationsListOptionalParams
options?: OperationsListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<OperationDetail[]> {
let result = await this._list(options);
yield result.value || [];
let continuationToken = result.nextLink;
let result: OperationsListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(options);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {
result = await this._listNext(continuationToken, options);
continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -71,0 +84,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { ServiceRegistries } from "../operationsInterfaces";

@@ -22,2 +23,3 @@ import * as coreClient from "@azure/core-client";

ServiceRegistriesListOptionalParams,
ServiceRegistriesListResponse,
ServiceRegistriesGetOptionalParams,

@@ -28,3 +30,2 @@ ServiceRegistriesGetResponse,

ServiceRegistriesDeleteOptionalParams,
ServiceRegistriesListResponse,
ServiceRegistriesListNextResponse

@@ -66,4 +67,12 @@ } from "../models";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, options);
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(
resourceGroupName,
serviceName,
options,
settings
);
}

@@ -76,7 +85,14 @@ };

serviceName: string,
options?: ServiceRegistriesListOptionalParams
options?: ServiceRegistriesListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<ServiceRegistryResource[]> {
let result = await this._list(resourceGroupName, serviceName, options);
yield result.value || [];
let continuationToken = result.nextLink;
let result: ServiceRegistriesListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(resourceGroupName, serviceName, options);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -90,3 +106,5 @@ result = await this._listNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -93,0 +111,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { Services } from "../operationsInterfaces";

@@ -22,4 +23,6 @@ import * as coreClient from "@azure/core-client";

ServicesListBySubscriptionOptionalParams,
ServicesListBySubscriptionResponse,
ServicesListNextOptionalParams,
ServicesListOptionalParams,
ServicesListResponse,
ServicesGetOptionalParams,

@@ -45,4 +48,2 @@ ServicesGetResponse,

ServicesCheckNameAvailabilityResponse,
ServicesListBySubscriptionResponse,
ServicesListResponse,
ServicesListBySubscriptionNextResponse,

@@ -80,4 +81,7 @@ ServicesListNextResponse

},
byPage: () => {
return this.listBySubscriptionPagingPage(options);
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listBySubscriptionPagingPage(options, settings);
}

@@ -88,11 +92,20 @@ };

private async *listBySubscriptionPagingPage(
options?: ServicesListBySubscriptionOptionalParams
options?: ServicesListBySubscriptionOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<ServiceResource[]> {
let result = await this._listBySubscription(options);
yield result.value || [];
let continuationToken = result.nextLink;
let result: ServicesListBySubscriptionResponse;
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;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -127,4 +140,7 @@ }

},
byPage: () => {
return this.listPagingPage(resourceGroupName, options);
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(resourceGroupName, options, settings);
}

@@ -136,7 +152,14 @@ };

resourceGroupName: string,
options?: ServicesListOptionalParams
options?: ServicesListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<ServiceResource[]> {
let result = await this._list(resourceGroupName, options);
yield result.value || [];
let continuationToken = result.nextLink;
let result: ServicesListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(resourceGroupName, options);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -149,3 +172,5 @@ result = await this._listNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -152,0 +177,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { Skus } from "../operationsInterfaces";

@@ -52,4 +53,7 @@ import * as coreClient from "@azure/core-client";

},
byPage: () => {
return this.listPagingPage(options);
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(options, settings);
}

@@ -60,11 +64,20 @@ };

private async *listPagingPage(
options?: SkusListOptionalParams
options?: SkusListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<ResourceSku[]> {
let result = await this._list(options);
yield result.value || [];
let continuationToken = result.nextLink;
let result: SkusListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(options);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {
result = await this._listNext(continuationToken, options);
continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -71,0 +84,0 @@ }

@@ -9,3 +9,4 @@ /*

import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
import { setContinuationToken } from "../pagingHelper";
import { Storages } from "../operationsInterfaces";

@@ -22,2 +23,3 @@ import * as coreClient from "@azure/core-client";

StoragesListOptionalParams,
StoragesListResponse,
StoragesGetOptionalParams,

@@ -28,3 +30,2 @@ StoragesGetResponse,

StoragesDeleteOptionalParams,
StoragesListResponse,
StoragesListNextResponse

@@ -66,4 +67,12 @@ } from "../models";

},
byPage: () => {
return this.listPagingPage(resourceGroupName, serviceName, options);
byPage: (settings?: PageSettings) => {
if (settings?.maxPageSize) {
throw new Error("maxPageSize is not supported by this operation.");
}
return this.listPagingPage(
resourceGroupName,
serviceName,
options,
settings
);
}

@@ -76,7 +85,14 @@ };

serviceName: string,
options?: StoragesListOptionalParams
options?: StoragesListOptionalParams,
settings?: PageSettings
): AsyncIterableIterator<StorageResource[]> {
let result = await this._list(resourceGroupName, serviceName, options);
yield result.value || [];
let continuationToken = result.nextLink;
let result: StoragesListResponse;
let continuationToken = settings?.continuationToken;
if (!continuationToken) {
result = await this._list(resourceGroupName, serviceName, options);
let page = result.value || [];
continuationToken = result.nextLink;
setContinuationToken(page, continuationToken);
yield page;
}
while (continuationToken) {

@@ -90,3 +106,5 @@ result = await this._listNext(

continuationToken = result.nextLink;
yield result.value || [];
let page = result.value || [];
setContinuationToken(page, continuationToken);
yield page;
}

@@ -93,0 +111,0 @@ }

@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.

"packageName": "@microsoft/api-extractor",
"packageVersion": "7.32.0"
"packageVersion": "7.33.5"
}
]
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display