Set-​Azure​RM​Resource​Provider​Registration

Updates the provider registration manifest with the new provider registration model.

Syntax

Set-AzureRMResourceProviderRegistration
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-PipelineVariable <String>]
   -ProviderRegistration <ProviderRegistrationModel>
   -ResourceGroup <String>
   [<CommonParameters>]

Description

The Set-AzureRMResourceProviderRegistration cmdlet updates the provider registration manifest with the new provider registration model.

Examples

Example 1: Change a property of a provider registration manifest

$manifestToUpdate = Get-AzureRMResourceProviderRegistration -Name "Microsoft.Compute" -ResourceGroup "system" -Managed
$manifestToUpdate.DisplayName = "Compute Registration"
Set-AzureRMResourceProviderRegistration -ProviderRegistration $manifestToUpdate -ResourceGroup "System"

This example modifies the DisplayName property of the provider registration manifest named "Microsoft.Compute" in the "system" resource group. The first statement gets the provider registration manifest and stores the object in the $manifestToUpdate variable. After the DisplayName property is changed, the updated object is passed in the ProviderRegistration parameter of the Set-AzureRMResourceProviderRegistration cmdlet.

Required Parameters

-ProviderRegistration

Specifies an updated ProviderRegistrationModel object to be used for updating the existing provider registration data.

Type:ProviderRegistrationModel
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-ResourceGroup

Specifies the name of the resource group that contains the provider registration.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-InformationAction

Specifies how this cmdlet responds to an information event.

Type:ActionPreference
Aliases:infa
Parameter Sets:SilentlyContinue, Stop, Continue, Inquire
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies a variable that is used for storing an informational message.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PipelineVariable

Specifies a variable that stores the value of the current pipeline element.

Type:String
Aliases:pv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.AzureStack.Management.Models.ProviderRegistrationModel