Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mgmt]fix sample issue #27931

Merged
merged 22 commits into from
Jan 3, 2024
Merged
748 changes: 375 additions & 373 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async function createsSpecificPolicy() {
}
]
},
location: "WestUs",
location: "global",
managedRules: {
managedRuleSets: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async function afdCustomDomainsCreate() {
resourceGroupName,
profileName,
customDomainName,
customDomain
customDomain,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function afdCustomDomainsDelete() {
const result = await client.afdCustomDomains.beginDeleteAndWait(
resourceGroupName,
profileName,
customDomainName
customDomainName,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function afdCustomDomainsGet() {
const result = await client.afdCustomDomains.get(
resourceGroupName,
profileName,
customDomainName
customDomainName,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function afdCustomDomainsDelete() {
const result = await client.afdCustomDomains.beginRefreshValidationTokenAndWait(
resourceGroupName,
profileName,
customDomainName
customDomainName,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async function afdCustomDomainsUpdate() {
resourceGroupName,
profileName,
customDomainName,
customDomainUpdateProperties
customDomainUpdateProperties,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function afdEndpointsCreate() {
resourceGroupName,
profileName,
endpointName,
endpoint
endpoint,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function afdEndpointsDelete() {
const result = await client.afdEndpoints.beginDeleteAndWait(
resourceGroupName,
profileName,
endpointName
endpointName,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function afdEndpointsListResourceUsage() {
for await (let item of client.afdEndpoints.listResourceUsage(
resourceGroupName,
profileName,
endpointName
endpointName,
)) {
resArray.push(item);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function afdEndpointsPurgeContent() {
resourceGroupName,
profileName,
endpointName,
contents
contents,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function afdEndpointsUpdate() {
resourceGroupName,
profileName,
endpointName,
endpointUpdateProperties
endpointUpdateProperties,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function endpointsValidateCustomDomain() {
resourceGroupName,
profileName,
endpointName,
customDomainProperties
customDomainProperties,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async function afdOriginGroupsCreate() {
resourceGroupName,
profileName,
originGroupName,
originGroup
originGroup,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function afdOriginGroupsDelete() {
const result = await client.afdOriginGroups.beginDeleteAndWait(
resourceGroupName,
profileName,
originGroupName
originGroupName,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function afdOriginGroupsListResourceUsage() {
for await (let item of client.afdOriginGroups.listResourceUsage(
resourceGroupName,
profileName,
originGroupName
originGroupName,
)) {
resArray.push(item);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async function afdOriginGroupsUpdate() {
resourceGroupName,
profileName,
originGroupName,
originGroupUpdateProperties
originGroupUpdateProperties,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function afdOriginsCreate() {
profileName,
originGroupName,
originName,
origin
origin,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function afdOriginsDelete() {
resourceGroupName,
profileName,
originGroupName,
originName
originName,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function afdOriginsGet() {
resourceGroupName,
profileName,
originGroupName,
originName
originName,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function afdOriginsListByOriginGroup() {
for await (let item of client.afdOrigins.listByOriginGroup(
resourceGroupName,
profileName,
originGroupName
originGroupName,
)) {
resArray.push(item);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async function afdOriginsUpdate() {
profileName,
originGroupName,
originName,
originUpdateProperties
originUpdateProperties,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function checkEndpointNameAvailability() {
const result = await client.afdProfiles.checkEndpointNameAvailability(
resourceGroupName,
profileName,
checkEndpointNameAvailabilityInput
checkEndpointNameAvailabilityInput,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function afdProfilesCheckHostNameAvailability() {
const result = await client.afdProfiles.checkHostNameAvailability(
resourceGroupName,
profileName,
checkHostNameAvailabilityInput
checkHostNameAvailabilityInput,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async function afdProfilesUpgrade() {
const result = await client.afdProfiles.beginUpgradeAndWait(
resourceGroupName,
profileName,
profileUpgradeParameters
profileUpgradeParameters,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function validateSecret() {
const result = await client.afdProfiles.validateSecret(
resourceGroupName,
profileName,
validateSecretInput
validateSecretInput,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function checkEndpointNameAvailability() {
const client = new CdnManagementClient(credential, subscriptionId);
const result = await client.checkEndpointNameAvailability(
resourceGroupName,
checkEndpointNameAvailabilityInput
checkEndpointNameAvailabilityInput,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function customDomainsCreate() {
profileName,
endpointName,
customDomainName,
customDomainProperties
customDomainProperties,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function customDomainsDelete() {
resourceGroupName,
profileName,
endpointName,
customDomainName
customDomainName,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function customDomainsDisableCustomHttps() {
resourceGroupName,
profileName,
endpointName,
customDomainName
customDomainName,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function customDomainsEnableCustomHttpsUsingCdnManagedCertificate() {
resourceGroupName,
profileName,
endpointName,
customDomainName
customDomainName,
);
console.log(result);
}
Expand All @@ -53,7 +53,7 @@ async function customDomainsEnableCustomHttpsUsingYourOwnCertificate() {
resourceGroupName,
profileName,
endpointName,
customDomainName
customDomainName,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function customDomainsGet() {
resourceGroupName,
profileName,
endpointName,
customDomainName
customDomainName,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function customDomainsListByEndpoint() {
for await (let item of client.customDomains.listByEndpoint(
resourceGroupName,
profileName,
endpointName
endpointName,
)) {
resArray.push(item);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ async function endpointsCreate() {
resourceGroupName,
profileName,
endpointName,
endpoint
endpoint,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function endpointsDelete() {
const result = await client.endpoints.beginDeleteAndWait(
resourceGroupName,
profileName,
endpointName
endpointName,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function endpointsListResourceUsage() {
for await (let item of client.endpoints.listResourceUsage(
resourceGroupName,
profileName,
endpointName
endpointName,
)) {
resArray.push(item);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function endpointsLoadContent() {
resourceGroupName,
profileName,
endpointName,
contentFilePaths
contentFilePaths,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function endpointsPurgeContent() {
resourceGroupName,
profileName,
endpointName,
contentFilePaths
contentFilePaths,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function endpointsStart() {
const result = await client.endpoints.beginStartAndWait(
resourceGroupName,
profileName,
endpointName
endpointName,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function endpointsStop() {
const result = await client.endpoints.beginStopAndWait(
resourceGroupName,
profileName,
endpointName
endpointName,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function endpointsUpdate() {
resourceGroupName,
profileName,
endpointName,
endpointUpdateProperties
endpointUpdateProperties,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async function endpointsValidateCustomDomain() {
resourceGroupName,
profileName,
endpointName,
customDomainProperties
customDomainProperties,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async function logAnalyticsGetLogAnalyticsMetrics() {
granularity,
customDomains,
protocols,
options
options,
);
console.log(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async function logAnalyticsGetLogAnalyticsRankings() {
metrics,
maxRanking,
dateTimeBegin,
dateTimeEnd
dateTimeEnd,
);
console.log(result);
}
Expand Down
Loading