Set-MgmtSvcResourceProvider
Updates a resource provider.
Syntax
Set-MgmtSvcResourceProvider
[-Force]
[-Name] <String>
[-DisplayName] <String>
[[-Description] <String>]
[[-Enabled] <Boolean>]
[[-PassThroughEnabled] <Boolean>]
[[-AllowAnonymousAccess] <Boolean>]
[[-AllowMultipleInstances] <Boolean>]
[[-AdminForwardingAddress] <Uri>]
[[-AdminAuthenticationMode] <AuthenticationMode>]
[[-AdminAuthenticationUser] <PSCredential>]
[[-TenantForwardingAddress] <Uri>]
[[-TenantAuthenticationMode] <AuthenticationMode>]
[[-TenantAuthenticationUsername] <String>]
[[-TenantAuthenticationPassword] <String>]
[[-UsageForwardingAddress] <Uri>]
[[-UsageAuthenticationMode] <AuthenticationMode>]
[[-UsageAuthenticationUsername] <String>]
[[-UsageAuthenticationPassword] <String>]
[[-HealthCheckForwardingAddress] <Uri>]
[[-HealthCheckAuthenticationMode] <AuthenticationMode>]
[[-HealthCheckAuthenticationUsername] <String>]
[[-HealthCheckAuthenticationPassword] <String>]
[[-NotificationForwardingAddress] <Uri>]
[[-NotificationAuthenticationMode] <AuthenticationMode>]
[[-NotificationAuthenticationUsername] <String>]
[[-NotificationAuthenticationPassword] <String>]
[[-InstanceId] <Guid>]
[-InstanceDisplayName] <String>
[[-MaxQuotaUpdateBatchSize] <Int32>]
[[-SubscriptionStatusPollingInterval] <TimeSpan>]
[[-Type] <ResourceProviderType>]
[-AdminUri] <Uri>
[-Token] <String>
[-DisableCertificateValidation]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-MgmtSvcResourceProvider
[-Force]
[[-ResourceProvider] <ResourceProvider>]
[-AdminUri] <Uri>
[-Token] <String>
[-DisableCertificateValidation]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Set-MgmtSvcResourceProvider cmdlet updates a resource provider.
Examples
Example 1: Enable a resource provider
PS C:\> Set-MgmtSvcResourceProvider -AdminUri "https://Computer01:30004" -Token $Token -Name "ResourceProvider02" -DisplayName "Resource Provider 02" -InstanceDisplayName "Resource Provider 02.1" -InstanceId "0602c550-0853-48fc-bfbb-dc1f84ac08a3" -Enabled $True
NOTE: This example assumes that you have created a token by using Get-MgmtSvcToken and have stored it in a variable named $Token.
This command enables the resource provider named ResourceProvider01.
Parameters
-AdminAuthenticationMode
Specifies the administrative authentication mode of a resource provider. Valid values for this parameter are:
- None
- Basic
- Windows
Type: | AuthenticationMode |
Accepted values: | None, Basic, Windows |
Position: | 10 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-AdminAuthenticationUser
Specifies, as a PSCredential object, an administrative user name and password to connect to a resource provider. To get a PSCredential object, use the Get-Credential cmdlet.
Type: | PSCredential |
Position: | 11 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-AdminForwardingAddress
Specifies an administrator forwarding address for a resource provider.
Type: | Uri |
Position: | 9 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-AdminUri
Specifies the URI of the Windows Azure Pack administrator API. Use the following format: https://<computer>:<port>, where <computer> is the computer on which the administrator API is installed.
Type: | Uri |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-AllowAnonymousAccess
Indicates that anonymous access is allowed to a resource provider.
Type: | Boolean |
Position: | 7 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-AllowMultipleInstances
Indicates that the cmdlet allows multiple instances of the resource provider.
Type: | Boolean |
Position: | 8 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Description
Specifies a description for the resource provider.
Type: | String |
Position: | 4 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DisableCertificateValidation
Disables certificate validation for the Windows Azure Pack installation.
If you specify this parameter, you can use self-signed certificates.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DisplayName
Specifies the display name of a resource provider.
Type: | String |
Position: | 3 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Enabled
Enables the resource provider.
Type: | Boolean |
Position: | 5 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Force
Performs the action without a confirmation message.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-HealthCheckAuthenticationMode
Specifies the health check authentication mode for a resource provider. Valid values for this parameter are:
- None
- Basic
- Windows
Type: | AuthenticationMode |
Accepted values: | None, Basic, Windows |
Position: | 22 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-HealthCheckAuthenticationPassword
Specifies a health check password to connect to a resource provider.
Type: | String |
Position: | 24 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-HealthCheckAuthenticationUsername
Specifies a health check user name to connect to a resource provider.
Type: | String |
Position: | 23 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-HealthCheckForwardingAddress
Specifies the health check forwarding address for a resource provider.
Type: | Uri |
Position: | 21 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-InstanceDisplayName
Specifies a display name for an instance of a resource provider.
Type: | String |
Position: | 30 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-InstanceId
Specifies an ID for an instance of a resource provider.
Type: | Guid |
Position: | 29 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-MaxQuotaUpdateBatchSize
Specifies the number of subscriptions that can be updated in a single request. The default value is 5.
Type: | Int32 |
Position: | 31 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Specifies the name of a resource provider.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-NotificationAuthenticationMode
Specifies the notification authentication mode for a resource provider. Valid values for this parameter are:
- None
- Basic
- Windows
Type: | AuthenticationMode |
Accepted values: | None, Basic, Windows |
Position: | 26 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-NotificationAuthenticationPassword
Specifies a notification password to connect to a resource provider.
Type: | String |
Position: | 28 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-NotificationAuthenticationUsername
Specifies a notification user name to connect to a resource provider.
Type: | String |
Position: | 27 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-NotificationForwardingAddress
Specifies the notification forwarding address of a resource provider.
Type: | Uri |
Position: | 25 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-PassThroughEnabled
Indicates whether the resource provider supports API pass-through.
Type: | Boolean |
Position: | 6 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceProvider
Specifies a resource provider object.
Type: | ResourceProvider |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-SubscriptionStatusPollingInterval
Specifies the time interval at which the management service polls the resource provider for subscription status updates. The default is 10 seconds.
Format this value in the standard JASON serialized timespan of 00:00:00. For example, 10 seconds is formatted as 00:00:10.
Type: | TimeSpan |
Position: | 32 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-TenantAuthenticationMode
Specifies the tenant authentication mode of a resource provider. Valid values for this parameter are:
- None
- Basic
- Windows
Type: | AuthenticationMode |
Accepted values: | None, Basic, Windows |
Position: | 14 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-TenantAuthenticationPassword
Specifies the tenant password to connect to a resource provider.
Type: | String |
Position: | 16 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-TenantAuthenticationUsername
Specifies the tenant user name to connect to a resource provider.
Type: | String |
Position: | 15 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-TenantForwardingAddress
Specifies the tenant forwarding address of a resource provider.
Type: | Uri |
Position: | 13 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Token
Specifies an identity token. To create a token, use the Get-MgmtSvcToken cmdlet.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Type
Specifies the type of the resource provider. Valid values for this parameter are:
- Standard
- UsageProvider
- CloudServiceProvider
Type: | ResourceProviderType |
Accepted values: | Standard, UsageProvider, CloudServiceProvider |
Position: | 33 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-UsageAuthenticationMode
Specifies the usage authentication mode of a resource provider. Valid values for this parameter are:
- None
- Basic
- Windows
Type: | AuthenticationMode |
Accepted values: | None, Basic, Windows |
Position: | 18 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-UsageAuthenticationPassword
Specifies the usage password to connect to a resource provider.
Type: | String |
Position: | 20 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-UsageAuthenticationUsername
Specifies the usage user name to connect to a resource provider.
Type: | String |
Position: | 19 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-UsageForwardingAddress
Specifies the notification forwarding address of a resource provider.
Type: | Uri |
Position: | 17 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |