1. Packages
  2. Spotinst
  3. API Docs
  4. oceancd
  5. Strategy
Spotinst v3.81.0 published on Monday, Jun 24, 2024 by Pulumi

spotinst.oceancd.Strategy

Explore with Pulumi AI

spotinst logo
Spotinst v3.81.0 published on Monday, Jun 24, 2024 by Pulumi

    Manages a Spotinst OceanCD Strategy resource.

    Create Strategy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Strategy(name: string, args: StrategyArgs, opts?: CustomResourceOptions);
    @overload
    def Strategy(resource_name: str,
                 args: StrategyArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Strategy(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 strategy_name: Optional[str] = None,
                 canary: Optional[StrategyCanaryArgs] = None,
                 rolling: Optional[StrategyRollingArgs] = None)
    func NewStrategy(ctx *Context, name string, args StrategyArgs, opts ...ResourceOption) (*Strategy, error)
    public Strategy(string name, StrategyArgs args, CustomResourceOptions? opts = null)
    public Strategy(String name, StrategyArgs args)
    public Strategy(String name, StrategyArgs args, CustomResourceOptions options)
    
    type: spotinst:oceancd:Strategy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args StrategyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args StrategyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args StrategyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StrategyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StrategyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var strategyResource = new SpotInst.Oceancd.Strategy("strategyResource", new()
    {
        StrategyName = "string",
        Canary = new SpotInst.Oceancd.Inputs.StrategyCanaryArgs
        {
            Steps = new[]
            {
                new SpotInst.Oceancd.Inputs.StrategyCanaryStepArgs
                {
                    Pause = new SpotInst.Oceancd.Inputs.StrategyCanaryStepPauseArgs
                    {
                        Duration = "string",
                    },
                    SetCanaryScale = new SpotInst.Oceancd.Inputs.StrategyCanaryStepSetCanaryScaleArgs
                    {
                        MatchTrafficWeight = false,
                        Replicas = 0,
                        Weight = 0,
                    },
                    SetHeaderRoute = new SpotInst.Oceancd.Inputs.StrategyCanaryStepSetHeaderRouteArgs
                    {
                        HeaderRouteName = "string",
                        Matches = new[]
                        {
                            new SpotInst.Oceancd.Inputs.StrategyCanaryStepSetHeaderRouteMatchArgs
                            {
                                HeaderName = "string",
                                HeaderValue = new SpotInst.Oceancd.Inputs.StrategyCanaryStepSetHeaderRouteMatchHeaderValueArgs
                                {
                                    Exact = "string",
                                    Prefix = "string",
                                    Regex = "string",
                                },
                            },
                        },
                    },
                    SetWeight = 0,
                    StepName = "string",
                    Verification = new SpotInst.Oceancd.Inputs.StrategyCanaryStepVerificationArgs
                    {
                        TemplateNames = new[]
                        {
                            "string",
                        },
                    },
                },
            },
            BackgroundVerification = new SpotInst.Oceancd.Inputs.StrategyCanaryBackgroundVerificationArgs
            {
                TemplateNames = new[]
                {
                    "string",
                },
            },
        },
        Rolling = new SpotInst.Oceancd.Inputs.StrategyRollingArgs
        {
            Steps = new[]
            {
                new SpotInst.Oceancd.Inputs.StrategyRollingStepArgs
                {
                    Pause = new SpotInst.Oceancd.Inputs.StrategyRollingStepPauseArgs
                    {
                        Duration = "string",
                    },
                    StepsName = "string",
                    Verification = new SpotInst.Oceancd.Inputs.StrategyRollingStepVerificationArgs
                    {
                        TemplateNames = new[]
                        {
                            "string",
                        },
                    },
                },
            },
        },
    });
    
    example, err := oceancd.NewStrategy(ctx, "strategyResource", &oceancd.StrategyArgs{
    	StrategyName: pulumi.String("string"),
    	Canary: &oceancd.StrategyCanaryArgs{
    		Steps: oceancd.StrategyCanaryStepArray{
    			&oceancd.StrategyCanaryStepArgs{
    				Pause: &oceancd.StrategyCanaryStepPauseArgs{
    					Duration: pulumi.String("string"),
    				},
    				SetCanaryScale: &oceancd.StrategyCanaryStepSetCanaryScaleArgs{
    					MatchTrafficWeight: pulumi.Bool(false),
    					Replicas:           pulumi.Int(0),
    					Weight:             pulumi.Int(0),
    				},
    				SetHeaderRoute: &oceancd.StrategyCanaryStepSetHeaderRouteArgs{
    					HeaderRouteName: pulumi.String("string"),
    					Matches: oceancd.StrategyCanaryStepSetHeaderRouteMatchArray{
    						&oceancd.StrategyCanaryStepSetHeaderRouteMatchArgs{
    							HeaderName: pulumi.String("string"),
    							HeaderValue: &oceancd.StrategyCanaryStepSetHeaderRouteMatchHeaderValueArgs{
    								Exact:  pulumi.String("string"),
    								Prefix: pulumi.String("string"),
    								Regex:  pulumi.String("string"),
    							},
    						},
    					},
    				},
    				SetWeight: pulumi.Int(0),
    				StepName:  pulumi.String("string"),
    				Verification: &oceancd.StrategyCanaryStepVerificationArgs{
    					TemplateNames: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    		},
    		BackgroundVerification: &oceancd.StrategyCanaryBackgroundVerificationArgs{
    			TemplateNames: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	Rolling: &oceancd.StrategyRollingArgs{
    		Steps: oceancd.StrategyRollingStepArray{
    			&oceancd.StrategyRollingStepArgs{
    				Pause: &oceancd.StrategyRollingStepPauseArgs{
    					Duration: pulumi.String("string"),
    				},
    				StepsName: pulumi.String("string"),
    				Verification: &oceancd.StrategyRollingStepVerificationArgs{
    					TemplateNames: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    		},
    	},
    })
    
    var strategyResource = new Strategy("strategyResource", StrategyArgs.builder()
        .strategyName("string")
        .canary(StrategyCanaryArgs.builder()
            .steps(StrategyCanaryStepArgs.builder()
                .pause(StrategyCanaryStepPauseArgs.builder()
                    .duration("string")
                    .build())
                .setCanaryScale(StrategyCanaryStepSetCanaryScaleArgs.builder()
                    .matchTrafficWeight(false)
                    .replicas(0)
                    .weight(0)
                    .build())
                .setHeaderRoute(StrategyCanaryStepSetHeaderRouteArgs.builder()
                    .headerRouteName("string")
                    .matches(StrategyCanaryStepSetHeaderRouteMatchArgs.builder()
                        .headerName("string")
                        .headerValue(StrategyCanaryStepSetHeaderRouteMatchHeaderValueArgs.builder()
                            .exact("string")
                            .prefix("string")
                            .regex("string")
                            .build())
                        .build())
                    .build())
                .setWeight(0)
                .stepName("string")
                .verification(StrategyCanaryStepVerificationArgs.builder()
                    .templateNames("string")
                    .build())
                .build())
            .backgroundVerification(StrategyCanaryBackgroundVerificationArgs.builder()
                .templateNames("string")
                .build())
            .build())
        .rolling(StrategyRollingArgs.builder()
            .steps(StrategyRollingStepArgs.builder()
                .pause(StrategyRollingStepPauseArgs.builder()
                    .duration("string")
                    .build())
                .stepsName("string")
                .verification(StrategyRollingStepVerificationArgs.builder()
                    .templateNames("string")
                    .build())
                .build())
            .build())
        .build());
    
    strategy_resource = spotinst.oceancd.Strategy("strategyResource",
        strategy_name="string",
        canary=spotinst.oceancd.StrategyCanaryArgs(
            steps=[spotinst.oceancd.StrategyCanaryStepArgs(
                pause=spotinst.oceancd.StrategyCanaryStepPauseArgs(
                    duration="string",
                ),
                set_canary_scale=spotinst.oceancd.StrategyCanaryStepSetCanaryScaleArgs(
                    match_traffic_weight=False,
                    replicas=0,
                    weight=0,
                ),
                set_header_route=spotinst.oceancd.StrategyCanaryStepSetHeaderRouteArgs(
                    header_route_name="string",
                    matches=[spotinst.oceancd.StrategyCanaryStepSetHeaderRouteMatchArgs(
                        header_name="string",
                        header_value=spotinst.oceancd.StrategyCanaryStepSetHeaderRouteMatchHeaderValueArgs(
                            exact="string",
                            prefix="string",
                            regex="string",
                        ),
                    )],
                ),
                set_weight=0,
                step_name="string",
                verification=spotinst.oceancd.StrategyCanaryStepVerificationArgs(
                    template_names=["string"],
                ),
            )],
            background_verification=spotinst.oceancd.StrategyCanaryBackgroundVerificationArgs(
                template_names=["string"],
            ),
        ),
        rolling=spotinst.oceancd.StrategyRollingArgs(
            steps=[spotinst.oceancd.StrategyRollingStepArgs(
                pause=spotinst.oceancd.StrategyRollingStepPauseArgs(
                    duration="string",
                ),
                steps_name="string",
                verification=spotinst.oceancd.StrategyRollingStepVerificationArgs(
                    template_names=["string"],
                ),
            )],
        ))
    
    const strategyResource = new spotinst.oceancd.Strategy("strategyResource", {
        strategyName: "string",
        canary: {
            steps: [{
                pause: {
                    duration: "string",
                },
                setCanaryScale: {
                    matchTrafficWeight: false,
                    replicas: 0,
                    weight: 0,
                },
                setHeaderRoute: {
                    headerRouteName: "string",
                    matches: [{
                        headerName: "string",
                        headerValue: {
                            exact: "string",
                            prefix: "string",
                            regex: "string",
                        },
                    }],
                },
                setWeight: 0,
                stepName: "string",
                verification: {
                    templateNames: ["string"],
                },
            }],
            backgroundVerification: {
                templateNames: ["string"],
            },
        },
        rolling: {
            steps: [{
                pause: {
                    duration: "string",
                },
                stepsName: "string",
                verification: {
                    templateNames: ["string"],
                },
            }],
        },
    });
    
    type: spotinst:oceancd:Strategy
    properties:
        canary:
            backgroundVerification:
                templateNames:
                    - string
            steps:
                - pause:
                    duration: string
                  setCanaryScale:
                    matchTrafficWeight: false
                    replicas: 0
                    weight: 0
                  setHeaderRoute:
                    headerRouteName: string
                    matches:
                        - headerName: string
                          headerValue:
                            exact: string
                            prefix: string
                            regex: string
                  setWeight: 0
                  stepName: string
                  verification:
                    templateNames:
                        - string
        rolling:
            steps:
                - pause:
                    duration: string
                  stepsName: string
                  verification:
                    templateNames:
                        - string
        strategyName: string
    

    Strategy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Strategy resource accepts the following input properties:

    StrategyName string
    Canary Pulumi.SpotInst.Oceancd.Inputs.StrategyCanary
    Represents Canary strategy. Cannot be defined when Rolling object is defined.
    Rolling Pulumi.SpotInst.Oceancd.Inputs.StrategyRolling
    Represents Rolling Update strategy. Cannot be defined when Canary object is defined.
    StrategyName string
    Canary StrategyCanaryArgs
    Represents Canary strategy. Cannot be defined when Rolling object is defined.
    Rolling StrategyRollingArgs
    Represents Rolling Update strategy. Cannot be defined when Canary object is defined.
    strategyName String
    canary StrategyCanary
    Represents Canary strategy. Cannot be defined when Rolling object is defined.
    rolling StrategyRolling
    Represents Rolling Update strategy. Cannot be defined when Canary object is defined.
    strategyName string
    canary StrategyCanary
    Represents Canary strategy. Cannot be defined when Rolling object is defined.
    rolling StrategyRolling
    Represents Rolling Update strategy. Cannot be defined when Canary object is defined.
    strategy_name str
    canary StrategyCanaryArgs
    Represents Canary strategy. Cannot be defined when Rolling object is defined.
    rolling StrategyRollingArgs
    Represents Rolling Update strategy. Cannot be defined when Canary object is defined.
    strategyName String
    canary Property Map
    Represents Canary strategy. Cannot be defined when Rolling object is defined.
    rolling Property Map
    Represents Rolling Update strategy. Cannot be defined when Canary object is defined.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Strategy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Strategy Resource

    Get an existing Strategy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: StrategyState, opts?: CustomResourceOptions): Strategy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            canary: Optional[StrategyCanaryArgs] = None,
            rolling: Optional[StrategyRollingArgs] = None,
            strategy_name: Optional[str] = None) -> Strategy
    func GetStrategy(ctx *Context, name string, id IDInput, state *StrategyState, opts ...ResourceOption) (*Strategy, error)
    public static Strategy Get(string name, Input<string> id, StrategyState? state, CustomResourceOptions? opts = null)
    public static Strategy get(String name, Output<String> id, StrategyState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Canary Pulumi.SpotInst.Oceancd.Inputs.StrategyCanary
    Represents Canary strategy. Cannot be defined when Rolling object is defined.
    Rolling Pulumi.SpotInst.Oceancd.Inputs.StrategyRolling
    Represents Rolling Update strategy. Cannot be defined when Canary object is defined.
    StrategyName string
    Canary StrategyCanaryArgs
    Represents Canary strategy. Cannot be defined when Rolling object is defined.
    Rolling StrategyRollingArgs
    Represents Rolling Update strategy. Cannot be defined when Canary object is defined.
    StrategyName string
    canary StrategyCanary
    Represents Canary strategy. Cannot be defined when Rolling object is defined.
    rolling StrategyRolling
    Represents Rolling Update strategy. Cannot be defined when Canary object is defined.
    strategyName String
    canary StrategyCanary
    Represents Canary strategy. Cannot be defined when Rolling object is defined.
    rolling StrategyRolling
    Represents Rolling Update strategy. Cannot be defined when Canary object is defined.
    strategyName string
    canary StrategyCanaryArgs
    Represents Canary strategy. Cannot be defined when Rolling object is defined.
    rolling StrategyRollingArgs
    Represents Rolling Update strategy. Cannot be defined when Canary object is defined.
    strategy_name str
    canary Property Map
    Represents Canary strategy. Cannot be defined when Rolling object is defined.
    rolling Property Map
    Represents Rolling Update strategy. Cannot be defined when Canary object is defined.
    strategyName String

    Supporting Types

    StrategyCanary, StrategyCanaryArgs

    Steps []StrategyCanaryStep
    A set of separate conditions of rollout processing.
    BackgroundVerification StrategyCanaryBackgroundVerification
    A list of background verifications.
    steps List<StrategyCanaryStep>
    A set of separate conditions of rollout processing.
    backgroundVerification StrategyCanaryBackgroundVerification
    A list of background verifications.
    steps StrategyCanaryStep[]
    A set of separate conditions of rollout processing.
    backgroundVerification StrategyCanaryBackgroundVerification
    A list of background verifications.
    steps Sequence[StrategyCanaryStep]
    A set of separate conditions of rollout processing.
    background_verification StrategyCanaryBackgroundVerification
    A list of background verifications.
    steps List<Property Map>
    A set of separate conditions of rollout processing.
    backgroundVerification Property Map
    A list of background verifications.

    StrategyCanaryBackgroundVerification, StrategyCanaryBackgroundVerificationArgs

    TemplateNames List<string>
    List of Verification Template names.
    TemplateNames []string
    List of Verification Template names.
    templateNames List<String>
    List of Verification Template names.
    templateNames string[]
    List of Verification Template names.
    template_names Sequence[str]
    List of Verification Template names.
    templateNames List<String>
    List of Verification Template names.

    StrategyCanaryStep, StrategyCanaryStepArgs

    Pause Pulumi.SpotInst.Oceancd.Inputs.StrategyCanaryStepPause
    Defines the duration of time to freeze the rollout.
    SetCanaryScale Pulumi.SpotInst.Oceancd.Inputs.StrategyCanaryStepSetCanaryScale
    Defines how to scale the version without traffic weight changing.
    SetHeaderRoute Pulumi.SpotInst.Oceancd.Inputs.StrategyCanaryStepSetHeaderRoute
    Defines the list of HeaderRoutes to add to the Rollout.
    SetWeight int
    Defines the percentage that the new version should receive.
    StepName string
    Verification Pulumi.SpotInst.Oceancd.Inputs.StrategyCanaryStepVerification
    Represents the list of verifications to run in a step.
    Pause StrategyCanaryStepPause
    Defines the duration of time to freeze the rollout.
    SetCanaryScale StrategyCanaryStepSetCanaryScale
    Defines how to scale the version without traffic weight changing.
    SetHeaderRoute StrategyCanaryStepSetHeaderRoute
    Defines the list of HeaderRoutes to add to the Rollout.
    SetWeight int
    Defines the percentage that the new version should receive.
    StepName string
    Verification StrategyCanaryStepVerification
    Represents the list of verifications to run in a step.
    pause StrategyCanaryStepPause
    Defines the duration of time to freeze the rollout.
    setCanaryScale StrategyCanaryStepSetCanaryScale
    Defines how to scale the version without traffic weight changing.
    setHeaderRoute StrategyCanaryStepSetHeaderRoute
    Defines the list of HeaderRoutes to add to the Rollout.
    setWeight Integer
    Defines the percentage that the new version should receive.
    stepName String
    verification StrategyCanaryStepVerification
    Represents the list of verifications to run in a step.
    pause StrategyCanaryStepPause
    Defines the duration of time to freeze the rollout.
    setCanaryScale StrategyCanaryStepSetCanaryScale
    Defines how to scale the version without traffic weight changing.
    setHeaderRoute StrategyCanaryStepSetHeaderRoute
    Defines the list of HeaderRoutes to add to the Rollout.
    setWeight number
    Defines the percentage that the new version should receive.
    stepName string
    verification StrategyCanaryStepVerification
    Represents the list of verifications to run in a step.
    pause StrategyCanaryStepPause
    Defines the duration of time to freeze the rollout.
    set_canary_scale StrategyCanaryStepSetCanaryScale
    Defines how to scale the version without traffic weight changing.
    set_header_route StrategyCanaryStepSetHeaderRoute
    Defines the list of HeaderRoutes to add to the Rollout.
    set_weight int
    Defines the percentage that the new version should receive.
    step_name str
    verification StrategyCanaryStepVerification
    Represents the list of verifications to run in a step.
    pause Property Map
    Defines the duration of time to freeze the rollout.
    setCanaryScale Property Map
    Defines how to scale the version without traffic weight changing.
    setHeaderRoute Property Map
    Defines the list of HeaderRoutes to add to the Rollout.
    setWeight Number
    Defines the percentage that the new version should receive.
    stepName String
    verification Property Map
    Represents the list of verifications to run in a step.

    StrategyCanaryStepPause, StrategyCanaryStepPauseArgs

    Duration string
    The amount of time to wait before moving to the next step.
    Duration string
    The amount of time to wait before moving to the next step.
    duration String
    The amount of time to wait before moving to the next step.
    duration string
    The amount of time to wait before moving to the next step.
    duration str
    The amount of time to wait before moving to the next step.
    duration String
    The amount of time to wait before moving to the next step.

    StrategyCanaryStepSetCanaryScale, StrategyCanaryStepSetCanaryScaleArgs

    MatchTrafficWeight bool
    Defines whether a rollout should match the current canary's setWeight step.
    Replicas int
    Sets the number of replicas the new version should have.
    Weight int
    Sets the percentage of replicas the new version should have.
    MatchTrafficWeight bool
    Defines whether a rollout should match the current canary's setWeight step.
    Replicas int
    Sets the number of replicas the new version should have.
    Weight int
    Sets the percentage of replicas the new version should have.
    matchTrafficWeight Boolean
    Defines whether a rollout should match the current canary's setWeight step.
    replicas Integer
    Sets the number of replicas the new version should have.
    weight Integer
    Sets the percentage of replicas the new version should have.
    matchTrafficWeight boolean
    Defines whether a rollout should match the current canary's setWeight step.
    replicas number
    Sets the number of replicas the new version should have.
    weight number
    Sets the percentage of replicas the new version should have.
    match_traffic_weight bool
    Defines whether a rollout should match the current canary's setWeight step.
    replicas int
    Sets the number of replicas the new version should have.
    weight int
    Sets the percentage of replicas the new version should have.
    matchTrafficWeight Boolean
    Defines whether a rollout should match the current canary's setWeight step.
    replicas Number
    Sets the number of replicas the new version should have.
    weight Number
    Sets the percentage of replicas the new version should have.

    StrategyCanaryStepSetHeaderRoute, StrategyCanaryStepSetHeaderRouteArgs

    HeaderRouteName string
    The name of the HeaderRoute group.
    Matches List<Pulumi.SpotInst.Oceancd.Inputs.StrategyCanaryStepSetHeaderRouteMatch>
    The matching rules for the header route.
    HeaderRouteName string
    The name of the HeaderRoute group.
    Matches []StrategyCanaryStepSetHeaderRouteMatch
    The matching rules for the header route.
    headerRouteName String
    The name of the HeaderRoute group.
    matches List<StrategyCanaryStepSetHeaderRouteMatch>
    The matching rules for the header route.
    headerRouteName string
    The name of the HeaderRoute group.
    matches StrategyCanaryStepSetHeaderRouteMatch[]
    The matching rules for the header route.
    header_route_name str
    The name of the HeaderRoute group.
    matches Sequence[StrategyCanaryStepSetHeaderRouteMatch]
    The matching rules for the header route.
    headerRouteName String
    The name of the HeaderRoute group.
    matches List<Property Map>
    The matching rules for the header route.

    StrategyCanaryStepSetHeaderRouteMatch, StrategyCanaryStepSetHeaderRouteMatchArgs

    HeaderName string
    The name of the header.
    HeaderValue Pulumi.SpotInst.Oceancd.Inputs.StrategyCanaryStepSetHeaderRouteMatchHeaderValue
    Defines a single header to add to the Rollout. Must be only one initialized from the following (exact, prefix, regex).
    HeaderName string
    The name of the header.
    HeaderValue StrategyCanaryStepSetHeaderRouteMatchHeaderValue
    Defines a single header to add to the Rollout. Must be only one initialized from the following (exact, prefix, regex).
    headerName String
    The name of the header.
    headerValue StrategyCanaryStepSetHeaderRouteMatchHeaderValue
    Defines a single header to add to the Rollout. Must be only one initialized from the following (exact, prefix, regex).
    headerName string
    The name of the header.
    headerValue StrategyCanaryStepSetHeaderRouteMatchHeaderValue
    Defines a single header to add to the Rollout. Must be only one initialized from the following (exact, prefix, regex).
    header_name str
    The name of the header.
    header_value StrategyCanaryStepSetHeaderRouteMatchHeaderValue
    Defines a single header to add to the Rollout. Must be only one initialized from the following (exact, prefix, regex).
    headerName String
    The name of the header.
    headerValue Property Map
    Defines a single header to add to the Rollout. Must be only one initialized from the following (exact, prefix, regex).

    StrategyCanaryStepSetHeaderRouteMatchHeaderValue, StrategyCanaryStepSetHeaderRouteMatchHeaderValueArgs

    Exact string
    The exact header value.
    Prefix string
    The prefix of the value.
    Regex string
    The value in a regex format.
    Exact string
    The exact header value.
    Prefix string
    The prefix of the value.
    Regex string
    The value in a regex format.
    exact String
    The exact header value.
    prefix String
    The prefix of the value.
    regex String
    The value in a regex format.
    exact string
    The exact header value.
    prefix string
    The prefix of the value.
    regex string
    The value in a regex format.
    exact str
    The exact header value.
    prefix str
    The prefix of the value.
    regex str
    The value in a regex format.
    exact String
    The exact header value.
    prefix String
    The prefix of the value.
    regex String
    The value in a regex format.

    StrategyCanaryStepVerification, StrategyCanaryStepVerificationArgs

    TemplateNames List<string>
    List of Verification Template names.
    TemplateNames []string
    List of Verification Template names.
    templateNames List<String>
    List of Verification Template names.
    templateNames string[]
    List of Verification Template names.
    template_names Sequence[str]
    List of Verification Template names.
    templateNames List<String>
    List of Verification Template names.

    StrategyRolling, StrategyRollingArgs

    Steps List<Pulumi.SpotInst.Oceancd.Inputs.StrategyRollingStep>
    A set of separate conditions of rollout processing.
    Steps []StrategyRollingStep
    A set of separate conditions of rollout processing.
    steps List<StrategyRollingStep>
    A set of separate conditions of rollout processing.
    steps StrategyRollingStep[]
    A set of separate conditions of rollout processing.
    steps Sequence[StrategyRollingStep]
    A set of separate conditions of rollout processing.
    steps List<Property Map>
    A set of separate conditions of rollout processing.

    StrategyRollingStep, StrategyRollingStepArgs

    Pause Pulumi.SpotInst.Oceancd.Inputs.StrategyRollingStepPause
    Defines the duration of time to freeze the rollout.
    StepsName string
    Verification Pulumi.SpotInst.Oceancd.Inputs.StrategyRollingStepVerification
    Represents the list of verifications to run in a step.
    Pause StrategyRollingStepPause
    Defines the duration of time to freeze the rollout.
    StepsName string
    Verification StrategyRollingStepVerification
    Represents the list of verifications to run in a step.
    pause StrategyRollingStepPause
    Defines the duration of time to freeze the rollout.
    stepsName String
    verification StrategyRollingStepVerification
    Represents the list of verifications to run in a step.
    pause StrategyRollingStepPause
    Defines the duration of time to freeze the rollout.
    stepsName string
    verification StrategyRollingStepVerification
    Represents the list of verifications to run in a step.
    pause StrategyRollingStepPause
    Defines the duration of time to freeze the rollout.
    steps_name str
    verification StrategyRollingStepVerification
    Represents the list of verifications to run in a step.
    pause Property Map
    Defines the duration of time to freeze the rollout.
    stepsName String
    verification Property Map
    Represents the list of verifications to run in a step.

    StrategyRollingStepPause, StrategyRollingStepPauseArgs

    Duration string
    The amount of time to wait before moving to the next step.
    Duration string
    The amount of time to wait before moving to the next step.
    duration String
    The amount of time to wait before moving to the next step.
    duration string
    The amount of time to wait before moving to the next step.
    duration str
    The amount of time to wait before moving to the next step.
    duration String
    The amount of time to wait before moving to the next step.

    StrategyRollingStepVerification, StrategyRollingStepVerificationArgs

    TemplateNames List<string>
    List of Verification Template names.
    TemplateNames []string
    List of Verification Template names.
    templateNames List<String>
    List of Verification Template names.
    templateNames string[]
    List of Verification Template names.
    template_names Sequence[str]
    List of Verification Template names.
    templateNames List<String>
    List of Verification Template names.

    Package Details

    Repository
    Spotinst pulumi/pulumi-spotinst
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the spotinst Terraform Provider.
    spotinst logo
    Spotinst v3.81.0 published on Monday, Jun 24, 2024 by Pulumi