Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/ProviderHub/help/Get-AzProviderHubCustomRollout.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ Gets the custom rollout details.

### Example 1: Get a custom rollout by rollout name.
```powershell
PS C:\> Get-AzProviderHubCustomRollout -ProviderNamespace "Microsft.Contoso" -RolloutName "customRollout1"
Get-AzProviderHubCustomRollout -ProviderNamespace "Microsft.Contoso" -RolloutName "customRollout1"
```

```output
Name Type
---- ----
customRollout1 Microsoft.ProviderHub/providerRegistrations/customRollouts
Expand Down
8 changes: 6 additions & 2 deletions src/ProviderHub/help/Get-AzProviderHubDefaultRollout.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ Gets the default rollout details.

### Example 1: List all default rollouts under the resource provider.
```powershell
PS C:\> Get-AzProviderHubDefaultRollout -ProviderNamespace "Microsoft.Contoso"
Get-AzProviderHubDefaultRollout -ProviderNamespace "Microsoft.Contoso"
```

```output
Name Type
---- ----
defaultRollout2021w10 Microsoft.ProviderHub/providerRegistrations/defaultRollouts
Expand All @@ -49,8 +51,10 @@ List all default rollouts under the resource provider.

### Example 2: Get a specific rollout by name.
```powershell
PS C:\> Get-AzProviderHubDefaultRollout -ProviderNamespace "Microsoft.Contoso" -RolloutName "defaultRollout2021w10"
Get-AzProviderHubDefaultRollout -ProviderNamespace "Microsoft.Contoso" -RolloutName "defaultRollout2021w10"
```

```output
Name Type
---- ----
defaultRollout2021w10 Microsoft.ProviderHub/providerRegistrations/defaultRollouts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ Gets the notification registration details.

### Example 1: List all the notification registration by ProviderNamespace.
```powershell
PS C:\> Get-AzProviderHubNotificationRegistration -ProviderNamespace "Microsoft.Contoso"
Get-AzProviderHubNotificationRegistration -ProviderNamespace "Microsoft.Contoso"
```

```output
Name
----
notificationRegistrationTest1
Expand All @@ -49,8 +51,10 @@ List all the notification registration in the provider namespace.

### Example 2: Get the notification registration by name.
```powershell
PS C:\> Get-AzProviderHubNotificationRegistration -ProviderNamespace "Microsoft.Contoso" -Name "notificationRegistrationTest"
Get-AzProviderHubNotificationRegistration -ProviderNamespace "Microsoft.Contoso" -Name "notificationRegistrationTest"
```

```output
Name
----
notificationRegistrationTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ Gets the provider registration details.

### Example 1: Get the provider registration.
```powershell
PS C:\> Get-AzProviderHubProviderRegistration -ProviderNamespace "Microsoft.Contoso"
Get-AzProviderHubProviderRegistration -ProviderNamespace "Microsoft.Contoso"
```

```output
Name Type
---- ----
Microsoft.Contoso Microsoft.ProviderHub/providerRegistrations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ Gets a resource type details in the given subscription and provider.

### Example 1: List all resource types under the resource provider namespace.
```powershell
PS C:\> Get-AzProviderHubResourceTypeRegistration -ProviderNamespace "Microsoft.Contoso"
Get-AzProviderHubResourceTypeRegistration -ProviderNamespace "Microsoft.Contoso"
```

```output
Name Type
---- ----
testResourceType1 Microsoft.ProviderHub/providerRegistrations/resourceTypeRegistrations
Expand All @@ -49,8 +51,10 @@ List all resource types under the resource provider namespace.

### Example 2: Gets a resource type by name.
```powershell
PS C:\> Get-AzProviderHubResourceTypeRegistration -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType1"
Get-AzProviderHubResourceTypeRegistration -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType1"
```

```output
Name Type
---- ----
testResourceType1 Microsoft.ProviderHub/providerRegistrations/resourceTypeRegistrations
Expand All @@ -60,8 +64,10 @@ Gets a resource type by name.

### Example 3: Gets a nested resource type by name.
```powershell
PS C:\> Get-AzProviderHubResourceTypeRegistration -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType1/nestedResourceType"
Get-AzProviderHubResourceTypeRegistration -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType1/nestedResourceType"
```

