Skip to content

Commit

Permalink
[mgmt]fix sample issue (Azure#27931)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazrael2119 authored Jan 3, 2024
1 parent 2e99e2d commit a814a87
Show file tree
Hide file tree
Showing 171 changed files with 1,110 additions and 598 deletions.
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

0 comments on commit a814a87

Please sign in to comment.