azure-native.deploymentmanager.Step
Explore with Pulumi AI
The resource representation of a rollout step. API Version: 2019-11-01-preview.
Example Usage
Create health check step
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var step = new AzureNative.DeploymentManager.Step("step", new()
{
Location = "centralus",
Properties = new AzureNative.DeploymentManager.Inputs.HealthCheckStepPropertiesArgs
{
Attributes = new AzureNative.DeploymentManager.Inputs.RestHealthCheckStepAttributesArgs
{
HealthChecks = new[]
{
new AzureNative.DeploymentManager.Inputs.RestHealthCheckArgs
{
Name = "appHealth",
Request = new AzureNative.DeploymentManager.Inputs.RestRequestArgs
{
Authentication = new AzureNative.DeploymentManager.Inputs.ApiKeyAuthenticationArgs
{
In = AzureNative.DeploymentManager.RestAuthLocation.Query,
Name = "Code",
Type = "ApiKey",
Value = "NBCapiMOBQyAAbCkeytoPadnvO0eGHmidwFz5rXpappznKp3Jt7LLg==",
},
Method = AzureNative.DeploymentManager.RestRequestMethod.GET,
Uri = "https://resthealth.healthservice.com/api/applications/contosoApp/healthStatus",
},
Response = new AzureNative.DeploymentManager.Inputs.RestResponseArgs
{
Regex = new AzureNative.DeploymentManager.Inputs.RestResponseRegexArgs
{
MatchQuantifier = AzureNative.DeploymentManager.RestMatchQuantifier.All,
Matches = new[]
{
"(?i)Contoso-App",
@"(?i)""health_status"":((.|
)*)""(green|yellow)""",
"(?mi)^(\"application_host\": 94781052)$",
},
},
SuccessStatusCodes = new[]
{
"OK",
},
},
},
new AzureNative.DeploymentManager.Inputs.RestHealthCheckArgs
{
Name = "serviceHealth",
Request = new AzureNative.DeploymentManager.Inputs.RestRequestArgs
{
Authentication = new AzureNative.DeploymentManager.Inputs.ApiKeyAuthenticationArgs
{
In = AzureNative.DeploymentManager.RestAuthLocation.Header,
Name = "code",
Type = "ApiKey",
Value = "NBCapiMOBQyAAbCkeytoPadnvO0eGHmidwFz5rXpappznKp3Jt7LLg==",
},
Method = AzureNative.DeploymentManager.RestRequestMethod.GET,
Uri = "https://resthealth.healthservice.com/api/services/contosoService/healthStatus",
},
Response = new AzureNative.DeploymentManager.Inputs.RestResponseArgs
{
Regex = new AzureNative.DeploymentManager.Inputs.RestResponseRegexArgs
{
MatchQuantifier = AzureNative.DeploymentManager.RestMatchQuantifier.All,
Matches = new[]
{
"(?i)Contoso-Service-EndToEnd",
@"(?i)""health_status"":((.|
)*)""(green)""",
},
},
SuccessStatusCodes = new[]
{
"OK",
},
},
},
},
HealthyStateDuration = "PT2H",
MaxElasticDuration = "PT30M",
Type = "REST",
WaitDuration = "PT15M",
},
StepType = "HealthCheck",
},
ResourceGroupName = "myResourceGroup",
StepName = "healthCheckStep",
Tags = null,
});
});
package main
import (
deploymentmanager "github.com/pulumi/pulumi-azure-native-sdk/deploymentmanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := deploymentmanager.NewStep(ctx, "step", &deploymentmanager.StepArgs{
Location: pulumi.String("centralus"),
Properties: deploymentmanager.HealthCheckStepProperties{
Attributes: deploymentmanager.RestHealthCheckStepAttributes{
HealthChecks: []deploymentmanager.RestHealthCheck{
{
Name: "appHealth",
Request: {
Authentication: {
In: deploymentmanager.RestAuthLocationQuery,
Name: "Code",
Type: "ApiKey",
Value: "NBCapiMOBQyAAbCkeytoPadnvO0eGHmidwFz5rXpappznKp3Jt7LLg==",
},
Method: deploymentmanager.RestRequestMethodGET,
Uri: "https://resthealth.healthservice.com/api/applications/contosoApp/healthStatus",
},
Response: {
Regex: {
MatchQuantifier: deploymentmanager.RestMatchQuantifierAll,
Matches: []string{
"(?i)Contoso-App",
"(?i)\"health_status\":((.|\n)*)\"(green|yellow)\"",
"(?mi)^(\"application_host\": 94781052)$",
},
},
SuccessStatusCodes: []string{
"OK",
},
},
},
{
Name: "serviceHealth",
Request: {
Authentication: {
In: deploymentmanager.RestAuthLocationHeader,
Name: "code",
Type: "ApiKey",
Value: "NBCapiMOBQyAAbCkeytoPadnvO0eGHmidwFz5rXpappznKp3Jt7LLg==",
},
Method: deploymentmanager.RestRequestMethodGET,
Uri: "https://resthealth.healthservice.com/api/services/contosoService/healthStatus",
},
Response: {
Regex: {
MatchQuantifier: deploymentmanager.RestMatchQuantifierAll,
Matches: []string{
"(?i)Contoso-Service-EndToEnd",
"(?i)\"health_status\":((.|\n)*)\"(green)\"",
},
},
SuccessStatusCodes: []string{
"OK",
},
},
},
},
HealthyStateDuration: "PT2H",
MaxElasticDuration: "PT30M",
Type: "REST",
WaitDuration: "PT15M",
},
StepType: "HealthCheck",
},
ResourceGroupName: pulumi.String("myResourceGroup"),
StepName: pulumi.String("healthCheckStep"),
Tags: nil,
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.deploymentmanager.Step;
import com.pulumi.azurenative.deploymentmanager.StepArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var step = new Step("step", StepArgs.builder()
.location("centralus")
.properties(Map.ofEntries(
Map.entry("attributes", Map.ofEntries(
Map.entry("healthChecks",
Map.ofEntries(
Map.entry("name", "appHealth"),
Map.entry("request", Map.ofEntries(
Map.entry("authentication", Map.ofEntries(
Map.entry("in", "Query"),
Map.entry("name", "Code"),
Map.entry("type", "ApiKey"),
Map.entry("value", "NBCapiMOBQyAAbCkeytoPadnvO0eGHmidwFz5rXpappznKp3Jt7LLg==")
)),
Map.entry("method", "GET"),
Map.entry("uri", "https://resthealth.healthservice.com/api/applications/contosoApp/healthStatus")
)),
Map.entry("response", Map.ofEntries(
Map.entry("regex", Map.ofEntries(
Map.entry("matchQuantifier", "All"),
Map.entry("matches",
"(?i)Contoso-App",
"""
(?i)"health_status":((.|
)*)"(green|yellow)" """,
"(?mi)^(\"application_host\": 94781052)$")
)),
Map.entry("successStatusCodes", "OK")
))
),
Map.ofEntries(
Map.entry("name", "serviceHealth"),
Map.entry("request", Map.ofEntries(
Map.entry("authentication", Map.ofEntries(
Map.entry("in", "Header"),
Map.entry("name", "code"),
Map.entry("type", "ApiKey"),
Map.entry("value", "NBCapiMOBQyAAbCkeytoPadnvO0eGHmidwFz5rXpappznKp3Jt7LLg==")
)),
Map.entry("method", "GET"),
Map.entry("uri", "https://resthealth.healthservice.com/api/services/contosoService/healthStatus")
)),
Map.entry("response", Map.ofEntries(
Map.entry("regex", Map.ofEntries(
Map.entry("matchQuantifier", "All"),
Map.entry("matches",
"(?i)Contoso-Service-EndToEnd",
"""
(?i)"health_status":((.|
)*)"(green)" """)
)),
Map.entry("successStatusCodes", "OK")
))
)),
Map.entry("healthyStateDuration", "PT2H"),
Map.entry("maxElasticDuration", "PT30M"),
Map.entry("type", "REST"),
Map.entry("waitDuration", "PT15M")
)),
Map.entry("stepType", "HealthCheck")
))
.resourceGroupName("myResourceGroup")
.stepName("healthCheckStep")
.tags()
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
step = azure_native.deploymentmanager.Step("step",
location="centralus",
properties=azure_native.deploymentmanager.HealthCheckStepPropertiesArgs(
attributes=azure_native.deploymentmanager.RestHealthCheckStepAttributesArgs(
health_checks=[
azure_native.deploymentmanager.RestHealthCheckArgs(
name="appHealth",
request=azure_native.deploymentmanager.RestRequestArgs(
authentication=azure_native.deploymentmanager.ApiKeyAuthenticationArgs(
in_=azure_native.deploymentmanager.RestAuthLocation.QUERY,
name="Code",
type="ApiKey",
value="NBCapiMOBQyAAbCkeytoPadnvO0eGHmidwFz5rXpappznKp3Jt7LLg==",
),
method=azure_native.deploymentmanager.RestRequestMethod.GET,
uri="https://resthealth.healthservice.com/api/applications/contosoApp/healthStatus",
),
response=azure_native.deploymentmanager.RestResponseArgs(
regex=azure_native.deploymentmanager.RestResponseRegexArgs(
match_quantifier=azure_native.deploymentmanager.RestMatchQuantifier.ALL,
matches=[
"(?i)Contoso-App",
"""(?i)"health_status":((.|
)*)"(green|yellow)"""",
"(?mi)^(\"application_host\": 94781052)$",
],
),
success_status_codes=["OK"],
),
),
azure_native.deploymentmanager.RestHealthCheckArgs(
name="serviceHealth",
request=azure_native.deploymentmanager.RestRequestArgs(
authentication=azure_native.deploymentmanager.ApiKeyAuthenticationArgs(
in_=azure_native.deploymentmanager.RestAuthLocation.HEADER,
name="code",
type="ApiKey",
value="NBCapiMOBQyAAbCkeytoPadnvO0eGHmidwFz5rXpappznKp3Jt7LLg==",
),
method=azure_native.deploymentmanager.RestRequestMethod.GET,
uri="https://resthealth.healthservice.com/api/services/contosoService/healthStatus",
),
response=azure_native.deploymentmanager.RestResponseArgs(
regex=azure_native.deploymentmanager.RestResponseRegexArgs(
match_quantifier=azure_native.deploymentmanager.RestMatchQuantifier.ALL,
matches=[
"(?i)Contoso-Service-EndToEnd",
"""(?i)"health_status":((.|
)*)"(green)"""",
],
),
success_status_codes=["OK"],
),
),
],
healthy_state_duration="PT2H",
max_elastic_duration="PT30M",
type="REST",
wait_duration="PT15M",
),
step_type="HealthCheck",
),
resource_group_name="myResourceGroup",
step_name="healthCheckStep",
tags={})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const step = new azure_native.deploymentmanager.Step("step", {
location: "centralus",
properties: {
attributes: {
healthChecks: [
{
name: "appHealth",
request: {
authentication: {
"in": azure_native.deploymentmanager.RestAuthLocation.Query,
name: "Code",
type: "ApiKey",
value: "NBCapiMOBQyAAbCkeytoPadnvO0eGHmidwFz5rXpappznKp3Jt7LLg==",
},
method: azure_native.deploymentmanager.RestRequestMethod.GET,
uri: "https://resthealth.healthservice.com/api/applications/contosoApp/healthStatus",
},
response: {
regex: {
matchQuantifier: azure_native.deploymentmanager.RestMatchQuantifier.All,
matches: [
"(?i)Contoso-App",
`(?i)"health_status":((.|
)*)"(green|yellow)"`,
"(?mi)^(\"application_host\": 94781052)$",
],
},
successStatusCodes: ["OK"],
},
},
{
name: "serviceHealth",
request: {
authentication: {
"in": azure_native.deploymentmanager.RestAuthLocation.Header,
name: "code",
type: "ApiKey",
value: "NBCapiMOBQyAAbCkeytoPadnvO0eGHmidwFz5rXpappznKp3Jt7LLg==",
},
method: azure_native.deploymentmanager.RestRequestMethod.GET,
uri: "https://resthealth.healthservice.com/api/services/contosoService/healthStatus",
},
response: {
regex: {
matchQuantifier: azure_native.deploymentmanager.RestMatchQuantifier.All,
matches: [
"(?i)Contoso-Service-EndToEnd",
`(?i)"health_status":((.|
)*)"(green)"`,
],
},
successStatusCodes: ["OK"],
},
},
],
healthyStateDuration: "PT2H",
maxElasticDuration: "PT30M",
type: "REST",
waitDuration: "PT15M",
},
stepType: "HealthCheck",
},
resourceGroupName: "myResourceGroup",
stepName: "healthCheckStep",
tags: {},
});
resources:
step:
type: azure-native:deploymentmanager:Step
properties:
location: centralus
properties:
attributes:
healthChecks:
- name: appHealth
request:
authentication:
in: Query
name: Code
type: ApiKey
value: NBCapiMOBQyAAbCkeytoPadnvO0eGHmidwFz5rXpappznKp3Jt7LLg==
method: GET
uri: https://resthealth.healthservice.com/api/applications/contosoApp/healthStatus
response:
regex:
matchQuantifier: All
matches:
- (?i)Contoso-App
- |-
(?i)"health_status":((.|
)*)"(green|yellow)"
- '(?mi)^("application_host": 94781052)$'
successStatusCodes:
- OK
- name: serviceHealth
request:
authentication:
in: Header
name: code
type: ApiKey
value: NBCapiMOBQyAAbCkeytoPadnvO0eGHmidwFz5rXpappznKp3Jt7LLg==
method: GET
uri: https://resthealth.healthservice.com/api/services/contosoService/healthStatus
response:
regex:
matchQuantifier: All
matches:
- (?i)Contoso-Service-EndToEnd
- |-
(?i)"health_status":((.|
)*)"(green)"
successStatusCodes:
- OK
healthyStateDuration: PT2H
maxElasticDuration: PT30M
type: REST
waitDuration: PT15M
stepType: HealthCheck
resourceGroupName: myResourceGroup
stepName: healthCheckStep
tags: {}
Create wait step
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var step = new AzureNative.DeploymentManager.Step("step", new()
{
Location = "centralus",
Properties = new AzureNative.DeploymentManager.Inputs.WaitStepPropertiesArgs
{
Attributes = new AzureNative.DeploymentManager.Inputs.WaitStepAttributesArgs
{
Duration = "PT20M",
},
StepType = "Wait",
},
ResourceGroupName = "myResourceGroup",
StepName = "waitStep",
Tags = null,
});
});
package main
import (
deploymentmanager "github.com/pulumi/pulumi-azure-native-sdk/deploymentmanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := deploymentmanager.NewStep(ctx, "step", &deploymentmanager.StepArgs{
Location: pulumi.String("centralus"),
Properties: deploymentmanager.WaitStepProperties{
Attributes: deploymentmanager.WaitStepAttributes{
Duration: "PT20M",
},
StepType: "Wait",
},
ResourceGroupName: pulumi.String("myResourceGroup"),
StepName: pulumi.String("waitStep"),
Tags: nil,
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.deploymentmanager.Step;
import com.pulumi.azurenative.deploymentmanager.StepArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var step = new Step("step", StepArgs.builder()
.location("centralus")
.properties(Map.ofEntries(
Map.entry("attributes", Map.of("duration", "PT20M")),
Map.entry("stepType", "Wait")
))
.resourceGroupName("myResourceGroup")
.stepName("waitStep")
.tags()
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
step = azure_native.deploymentmanager.Step("step",
location="centralus",
properties=azure_native.deploymentmanager.WaitStepPropertiesArgs(
attributes=azure_native.deploymentmanager.WaitStepAttributesArgs(
duration="PT20M",
),
step_type="Wait",
),
resource_group_name="myResourceGroup",
step_name="waitStep",
tags={})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const step = new azure_native.deploymentmanager.Step("step", {
location: "centralus",
properties: {
attributes: {
duration: "PT20M",
},
stepType: "Wait",
},
resourceGroupName: "myResourceGroup",
stepName: "waitStep",
tags: {},
});
resources:
step:
type: azure-native:deploymentmanager:Step
properties:
location: centralus
properties:
attributes:
duration: PT20M
stepType: Wait
resourceGroupName: myResourceGroup
stepName: waitStep
tags: {}
Create Step Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Step(name: string, args: StepArgs, opts?: CustomResourceOptions);
@overload
def Step(resource_name: str,
args: StepArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Step(resource_name: str,
opts: Optional[ResourceOptions] = None,
properties: Optional[Union[HealthCheckStepPropertiesArgs, WaitStepPropertiesArgs]] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
step_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewStep(ctx *Context, name string, args StepArgs, opts ...ResourceOption) (*Step, error)
public Step(string name, StepArgs args, CustomResourceOptions? opts = null)
type: azure-native:deploymentmanager:Step
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 StepArgs
- 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 StepArgs
- 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 StepArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StepArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StepArgs
- 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 stepResource = new AzureNative.Deploymentmanager.Step("stepResource", new()
{
Properties =
{
{ "attributes",
{
{ "healthChecks", new[]
{
{
{ "name", "string" },
{ "request",
{
{ "authentication",
{
{ "in", "Query" },
{ "name", "string" },
{ "type", "ApiKey" },
{ "value", "string" },
} },
{ "method", "GET" },
{ "uri", "string" },
} },
{ "response",
{
{ "regex",
{
{ "matchQuantifier", "All" },
{ "matches", new[]
{
"string",
} },
} },
{ "successStatusCodes", new[]
{
"string",
} },
} },
},
} },
{ "healthyStateDuration", "string" },
{ "type", "REST" },
{ "maxElasticDuration", "string" },
{ "waitDuration", "string" },
} },
{ "stepType", "HealthCheck" },
},
ResourceGroupName = "string",
Location = "string",
StepName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := deploymentmanager.NewStep(ctx, "stepResource", &deploymentmanager.StepArgs{
Properties: map[string]interface{}{
"attributes": map[string]interface{}{
"healthChecks": []map[string]interface{}{
map[string]interface{}{
"name": "string",
"request": map[string]interface{}{
"authentication": map[string]interface{}{
"in": "Query",
"name": "string",
"type": "ApiKey",
"value": "string",
},
"method": "GET",
"uri": "string",
},
"response": map[string]interface{}{
"regex": map[string]interface{}{
"matchQuantifier": "All",
"matches": []string{
"string",
},
},
"successStatusCodes": []string{
"string",
},
},
},
},
"healthyStateDuration": "string",
"type": "REST",
"maxElasticDuration": "string",
"waitDuration": "string",
},
"stepType": "HealthCheck",
},
ResourceGroupName: "string",
Location: "string",
StepName: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var stepResource = new Step("stepResource", StepArgs.builder()
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.location("string")
.stepName("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
step_resource = azure_native.deploymentmanager.Step("stepResource",
properties={
attributes: {
healthChecks: [{
name: string,
request: {
authentication: {
in: Query,
name: string,
type: ApiKey,
value: string,
},
method: GET,
uri: string,
},
response: {
regex: {
matchQuantifier: All,
matches: [string],
},
successStatusCodes: [string],
},
}],
healthyStateDuration: string,
type: REST,
maxElasticDuration: string,
waitDuration: string,
},
stepType: HealthCheck,
},
resource_group_name=string,
location=string,
step_name=string,
tags={
string: string,
})
const stepResource = new azure_native.deploymentmanager.Step("stepResource", {
properties: {
attributes: {
healthChecks: [{
name: "string",
request: {
authentication: {
"in": "Query",
name: "string",
type: "ApiKey",
value: "string",
},
method: "GET",
uri: "string",
},
response: {
regex: {
matchQuantifier: "All",
matches: ["string"],
},
successStatusCodes: ["string"],
},
}],
healthyStateDuration: "string",
type: "REST",
maxElasticDuration: "string",
waitDuration: "string",
},
stepType: "HealthCheck",
},
resourceGroupName: "string",
location: "string",
stepName: "string",
tags: {
string: "string",
},
});
type: azure-native:deploymentmanager:Step
properties:
location: string
properties:
attributes:
healthChecks:
- name: string
request:
authentication:
in: Query
name: string
type: ApiKey
value: string
method: GET
uri: string
response:
regex:
matchQuantifier: All
matches:
- string
successStatusCodes:
- string
healthyStateDuration: string
maxElasticDuration: string
type: REST
waitDuration: string
stepType: HealthCheck
resourceGroupName: string
stepName: string
tags:
string: string
Step 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 Step resource accepts the following input properties:
- Properties
Pulumi.
Azure | Pulumi.Native. Deployment Manager. Inputs. Health Check Step Properties Azure Native. Deployment Manager. Inputs. Wait Step Properties - The properties that define the step.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Step
Name string - The name of the deployment step.
- Dictionary<string, string>
- Resource tags.
- Properties
Health
Check | WaitStep Properties Args Step Properties Args - The properties that define the step.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Step
Name string - The name of the deployment step.
- map[string]string
- Resource tags.
- properties
Health
Check | WaitStep Properties Step Properties - The properties that define the step.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- step
Name String - The name of the deployment step.
- Map<String,String>
- Resource tags.
- properties
Health
Check | WaitStep Properties Step Properties - The properties that define the step.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- location string
- The geo-location where the resource lives
- step
Name string - The name of the deployment step.
- {[key: string]: string}
- Resource tags.
- properties
Health
Check | WaitStep Properties Args Step Properties Args - The properties that define the step.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- location str
- The geo-location where the resource lives
- step_
name str - The name of the deployment step.
- Mapping[str, str]
- Resource tags.
- properties Property Map | Property Map
- The properties that define the step.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- step
Name String - The name of the deployment step.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the Step resource produces the following output properties:
Supporting Types
ApiKeyAuthentication, ApiKeyAuthenticationArgs
- In
Pulumi.
Azure Native. Deployment Manager. Rest Auth Location - The location of the authentication key/value pair in the request.
- Name string
- The key name of the authentication key/value pair.
- Value string
- The value of the authentication key/value pair.
- In
Rest
Auth Location - The location of the authentication key/value pair in the request.
- Name string
- The key name of the authentication key/value pair.
- Value string
- The value of the authentication key/value pair.
- in
Rest
Auth Location - The location of the authentication key/value pair in the request.
- name String
- The key name of the authentication key/value pair.
- value String
- The value of the authentication key/value pair.
- in
Rest
Auth Location - The location of the authentication key/value pair in the request.
- name string
- The key name of the authentication key/value pair.
- value string
- The value of the authentication key/value pair.
- in_
Rest
Auth Location - The location of the authentication key/value pair in the request.
- name str
- The key name of the authentication key/value pair.
- value str
- The value of the authentication key/value pair.
- in "Query" | "Header"
- The location of the authentication key/value pair in the request.
- name String
- The key name of the authentication key/value pair.
- value String
- The value of the authentication key/value pair.
ApiKeyAuthenticationResponse, ApiKeyAuthenticationResponseArgs
HealthCheckStepProperties, HealthCheckStepPropertiesArgs
- Attributes
Pulumi.
Azure Native. Deployment Manager. Inputs. Rest Health Check Step Attributes - The health check step attributes
- Attributes
Rest
Health Check Step Attributes - The health check step attributes
- attributes
Rest
Health Check Step Attributes - The health check step attributes
- attributes
Rest
Health Check Step Attributes - The health check step attributes
- attributes
Rest
Health Check Step Attributes - The health check step attributes
- attributes Property Map
- The health check step attributes
HealthCheckStepPropertiesResponse, HealthCheckStepPropertiesResponseArgs
- Attributes
Pulumi.
Azure Native. Deployment Manager. Inputs. Rest Health Check Step Attributes Response - The health check step attributes
- Attributes
Rest
Health Check Step Attributes Response - The health check step attributes
- attributes
Rest
Health Check Step Attributes Response - The health check step attributes
- attributes
Rest
Health Check Step Attributes Response - The health check step attributes
- attributes
Rest
Health Check Step Attributes Response - The health check step attributes
- attributes Property Map
- The health check step attributes
RestAuthLocation, RestAuthLocationArgs
- Query
- Query
- Header
- Header
- Rest
Auth Location Query - Query
- Rest
Auth Location Header - Header
- Query
- Query
- Header
- Header
- Query
- Query
- Header
- Header
- QUERY
- Query
- HEADER
- Header
- "Query"
- Query
- "Header"
- Header
RestHealthCheck, RestHealthCheckArgs
- Name string
- A unique name for this check.
- Request
Pulumi.
Azure Native. Deployment Manager. Inputs. Rest Request - The request to the health provider.
- Response
Pulumi.
Azure Native. Deployment Manager. Inputs. Rest Response - The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.
- Name string
- A unique name for this check.
- Request
Rest
Request - The request to the health provider.
- Response
Rest
Response - The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.
- name String
- A unique name for this check.
- request
Rest
Request - The request to the health provider.
- response
Rest
Response - The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.
- name string
- A unique name for this check.
- request
Rest
Request - The request to the health provider.
- response
Rest
Response - The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.
- name str
- A unique name for this check.
- request
Rest
Request - The request to the health provider.
- response
Rest
Response - The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.
- name String
- A unique name for this check.
- request Property Map
- The request to the health provider.
- response Property Map
- The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.
RestHealthCheckResponse, RestHealthCheckResponseArgs
- Name string
- A unique name for this check.
- Request
Pulumi.
Azure Native. Deployment Manager. Inputs. Rest Request Response - The request to the health provider.
- Response
Pulumi.
Azure Native. Deployment Manager. Inputs. Rest Response Response - The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.
- Name string
- A unique name for this check.
- Request
Rest
Request Response - The request to the health provider.
- Response
Rest
Response Response - The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.
- name String
- A unique name for this check.
- request
Rest
Request Response - The request to the health provider.
- response
Rest
Response Response - The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.
- name string
- A unique name for this check.
- request
Rest
Request Response - The request to the health provider.
- response
Rest
Response Response - The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.
- name str
- A unique name for this check.
- request
Rest
Request Response - The request to the health provider.
- response
Rest
Response Response - The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.
- name String
- A unique name for this check.
- request Property Map
- The request to the health provider.
- response Property Map
- The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.
RestHealthCheckStepAttributes, RestHealthCheckStepAttributesArgs
- Health
Checks List<Pulumi.Azure Native. Deployment Manager. Inputs. Rest Health Check> - The list of checks that form the health check step.
- Healthy
State stringDuration - The duration in ISO 8601 format for which the resource is expected to be continuously healthy. If maxElasticDuration is specified, healthy state duration is enforced after the detection of first healthy signal.
- Max
Elastic stringDuration - The duration in ISO 8601 format for which the health check waits for the resource to become healthy. Health check fails if it doesn't. Health check starts to enforce healthyStateDuration once resource becomes healthy.
- Wait
Duration string - The duration in ISO 8601 format for which health check waits idly without any checks.
- Health
Checks []RestHealth Check - The list of checks that form the health check step.
- Healthy
State stringDuration - The duration in ISO 8601 format for which the resource is expected to be continuously healthy. If maxElasticDuration is specified, healthy state duration is enforced after the detection of first healthy signal.
- Max
Elastic stringDuration - The duration in ISO 8601 format for which the health check waits for the resource to become healthy. Health check fails if it doesn't. Health check starts to enforce healthyStateDuration once resource becomes healthy.
- Wait
Duration string - The duration in ISO 8601 format for which health check waits idly without any checks.
- health
Checks List<RestHealth Check> - The list of checks that form the health check step.
- healthy
State StringDuration - The duration in ISO 8601 format for which the resource is expected to be continuously healthy. If maxElasticDuration is specified, healthy state duration is enforced after the detection of first healthy signal.
- max
Elastic StringDuration - The duration in ISO 8601 format for which the health check waits for the resource to become healthy. Health check fails if it doesn't. Health check starts to enforce healthyStateDuration once resource becomes healthy.
- wait
Duration String - The duration in ISO 8601 format for which health check waits idly without any checks.
- health
Checks RestHealth Check[] - The list of checks that form the health check step.
- healthy
State stringDuration - The duration in ISO 8601 format for which the resource is expected to be continuously healthy. If maxElasticDuration is specified, healthy state duration is enforced after the detection of first healthy signal.
- max
Elastic stringDuration - The duration in ISO 8601 format for which the health check waits for the resource to become healthy. Health check fails if it doesn't. Health check starts to enforce healthyStateDuration once resource becomes healthy.
- wait
Duration string - The duration in ISO 8601 format for which health check waits idly without any checks.
- health_
checks Sequence[RestHealth Check] - The list of checks that form the health check step.
- healthy_
state_ strduration - The duration in ISO 8601 format for which the resource is expected to be continuously healthy. If maxElasticDuration is specified, healthy state duration is enforced after the detection of first healthy signal.
- max_
elastic_ strduration - The duration in ISO 8601 format for which the health check waits for the resource to become healthy. Health check fails if it doesn't. Health check starts to enforce healthyStateDuration once resource becomes healthy.
- wait_
duration str - The duration in ISO 8601 format for which health check waits idly without any checks.
- health
Checks List<Property Map> - The list of checks that form the health check step.
- healthy
State StringDuration - The duration in ISO 8601 format for which the resource is expected to be continuously healthy. If maxElasticDuration is specified, healthy state duration is enforced after the detection of first healthy signal.
- max
Elastic StringDuration - The duration in ISO 8601 format for which the health check waits for the resource to become healthy. Health check fails if it doesn't. Health check starts to enforce healthyStateDuration once resource becomes healthy.
- wait
Duration String - The duration in ISO 8601 format for which health check waits idly without any checks.
RestHealthCheckStepAttributesResponse, RestHealthCheckStepAttributesResponseArgs
- Health
Checks List<Pulumi.Azure Native. Deployment Manager. Inputs. Rest Health Check Response> - The list of checks that form the health check step.
- Healthy
State stringDuration - The duration in ISO 8601 format for which the resource is expected to be continuously healthy. If maxElasticDuration is specified, healthy state duration is enforced after the detection of first healthy signal.
- Max
Elastic stringDuration - The duration in ISO 8601 format for which the health check waits for the resource to become healthy. Health check fails if it doesn't. Health check starts to enforce healthyStateDuration once resource becomes healthy.
- Wait
Duration string - The duration in ISO 8601 format for which health check waits idly without any checks.
- Health
Checks []RestHealth Check Response - The list of checks that form the health check step.
- Healthy
State stringDuration - The duration in ISO 8601 format for which the resource is expected to be continuously healthy. If maxElasticDuration is specified, healthy state duration is enforced after the detection of first healthy signal.
- Max
Elastic stringDuration - The duration in ISO 8601 format for which the health check waits for the resource to become healthy. Health check fails if it doesn't. Health check starts to enforce healthyStateDuration once resource becomes healthy.
- Wait
Duration string - The duration in ISO 8601 format for which health check waits idly without any checks.
- health
Checks List<RestHealth Check Response> - The list of checks that form the health check step.
- healthy
State StringDuration - The duration in ISO 8601 format for which the resource is expected to be continuously healthy. If maxElasticDuration is specified, healthy state duration is enforced after the detection of first healthy signal.
- max
Elastic StringDuration - The duration in ISO 8601 format for which the health check waits for the resource to become healthy. Health check fails if it doesn't. Health check starts to enforce healthyStateDuration once resource becomes healthy.
- wait
Duration String - The duration in ISO 8601 format for which health check waits idly without any checks.
- health
Checks RestHealth Check Response[] - The list of checks that form the health check step.
- healthy
State stringDuration - The duration in ISO 8601 format for which the resource is expected to be continuously healthy. If maxElasticDuration is specified, healthy state duration is enforced after the detection of first healthy signal.
- max
Elastic stringDuration - The duration in ISO 8601 format for which the health check waits for the resource to become healthy. Health check fails if it doesn't. Health check starts to enforce healthyStateDuration once resource becomes healthy.
- wait
Duration string - The duration in ISO 8601 format for which health check waits idly without any checks.
- health_
checks Sequence[RestHealth Check Response] - The list of checks that form the health check step.
- healthy_
state_ strduration - The duration in ISO 8601 format for which the resource is expected to be continuously healthy. If maxElasticDuration is specified, healthy state duration is enforced after the detection of first healthy signal.
- max_
elastic_ strduration - The duration in ISO 8601 format for which the health check waits for the resource to become healthy. Health check fails if it doesn't. Health check starts to enforce healthyStateDuration once resource becomes healthy.
- wait_
duration str - The duration in ISO 8601 format for which health check waits idly without any checks.
- health
Checks List<Property Map> - The list of checks that form the health check step.
- healthy
State StringDuration - The duration in ISO 8601 format for which the resource is expected to be continuously healthy. If maxElasticDuration is specified, healthy state duration is enforced after the detection of first healthy signal.
- max
Elastic StringDuration - The duration in ISO 8601 format for which the health check waits for the resource to become healthy. Health check fails if it doesn't. Health check starts to enforce healthyStateDuration once resource becomes healthy.
- wait
Duration String - The duration in ISO 8601 format for which health check waits idly without any checks.
RestMatchQuantifier, RestMatchQuantifierArgs
- All
- All
- Any
- Any
- Rest
Match Quantifier All - All
- Rest
Match Quantifier Any - Any
- All
- All
- Any
- Any
- All
- All
- Any
- Any
- ALL
- All
- ANY
- Any
- "All"
- All
- "Any"
- Any
RestRequest, RestRequestArgs
- Authentication
Pulumi.
Azure | Pulumi.Native. Deployment Manager. Inputs. Api Key Authentication Azure Native. Deployment Manager. Inputs. Rollout Identity Authentication - The authentication information required in the request to the health provider.
- Method
Pulumi.
Azure Native. Deployment Manager. Rest Request Method - The HTTP method to use for the request.
- Uri string
- The HTTP URI to use for the request.
- Authentication
Api
Key | RolloutAuthentication Identity Authentication - The authentication information required in the request to the health provider.
- Method
Rest
Request Method - The HTTP method to use for the request.
- Uri string
- The HTTP URI to use for the request.
- authentication
Api
Key | RolloutAuthentication Identity Authentication - The authentication information required in the request to the health provider.
- method
Rest
Request Method - The HTTP method to use for the request.
- uri String
- The HTTP URI to use for the request.
- authentication
Api
Key | RolloutAuthentication Identity Authentication - The authentication information required in the request to the health provider.
- method
Rest
Request Method - The HTTP method to use for the request.
- uri string
- The HTTP URI to use for the request.
- authentication
Api
Key | RolloutAuthentication Identity Authentication - The authentication information required in the request to the health provider.
- method
Rest
Request Method - The HTTP method to use for the request.
- uri str
- The HTTP URI to use for the request.
- authentication Property Map | Property Map
- The authentication information required in the request to the health provider.
- method "GET" | "POST"
- The HTTP method to use for the request.
- uri String
- The HTTP URI to use for the request.
RestRequestMethod, RestRequestMethodArgs
- GET
- GET
- POST
- POST
- Rest
Request Method GET - GET
- Rest
Request Method POST - POST
- GET
- GET
- POST
- POST
- GET
- GET
- POST
- POST
- GET
- GET
- POST
- POST
- "GET"
- GET
- "POST"
- POST
RestRequestResponse, RestRequestResponseArgs
- Authentication
Pulumi.
Azure | Pulumi.Native. Deployment Manager. Inputs. Api Key Authentication Response Azure Native. Deployment Manager. Inputs. Rollout Identity Authentication Response - The authentication information required in the request to the health provider.
- Method string
- The HTTP method to use for the request.
- Uri string
- The HTTP URI to use for the request.
- Authentication
Api
Key | RolloutAuthentication Response Identity Authentication Response - The authentication information required in the request to the health provider.
- Method string
- The HTTP method to use for the request.
- Uri string
- The HTTP URI to use for the request.
- authentication
Api
Key | RolloutAuthentication Response Identity Authentication Response - The authentication information required in the request to the health provider.
- method String
- The HTTP method to use for the request.
- uri String
- The HTTP URI to use for the request.
- authentication
Api
Key | RolloutAuthentication Response Identity Authentication Response - The authentication information required in the request to the health provider.
- method string
- The HTTP method to use for the request.
- uri string
- The HTTP URI to use for the request.
- authentication
Api
Key | RolloutAuthentication Response Identity Authentication Response - The authentication information required in the request to the health provider.
- method str
- The HTTP method to use for the request.
- uri str
- The HTTP URI to use for the request.
- authentication Property Map | Property Map
- The authentication information required in the request to the health provider.
- method String
- The HTTP method to use for the request.
- uri String
- The HTTP URI to use for the request.
RestResponse, RestResponseArgs
- Regex
Pulumi.
Azure Native. Deployment Manager. Inputs. Rest Response Regex - The regular expressions to match the response content with.
- Success
Status List<string>Codes - The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.
- Regex
Rest
Response Regex - The regular expressions to match the response content with.
- Success
Status []stringCodes - The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.
- regex
Rest
Response Regex - The regular expressions to match the response content with.
- success
Status List<String>Codes - The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.
- regex
Rest
Response Regex - The regular expressions to match the response content with.
- success
Status string[]Codes - The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.
- regex
Rest
Response Regex - The regular expressions to match the response content with.
- success_
status_ Sequence[str]codes - The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.
- regex Property Map
- The regular expressions to match the response content with.
- success
Status List<String>Codes - The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.
RestResponseRegex, RestResponseRegexArgs
- Match
Quantifier Pulumi.Azure Native. Deployment Manager. Rest Match Quantifier - Indicates whether any or all of the expressions should match with the response content.
- Matches List<string>
- The list of regular expressions.
- Match
Quantifier RestMatch Quantifier - Indicates whether any or all of the expressions should match with the response content.
- Matches []string
- The list of regular expressions.
- match
Quantifier RestMatch Quantifier - Indicates whether any or all of the expressions should match with the response content.
- matches List<String>
- The list of regular expressions.
- match
Quantifier RestMatch Quantifier - Indicates whether any or all of the expressions should match with the response content.
- matches string[]
- The list of regular expressions.
- match_
quantifier RestMatch Quantifier - Indicates whether any or all of the expressions should match with the response content.
- matches Sequence[str]
- The list of regular expressions.
- match
Quantifier "All" | "Any" - Indicates whether any or all of the expressions should match with the response content.
- matches List<String>
- The list of regular expressions.
RestResponseResponse, RestResponseResponseArgs
- Regex
Pulumi.
Azure Native. Deployment Manager. Inputs. Rest Response Response Regex - The regular expressions to match the response content with.
- Success
Status List<string>Codes - The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.
- Regex
Rest
Response Response Regex - The regular expressions to match the response content with.
- Success
Status []stringCodes - The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.
- regex
Rest
Response Response Regex - The regular expressions to match the response content with.
- success
Status List<String>Codes - The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.
- regex
Rest
Response Response Regex - The regular expressions to match the response content with.
- success
Status string[]Codes - The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.
- regex
Rest
Response Response Regex - The regular expressions to match the response content with.
- success_
status_ Sequence[str]codes - The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.
- regex Property Map
- The regular expressions to match the response content with.
- success
Status List<String>Codes - The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.
RestResponseResponseRegex, RestResponseResponseRegexArgs
- Match
Quantifier string - Indicates whether any or all of the expressions should match with the response content.
- Matches List<string>
- The list of regular expressions.
- Match
Quantifier string - Indicates whether any or all of the expressions should match with the response content.
- Matches []string
- The list of regular expressions.
- match
Quantifier String - Indicates whether any or all of the expressions should match with the response content.
- matches List<String>
- The list of regular expressions.
- match
Quantifier string - Indicates whether any or all of the expressions should match with the response content.
- matches string[]
- The list of regular expressions.
- match_
quantifier str - Indicates whether any or all of the expressions should match with the response content.
- matches Sequence[str]
- The list of regular expressions.
- match
Quantifier String - Indicates whether any or all of the expressions should match with the response content.
- matches List<String>
- The list of regular expressions.
RolloutIdentityAuthentication, RolloutIdentityAuthenticationArgs
RolloutIdentityAuthenticationResponse, RolloutIdentityAuthenticationResponseArgs
WaitStepAttributes, WaitStepAttributesArgs
- Duration string
- The duration in ISO 8601 format of how long the wait should be.
- Duration string
- The duration in ISO 8601 format of how long the wait should be.
- duration String
- The duration in ISO 8601 format of how long the wait should be.
- duration string
- The duration in ISO 8601 format of how long the wait should be.
- duration str
- The duration in ISO 8601 format of how long the wait should be.
- duration String
- The duration in ISO 8601 format of how long the wait should be.
WaitStepAttributesResponse, WaitStepAttributesResponseArgs
- Duration string
- The duration in ISO 8601 format of how long the wait should be.
- Duration string
- The duration in ISO 8601 format of how long the wait should be.
- duration String
- The duration in ISO 8601 format of how long the wait should be.
- duration string
- The duration in ISO 8601 format of how long the wait should be.
- duration str
- The duration in ISO 8601 format of how long the wait should be.
- duration String
- The duration in ISO 8601 format of how long the wait should be.
WaitStepProperties, WaitStepPropertiesArgs
- Attributes
Pulumi.
Azure Native. Deployment Manager. Inputs. Wait Step Attributes - The Wait attributes
- Attributes
Wait
Step Attributes - The Wait attributes
- attributes
Wait
Step Attributes - The Wait attributes
- attributes
Wait
Step Attributes - The Wait attributes
- attributes
Wait
Step Attributes - The Wait attributes
- attributes Property Map
- The Wait attributes
WaitStepPropertiesResponse, WaitStepPropertiesResponseArgs
- Attributes
Pulumi.
Azure Native. Deployment Manager. Inputs. Wait Step Attributes Response - The Wait attributes
- Attributes
Wait
Step Attributes Response - The Wait attributes
- attributes
Wait
Step Attributes Response - The Wait attributes
- attributes
Wait
Step Attributes Response - The Wait attributes
- attributes
Wait
Step Attributes Response - The Wait attributes
- attributes Property Map
- The Wait attributes
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:deploymentmanager:Step waitStep /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeploymentManager/steps/{stepName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0