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>]

Examples

Example 1:

$manifest = Get-AzureRMResourceProviderRegistration -Name "Microsoft.Compute" -ResourceGroup "system" -Managed; # Modify the manifest object for the need;  Set-AzureRMResourceProviderRegistration -ProviderRegistration $manifest -ResourceGroup "System"

Description

-----------

The example shows how to get the Provider Registration object and then update for the changes

Required Parameters

-ProviderRegistration

Provider Registration Model object. Get the object through Get-AzureRmResourceProviderRegistration and modify the values needed

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

Resource group name

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

Optional Parameters

-InformationAction

Not SpecifiedThe following values are permitted for this object type.

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

Not Specified

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

Not Specified

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

Outputs

Microsoft.AzureStack.Management.Models.ProviderRegistrationModel