```output
Name Type
---- ----
testResourceType1/nestedResourceType Microsoft.ProviderHub/providerRegistrations/resourceTypeRegistrations
Expand Down
8 changes: 6 additions & 2 deletions src/ProviderHub/help/Get-AzProviderHubSku.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ Gets the sku details for the given resource type and sku name.

### Example 1: Get the resource SKU definition.
```powershell
PS C:\> Get-AzProviderHubSku -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType" -Sku "default"
Get-AzProviderHubSku -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType" -Sku "default"
```

```output
Name Type
---- ----
testResourceType Microsoft.ProviderHub/providerRegistrations/skus
Expand All @@ -67,8 +69,10 @@ Get the resource SKU definition.

### Example 2: Get the nested resource type SKU definition.
```powershell
PS C:\> Get-AzProviderHubSku -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType/nestedResourceType" -Sku "default"
Get-AzProviderHubSku -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType/nestedResourceType" -Sku "default"
```

```output
Name Type
---- ----
testResourceType/nestedResourceType Microsoft.ProviderHub/providerRegistrations/skus
Expand Down
8 changes: 6 additions & 2 deletions src/ProviderHub/help/Invoke-AzProviderHubManifestCheckin.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ Checkin the manifest.

### Example 1: Checkin the resource provider manifest.
```powershell
PS C:\> Invoke-AzProviderHubManifestCheckin -ProviderNamespace "Microsoft.Contoso" -BaselineArmManifestLocation "NorthEurope" -Environment "Canary"
Invoke-AzProviderHubManifestCheckin -ProviderNamespace "Microsoft.Contoso" -BaselineArmManifestLocation "NorthEurope" -Environment "Canary"
```

```output
CommitId IsCheckedIn PullRequest StatusMessage
-------- ----------- ----------- -------------
False Manifest is successfully merged.
Expand All @@ -36,8 +38,10 @@ Checkin the resource provider manifest.

### Example 2: Checkin the resource provider manifest.
```powershell
PS C:\> Invoke-AzProviderHubManifestCheckin -ProviderNamespace "Microsoft.Contoso" -BaselineArmManifestLocation "EastUS2EUAP" -Environment "Prod"
Invoke-AzProviderHubManifestCheckin -ProviderNamespace "Microsoft.Contoso" -BaselineArmManifestLocation "EastUS2EUAP" -Environment "Prod"
```

```output
CommitId IsCheckedIn PullRequest StatusMessage
-------- ----------- ----------- -------------
False Manifest is successfully merged.
Expand Down
4 changes: 3 additions & 1 deletion src/ProviderHub/help/New-AzProviderHubCustomRollout.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ Creates or updates the rollout details.

### Example 1: Create/Update a resource provider custom rollout.
```powershell
PS C:\> New-AzProviderHubCustomRollout -ProviderNamespace "Microsoft.Contoso" -RolloutName "customRollout1" -CanaryRegion "Eastus2EUAP"
New-AzProviderHubCustomRollout -ProviderNamespace "Microsoft.Contoso" -RolloutName "customRollout1" -CanaryRegion "Eastus2EUAP"
```

```output
Name Type
---- ----
customRollout1 Microsoft.ProviderHub/providerRegistrations/customRollouts
Expand Down
4 changes: 3 additions & 1 deletion src/ProviderHub/help/New-AzProviderHubDefaultRollout.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ Creates or updates the rollout details.

### Example 1: Create/Update a resource provider default rollout.
```powershell
PS C:\> New-AzProviderHubDefaultRollout -ProviderNamespace "Microsoft.Contoso" -RolloutName "defaultRollout2021w10" -CanarySkipRegion "brazilus" -NoWait
New-AzProviderHubDefaultRollout -ProviderNamespace "Microsoft.Contoso" -RolloutName "defaultRollout2021w10" -CanarySkipRegion "brazilus" -NoWait
```

```output
Name Type
---- ----
defaultRollout2021w10 Microsoft.ProviderHub/providerRegistrations/defaultRollouts
Expand Down
8 changes: 6 additions & 2 deletions src/ProviderHub/help/New-AzProviderHubManifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ Generates the manifest for the given provider.

### Example 1: Generate the resource provider manifest.
```powershell
PS C:\> New-AzProviderHubManifest -ProviderNamespace "Microsoft.Contoso"
New-AzProviderHubManifest -ProviderNamespace "Microsoft.Contoso"space
```

```output
Namespace ProviderType ProviderVersion RequiredFeature
--------- ------------ --------------- ---------------
Microsoft.Contoso Internal, Hidden 2.0
Expand All @@ -42,8 +44,10 @@ Generate the resource provider manifest.

