Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 6506fb5

Browse files
committed
update arg name
1 parent 79411b9 commit 6506fb5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/APIM_ARMTemplate/apimtemplate/Commands/Extract.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public ExtractCommand()
1919
var resourceGroupName = this.Option("--resourceGroup <resourceGroup>", "Resource Group name", CommandOptionType.SingleValue);
2020
var fileFolderName = this.Option("--fileFolder <filefolder>", "ARM Template files folder", CommandOptionType.SingleValue);
2121
var apiName = this.Option("--apiName <apiName>", "API name", CommandOptionType.SingleValue);
22-
var linkedBaseUrlName = this.Option("--linkedBaseUrl <linkedBaseUrl>", "Creates a master template with links", CommandOptionType.SingleValue);
22+
var linkedTemplatesBaseUrlName = this.Option("--linkedTemplatesBaseUrl <linkedTemplatesBaseUrl>", "Creates a master template with links", CommandOptionType.SingleValue);
2323
var policyXMLBaseUrlName = this.Option("--policyXMLBaseUrl <policyXMLBaseUrl>", "Writes policies to local XML files that require deployment to remote folder", CommandOptionType.SingleValue);
2424

2525
this.HelpOption();
@@ -36,7 +36,7 @@ public ExtractCommand()
3636
string sourceApim = sourceApimName.Values[0].ToString();
3737
string destinationApim = destinationAPIManagementName.Values[0].ToString();
3838
string fileFolder = fileFolderName.Values[0].ToString();
39-
string linkedBaseUrl = linkedBaseUrlName.HasValue() ? linkedBaseUrlName.Value().ToString() : null;
39+
string linkedBaseUrl = linkedTemplatesBaseUrlName.HasValue() ? linkedTemplatesBaseUrlName.Value().ToString() : null;
4040
string policyXMLBaseUrl = policyXMLBaseUrlName.HasValue() ? policyXMLBaseUrlName.Value().ToString() : null;
4141
string singleApiName = null;
4242

src/APIM_ARMTemplate/apimtemplate/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"profiles": {
33
"apimtemplate": {
44
"commandName": "Project",
5-
"commandLineArgs": "extract --sourceApimName LucasBlankLinked --destinationApimName LucasBlankUnlinked --resourceGroup LucasHuetHudsonInternal --fileFolder C:\\Users\\lucashh\\Desktop\\Projects\\APIM-ARM\\GeneratedTemplates\\Extractor\\Full --policyXMLBaseUrl https://lucasarmtemplates.blob.core.windows.net/linked-templates "
5+
"commandLineArgs": "extract --sourceApimName LucasBlankLinked --destinationApimName LucasBlankUnlinked --resourceGroup LucasHuetHudsonInternal --fileFolder C:\\Users\\lucashh\\Desktop\\Projects\\APIM-ARM\\GeneratedTemplates\\Extractor\\Full --linkedTemplatesBaseUrl https://lucasarmtemplates.blob.core.windows.net/linked-templates "
66
}
77
}
88
}

0 commit comments

Comments
 (0)