-
Notifications
You must be signed in to change notification settings - Fork 94
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
Add support for domain name label scopes #2703
base: main
Are you sure you want to change the base?
Conversation
…rvice into mwf/icy-amber
"@azure/arm-resources": "^5.0.0", | ||
"@azure/core-client": "^1.7.3", | ||
"@azure/core-rest-pipeline": "^1.11.0", | ||
"@microsoft/vscode-azext-azureappservice": "^3.1.0", | ||
"@microsoft/vscode-azext-azureappservice": "file:../vscode-azuretools/appservice/microsoft-vscode-azext-azureappservice-3.3.1.tgz", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll clean up the package.json
and package-lock.json
after these packages are ready to be imported through npm registry.
uiUtils.listAllIterator(client.webApps.list()).then((sites) => { | ||
for (const site of sites) { | ||
const siteName: string = nonNullProp(site, 'name'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export class WebAppWithDomainLabelScopeCreateStep extends AzureWizardExecuteStep<IWebAppWizardContext> { | ||
public priority: number = 140; | ||
|
||
public async execute(context: IWebAppWizardContext, progress: Progress<{ message?: string; increment?: number }>): Promise<void> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of this file is a straight carryover of the WebAppCreateStep
file, but I had to make a call manually without the SDK which means I added a GenericClient
call to the API endpoint, and I had to slightly amend the site payload shape because it's different than when updating using the SDK
Here is the work for supporting the new domain label scopes, see here for more context.
Demos:
Basic_Create
Advanced_Create
Here are the corresponding step changes in the appservice package:
microsoft/vscode-azuretools#1882