### Example 2: Generate the resource provider manifest.
```powershell
PS C:\> New-AzProviderHubManifest -ProviderNamespace "Microsoft.Contoso"
New-AzProviderHubManifest -ProviderNamespace "Microsoft.Contoso"
```

```output
Namespace ProviderType ProviderVersion RequiredFeature
--------- ------------ --------------- ---------------
Microsoft.Contoso Internal, Hidden 2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ Creates or updates a notification registration.

### Example 1: Create/Update a notification registration.
```powershell
PS C:\> New-AzProviderHubNotificationRegistration -ProviderNamespace "Microsoft.Contoso" -Name "notificationRegistrationTest" -NotificationMode "EventHub" -MessageScope "RegisteredSubscriptions" -IncludedEvent "*/write", "Microsoft.Contoso/testResourceType/delete" -NotificationEndpoint @{Location = "", "East US"; NotificationDestination = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mgmtexp-eastus/providers/Microsoft.EventHub/namespaces/unitedstates-mgmtexpint/eventhubs/armlinkednotifications"}
New-AzProviderHubNotificationRegistration -ProviderNamespace "Microsoft.Contoso" -Name "notificationRegistrationTest" -NotificationMode "EventHub" -MessageScope "RegisteredSubscriptions" -IncludedEvent "*/write", "Microsoft.Contoso/testResourceType/delete" -NotificationEndpoint @{Location = "", "East US"; NotificationDestination = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mgmtexp-eastus/providers/Microsoft.EventHub/namespaces/unitedstates-mgmtexpint/eventhubs/armlinkednotifications"}
```

```output
Name
----
notificationRegistrationTest
Expand All @@ -38,8 +40,10 @@ Create/Update a notification registration.

### Example 2: Create/Update a notification registration.
```powershell
PS C:\> New-AzProviderHubNotificationRegistration -ProviderNamespace "Microsoft.Contoso" -Name "notificationRegistrationTest" -NotificationMode "EventHub" -MessageScope "RegisteredSubscriptions" -IncludedEvent "*/write", "Microsoft.Contoso/testResourceType/delete" -NotificationEndpoint @{Location = "", "East US"; NotificationDestination = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mgmtexp-eastus/providers/Microsoft.EventHub/namespaces/unitedstates-mgmtexpint/eventhubs/armlinkednotifications"}
New-AzProviderHubNotificationRegistration -ProviderNamespace "Microsoft.Contoso" -Name "notificationRegistrationTest" -NotificationMode "EventHub" -MessageScope "RegisteredSubscriptions" -IncludedEvent "*/write", "Microsoft.Contoso/testResourceType/delete" -NotificationEndpoint @{Location = "", "East US"; NotificationDestination = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mgmtexp-eastus/providers/Microsoft.EventHub/namespaces/unitedstates-mgmtexpint/eventhubs/armlinkednotifications"}
```

```output
Name
----
notificationRegistrationTest
Expand Down
8 changes: 6 additions & 2 deletions src/ProviderHub/help/New-AzProviderHubProviderRegistration.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ Creates or updates the provider registration.

### Example 1: Create/Update a provider registration.
```powershell
PS C:\> New-AzProviderHubProviderRegistration -ProviderNamespace "Microsoft.Contoso" -ProviderHubMetadataProviderAuthenticationAllowedAudience "https://management.core.windows.net/" -ProviderHubMetadataProviderAuthorization @{ApplicationId = "00000000-0000-0000-0000-000000000000"; RoleDefinitionId = "00000000-0000-0000-0000-000000000000"} -Namespace "Microsoft.Contoso" -ProviderVersion "2.0" -ProviderType "Internal" -ManagementManifestOwner "SPARTA-PlatformServiceAdministrator" -ManagementIncidentContactEmail "[email protected]" -ManagementIncidentRoutingService "Contoso Service" -ManagementIncidentRoutingTeam "Contoso Team" -ManagementServiceTreeInfo @{ComponentId = "00000000-0000-0000-0000-000000000000"; ServiceId = "00000000-0000-0000-0000-000000000000"} -Capability @{QuotaId = "CSP_2015-05-01"; Effect = "Allow"}, @{QuotaId = "CSP_MG_2017-12-01"; Effect = "Allow"}
New-AzProviderHubProviderRegistration -ProviderNamespace "Microsoft.Contoso" -ProviderHubMetadataProviderAuthenticationAllowedAudience "https://management.core.windows.net/" -ProviderHubMetadataProviderAuthorization @{ApplicationId = "00000000-0000-0000-0000-000000000000"; RoleDefinitionId = "00000000-0000-0000-0000-000000000000"} -Namespace "Microsoft.Contoso" -ProviderVersion "2.0" -ProviderType "Internal" -ManagementManifestOwner "SPARTA-PlatformServiceAdministrator" -ManagementIncidentContactEmail "[email protected]" -ManagementIncidentRoutingService "Contoso Service" -ManagementIncidentRoutingTeam "Contoso Team" -ManagementServiceTreeInfo @{ComponentId = "00000000-0000-0000-0000-000000000000"; ServiceId = "00000000-0000-0000-0000-000000000000"} -Capability @{QuotaId = "CSP_2015-05-01"; Effect = "Allow"}, @{QuotaId = "CSP_MG_2017-12-01"; Effect = "Allow"}
```

```output
Name Type
---- ----
Microsoft.Contoso Microsoft.ProviderHub/providerRegistrations
Expand All @@ -51,8 +53,10 @@ Create/Update a provider registration.

### Example 2: Create/Update a provider registration.
```powershell
PS C:\> New-AzProviderHubProviderRegistration -ProviderNamespace "Microsoft.Contoso" -ProviderHubMetadataProviderAuthenticationAllowedAudience "https://management.core.windows.net/" -ProviderHubMetadataProviderAuthorization @{ApplicationId = "00000000-0000-0000-0000-000000000000"; RoleDefinitionId = "00000000-0000-0000-0000-000000000000"} -Namespace "Microsoft.Contoso" -ProviderVersion "2.0" -ProviderType "Hidden" -ManagementManifestOwner "SPARTA-PlatformServiceAdministrator" -ManagementIncidentContactEmail "[email protected]" -ManagementIncidentRoutingService "Contoso Service" -ManagementIncidentRoutingTeam "Contoso Team" -ManagementServiceTreeInfo @{ComponentId = "00000000-0000-0000-0000-000000000000"; ServiceId = "00000000-0000-0000-0000-000000000000"} -Capability @{QuotaId = "CSP_2015-05-01"; Effect = "Allow"}, @{QuotaId = "CSP_MG_2017-12-01"; Effect = "Allow"}
New-AzProviderHubProviderRegistration -ProviderNamespace "Microsoft.Contoso" -ProviderHubMetadataProviderAuthenticationAllowedAudience "https://management.core.windows.net/" -ProviderHubMetadataProviderAuthorization @{ApplicationId = "00000000-0000-0000-0000-000000000000"; RoleDefinitionId = "00000000-0000-0000-0000-000000000000"} -Namespace "Microsoft.Contoso" -ProviderVersion "2.0" -ProviderType "Hidden" -ManagementManifestOwner "SPARTA-PlatformServiceAdministrator" -ManagementIncidentContactEmail "[email protected]" -ManagementIncidentRoutingService "Contoso Service" -ManagementIncidentRoutingTeam "Contoso Team" -ManagementServiceTreeInfo @{ComponentId = "00000000-0000-0000-0000-000000000000"; ServiceId = "00000000-0000-0000-0000-000000000000"} -Capability @{QuotaId = "CSP_2015-05-01"; Effect = "Allow"}, @{QuotaId = "CSP_MG_2017-12-01"; Effect = "Allow"}
```

```output
Name Type
---- ----
Microsoft.Contoso Microsoft.ProviderHub/providerRegistrations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ Creates or updates a resource type.

### Example 1: Create/Update a resource type registration.
```powershell
PS C:\> New-AzProviderHubResourceTypeRegistration -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType" -RoutingType "Default" -Regionality "Regional" -Endpoint @{ApiVersion = "2021-01-01-preview"; Location = "West US 2", "East US 2 EUAP"; RequiredFeature = "Microsoft.Contoso/SampleApp" } -SwaggerSpecification @{ApiVersion = "2021-01-01-preview"; SwaggerSpecFolderUri = "https://github.com/Azure/azure-rest-api-specs-pr/blob/RPSaaSMaster/specification/rpsaas/resource-manager/Microsoft.Contoso/" } -EnableAsyncOperation
New-AzProviderHubResourceTypeRegistration -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType" -RoutingType "Default" -Regionality "Regional" -Endpoint @{ApiVersion = "2021-01-01-preview"; Location = "West US 2", "East US 2 EUAP"; RequiredFeature = "Microsoft.Contoso/SampleApp" } -SwaggerSpecification @{ApiVersion = "2021-01-01-preview"; SwaggerSpecFolderUri = "https://github.com/Azure/azure-rest-api-specs-pr/blob/RPSaaSMaster/specification/rpsaas/resource-manager/Microsoft.Contoso/" } -EnableAsyncOperation
```

```output
Name Type
---- ----
testResourceType Microsoft.ProviderHub/providerRegistrations/resourceTypeRegistrations
Expand All @@ -55,8 +57,10 @@ Create/Update a resource type registration.

### Example 2: Create/Update a nested resource type registration.
```powershell
PS C:\> New-AzProviderHubResourceTypeRegistration -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType/nestedResourceType" -RoutingType "Default" -Regionality "Global" -Endpoint @{ApiVersion = "2021-01-01-preview"; Location = ""; RequiredFeature = "Microsoft.Contoso/SampleApp" } -SwaggerSpecification @{ApiVersion = "2021-01-01-preview"; SwaggerSpecFolderUri = "https://github.com/Azure/azure-rest-api-specs-pr/blob/RPSaaSMaster/specification/rpsaas/resource-manager/Microsoft.Contoso/" }
New-AzProviderHubResourceTypeRegistration -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType/nestedResourceType" -RoutingType "Default" -Regionality "Global" -Endpoint @{ApiVersion = "2021-01-01-preview"; Location = ""; RequiredFeature = "Microsoft.Contoso/SampleApp" } -SwaggerSpecification @{ApiVersion = "2021-01-01-preview"; SwaggerSpecFolderUri = "https://github.com/Azure/azure-rest-api-specs-pr/blob/RPSaaSMaster/specification/rpsaas/resource-manager/Microsoft.Contoso/" }
```

```output
Name Type
---- ----
testResourceType/nestedResourceType Microsoft.ProviderHub/providerRegistrations/resourceTypeRegistrations
Expand Down
8 changes: 6 additions & 2 deletions src/ProviderHub/help/New-AzProviderHubSku.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ Creates or updates the resource type skus in the given resource type.

### Example 1: Create/Update a resource SKU definition.
```powershell
PS C:\> New-AzProviderHubSku -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType" -Sku "default" -SkuSetting @{Name = "freeSku"; Tier = "Tier1"; Kind = "Standard"}
New-AzProviderHubSku -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType" -Sku "default" -SkuSetting @{Name = "freeSku"; Tier = "Tier1"; Kind = "Standard"}
```

```output
Name Type
---- ----
default Microsoft.ProviderHub/providerRegistrations/skus
Expand All @@ -36,8 +38,10 @@ Create/Update a resource SKU definition.

### Example 2: Create/Update a nested resource type SKU definition.
```powershell
PS C:\> New-AzProviderHubSku -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType/nestedResourceType" -Sku "default" -SkuSetting @{Name = "freeSku"; Tier = "Tier1"; Kind = "Standard"}
New-AzProviderHubSku -ProviderNamespace "Microsoft.Contoso" -ResourceType "testResourceType/nestedResourceType" -Sku "default" -SkuSetting @{Name = "freeSku"; Tier = "Tier1"; Kind = "Standard"}
```

```output
Name Type
---- ----
default Microsoft.ProviderHub/providerRegistrations/skus
Expand Down
4 changes: 2 additions & 2 deletions src/ProviderHub/help/Remove-AzProviderHubDefaultRollout.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ Rollout must be in terminal state.

### Example 1: Delete a default rollout by name.
```powershell
PS C:\> Remove-AzProviderHubDefaultRollout -ProviderNamespace "Microsoft.Contoso" -RolloutName "defaultRollout2021w10"
Remove-AzProviderHubDefaultRollout -ProviderNamespace "Microsoft.Contoso" -RolloutName "defaultRollout2021w10"
```

Delete a default rollout by name.

### Example 2: Delete a default rollout by name.
```powershell
PS C:\> Remove-AzProviderHubDefaultRollout -ProviderNamespace "Microsoft.Contoso" -RolloutName "defaultRollout2021w10"
Remove-AzProviderHubDefaultRollout -ProviderNamespace "Microsoft.Contoso" -RolloutName "defaultRollout2021w10"
```

Delete a default rollout by name.
Expand Down
Loading