Edit

Share via


Update-AzProviderHubCustomRollout

Update the rollout details.

Syntax

UpdateExpanded (Default)

Update-AzProviderHubCustomRollout
    -ProviderNamespace <String>
    -RolloutName <String>
    [-SubscriptionId <String>]
    [-ProvisioningState <String>]
    [-SpecificationCanaryRegion <String[]>]
    [-SpecificationProviderRegistration <ICustomRolloutSpecificationProviderRegistration>]
    [-SpecificationResourceTypeRegistration <IResourceTypeRegistration[]>]
    [-StatusCompletedRegion <String[]>]
    [-StatusFailedOrSkippedRegion <Hashtable>]
    [-DefaultProfile <PSObject>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

UpdateViaIdentityProviderRegistrationExpanded

Update-AzProviderHubCustomRollout
    -RolloutName <String>
    -ProviderRegistrationInputObject <IProviderHubIdentity>
    [-ProvisioningState <String>]
    [-SpecificationCanaryRegion <String[]>]
    [-SpecificationProviderRegistration <ICustomRolloutSpecificationProviderRegistration>]
    [-SpecificationResourceTypeRegistration <IResourceTypeRegistration[]>]
    [-StatusCompletedRegion <String[]>]
    [-StatusFailedOrSkippedRegion <Hashtable>]
    [-DefaultProfile <PSObject>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

UpdateViaIdentityExpanded

Update-AzProviderHubCustomRollout
    -InputObject <IProviderHubIdentity>
    [-ProvisioningState <String>]
    [-SpecificationCanaryRegion <String[]>]
    [-SpecificationProviderRegistration <ICustomRolloutSpecificationProviderRegistration>]
    [-SpecificationResourceTypeRegistration <IResourceTypeRegistration[]>]
    [-StatusCompletedRegion <String[]>]
    [-StatusFailedOrSkippedRegion <Hashtable>]
    [-DefaultProfile <PSObject>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Update the rollout details.

Examples

Example 1: Update a resource provider custom rollout.

Update-AzProviderHubCustomRollout -ProviderNamespace "Microsoft.Contoso" -RolloutName "customRollout1" -SpecificationCanaryRegion "Eastus2EUAP"
Name                Type
----                ----
customRollout1      Microsoft.ProviderHub/providerRegistrations/customRollouts

Update a resource provider custom rollout.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InputObject

Identity Parameter

Parameter properties

Type:IProviderHubIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateViaIdentityExpanded
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-ProviderNamespace

The name of the resource provider hosted within ProviderHub.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProviderRegistrationInputObject

Identity Parameter

Parameter properties

Type:IProviderHubIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateViaIdentityProviderRegistrationExpanded
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-ProvisioningState

.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RolloutName

The rollout name.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityProviderRegistrationExpanded
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SpecificationCanaryRegion

.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SpecificationProviderRegistration

.

Parameter properties

Type:ICustomRolloutSpecificationProviderRegistration
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SpecificationResourceTypeRegistration

.

Parameter properties

Type:

IResourceTypeRegistration[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-StatusCompletedRegion

.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-StatusFailedOrSkippedRegion

Dictionary of <ExtendedErrorInfo>

Parameter properties

Type:Hashtable
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SubscriptionId

The ID of the target subscription.

Parameter properties

Type:String
Default value:(Get-AzContext).Subscription.Id
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

IProviderHubIdentity

Outputs

ICustomRollout