< Back

Register-AzureRmResourceProvider

Tue Jan 29, 2019 10:05 pm

NAME Register-AzureRmResourceProvider



SYNOPSIS

Registers a resource provider.





SYNTAX

Register-AzureRmResourceProvider [-ApiVersion <String>] [-DefaultProfile <IAzureContextContainer>] [-Pre] -ProviderNamespace <String> [-Confirm]

[-WhatIf] [<CommonParameters>]





DESCRIPTION

The Register-AzureRmResourceProvider cmdlet registers an Azure resource provider.





PARAMETERS

-ApiVersion <String>

Specifies the API version that is supported by the resource Provider. You can specify a different version than the default version.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Pre [<SwitchParameter>]

Indicates that this cmdlet considers pre-release API versions when it automatically determines which version to use.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-ProviderNamespace <String>

Specifies the namespace of the resource provider.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSResourceProvider







NOTES









Example 1: Register a provider



PS C:\\>Register-AzureRmResourceProvider -ProviderNamespace Microsoft.Network



This registers the Microsoft.Network provider for your account.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ceprovider

Get-AzureRmResourceProvider

Unregister-AzureRmResourceProvider