|
1006 | 1006 | </maml:alert>
|
1007 | 1007 | </maml:alertSet>
|
1008 | 1008 | <command:examples>
|
| 1009 | + <command:example> |
| 1010 | + <maml:title>-------------------------- Example 1: Get all registered resource providers --------------------------</maml:title> |
| 1011 | + <maml:introduction> |
| 1012 | + <maml:paragraph>PS C:\></maml:paragraph> |
| 1013 | + </maml:introduction> |
| 1014 | + <dev:code> |
| 1015 | + PS C:\>Get-AzureRmResourceProvider |
| 1016 | + </dev:code> |
| 1017 | + <dev:remarks> |
| 1018 | + <maml:para>This command gets all the registered resource providers.</maml:para> |
| 1019 | + <maml:para /> |
| 1020 | + <maml:para /> |
| 1021 | + <maml:para> |
| 1022 | + </maml:para> |
| 1023 | + </dev:remarks> |
| 1024 | + <command:commandLines> |
| 1025 | + <command:commandLine> |
| 1026 | + <command:commandText> |
| 1027 | + <maml:para /> |
| 1028 | + </command:commandText> |
| 1029 | + </command:commandLine> |
| 1030 | + </command:commandLines> |
| 1031 | + </command:example> |
| 1032 | + <command:example> |
| 1033 | + <maml:title>-------------------------- Example 2: Get all resource providers, including those not registered --------------------------</maml:title> |
| 1034 | + <maml:introduction> |
| 1035 | + <maml:paragraph>PS C:\></maml:paragraph> |
| 1036 | + </maml:introduction> |
| 1037 | + <dev:code> |
| 1038 | + PS C:\>Get-AzureRmResourceProvider -ListAvailable |
| 1039 | + </dev:code> |
| 1040 | + <dev:remarks> |
| 1041 | + <maml:para>This command gets all the resource providers, including those registered and unregistered.</maml:para> |
| 1042 | + <maml:para /> |
| 1043 | + <maml:para /> |
| 1044 | + <maml:para> |
| 1045 | + </maml:para> |
| 1046 | + </dev:remarks> |
| 1047 | + <command:commandLines> |
| 1048 | + <command:commandLine> |
| 1049 | + <command:commandText> |
| 1050 | + <maml:para /> |
| 1051 | + </command:commandText> |
| 1052 | + </command:commandLine> |
| 1053 | + </command:commandLines> |
| 1054 | + </command:example> |
| 1055 | + <command:example> |
| 1056 | + <maml:title>-------------------------- Example 3: Get details about a particular resource provider --------------------------</maml:title> |
| 1057 | + <maml:introduction> |
| 1058 | + <maml:paragraph>PS C:\></maml:paragraph> |
| 1059 | + </maml:introduction> |
| 1060 | + <dev:code> |
| 1061 | + PS C:\>Get-AzureRmResourceProvider -ProviderNamespace Microsoft.Web |
| 1062 | + </dev:code> |
| 1063 | + <dev:remarks> |
| 1064 | + <maml:para>This command gets details about a particular resource provider, including the resource types and locations available for the resource provider.</maml:para> |
| 1065 | + <maml:para /> |
| 1066 | + <maml:para /> |
| 1067 | + <maml:para> |
| 1068 | + </maml:para> |
| 1069 | + </dev:remarks> |
| 1070 | + <command:commandLines> |
| 1071 | + <command:commandLine> |
| 1072 | + <command:commandText> |
| 1073 | + <maml:para /> |
| 1074 | + </command:commandText> |
| 1075 | + </command:commandLine> |
| 1076 | + </command:commandLines> |
| 1077 | + </command:example> |
| 1078 | + <command:example> |
| 1079 | + <maml:title>-------------------------- Example 4: Get all registered resource providers filtered by a location --------------------------</maml:title> |
| 1080 | + <maml:introduction> |
| 1081 | + <maml:paragraph>PS C:\></maml:paragraph> |
| 1082 | + </maml:introduction> |
| 1083 | + <dev:code> |
| 1084 | + PS C:\>Get-AzureRmResourceProvider -Location westus |
| 1085 | + </dev:code> |
| 1086 | + <dev:remarks> |
| 1087 | + <maml:para>This command gets all the registered resource providers under a location.</maml:para> |
| 1088 | + <maml:para /> |
| 1089 | + <maml:para /> |
| 1090 | + <maml:para> |
| 1091 | + </maml:para> |
| 1092 | + </dev:remarks> |
| 1093 | + <command:commandLines> |
| 1094 | + <command:commandLine> |
| 1095 | + <command:commandText> |
| 1096 | + <maml:para /> |
| 1097 | + </command:commandText> |
| 1098 | + </command:commandLine> |
| 1099 | + </command:commandLines> |
| 1100 | + </command:example> |
1009 | 1101 | </command:examples>
|
1010 | 1102 | <maml:relatedLinks>
|
1011 | 1103 | </maml:relatedLinks>
|
@@ -6311,6 +6403,29 @@ Resources</dev:code>
|
6311 | 6403 | </maml:alert>
|
6312 | 6404 | </maml:alertSet>
|
6313 | 6405 | <command:examples>
|
| 6406 | + <command:example> |
| 6407 | + <maml:title>-------------------------- Example 1: Register a resource provider --------------------------</maml:title> |
| 6408 | + <maml:introduction> |
| 6409 | + <maml:paragraph>PS C:\></maml:paragraph> |
| 6410 | + </maml:introduction> |
| 6411 | + <dev:code> |
| 6412 | + PS C:\>Register-AzureRmResourceProvider -ProviderNamespace Microsoft.Web |
| 6413 | + </dev:code> |
| 6414 | + <dev:remarks> |
| 6415 | + <maml:para>This command registers the provider "Microsoft.Web" for the selected subscription.</maml:para> |
| 6416 | + <maml:para /> |
| 6417 | + <maml:para /> |
| 6418 | + <maml:para> |
| 6419 | + </maml:para> |
| 6420 | + </dev:remarks> |
| 6421 | + <command:commandLines> |
| 6422 | + <command:commandLine> |
| 6423 | + <command:commandText> |
| 6424 | + <maml:para /> |
| 6425 | + </command:commandText> |
| 6426 | + </command:commandLine> |
| 6427 | + </command:commandLines> |
| 6428 | + </command:example> |
6314 | 6429 | </command:examples>
|
6315 | 6430 | <maml:relatedLinks>
|
6316 | 6431 | </maml:relatedLinks>
|
@@ -9657,6 +9772,29 @@ Tags:
|
9657 | 9772 | </maml:alert>
|
9658 | 9773 | </maml:alertSet>
|
9659 | 9774 | <command:examples>
|
| 9775 | + <command:example> |
| 9776 | + <maml:title>-------------------------- Example 1: Unregister a resource provider --------------------------</maml:title> |
| 9777 | + <maml:introduction> |
| 9778 | + <maml:paragraph>PS C:\></maml:paragraph> |
| 9779 | + </maml:introduction> |
| 9780 | + <dev:code> |
| 9781 | + PS C:\>Unregister-AzureRmResourceProvider -ProviderNamespace Microsoft.Web |
| 9782 | + </dev:code> |
| 9783 | + <dev:remarks> |
| 9784 | + <maml:para>This command unregisters the provider "Microsoft.Web" for the selected subscription.</maml:para> |
| 9785 | + <maml:para /> |
| 9786 | + <maml:para /> |
| 9787 | + <maml:para> |
| 9788 | + </maml:para> |
| 9789 | + </dev:remarks> |
| 9790 | + <command:commandLines> |
| 9791 | + <command:commandLine> |
| 9792 | + <command:commandText> |
| 9793 | + <maml:para /> |
| 9794 | + </command:commandText> |
| 9795 | + </command:commandLine> |
| 9796 | + </command:commandLines> |
| 9797 | + </command:example> |
9660 | 9798 | </command:examples>
|
9661 | 9799 | <maml:relatedLinks>
|
9662 | 9800 | </maml:relatedLinks>
|
|
0 commit comments