Skip to content

Commit af305b4

Browse files
committed
Fix issue Azure#1492 SubscriptionDataFile parameter in Import-AzurePublishSettingsFile cmdlet and example
1 parent ed2e651 commit af305b4

File tree

1 file changed

+1
-34
lines changed

1 file changed

+1
-34
lines changed

src/ServiceManagement/Profile/Commands.Profile/Microsoft.WindowsAzure.Commands.Profile.dll-Help.xml

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2094,19 +2094,6 @@
20942094
<dev:defaultValue>
20952095
</dev:defaultValue>
20962096
</command:parameter>
2097-
<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
2098-
<maml:name>SubscriptionDataFile</maml:name>
2099-
<maml:description>
2100-
<maml:para>[Deprecated]: The SubscriptionDataFile parameter is deprecated. This parameter will be removed in a future release. See https://github.com/Azure/azure-powershell/wiki/Proposed-Design-Stateless-Azure-Profile for a description of the upcoming mechanism for providing alternate sources of subscription information. Specifies the path to a profile file. This parameter is optional. If it is not provided, default file in the user's profile is used.</maml:para>
2101-
</maml:description>
2102-
<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
2103-
<dev:type>
2104-
<maml:name>string</maml:name>
2105-
<maml:uri />
2106-
</dev:type>
2107-
<dev:defaultValue>
2108-
</dev:defaultValue>
2109-
</command:parameter>
21102097
</command:parameters>
21112098
<command:inputTypes>
21122099
<command:inputType>
@@ -2175,26 +2162,6 @@
21752162
<maml:introduction>
21762163
<maml:paragraph>PS C:\&gt;</maml:paragraph>
21772164
</maml:introduction>
2178-
<dev:code>PS C:\&gt;Import-AzurePublishSettingsFile –PublishSettingsFile C:\Temp\MyAccount.publishsettings –SubscriptionDataFile C:\Subs\Subscriptions.xml</dev:code>
2179-
<dev:remarks>
2180-
<maml:para>This command imports the "C:\Temp\MyAccountName-date-credentials.publishsettings" file and then saves the subscription data file in C:\Subs\Subscriptions.xml.</maml:para>
2181-
<maml:para />
2182-
<maml:para />
2183-
<maml:para>When you use the SubscriptionDataFile parameter to save your subscription data file in an alternate location, be sure to use the SubscriptionDataFile parameter of cmdlets that use subscription data file, such as Select-AzureSubscription and Remove-AzureAccount.</maml:para>
2184-
</dev:remarks>
2185-
<command:commandLines>
2186-
<command:commandLine>
2187-
<command:commandText>
2188-
<maml:para />
2189-
</command:commandText>
2190-
</command:commandLine>
2191-
</command:commandLines>
2192-
</command:example>
2193-
<command:example>
2194-
<maml:title>-------------------------- Example 3 --------------------------</maml:title>
2195-
<maml:introduction>
2196-
<maml:paragraph>PS C:\&gt;</maml:paragraph>
2197-
</maml:introduction>
21982165
<dev:code>PS C:\&gt;Import-AzurePublishSettingsFile –PublishSettingsFile C:\Temp\MyAccount.publishsettings -Environment AzureChinaCloud</dev:code>
21992166
<dev:remarks>
22002167
<maml:para>This command imports the "C:\Temp\MyAccount.publishsettings" file and sets the Azure environment of all imported subscriptions to be AzureChinaCloud. This will overwrite the endpoints defined in the publish settings file.</maml:para>
@@ -5215,4 +5182,4 @@
52155182
</maml:navigationLink>
52165183
</maml:relatedLinks>
52175184
</command:command>
5218-
</helpItems>
5185+
</helpItems>

0 commit comments

Comments
 (0)