Megosztás a következőn keresztül:


IUpdateRun.UpdateStrategyId Property

Definition

The resource id of the FleetUpdateStrategy resource to reference. When creating a new run, there are three ways to define a strategy for the run:

  1. Define a new strategy in place: Set the "strategy" field.
  2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview)
  3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview) Setting both "updateStrategyId" and "strategy" is invalid. UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and store it in the "strategy" field. Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate. UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun.
[Microsoft.Azure.PowerShell.Cmdlets.Fleet.Runtime.Info(Create=true, Description="The resource id of the FleetUpdateStrategy resource to reference.\r\n\r\n        When creating a new run, there are three ways to define a strategy for the run:\r\n        1. Define a new strategy in place: Set the "strategy" field.\r\n        2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview)\r\n        3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview)\r\n\r\n        Setting both "updateStrategyId" and "strategy" is invalid.\r\n\r\n        UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and store it in the "strategy" field.\r\n        Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate.\r\n        UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun.", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="updateStrategyId", Update=true)]
public string UpdateStrategyId { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Fleet.Runtime.Info(Create=true, Description="The resource id of the FleetUpdateStrategy resource to reference.\r\n\r\n        When creating a new run, there are three ways to define a strategy for the run:\r\n        1. Define a new strategy in place: Set the "strategy" field.\r\n        2. Use an existing strategy: Set the "updateStrategyId" field. (since 2023-08-15-preview)\r\n        3. Use the default strategy to update all the members one by one: Leave both "updateStrategyId" and "strategy" unset. (since 2023-08-15-preview)\r\n\r\n        Setting both "updateStrategyId" and "strategy" is invalid.\r\n\r\n        UpdateRuns created by "updateStrategyId" snapshot the referenced UpdateStrategy at the time of creation and store it in the "strategy" field.\r\n        Subsequent changes to the referenced FleetUpdateStrategy resource do not propagate.\r\n        UpdateRunStrategy changes can be made directly on the "strategy" field before launching the UpdateRun.", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=false, SerializedName="updateStrategyId", Update=true)>]
member this.UpdateStrategyId : string with get, set
Public Property UpdateStrategyId As String

Property Value

Attributes

Applies to