azure-native.network.Profile
Explore with Pulumi AI
Class representing a Traffic Manager profile. Azure REST API version: 2022-04-01. Prior API version in Azure Native 1.x: 2018-08-01.
Other available API versions: 2017-03-01, 2018-02-01, 2022-04-01-preview.
Example Usage
Profile-PUT-MultiValue
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var profile = new AzureNative.Network.Profile("profile", new()
{
DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
{
RelativeName = "azsmnet6386",
Ttl = 35,
},
Location = "global",
MaxReturn = 2,
MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
{
Path = "/testpath.aspx",
Port = 80,
Protocol = AzureNative.Network.MonitorProtocol.HTTP,
},
ProfileName = "azsmnet6386",
ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
ResourceGroupName = "azuresdkfornetautoresttrafficmanager1421",
TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.MultiValue,
TrafficViewEnrollmentStatus = AzureNative.Network.TrafficViewEnrollmentStatus.Disabled,
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
DnsConfig: &network.DnsConfigArgs{
RelativeName: pulumi.String("azsmnet6386"),
Ttl: pulumi.Float64(35),
},
Location: pulumi.String("global"),
MaxReturn: pulumi.Float64(2),
MonitorConfig: &network.MonitorConfigArgs{
Path: pulumi.String("/testpath.aspx"),
Port: pulumi.Float64(80),
Protocol: pulumi.String(network.MonitorProtocolHTTP),
},
ProfileName: pulumi.String("azsmnet6386"),
ProfileStatus: pulumi.String(network.ProfileStatusEnabled),
ResourceGroupName: pulumi.String("azuresdkfornetautoresttrafficmanager1421"),
TrafficRoutingMethod: pulumi.String(network.TrafficRoutingMethodMultiValue),
TrafficViewEnrollmentStatus: pulumi.String(network.TrafficViewEnrollmentStatusDisabled),
})
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.network.Profile;
import com.pulumi.azurenative.network.ProfileArgs;
import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
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 profile = new Profile("profile", ProfileArgs.builder()
.dnsConfig(DnsConfigArgs.builder()
.relativeName("azsmnet6386")
.ttl(35)
.build())
.location("global")
.maxReturn(2)
.monitorConfig(MonitorConfigArgs.builder()
.path("/testpath.aspx")
.port(80)
.protocol("HTTP")
.build())
.profileName("azsmnet6386")
.profileStatus("Enabled")
.resourceGroupName("azuresdkfornetautoresttrafficmanager1421")
.trafficRoutingMethod("MultiValue")
.trafficViewEnrollmentStatus("Disabled")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
profile = azure_native.network.Profile("profile",
dns_config={
"relative_name": "azsmnet6386",
"ttl": 35,
},
location="global",
max_return=2,
monitor_config={
"path": "/testpath.aspx",
"port": 80,
"protocol": azure_native.network.MonitorProtocol.HTTP,
},
profile_name="azsmnet6386",
profile_status=azure_native.network.ProfileStatus.ENABLED,
resource_group_name="azuresdkfornetautoresttrafficmanager1421",
traffic_routing_method=azure_native.network.TrafficRoutingMethod.MULTI_VALUE,
traffic_view_enrollment_status=azure_native.network.TrafficViewEnrollmentStatus.DISABLED)
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const profile = new azure_native.network.Profile("profile", {
dnsConfig: {
relativeName: "azsmnet6386",
ttl: 35,
},
location: "global",
maxReturn: 2,
monitorConfig: {
path: "/testpath.aspx",
port: 80,
protocol: azure_native.network.MonitorProtocol.HTTP,
},
profileName: "azsmnet6386",
profileStatus: azure_native.network.ProfileStatus.Enabled,
resourceGroupName: "azuresdkfornetautoresttrafficmanager1421",
trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.MultiValue,
trafficViewEnrollmentStatus: azure_native.network.TrafficViewEnrollmentStatus.Disabled,
});
resources:
profile:
type: azure-native:network:Profile
properties:
dnsConfig:
relativeName: azsmnet6386
ttl: 35
location: global
maxReturn: 2
monitorConfig:
path: /testpath.aspx
port: 80
protocol: HTTP
profileName: azsmnet6386
profileStatus: Enabled
resourceGroupName: azuresdkfornetautoresttrafficmanager1421
trafficRoutingMethod: MultiValue
trafficViewEnrollmentStatus: Disabled
Profile-PUT-NoEndpoints
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var profile = new AzureNative.Network.Profile("profile", new()
{
DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
{
RelativeName = "azsmnet6386",
Ttl = 35,
},
Location = "global",
MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
{
Path = "/testpath.aspx",
Port = 80,
Protocol = AzureNative.Network.MonitorProtocol.HTTP,
},
ProfileName = "azsmnet6386",
ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
ResourceGroupName = "azuresdkfornetautoresttrafficmanager1421",
TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.Performance,
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
DnsConfig: &network.DnsConfigArgs{
RelativeName: pulumi.String("azsmnet6386"),
Ttl: pulumi.Float64(35),
},
Location: pulumi.String("global"),
MonitorConfig: &network.MonitorConfigArgs{
Path: pulumi.String("/testpath.aspx"),
Port: pulumi.Float64(80),
Protocol: pulumi.String(network.MonitorProtocolHTTP),
},
ProfileName: pulumi.String("azsmnet6386"),
ProfileStatus: pulumi.String(network.ProfileStatusEnabled),
ResourceGroupName: pulumi.String("azuresdkfornetautoresttrafficmanager1421"),
TrafficRoutingMethod: pulumi.String(network.TrafficRoutingMethodPerformance),
})
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.network.Profile;
import com.pulumi.azurenative.network.ProfileArgs;
import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
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 profile = new Profile("profile", ProfileArgs.builder()
.dnsConfig(DnsConfigArgs.builder()
.relativeName("azsmnet6386")
.ttl(35)
.build())
.location("global")
.monitorConfig(MonitorConfigArgs.builder()
.path("/testpath.aspx")
.port(80)
.protocol("HTTP")
.build())
.profileName("azsmnet6386")
.profileStatus("Enabled")
.resourceGroupName("azuresdkfornetautoresttrafficmanager1421")
.trafficRoutingMethod("Performance")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
profile = azure_native.network.Profile("profile",
dns_config={
"relative_name": "azsmnet6386",
"ttl": 35,
},
location="global",
monitor_config={
"path": "/testpath.aspx",
"port": 80,
"protocol": azure_native.network.MonitorProtocol.HTTP,
},
profile_name="azsmnet6386",
profile_status=azure_native.network.ProfileStatus.ENABLED,
resource_group_name="azuresdkfornetautoresttrafficmanager1421",
traffic_routing_method=azure_native.network.TrafficRoutingMethod.PERFORMANCE)
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const profile = new azure_native.network.Profile("profile", {
dnsConfig: {
relativeName: "azsmnet6386",
ttl: 35,
},
location: "global",
monitorConfig: {
path: "/testpath.aspx",
port: 80,
protocol: azure_native.network.MonitorProtocol.HTTP,
},
profileName: "azsmnet6386",
profileStatus: azure_native.network.ProfileStatus.Enabled,
resourceGroupName: "azuresdkfornetautoresttrafficmanager1421",
trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.Performance,
});
resources:
profile:
type: azure-native:network:Profile
properties:
dnsConfig:
relativeName: azsmnet6386
ttl: 35
location: global
monitorConfig:
path: /testpath.aspx
port: 80
protocol: HTTP
profileName: azsmnet6386
profileStatus: Enabled
resourceGroupName: azuresdkfornetautoresttrafficmanager1421
trafficRoutingMethod: Performance
Profile-PUT-WithAliasing
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var profile = new AzureNative.Network.Profile("profile", new()
{
AllowedEndpointRecordTypes = new[]
{
AzureNative.Network.AllowedEndpointRecordType.DomainName,
},
DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
{
RelativeName = "azuresdkfornetautoresttrafficmanager6192",
Ttl = 35,
},
Endpoints = new[]
{
new AzureNative.Network.Inputs.EndpointArgs
{
EndpointLocation = "North Europe",
EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
Name = "My external endpoint",
Target = "foobar.contoso.com",
Type = "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
},
},
Location = "global",
MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
{
IntervalInSeconds = 10,
Path = "/testpath.aspx",
Port = 80,
Protocol = AzureNative.Network.MonitorProtocol.HTTP,
TimeoutInSeconds = 5,
ToleratedNumberOfFailures = 2,
},
ProfileName = "azuresdkfornetautoresttrafficmanager6192",
ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
ResourceGroupName = "azuresdkfornetautoresttrafficmanager2583",
TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.Performance,
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
AllowedEndpointRecordTypes: pulumi.StringArray{
pulumi.String(network.AllowedEndpointRecordTypeDomainName),
},
DnsConfig: &network.DnsConfigArgs{
RelativeName: pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
Ttl: pulumi.Float64(35),
},
Endpoints: network.EndpointTypeArray{
&network.EndpointTypeArgs{
EndpointLocation: pulumi.String("North Europe"),
EndpointStatus: pulumi.String(network.EndpointStatusEnabled),
Name: pulumi.String("My external endpoint"),
Target: pulumi.String("foobar.contoso.com"),
Type: pulumi.String("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints"),
},
},
Location: pulumi.String("global"),
MonitorConfig: &network.MonitorConfigArgs{
IntervalInSeconds: pulumi.Float64(10),
Path: pulumi.String("/testpath.aspx"),
Port: pulumi.Float64(80),
Protocol: pulumi.String(network.MonitorProtocolHTTP),
TimeoutInSeconds: pulumi.Float64(5),
ToleratedNumberOfFailures: pulumi.Float64(2),
},
ProfileName: pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
ProfileStatus: pulumi.String(network.ProfileStatusEnabled),
ResourceGroupName: pulumi.String("azuresdkfornetautoresttrafficmanager2583"),
TrafficRoutingMethod: pulumi.String(network.TrafficRoutingMethodPerformance),
})
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.network.Profile;
import com.pulumi.azurenative.network.ProfileArgs;
import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
import com.pulumi.azurenative.network.inputs.EndpointArgs;
import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
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 profile = new Profile("profile", ProfileArgs.builder()
.allowedEndpointRecordTypes("DomainName")
.dnsConfig(DnsConfigArgs.builder()
.relativeName("azuresdkfornetautoresttrafficmanager6192")
.ttl(35)
.build())
.endpoints(EndpointArgs.builder()
.endpointLocation("North Europe")
.endpointStatus("Enabled")
.name("My external endpoint")
.target("foobar.contoso.com")
.type("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
.build())
.location("global")
.monitorConfig(MonitorConfigArgs.builder()
.intervalInSeconds(10)
.path("/testpath.aspx")
.port(80)
.protocol("HTTP")
.timeoutInSeconds(5)
.toleratedNumberOfFailures(2)
.build())
.profileName("azuresdkfornetautoresttrafficmanager6192")
.profileStatus("Enabled")
.resourceGroupName("azuresdkfornetautoresttrafficmanager2583")
.trafficRoutingMethod("Performance")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
profile = azure_native.network.Profile("profile",
allowed_endpoint_record_types=[azure_native.network.AllowedEndpointRecordType.DOMAIN_NAME],
dns_config={
"relative_name": "azuresdkfornetautoresttrafficmanager6192",
"ttl": 35,
},
endpoints=[{
"endpoint_location": "North Europe",
"endpoint_status": azure_native.network.EndpointStatus.ENABLED,
"name": "My external endpoint",
"target": "foobar.contoso.com",
"type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
}],
location="global",
monitor_config={
"interval_in_seconds": 10,
"path": "/testpath.aspx",
"port": 80,
"protocol": azure_native.network.MonitorProtocol.HTTP,
"timeout_in_seconds": 5,
"tolerated_number_of_failures": 2,
},
profile_name="azuresdkfornetautoresttrafficmanager6192",
profile_status=azure_native.network.ProfileStatus.ENABLED,
resource_group_name="azuresdkfornetautoresttrafficmanager2583",
traffic_routing_method=azure_native.network.TrafficRoutingMethod.PERFORMANCE)
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const profile = new azure_native.network.Profile("profile", {
allowedEndpointRecordTypes: [azure_native.network.AllowedEndpointRecordType.DomainName],
dnsConfig: {
relativeName: "azuresdkfornetautoresttrafficmanager6192",
ttl: 35,
},
endpoints: [{
endpointLocation: "North Europe",
endpointStatus: azure_native.network.EndpointStatus.Enabled,
name: "My external endpoint",
target: "foobar.contoso.com",
type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
}],
location: "global",
monitorConfig: {
intervalInSeconds: 10,
path: "/testpath.aspx",
port: 80,
protocol: azure_native.network.MonitorProtocol.HTTP,
timeoutInSeconds: 5,
toleratedNumberOfFailures: 2,
},
profileName: "azuresdkfornetautoresttrafficmanager6192",
profileStatus: azure_native.network.ProfileStatus.Enabled,
resourceGroupName: "azuresdkfornetautoresttrafficmanager2583",
trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.Performance,
});
resources:
profile:
type: azure-native:network:Profile
properties:
allowedEndpointRecordTypes:
- DomainName
dnsConfig:
relativeName: azuresdkfornetautoresttrafficmanager6192
ttl: 35
endpoints:
- endpointLocation: North Europe
endpointStatus: Enabled
name: My external endpoint
target: foobar.contoso.com
type: Microsoft.network/TrafficManagerProfiles/ExternalEndpoints
location: global
monitorConfig:
intervalInSeconds: 10
path: /testpath.aspx
port: 80
protocol: HTTP
timeoutInSeconds: 5
toleratedNumberOfFailures: 2
profileName: azuresdkfornetautoresttrafficmanager6192
profileStatus: Enabled
resourceGroupName: azuresdkfornetautoresttrafficmanager2583
trafficRoutingMethod: Performance
Profile-PUT-WithCustomHeaders
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var profile = new AzureNative.Network.Profile("profile", new()
{
DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
{
RelativeName = "azuresdkfornetautoresttrafficmanager6192",
Ttl = 35,
},
Endpoints = new[]
{
new AzureNative.Network.Inputs.EndpointArgs
{
CustomHeaders = new[]
{
new AzureNative.Network.Inputs.EndpointPropertiesCustomHeadersArgs
{
Name = "header-2",
Value = "value-2-overridden",
},
},
EndpointLocation = "North Europe",
EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
Name = "My external endpoint",
Target = "foobar.contoso.com",
Type = "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
},
},
Location = "global",
MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
{
CustomHeaders = new[]
{
new AzureNative.Network.Inputs.MonitorConfigCustomHeadersArgs
{
Name = "header-1",
Value = "value-1",
},
new AzureNative.Network.Inputs.MonitorConfigCustomHeadersArgs
{
Name = "header-2",
Value = "value-2",
},
},
ExpectedStatusCodeRanges = new[]
{
new AzureNative.Network.Inputs.MonitorConfigExpectedStatusCodeRangesArgs
{
Max = 205,
Min = 200,
},
new AzureNative.Network.Inputs.MonitorConfigExpectedStatusCodeRangesArgs
{
Max = 410,
Min = 400,
},
},
IntervalInSeconds = 10,
Path = "/testpath.aspx",
Port = 80,
Protocol = AzureNative.Network.MonitorProtocol.HTTP,
TimeoutInSeconds = 5,
ToleratedNumberOfFailures = 2,
},
ProfileName = "azuresdkfornetautoresttrafficmanager6192",
ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
ResourceGroupName = "azuresdkfornetautoresttrafficmanager2583",
TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.Performance,
TrafficViewEnrollmentStatus = AzureNative.Network.TrafficViewEnrollmentStatus.Disabled,
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
DnsConfig: &network.DnsConfigArgs{
RelativeName: pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
Ttl: pulumi.Float64(35),
},
Endpoints: network.EndpointTypeArray{
&network.EndpointTypeArgs{
CustomHeaders: network.EndpointPropertiesCustomHeadersArray{
&network.EndpointPropertiesCustomHeadersArgs{
Name: pulumi.String("header-2"),
Value: pulumi.String("value-2-overridden"),
},
},
EndpointLocation: pulumi.String("North Europe"),
EndpointStatus: pulumi.String(network.EndpointStatusEnabled),
Name: pulumi.String("My external endpoint"),
Target: pulumi.String("foobar.contoso.com"),
Type: pulumi.String("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints"),
},
},
Location: pulumi.String("global"),
MonitorConfig: &network.MonitorConfigArgs{
CustomHeaders: network.MonitorConfigCustomHeadersArray{
&network.MonitorConfigCustomHeadersArgs{
Name: pulumi.String("header-1"),
Value: pulumi.String("value-1"),
},
&network.MonitorConfigCustomHeadersArgs{
Name: pulumi.String("header-2"),
Value: pulumi.String("value-2"),
},
},
ExpectedStatusCodeRanges: network.MonitorConfigExpectedStatusCodeRangesArray{
&network.MonitorConfigExpectedStatusCodeRangesArgs{
Max: pulumi.Int(205),
Min: pulumi.Int(200),
},
&network.MonitorConfigExpectedStatusCodeRangesArgs{
Max: pulumi.Int(410),
Min: pulumi.Int(400),
},
},
IntervalInSeconds: pulumi.Float64(10),
Path: pulumi.String("/testpath.aspx"),
Port: pulumi.Float64(80),
Protocol: pulumi.String(network.MonitorProtocolHTTP),
TimeoutInSeconds: pulumi.Float64(5),
ToleratedNumberOfFailures: pulumi.Float64(2),
},
ProfileName: pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
ProfileStatus: pulumi.String(network.ProfileStatusEnabled),
ResourceGroupName: pulumi.String("azuresdkfornetautoresttrafficmanager2583"),
TrafficRoutingMethod: pulumi.String(network.TrafficRoutingMethodPerformance),
TrafficViewEnrollmentStatus: pulumi.String(network.TrafficViewEnrollmentStatusDisabled),
})
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.network.Profile;
import com.pulumi.azurenative.network.ProfileArgs;
import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
import com.pulumi.azurenative.network.inputs.EndpointArgs;
import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
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 profile = new Profile("profile", ProfileArgs.builder()
.dnsConfig(DnsConfigArgs.builder()
.relativeName("azuresdkfornetautoresttrafficmanager6192")
.ttl(35)
.build())
.endpoints(EndpointArgs.builder()
.customHeaders(EndpointPropertiesCustomHeadersArgs.builder()
.name("header-2")
.value("value-2-overridden")
.build())
.endpointLocation("North Europe")
.endpointStatus("Enabled")
.name("My external endpoint")
.target("foobar.contoso.com")
.type("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
.build())
.location("global")
.monitorConfig(MonitorConfigArgs.builder()
.customHeaders(
MonitorConfigCustomHeadersArgs.builder()
.name("header-1")
.value("value-1")
.build(),
MonitorConfigCustomHeadersArgs.builder()
.name("header-2")
.value("value-2")
.build())
.expectedStatusCodeRanges(
MonitorConfigExpectedStatusCodeRangesArgs.builder()
.max(205)
.min(200)
.build(),
MonitorConfigExpectedStatusCodeRangesArgs.builder()
.max(410)
.min(400)
.build())
.intervalInSeconds(10)
.path("/testpath.aspx")
.port(80)
.protocol("HTTP")
.timeoutInSeconds(5)
.toleratedNumberOfFailures(2)
.build())
.profileName("azuresdkfornetautoresttrafficmanager6192")
.profileStatus("Enabled")
.resourceGroupName("azuresdkfornetautoresttrafficmanager2583")
.trafficRoutingMethod("Performance")
.trafficViewEnrollmentStatus("Disabled")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
profile = azure_native.network.Profile("profile",
dns_config={
"relative_name": "azuresdkfornetautoresttrafficmanager6192",
"ttl": 35,
},
endpoints=[{
"custom_headers": [{
"name": "header-2",
"value": "value-2-overridden",
}],
"endpoint_location": "North Europe",
"endpoint_status": azure_native.network.EndpointStatus.ENABLED,
"name": "My external endpoint",
"target": "foobar.contoso.com",
"type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
}],
location="global",
monitor_config={
"custom_headers": [
{
"name": "header-1",
"value": "value-1",
},
{
"name": "header-2",
"value": "value-2",
},
],
"expected_status_code_ranges": [
{
"max": 205,
"min": 200,
},
{
"max": 410,
"min": 400,
},
],
"interval_in_seconds": 10,
"path": "/testpath.aspx",
"port": 80,
"protocol": azure_native.network.MonitorProtocol.HTTP,
"timeout_in_seconds": 5,
"tolerated_number_of_failures": 2,
},
profile_name="azuresdkfornetautoresttrafficmanager6192",
profile_status=azure_native.network.ProfileStatus.ENABLED,
resource_group_name="azuresdkfornetautoresttrafficmanager2583",
traffic_routing_method=azure_native.network.TrafficRoutingMethod.PERFORMANCE,
traffic_view_enrollment_status=azure_native.network.TrafficViewEnrollmentStatus.DISABLED)
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const profile = new azure_native.network.Profile("profile", {
dnsConfig: {
relativeName: "azuresdkfornetautoresttrafficmanager6192",
ttl: 35,
},
endpoints: [{
customHeaders: [{
name: "header-2",
value: "value-2-overridden",
}],
endpointLocation: "North Europe",
endpointStatus: azure_native.network.EndpointStatus.Enabled,
name: "My external endpoint",
target: "foobar.contoso.com",
type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
}],
location: "global",
monitorConfig: {
customHeaders: [
{
name: "header-1",
value: "value-1",
},
{
name: "header-2",
value: "value-2",
},
],
expectedStatusCodeRanges: [
{
max: 205,
min: 200,
},
{
max: 410,
min: 400,
},
],
intervalInSeconds: 10,
path: "/testpath.aspx",
port: 80,
protocol: azure_native.network.MonitorProtocol.HTTP,
timeoutInSeconds: 5,
toleratedNumberOfFailures: 2,
},
profileName: "azuresdkfornetautoresttrafficmanager6192",
profileStatus: azure_native.network.ProfileStatus.Enabled,
resourceGroupName: "azuresdkfornetautoresttrafficmanager2583",
trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.Performance,
trafficViewEnrollmentStatus: azure_native.network.TrafficViewEnrollmentStatus.Disabled,
});
resources:
profile:
type: azure-native:network:Profile
properties:
dnsConfig:
relativeName: azuresdkfornetautoresttrafficmanager6192
ttl: 35
endpoints:
- customHeaders:
- name: header-2
value: value-2-overridden
endpointLocation: North Europe
endpointStatus: Enabled
name: My external endpoint
target: foobar.contoso.com
type: Microsoft.network/TrafficManagerProfiles/ExternalEndpoints
location: global
monitorConfig:
customHeaders:
- name: header-1
value: value-1
- name: header-2
value: value-2
expectedStatusCodeRanges:
- max: 205
min: 200
- max: 410
min: 400
intervalInSeconds: 10
path: /testpath.aspx
port: 80
protocol: HTTP
timeoutInSeconds: 5
toleratedNumberOfFailures: 2
profileName: azuresdkfornetautoresttrafficmanager6192
profileStatus: Enabled
resourceGroupName: azuresdkfornetautoresttrafficmanager2583
trafficRoutingMethod: Performance
trafficViewEnrollmentStatus: Disabled
Profile-PUT-WithEndpoints
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var profile = new AzureNative.Network.Profile("profile", new()
{
DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
{
RelativeName = "azuresdkfornetautoresttrafficmanager6192",
Ttl = 35,
},
Endpoints = new[]
{
new AzureNative.Network.Inputs.EndpointArgs
{
EndpointLocation = "North Europe",
EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
Name = "My external endpoint",
Target = "foobar.contoso.com",
Type = "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
},
},
Location = "global",
MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
{
IntervalInSeconds = 10,
Path = "/testpath.aspx",
Port = 80,
Protocol = AzureNative.Network.MonitorProtocol.HTTP,
TimeoutInSeconds = 5,
ToleratedNumberOfFailures = 2,
},
ProfileName = "azuresdkfornetautoresttrafficmanager6192",
ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
ResourceGroupName = "azuresdkfornetautoresttrafficmanager2583",
TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.Performance,
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
DnsConfig: &network.DnsConfigArgs{
RelativeName: pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
Ttl: pulumi.Float64(35),
},
Endpoints: network.EndpointTypeArray{
&network.EndpointTypeArgs{
EndpointLocation: pulumi.String("North Europe"),
EndpointStatus: pulumi.String(network.EndpointStatusEnabled),
Name: pulumi.String("My external endpoint"),
Target: pulumi.String("foobar.contoso.com"),
Type: pulumi.String("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints"),
},
},
Location: pulumi.String("global"),
MonitorConfig: &network.MonitorConfigArgs{
IntervalInSeconds: pulumi.Float64(10),
Path: pulumi.String("/testpath.aspx"),
Port: pulumi.Float64(80),
Protocol: pulumi.String(network.MonitorProtocolHTTP),
TimeoutInSeconds: pulumi.Float64(5),
ToleratedNumberOfFailures: pulumi.Float64(2),
},
ProfileName: pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
ProfileStatus: pulumi.String(network.ProfileStatusEnabled),
ResourceGroupName: pulumi.String("azuresdkfornetautoresttrafficmanager2583"),
TrafficRoutingMethod: pulumi.String(network.TrafficRoutingMethodPerformance),
})
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.network.Profile;
import com.pulumi.azurenative.network.ProfileArgs;
import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
import com.pulumi.azurenative.network.inputs.EndpointArgs;
import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
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 profile = new Profile("profile", ProfileArgs.builder()
.dnsConfig(DnsConfigArgs.builder()
.relativeName("azuresdkfornetautoresttrafficmanager6192")
.ttl(35)
.build())
.endpoints(EndpointArgs.builder()
.endpointLocation("North Europe")
.endpointStatus("Enabled")
.name("My external endpoint")
.target("foobar.contoso.com")
.type("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
.build())
.location("global")
.monitorConfig(MonitorConfigArgs.builder()
.intervalInSeconds(10)
.path("/testpath.aspx")
.port(80)
.protocol("HTTP")
.timeoutInSeconds(5)
.toleratedNumberOfFailures(2)
.build())
.profileName("azuresdkfornetautoresttrafficmanager6192")
.profileStatus("Enabled")
.resourceGroupName("azuresdkfornetautoresttrafficmanager2583")
.trafficRoutingMethod("Performance")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
profile = azure_native.network.Profile("profile",
dns_config={
"relative_name": "azuresdkfornetautoresttrafficmanager6192",
"ttl": 35,
},
endpoints=[{
"endpoint_location": "North Europe",
"endpoint_status": azure_native.network.EndpointStatus.ENABLED,
"name": "My external endpoint",
"target": "foobar.contoso.com",
"type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
}],
location="global",
monitor_config={
"interval_in_seconds": 10,
"path": "/testpath.aspx",
"port": 80,
"protocol": azure_native.network.MonitorProtocol.HTTP,
"timeout_in_seconds": 5,
"tolerated_number_of_failures": 2,
},
profile_name="azuresdkfornetautoresttrafficmanager6192",
profile_status=azure_native.network.ProfileStatus.ENABLED,
resource_group_name="azuresdkfornetautoresttrafficmanager2583",
traffic_routing_method=azure_native.network.TrafficRoutingMethod.PERFORMANCE)
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const profile = new azure_native.network.Profile("profile", {
dnsConfig: {
relativeName: "azuresdkfornetautoresttrafficmanager6192",
ttl: 35,
},
endpoints: [{
endpointLocation: "North Europe",
endpointStatus: azure_native.network.EndpointStatus.Enabled,
name: "My external endpoint",
target: "foobar.contoso.com",
type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
}],
location: "global",
monitorConfig: {
intervalInSeconds: 10,
path: "/testpath.aspx",
port: 80,
protocol: azure_native.network.MonitorProtocol.HTTP,
timeoutInSeconds: 5,
toleratedNumberOfFailures: 2,
},
profileName: "azuresdkfornetautoresttrafficmanager6192",
profileStatus: azure_native.network.ProfileStatus.Enabled,
resourceGroupName: "azuresdkfornetautoresttrafficmanager2583",
trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.Performance,
});
resources:
profile:
type: azure-native:network:Profile
properties:
dnsConfig:
relativeName: azuresdkfornetautoresttrafficmanager6192
ttl: 35
endpoints:
- endpointLocation: North Europe
endpointStatus: Enabled
name: My external endpoint
target: foobar.contoso.com
type: Microsoft.network/TrafficManagerProfiles/ExternalEndpoints
location: global
monitorConfig:
intervalInSeconds: 10
path: /testpath.aspx
port: 80
protocol: HTTP
timeoutInSeconds: 5
toleratedNumberOfFailures: 2
profileName: azuresdkfornetautoresttrafficmanager6192
profileStatus: Enabled
resourceGroupName: azuresdkfornetautoresttrafficmanager2583
trafficRoutingMethod: Performance
Profile-PUT-WithNestedEndpoints
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var profile = new AzureNative.Network.Profile("profile", new()
{
DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
{
RelativeName = "parentprofile",
Ttl = 35,
},
Endpoints = new[]
{
new AzureNative.Network.Inputs.EndpointArgs
{
EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
MinChildEndpoints = 2,
MinChildEndpointsIPv4 = 1,
MinChildEndpointsIPv6 = 2,
Name = "MyFirstNestedEndpoint",
Priority = 1,
Target = "firstnestedprofile.tmpreview.watmtest.azure-test.net",
Type = "Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
Weight = 1,
},
new AzureNative.Network.Inputs.EndpointArgs
{
EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
MinChildEndpoints = 2,
MinChildEndpointsIPv4 = 2,
MinChildEndpointsIPv6 = 1,
Name = "MySecondNestedEndpoint",
Priority = 2,
Target = "secondnestedprofile.tmpreview.watmtest.azure-test.net",
Type = "Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
Weight = 1,
},
},
Location = "global",
MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
{
IntervalInSeconds = 10,
Path = "/testpath.aspx",
Port = 80,
Protocol = AzureNative.Network.MonitorProtocol.HTTP,
TimeoutInSeconds = 5,
ToleratedNumberOfFailures = 2,
},
ProfileName = "parentprofile",
ProfileStatus = AzureNative.Network.ProfileStatus.Enabled,
ResourceGroupName = "myresourcegroup",
TrafficRoutingMethod = AzureNative.Network.TrafficRoutingMethod.Priority,
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewProfile(ctx, "profile", &network.ProfileArgs{
DnsConfig: &network.DnsConfigArgs{
RelativeName: pulumi.String("parentprofile"),
Ttl: pulumi.Float64(35),
},
Endpoints: network.EndpointTypeArray{
&network.EndpointTypeArgs{
EndpointStatus: pulumi.String(network.EndpointStatusEnabled),
MinChildEndpoints: pulumi.Float64(2),
MinChildEndpointsIPv4: pulumi.Float64(1),
MinChildEndpointsIPv6: pulumi.Float64(2),
Name: pulumi.String("MyFirstNestedEndpoint"),
Priority: pulumi.Float64(1),
Target: pulumi.String("firstnestedprofile.tmpreview.watmtest.azure-test.net"),
Type: pulumi.String("Microsoft.Network/trafficManagerProfiles/nestedEndpoints"),
Weight: pulumi.Float64(1),
},
&network.EndpointTypeArgs{
EndpointStatus: pulumi.String(network.EndpointStatusEnabled),
MinChildEndpoints: pulumi.Float64(2),
MinChildEndpointsIPv4: pulumi.Float64(2),
MinChildEndpointsIPv6: pulumi.Float64(1),
Name: pulumi.String("MySecondNestedEndpoint"),
Priority: pulumi.Float64(2),
Target: pulumi.String("secondnestedprofile.tmpreview.watmtest.azure-test.net"),
Type: pulumi.String("Microsoft.Network/trafficManagerProfiles/nestedEndpoints"),
Weight: pulumi.Float64(1),
},
},
Location: pulumi.String("global"),
MonitorConfig: &network.MonitorConfigArgs{
IntervalInSeconds: pulumi.Float64(10),
Path: pulumi.String("/testpath.aspx"),
Port: pulumi.Float64(80),
Protocol: pulumi.String(network.MonitorProtocolHTTP),
TimeoutInSeconds: pulumi.Float64(5),
ToleratedNumberOfFailures: pulumi.Float64(2),
},
ProfileName: pulumi.String("parentprofile"),
ProfileStatus: pulumi.String(network.ProfileStatusEnabled),
ResourceGroupName: pulumi.String("myresourcegroup"),
TrafficRoutingMethod: pulumi.String(network.TrafficRoutingMethodPriority),
})
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.network.Profile;
import com.pulumi.azurenative.network.ProfileArgs;
import com.pulumi.azurenative.network.inputs.DnsConfigArgs;
import com.pulumi.azurenative.network.inputs.EndpointArgs;
import com.pulumi.azurenative.network.inputs.MonitorConfigArgs;
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 profile = new Profile("profile", ProfileArgs.builder()
.dnsConfig(DnsConfigArgs.builder()
.relativeName("parentprofile")
.ttl(35)
.build())
.endpoints(
EndpointArgs.builder()
.endpointStatus("Enabled")
.minChildEndpoints(2)
.minChildEndpointsIPv4(1)
.minChildEndpointsIPv6(2)
.name("MyFirstNestedEndpoint")
.priority(1)
.target("firstnestedprofile.tmpreview.watmtest.azure-test.net")
.type("Microsoft.Network/trafficManagerProfiles/nestedEndpoints")
.weight(1)
.build(),
EndpointArgs.builder()
.endpointStatus("Enabled")
.minChildEndpoints(2)
.minChildEndpointsIPv4(2)
.minChildEndpointsIPv6(1)
.name("MySecondNestedEndpoint")
.priority(2)
.target("secondnestedprofile.tmpreview.watmtest.azure-test.net")
.type("Microsoft.Network/trafficManagerProfiles/nestedEndpoints")
.weight(1)
.build())
.location("global")
.monitorConfig(MonitorConfigArgs.builder()
.intervalInSeconds(10)
.path("/testpath.aspx")
.port(80)
.protocol("HTTP")
.timeoutInSeconds(5)
.toleratedNumberOfFailures(2)
.build())
.profileName("parentprofile")
.profileStatus("Enabled")
.resourceGroupName("myresourcegroup")
.trafficRoutingMethod("Priority")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
profile = azure_native.network.Profile("profile",
dns_config={
"relative_name": "parentprofile",
"ttl": 35,
},
endpoints=[
{
"endpoint_status": azure_native.network.EndpointStatus.ENABLED,
"min_child_endpoints": 2,
"min_child_endpoints_i_pv4": 1,
"min_child_endpoints_i_pv6": 2,
"name": "MyFirstNestedEndpoint",
"priority": 1,
"target": "firstnestedprofile.tmpreview.watmtest.azure-test.net",
"type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
"weight": 1,
},
{
"endpoint_status": azure_native.network.EndpointStatus.ENABLED,
"min_child_endpoints": 2,
"min_child_endpoints_i_pv4": 2,
"min_child_endpoints_i_pv6": 1,
"name": "MySecondNestedEndpoint",
"priority": 2,
"target": "secondnestedprofile.tmpreview.watmtest.azure-test.net",
"type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
"weight": 1,
},
],
location="global",
monitor_config={
"interval_in_seconds": 10,
"path": "/testpath.aspx",
"port": 80,
"protocol": azure_native.network.MonitorProtocol.HTTP,
"timeout_in_seconds": 5,
"tolerated_number_of_failures": 2,
},
profile_name="parentprofile",
profile_status=azure_native.network.ProfileStatus.ENABLED,
resource_group_name="myresourcegroup",
traffic_routing_method=azure_native.network.TrafficRoutingMethod.PRIORITY)
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const profile = new azure_native.network.Profile("profile", {
dnsConfig: {
relativeName: "parentprofile",
ttl: 35,
},
endpoints: [
{
endpointStatus: azure_native.network.EndpointStatus.Enabled,
minChildEndpoints: 2,
minChildEndpointsIPv4: 1,
minChildEndpointsIPv6: 2,
name: "MyFirstNestedEndpoint",
priority: 1,
target: "firstnestedprofile.tmpreview.watmtest.azure-test.net",
type: "Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
weight: 1,
},
{
endpointStatus: azure_native.network.EndpointStatus.Enabled,
minChildEndpoints: 2,
minChildEndpointsIPv4: 2,
minChildEndpointsIPv6: 1,
name: "MySecondNestedEndpoint",
priority: 2,
target: "secondnestedprofile.tmpreview.watmtest.azure-test.net",
type: "Microsoft.Network/trafficManagerProfiles/nestedEndpoints",
weight: 1,
},
],
location: "global",
monitorConfig: {
intervalInSeconds: 10,
path: "/testpath.aspx",
port: 80,
protocol: azure_native.network.MonitorProtocol.HTTP,
timeoutInSeconds: 5,
toleratedNumberOfFailures: 2,
},
profileName: "parentprofile",
profileStatus: azure_native.network.ProfileStatus.Enabled,
resourceGroupName: "myresourcegroup",
trafficRoutingMethod: azure_native.network.TrafficRoutingMethod.Priority,
});
resources:
profile:
type: azure-native:network:Profile
properties:
dnsConfig:
relativeName: parentprofile
ttl: 35
endpoints:
- endpointStatus: Enabled
minChildEndpoints: 2
minChildEndpointsIPv4: 1
minChildEndpointsIPv6: 2
name: MyFirstNestedEndpoint
priority: 1
target: firstnestedprofile.tmpreview.watmtest.azure-test.net
type: Microsoft.Network/trafficManagerProfiles/nestedEndpoints
weight: 1
- endpointStatus: Enabled
minChildEndpoints: 2
minChildEndpointsIPv4: 2
minChildEndpointsIPv6: 1
name: MySecondNestedEndpoint
priority: 2
target: secondnestedprofile.tmpreview.watmtest.azure-test.net
type: Microsoft.Network/trafficManagerProfiles/nestedEndpoints
weight: 1
location: global
monitorConfig:
intervalInSeconds: 10
path: /testpath.aspx
port: 80
protocol: HTTP
timeoutInSeconds: 5
toleratedNumberOfFailures: 2
profileName: parentprofile
profileStatus: Enabled
resourceGroupName: myresourcegroup
trafficRoutingMethod: Priority
Create Profile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Profile(name: string, args: ProfileArgs, opts?: CustomResourceOptions);
@overload
def Profile(resource_name: str,
args: ProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Profile(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
monitor_config: Optional[MonitorConfigArgs] = None,
profile_name: Optional[str] = None,
id: Optional[str] = None,
location: Optional[str] = None,
max_return: Optional[float] = None,
allowed_endpoint_record_types: Optional[Sequence[Union[str, AllowedEndpointRecordType]]] = None,
name: Optional[str] = None,
endpoints: Optional[Sequence[EndpointArgs]] = None,
profile_status: Optional[Union[str, ProfileStatus]] = None,
dns_config: Optional[DnsConfigArgs] = None,
tags: Optional[Mapping[str, str]] = None,
traffic_routing_method: Optional[Union[str, TrafficRoutingMethod]] = None,
traffic_view_enrollment_status: Optional[Union[str, TrafficViewEnrollmentStatus]] = None,
type: Optional[str] = None)
func NewProfile(ctx *Context, name string, args ProfileArgs, opts ...ResourceOption) (*Profile, error)
public Profile(string name, ProfileArgs args, CustomResourceOptions? opts = null)
public Profile(String name, ProfileArgs args)
public Profile(String name, ProfileArgs args, CustomResourceOptions options)
type: azure-native:network:Profile
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 ProfileArgs
- 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 ProfileArgs
- 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 ProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProfileArgs
- 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 exampleprofileResourceResourceFromNetwork = new AzureNative.Network.Profile("exampleprofileResourceResourceFromNetwork", new()
{
ResourceGroupName = "string",
MonitorConfig = new AzureNative.Network.Inputs.MonitorConfigArgs
{
CustomHeaders = new[]
{
new AzureNative.Network.Inputs.MonitorConfigCustomHeadersArgs
{
Name = "string",
Value = "string",
},
},
ExpectedStatusCodeRanges = new[]
{
new AzureNative.Network.Inputs.MonitorConfigExpectedStatusCodeRangesArgs
{
Max = 0,
Min = 0,
},
},
IntervalInSeconds = 0,
Path = "string",
Port = 0,
ProfileMonitorStatus = "string",
Protocol = "string",
TimeoutInSeconds = 0,
ToleratedNumberOfFailures = 0,
},
ProfileName = "string",
Id = "string",
Location = "string",
MaxReturn = 0,
AllowedEndpointRecordTypes = new[]
{
"string",
},
Name = "string",
Endpoints = new[]
{
new AzureNative.Network.Inputs.EndpointArgs
{
AlwaysServe = "string",
CustomHeaders = new[]
{
new AzureNative.Network.Inputs.EndpointPropertiesCustomHeadersArgs
{
Name = "string",
Value = "string",
},
},
EndpointLocation = "string",
EndpointMonitorStatus = "string",
EndpointStatus = "string",
GeoMapping = new[]
{
"string",
},
Id = "string",
MinChildEndpoints = 0,
MinChildEndpointsIPv4 = 0,
MinChildEndpointsIPv6 = 0,
Name = "string",
Priority = 0,
Subnets = new[]
{
new AzureNative.Network.Inputs.EndpointPropertiesSubnetsArgs
{
First = "string",
Last = "string",
Scope = 0,
},
},
Target = "string",
TargetResourceId = "string",
Type = "string",
Weight = 0,
},
},
ProfileStatus = "string",
DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
{
RelativeName = "string",
Ttl = 0,
},
Tags =
{
{ "string", "string" },
},
TrafficRoutingMethod = "string",
TrafficViewEnrollmentStatus = "string",
Type = "string",
});
example, err := network.NewProfile(ctx, "exampleprofileResourceResourceFromNetwork", &network.ProfileArgs{
ResourceGroupName: pulumi.String("string"),
MonitorConfig: &network.MonitorConfigArgs{
CustomHeaders: network.MonitorConfigCustomHeadersArray{
&network.MonitorConfigCustomHeadersArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
ExpectedStatusCodeRanges: network.MonitorConfigExpectedStatusCodeRangesArray{
&network.MonitorConfigExpectedStatusCodeRangesArgs{
Max: pulumi.Int(0),
Min: pulumi.Int(0),
},
},
IntervalInSeconds: pulumi.Float64(0),
Path: pulumi.String("string"),
Port: pulumi.Float64(0),
ProfileMonitorStatus: pulumi.String("string"),
Protocol: pulumi.String("string"),
TimeoutInSeconds: pulumi.Float64(0),
ToleratedNumberOfFailures: pulumi.Float64(0),
},
ProfileName: pulumi.String("string"),
Id: pulumi.String("string"),
Location: pulumi.String("string"),
MaxReturn: pulumi.Float64(0),
AllowedEndpointRecordTypes: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
Endpoints: network.EndpointTypeArray{
&network.EndpointTypeArgs{
AlwaysServe: pulumi.String("string"),
CustomHeaders: network.EndpointPropertiesCustomHeadersArray{
&network.EndpointPropertiesCustomHeadersArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
EndpointLocation: pulumi.String("string"),
EndpointMonitorStatus: pulumi.String("string"),
EndpointStatus: pulumi.String("string"),
GeoMapping: pulumi.StringArray{
pulumi.String("string"),
},
Id: pulumi.String("string"),
MinChildEndpoints: pulumi.Float64(0),
MinChildEndpointsIPv4: pulumi.Float64(0),
MinChildEndpointsIPv6: pulumi.Float64(0),
Name: pulumi.String("string"),
Priority: pulumi.Float64(0),
Subnets: network.EndpointPropertiesSubnetsArray{
&network.EndpointPropertiesSubnetsArgs{
First: pulumi.String("string"),
Last: pulumi.String("string"),
Scope: pulumi.Int(0),
},
},
Target: pulumi.String("string"),
TargetResourceId: pulumi.String("string"),
Type: pulumi.String("string"),
Weight: pulumi.Float64(0),
},
},
ProfileStatus: pulumi.String("string"),
DnsConfig: &network.DnsConfigArgs{
RelativeName: pulumi.String("string"),
Ttl: pulumi.Float64(0),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TrafficRoutingMethod: pulumi.String("string"),
TrafficViewEnrollmentStatus: pulumi.String("string"),
Type: pulumi.String("string"),
})
var exampleprofileResourceResourceFromNetwork = new Profile("exampleprofileResourceResourceFromNetwork", ProfileArgs.builder()
.resourceGroupName("string")
.monitorConfig(MonitorConfigArgs.builder()
.customHeaders(MonitorConfigCustomHeadersArgs.builder()
.name("string")
.value("string")
.build())
.expectedStatusCodeRanges(MonitorConfigExpectedStatusCodeRangesArgs.builder()
.max(0)
.min(0)
.build())
.intervalInSeconds(0)
.path("string")
.port(0)
.profileMonitorStatus("string")
.protocol("string")
.timeoutInSeconds(0)
.toleratedNumberOfFailures(0)
.build())
.profileName("string")
.id("string")
.location("string")
.maxReturn(0)
.allowedEndpointRecordTypes("string")
.name("string")
.endpoints(EndpointArgs.builder()
.alwaysServe("string")
.customHeaders(EndpointPropertiesCustomHeadersArgs.builder()
.name("string")
.value("string")
.build())
.endpointLocation("string")
.endpointMonitorStatus("string")
.endpointStatus("string")
.geoMapping("string")
.id("string")
.minChildEndpoints(0)
.minChildEndpointsIPv4(0)
.minChildEndpointsIPv6(0)
.name("string")
.priority(0)
.subnets(EndpointPropertiesSubnetsArgs.builder()
.first("string")
.last("string")
.scope(0)
.build())
.target("string")
.targetResourceId("string")
.type("string")
.weight(0)
.build())
.profileStatus("string")
.dnsConfig(DnsConfigArgs.builder()
.relativeName("string")
.ttl(0)
.build())
.tags(Map.of("string", "string"))
.trafficRoutingMethod("string")
.trafficViewEnrollmentStatus("string")
.type("string")
.build());
exampleprofile_resource_resource_from_network = azure_native.network.Profile("exampleprofileResourceResourceFromNetwork",
resource_group_name="string",
monitor_config={
"customHeaders": [{
"name": "string",
"value": "string",
}],
"expectedStatusCodeRanges": [{
"max": 0,
"min": 0,
}],
"intervalInSeconds": 0,
"path": "string",
"port": 0,
"profileMonitorStatus": "string",
"protocol": "string",
"timeoutInSeconds": 0,
"toleratedNumberOfFailures": 0,
},
profile_name="string",
id="string",
location="string",
max_return=0,
allowed_endpoint_record_types=["string"],
name="string",
endpoints=[{
"alwaysServe": "string",
"customHeaders": [{
"name": "string",
"value": "string",
}],
"endpointLocation": "string",
"endpointMonitorStatus": "string",
"endpointStatus": "string",
"geoMapping": ["string"],
"id": "string",
"minChildEndpoints": 0,
"minChildEndpointsIPv4": 0,
"minChildEndpointsIPv6": 0,
"name": "string",
"priority": 0,
"subnets": [{
"first": "string",
"last": "string",
"scope": 0,
}],
"target": "string",
"targetResourceId": "string",
"type": "string",
"weight": 0,
}],
profile_status="string",
dns_config={
"relativeName": "string",
"ttl": 0,
},
tags={
"string": "string",
},
traffic_routing_method="string",
traffic_view_enrollment_status="string",
type="string")
const exampleprofileResourceResourceFromNetwork = new azure_native.network.Profile("exampleprofileResourceResourceFromNetwork", {
resourceGroupName: "string",
monitorConfig: {
customHeaders: [{
name: "string",
value: "string",
}],
expectedStatusCodeRanges: [{
max: 0,
min: 0,
}],
intervalInSeconds: 0,
path: "string",
port: 0,
profileMonitorStatus: "string",
protocol: "string",
timeoutInSeconds: 0,
toleratedNumberOfFailures: 0,
},
profileName: "string",
id: "string",
location: "string",
maxReturn: 0,
allowedEndpointRecordTypes: ["string"],
name: "string",
endpoints: [{
alwaysServe: "string",
customHeaders: [{
name: "string",
value: "string",
}],
endpointLocation: "string",
endpointMonitorStatus: "string",
endpointStatus: "string",
geoMapping: ["string"],
id: "string",
minChildEndpoints: 0,
minChildEndpointsIPv4: 0,
minChildEndpointsIPv6: 0,
name: "string",
priority: 0,
subnets: [{
first: "string",
last: "string",
scope: 0,
}],
target: "string",
targetResourceId: "string",
type: "string",
weight: 0,
}],
profileStatus: "string",
dnsConfig: {
relativeName: "string",
ttl: 0,
},
tags: {
string: "string",
},
trafficRoutingMethod: "string",
trafficViewEnrollmentStatus: "string",
type: "string",
});
type: azure-native:network:Profile
properties:
allowedEndpointRecordTypes:
- string
dnsConfig:
relativeName: string
ttl: 0
endpoints:
- alwaysServe: string
customHeaders:
- name: string
value: string
endpointLocation: string
endpointMonitorStatus: string
endpointStatus: string
geoMapping:
- string
id: string
minChildEndpoints: 0
minChildEndpointsIPv4: 0
minChildEndpointsIPv6: 0
name: string
priority: 0
subnets:
- first: string
last: string
scope: 0
target: string
targetResourceId: string
type: string
weight: 0
id: string
location: string
maxReturn: 0
monitorConfig:
customHeaders:
- name: string
value: string
expectedStatusCodeRanges:
- max: 0
min: 0
intervalInSeconds: 0
path: string
port: 0
profileMonitorStatus: string
protocol: string
timeoutInSeconds: 0
toleratedNumberOfFailures: 0
name: string
profileName: string
profileStatus: string
resourceGroupName: string
tags:
string: string
trafficRoutingMethod: string
trafficViewEnrollmentStatus: string
type: string
Profile 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 Profile resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Allowed
Endpoint List<Union<string, Pulumi.Record Types Azure Native. Network. Allowed Endpoint Record Type>> - The list of allowed endpoint record types.
- Dns
Config Pulumi.Azure Native. Network. Inputs. Dns Config - The DNS settings of the Traffic Manager profile.
- Endpoints
List<Pulumi.
Azure Native. Network. Inputs. Endpoint> - The list of endpoints in the Traffic Manager profile. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- Location string
- The Azure Region where the resource lives
- Max
Return double - Maximum number of endpoints to be returned for MultiValue routing type.
- Monitor
Config Pulumi.Azure Native. Network. Inputs. Monitor Config - The endpoint monitoring settings of the Traffic Manager profile.
- Name string
- The name of the resource
- Profile
Name string - The name of the Traffic Manager profile.
- Profile
Status string | Pulumi.Azure Native. Network. Profile Status - The status of the Traffic Manager profile.
- Dictionary<string, string>
- Resource tags.
- Traffic
Routing string | Pulumi.Method Azure Native. Network. Traffic Routing Method - The traffic routing method of the Traffic Manager profile.
- Traffic
View string | Pulumi.Enrollment Status Azure Native. Network. Traffic View Enrollment Status - Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.
- Type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Allowed
Endpoint []stringRecord Types - The list of allowed endpoint record types.
- Dns
Config DnsConfig Args - The DNS settings of the Traffic Manager profile.
- Endpoints
[]Endpoint
Type Args - The list of endpoints in the Traffic Manager profile. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- Location string
- The Azure Region where the resource lives
- Max
Return float64 - Maximum number of endpoints to be returned for MultiValue routing type.
- Monitor
Config MonitorConfig Args - The endpoint monitoring settings of the Traffic Manager profile.
- Name string
- The name of the resource
- Profile
Name string - The name of the Traffic Manager profile.
- Profile
Status string | ProfileStatus - The status of the Traffic Manager profile.
- map[string]string
- Resource tags.
- Traffic
Routing string | TrafficMethod Routing Method - The traffic routing method of the Traffic Manager profile.
- Traffic
View string | TrafficEnrollment Status View Enrollment Status - Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.
- Type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- allowed
Endpoint List<Either<String,AllowedRecord Types Endpoint Record Type>> - The list of allowed endpoint record types.
- dns
Config DnsConfig - The DNS settings of the Traffic Manager profile.
- endpoints List<Endpoint>
- The list of endpoints in the Traffic Manager profile. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- location String
- The Azure Region where the resource lives
- max
Return Double - Maximum number of endpoints to be returned for MultiValue routing type.
- monitor
Config MonitorConfig - The endpoint monitoring settings of the Traffic Manager profile.
- name String
- The name of the resource
- profile
Name String - The name of the Traffic Manager profile.
- profile
Status String | ProfileStatus - The status of the Traffic Manager profile.
- Map<String,String>
- Resource tags.
- traffic
Routing String | TrafficMethod Routing Method - The traffic routing method of the Traffic Manager profile.
- traffic
View String | TrafficEnrollment Status View Enrollment Status - Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.
- type String
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- allowed
Endpoint (string | AllowedRecord Types Endpoint Record Type)[] - The list of allowed endpoint record types.
- dns
Config DnsConfig - The DNS settings of the Traffic Manager profile.
- endpoints Endpoint[]
- The list of endpoints in the Traffic Manager profile. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
- id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- location string
- The Azure Region where the resource lives
- max
Return number - Maximum number of endpoints to be returned for MultiValue routing type.
- monitor
Config MonitorConfig - The endpoint monitoring settings of the Traffic Manager profile.
- name string
- The name of the resource
- profile
Name string - The name of the Traffic Manager profile.
- profile
Status string | ProfileStatus - The status of the Traffic Manager profile.
- {[key: string]: string}
- Resource tags.
- traffic
Routing string | TrafficMethod Routing Method - The traffic routing method of the Traffic Manager profile.
- traffic
View string | TrafficEnrollment Status View Enrollment Status - Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.
- type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- allowed_
endpoint_ Sequence[Union[str, Allowedrecord_ types Endpoint Record Type]] - The list of allowed endpoint record types.
- dns_
config DnsConfig Args - The DNS settings of the Traffic Manager profile.
- endpoints
Sequence[Endpoint
Args] - The list of endpoints in the Traffic Manager profile. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
- id str
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- location str
- The Azure Region where the resource lives
- max_
return float - Maximum number of endpoints to be returned for MultiValue routing type.
- monitor_
config MonitorConfig Args - The endpoint monitoring settings of the Traffic Manager profile.
- name str
- The name of the resource
- profile_
name str - The name of the Traffic Manager profile.
- profile_
status str | ProfileStatus - The status of the Traffic Manager profile.
- Mapping[str, str]
- Resource tags.
- traffic_
routing_ str | Trafficmethod Routing Method - The traffic routing method of the Traffic Manager profile.
- traffic_
view_ str | Trafficenrollment_ status View Enrollment Status - Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.
- type str
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- allowed
Endpoint List<String | "DomainRecord Types Name" | "IPv4Address" | "IPv6Address" | "Any"> - The list of allowed endpoint record types.
- dns
Config Property Map - The DNS settings of the Traffic Manager profile.
- endpoints List<Property Map>
- The list of endpoints in the Traffic Manager profile. These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- location String
- The Azure Region where the resource lives
- max
Return Number - Maximum number of endpoints to be returned for MultiValue routing type.
- monitor
Config Property Map - The endpoint monitoring settings of the Traffic Manager profile.
- name String
- The name of the resource
- profile
Name String - The name of the Traffic Manager profile.
- profile
Status String | "Enabled" | "Disabled" - The status of the Traffic Manager profile.
- Map<String>
- Resource tags.
- traffic
Routing String | "Performance" | "Priority" | "Weighted" | "Geographic" | "MultiMethod Value" | "Subnet" - The traffic routing method of the Traffic Manager profile.
- traffic
View String | "Enabled" | "Disabled"Enrollment Status - Indicates whether Traffic View is 'Enabled' or 'Disabled' for the Traffic Manager profile. Null, indicates 'Disabled'. Enabling this feature will increase the cost of the Traffic Manage profile.
- type String
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
Outputs
All input properties are implicitly available as output properties. Additionally, the Profile 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.
Supporting Types
AllowedEndpointRecordType, AllowedEndpointRecordTypeArgs
- Domain
Name - DomainName
- IPv4Address
- IPv4Address
- IPv6Address
- IPv6Address
- Any
- Any
- Allowed
Endpoint Record Type Domain Name - DomainName
- Allowed
Endpoint Record Type IPv4Address - IPv4Address
- Allowed
Endpoint Record Type IPv6Address - IPv6Address
- Allowed
Endpoint Record Type Any - Any
- Domain
Name - DomainName
- IPv4Address
- IPv4Address
- IPv6Address
- IPv6Address
- Any
- Any
- Domain
Name - DomainName
- IPv4Address
- IPv4Address
- IPv6Address
- IPv6Address
- Any
- Any
- DOMAIN_NAME
- DomainName
- I_PV4_ADDRESS
- IPv4Address
- I_PV6_ADDRESS
- IPv6Address
- ANY
- Any
- "Domain
Name" - DomainName
- "IPv4Address"
- IPv4Address
- "IPv6Address"
- IPv6Address
- "Any"
- Any
AlwaysServe, AlwaysServeArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Always
Serve Enabled - Enabled
- Always
Serve Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
DnsConfig, DnsConfigArgs
- Relative
Name string - The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- Ttl double
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- Relative
Name string - The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- Ttl float64
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- relative
Name String - The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- ttl Double
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- relative
Name string - The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- ttl number
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- relative_
name str - The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- ttl float
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- relative
Name String - The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- ttl Number
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
DnsConfigResponse, DnsConfigResponseArgs
- Fqdn string
- The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
- Relative
Name string - The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- Ttl double
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- Fqdn string
- The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
- Relative
Name string - The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- Ttl float64
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- fqdn String
- The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
- relative
Name String - The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- ttl Double
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- fqdn string
- The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
- relative
Name string - The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- ttl number
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- fqdn str
- The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
- relative_
name str - The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- ttl float
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
- fqdn String
- The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.
- relative
Name String - The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.
- ttl Number
- The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.
Endpoint, EndpointArgs
- Always
Serve string | Pulumi.Azure Native. Network. Always Serve - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- Custom
Headers List<Pulumi.Azure Native. Network. Inputs. Endpoint Properties Custom Headers> - List of custom headers.
- Endpoint
Location string - Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- Endpoint
Monitor string | Pulumi.Status Azure Native. Network. Endpoint Monitor Status - The monitoring status of the endpoint.
- Endpoint
Status string | Pulumi.Azure Native. Network. Endpoint Status - The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- Geo
Mapping List<string> - The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- Min
Child doubleEndpoints - The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- Min
Child doubleEndpoints IPv4 - The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- Min
Child doubleEndpoints IPv6 - The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- Name string
- The name of the resource
- Priority double
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- Subnets
List<Pulumi.
Azure Native. Network. Inputs. Endpoint Properties Subnets> - The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- Target string
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- Target
Resource stringId - The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- Type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- Weight double
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- Always
Serve string | AlwaysServe - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- Custom
Headers []EndpointProperties Custom Headers - List of custom headers.
- Endpoint
Location string - Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- Endpoint
Monitor string | EndpointStatus Monitor Status - The monitoring status of the endpoint.
- Endpoint
Status string | EndpointStatus - The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- Geo
Mapping []string - The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- Min
Child float64Endpoints - The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- Min
Child float64Endpoints IPv4 - The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- Min
Child float64Endpoints IPv6 - The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- Name string
- The name of the resource
- Priority float64
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- Subnets
[]Endpoint
Properties Subnets - The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- Target string
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- Target
Resource stringId - The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- Type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- Weight float64
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- always
Serve String | AlwaysServe - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- custom
Headers List<EndpointProperties Custom Headers> - List of custom headers.
- endpoint
Location String - Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpoint
Monitor String | EndpointStatus Monitor Status - The monitoring status of the endpoint.
- endpoint
Status String | EndpointStatus - The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- geo
Mapping List<String> - The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- min
Child DoubleEndpoints - The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min
Child DoubleEndpoints IPv4 - The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min
Child DoubleEndpoints IPv6 - The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- name String
- The name of the resource
- priority Double
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- subnets
List<Endpoint
Properties Subnets> - The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- target String
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- target
Resource StringId - The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- type String
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- weight Double
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- always
Serve string | AlwaysServe - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- custom
Headers EndpointProperties Custom Headers[] - List of custom headers.
- endpoint
Location string - Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpoint
Monitor string | EndpointStatus Monitor Status - The monitoring status of the endpoint.
- endpoint
Status string | EndpointStatus - The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- geo
Mapping string[] - The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- min
Child numberEndpoints - The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min
Child numberEndpoints IPv4 - The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min
Child numberEndpoints IPv6 - The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- name string
- The name of the resource
- priority number
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- subnets
Endpoint
Properties Subnets[] - The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- target string
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- target
Resource stringId - The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- weight number
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- always_
serve str | AlwaysServe - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- custom_
headers Sequence[EndpointProperties Custom Headers] - List of custom headers.
- endpoint_
location str - Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpoint_
monitor_ str | Endpointstatus Monitor Status - The monitoring status of the endpoint.
- endpoint_
status str | EndpointStatus - The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- geo_
mapping Sequence[str] - The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- id str
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- min_
child_ floatendpoints - The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min_
child_ floatendpoints_ i_ pv4 - The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min_
child_ floatendpoints_ i_ pv6 - The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- name str
- The name of the resource
- priority float
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- subnets
Sequence[Endpoint
Properties Subnets] - The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- target str
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- target_
resource_ strid - The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- type str
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- weight float
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- always
Serve String | "Enabled" | "Disabled" - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- custom
Headers List<Property Map> - List of custom headers.
- endpoint
Location String - Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpoint
Monitor String | "CheckingStatus Endpoint" | "Online" | "Degraded" | "Disabled" | "Inactive" | "Stopped" | "Unmonitored" - The monitoring status of the endpoint.
- endpoint
Status String | "Enabled" | "Disabled" - The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- geo
Mapping List<String> - The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- min
Child NumberEndpoints - The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min
Child NumberEndpoints IPv4 - The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min
Child NumberEndpoints IPv6 - The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- name String
- The name of the resource
- priority Number
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- subnets List<Property Map>
- The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- target String
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- target
Resource StringId - The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- type String
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- weight Number
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
EndpointMonitorStatus, EndpointMonitorStatusArgs
- Checking
Endpoint - CheckingEndpoint
- Online
- Online
- Degraded
- Degraded
- Disabled
- Disabled
- Inactive
- Inactive
- Stopped
- Stopped
- Unmonitored
- Unmonitored
- Endpoint
Monitor Status Checking Endpoint - CheckingEndpoint
- Endpoint
Monitor Status Online - Online
- Endpoint
Monitor Status Degraded - Degraded
- Endpoint
Monitor Status Disabled - Disabled
- Endpoint
Monitor Status Inactive - Inactive
- Endpoint
Monitor Status Stopped - Stopped
- Endpoint
Monitor Status Unmonitored - Unmonitored
- Checking
Endpoint - CheckingEndpoint
- Online
- Online
- Degraded
- Degraded
- Disabled
- Disabled
- Inactive
- Inactive
- Stopped
- Stopped
- Unmonitored
- Unmonitored
- Checking
Endpoint - CheckingEndpoint
- Online
- Online
- Degraded
- Degraded
- Disabled
- Disabled
- Inactive
- Inactive
- Stopped
- Stopped
- Unmonitored
- Unmonitored
- CHECKING_ENDPOINT
- CheckingEndpoint
- ONLINE
- Online
- DEGRADED
- Degraded
- DISABLED
- Disabled
- INACTIVE
- Inactive
- STOPPED
- Stopped
- UNMONITORED
- Unmonitored
- "Checking
Endpoint" - CheckingEndpoint
- "Online"
- Online
- "Degraded"
- Degraded
- "Disabled"
- Disabled
- "Inactive"
- Inactive
- "Stopped"
- Stopped
- "Unmonitored"
- Unmonitored
EndpointPropertiesCustomHeaders, EndpointPropertiesCustomHeadersArgs
EndpointPropertiesResponseCustomHeaders, EndpointPropertiesResponseCustomHeadersArgs
EndpointPropertiesResponseSubnets, EndpointPropertiesResponseSubnetsArgs
EndpointPropertiesSubnets, EndpointPropertiesSubnetsArgs
EndpointResponse, EndpointResponseArgs
- Always
Serve string - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- Custom
Headers List<Pulumi.Azure Native. Network. Inputs. Endpoint Properties Response Custom Headers> - List of custom headers.
- Endpoint
Location string - Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- Endpoint
Monitor stringStatus - The monitoring status of the endpoint.
- Endpoint
Status string - The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- Geo
Mapping List<string> - The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- Min
Child doubleEndpoints - The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- Min
Child doubleEndpoints IPv4 - The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- Min
Child doubleEndpoints IPv6 - The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- Name string
- The name of the resource
- Priority double
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- Subnets
List<Pulumi.
Azure Native. Network. Inputs. Endpoint Properties Response Subnets> - The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- Target string
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- Target
Resource stringId - The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- Type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- Weight double
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- Always
Serve string - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- Custom
Headers []EndpointProperties Response Custom Headers - List of custom headers.
- Endpoint
Location string - Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- Endpoint
Monitor stringStatus - The monitoring status of the endpoint.
- Endpoint
Status string - The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- Geo
Mapping []string - The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- Id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- Min
Child float64Endpoints - The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- Min
Child float64Endpoints IPv4 - The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- Min
Child float64Endpoints IPv6 - The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- Name string
- The name of the resource
- Priority float64
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- Subnets
[]Endpoint
Properties Response Subnets - The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- Target string
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- Target
Resource stringId - The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- Type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- Weight float64
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- always
Serve String - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- custom
Headers List<EndpointProperties Response Custom Headers> - List of custom headers.
- endpoint
Location String - Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpoint
Monitor StringStatus - The monitoring status of the endpoint.
- endpoint
Status String - The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- geo
Mapping List<String> - The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- min
Child DoubleEndpoints - The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min
Child DoubleEndpoints IPv4 - The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min
Child DoubleEndpoints IPv6 - The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- name String
- The name of the resource
- priority Double
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- subnets
List<Endpoint
Properties Response Subnets> - The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- target String
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- target
Resource StringId - The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- type String
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- weight Double
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- always
Serve string - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- custom
Headers EndpointProperties Response Custom Headers[] - List of custom headers.
- endpoint
Location string - Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpoint
Monitor stringStatus - The monitoring status of the endpoint.
- endpoint
Status string - The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- geo
Mapping string[] - The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- id string
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- min
Child numberEndpoints - The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min
Child numberEndpoints IPv4 - The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min
Child numberEndpoints IPv6 - The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- name string
- The name of the resource
- priority number
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- subnets
Endpoint
Properties Response Subnets[] - The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- target string
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- target
Resource stringId - The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- type string
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- weight number
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- always_
serve str - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- custom_
headers Sequence[EndpointProperties Response Custom Headers] - List of custom headers.
- endpoint_
location str - Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpoint_
monitor_ strstatus - The monitoring status of the endpoint.
- endpoint_
status str - The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- geo_
mapping Sequence[str] - The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- id str
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- min_
child_ floatendpoints - The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min_
child_ floatendpoints_ i_ pv4 - The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min_
child_ floatendpoints_ i_ pv6 - The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- name str
- The name of the resource
- priority float
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- subnets
Sequence[Endpoint
Properties Response Subnets] - The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- target str
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- target_
resource_ strid - The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- type str
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- weight float
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
- always
Serve String - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- custom
Headers List<Property Map> - List of custom headers.
- endpoint
Location String - Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpoint
Monitor StringStatus - The monitoring status of the endpoint.
- endpoint
Status String - The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.
- geo
Mapping List<String> - The list of countries/regions mapped to this endpoint when using the 'Geographic' traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values.
- id String
- Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
- min
Child NumberEndpoints - The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min
Child NumberEndpoints IPv4 - The minimum number of IPv4 (DNS record type A) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- min
Child NumberEndpoints IPv6 - The minimum number of IPv6 (DNS record type AAAA) endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.
- name String
- The name of the resource
- priority Number
- The priority of this endpoint when using the 'Priority' traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.
- subnets List<Property Map>
- The list of subnets, IP addresses, and/or address ranges mapped to this endpoint when using the 'Subnet' traffic routing method. An empty list will match all ranges not covered by other endpoints.
- target String
- The fully-qualified DNS name or IP address of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.
- target
Resource StringId - The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.
- type String
- The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
- weight Number
- The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.
EndpointStatus, EndpointStatusArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Endpoint
Status Enabled - Enabled
- Endpoint
Status Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
MonitorConfig, MonitorConfigArgs
- Custom
Headers List<Pulumi.Azure Native. Network. Inputs. Monitor Config Custom Headers> - List of custom headers.
- Expected
Status List<Pulumi.Code Ranges Azure Native. Network. Inputs. Monitor Config Expected Status Code Ranges> - List of expected status code ranges.
- Interval
In doubleSeconds - The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- Path string
- The path relative to the endpoint domain name used to probe for endpoint health.
- Port double
- The TCP port used to probe for endpoint health.
- Profile
Monitor string | Pulumi.Status Azure Native. Network. Profile Monitor Status - The profile-level monitoring status of the Traffic Manager profile.
- Protocol
string | Pulumi.
Azure Native. Network. Monitor Protocol - The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- Timeout
In doubleSeconds - The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- Tolerated
Number doubleOf Failures - The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- Custom
Headers []MonitorConfig Custom Headers - List of custom headers.
- Expected
Status []MonitorCode Ranges Config Expected Status Code Ranges - List of expected status code ranges.
- Interval
In float64Seconds - The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- Path string
- The path relative to the endpoint domain name used to probe for endpoint health.
- Port float64
- The TCP port used to probe for endpoint health.
- Profile
Monitor string | ProfileStatus Monitor Status - The profile-level monitoring status of the Traffic Manager profile.
- Protocol
string | Monitor
Protocol - The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- Timeout
In float64Seconds - The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- Tolerated
Number float64Of Failures - The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- custom
Headers List<MonitorConfig Custom Headers> - List of custom headers.
- expected
Status List<MonitorCode Ranges Config Expected Status Code Ranges> - List of expected status code ranges.
- interval
In DoubleSeconds - The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- path String
- The path relative to the endpoint domain name used to probe for endpoint health.
- port Double
- The TCP port used to probe for endpoint health.
- profile
Monitor String | ProfileStatus Monitor Status - The profile-level monitoring status of the Traffic Manager profile.
- protocol
String | Monitor
Protocol - The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- timeout
In DoubleSeconds - The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- tolerated
Number DoubleOf Failures - The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- custom
Headers MonitorConfig Custom Headers[] - List of custom headers.
- expected
Status MonitorCode Ranges Config Expected Status Code Ranges[] - List of expected status code ranges.
- interval
In numberSeconds - The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- path string
- The path relative to the endpoint domain name used to probe for endpoint health.
- port number
- The TCP port used to probe for endpoint health.
- profile
Monitor string | ProfileStatus Monitor Status - The profile-level monitoring status of the Traffic Manager profile.
- protocol
string | Monitor
Protocol - The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- timeout
In numberSeconds - The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- tolerated
Number numberOf Failures - The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- custom_
headers Sequence[MonitorConfig Custom Headers] - List of custom headers.
- expected_
status_ Sequence[Monitorcode_ ranges Config Expected Status Code Ranges] - List of expected status code ranges.
- interval_
in_ floatseconds - The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- path str
- The path relative to the endpoint domain name used to probe for endpoint health.
- port float
- The TCP port used to probe for endpoint health.
- profile_
monitor_ str | Profilestatus Monitor Status - The profile-level monitoring status of the Traffic Manager profile.
- protocol
str | Monitor
Protocol - The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- timeout_
in_ floatseconds - The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- tolerated_
number_ floatof_ failures - The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- custom
Headers List<Property Map> - List of custom headers.
- expected
Status List<Property Map>Code Ranges - List of expected status code ranges.
- interval
In NumberSeconds - The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- path String
- The path relative to the endpoint domain name used to probe for endpoint health.
- port Number
- The TCP port used to probe for endpoint health.
- profile
Monitor String | "CheckingStatus Endpoints" | "Online" | "Degraded" | "Disabled" | "Inactive" - The profile-level monitoring status of the Traffic Manager profile.
- protocol String | "HTTP" | "HTTPS" | "TCP"
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- timeout
In NumberSeconds - The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- tolerated
Number NumberOf Failures - The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
MonitorConfigCustomHeaders, MonitorConfigCustomHeadersArgs
MonitorConfigExpectedStatusCodeRanges, MonitorConfigExpectedStatusCodeRangesArgs
MonitorConfigResponse, MonitorConfigResponseArgs
- Custom
Headers List<Pulumi.Azure Native. Network. Inputs. Monitor Config Response Custom Headers> - List of custom headers.
- Expected
Status List<Pulumi.Code Ranges Azure Native. Network. Inputs. Monitor Config Response Expected Status Code Ranges> - List of expected status code ranges.
- Interval
In doubleSeconds - The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- Path string
- The path relative to the endpoint domain name used to probe for endpoint health.
- Port double
- The TCP port used to probe for endpoint health.
- Profile
Monitor stringStatus - The profile-level monitoring status of the Traffic Manager profile.
- Protocol string
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- Timeout
In doubleSeconds - The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- Tolerated
Number doubleOf Failures - The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- Custom
Headers []MonitorConfig Response Custom Headers - List of custom headers.
- Expected
Status []MonitorCode Ranges Config Response Expected Status Code Ranges - List of expected status code ranges.
- Interval
In float64Seconds - The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- Path string
- The path relative to the endpoint domain name used to probe for endpoint health.
- Port float64
- The TCP port used to probe for endpoint health.
- Profile
Monitor stringStatus - The profile-level monitoring status of the Traffic Manager profile.
- Protocol string
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- Timeout
In float64Seconds - The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- Tolerated
Number float64Of Failures - The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- custom
Headers List<MonitorConfig Response Custom Headers> - List of custom headers.
- expected
Status List<MonitorCode Ranges Config Response Expected Status Code Ranges> - List of expected status code ranges.
- interval
In DoubleSeconds - The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- path String
- The path relative to the endpoint domain name used to probe for endpoint health.
- port Double
- The TCP port used to probe for endpoint health.
- profile
Monitor StringStatus - The profile-level monitoring status of the Traffic Manager profile.
- protocol String
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- timeout
In DoubleSeconds - The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- tolerated
Number DoubleOf Failures - The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- custom
Headers MonitorConfig Response Custom Headers[] - List of custom headers.
- expected
Status MonitorCode Ranges Config Response Expected Status Code Ranges[] - List of expected status code ranges.
- interval
In numberSeconds - The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- path string
- The path relative to the endpoint domain name used to probe for endpoint health.
- port number
- The TCP port used to probe for endpoint health.
- profile
Monitor stringStatus - The profile-level monitoring status of the Traffic Manager profile.
- protocol string
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- timeout
In numberSeconds - The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- tolerated
Number numberOf Failures - The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- custom_
headers Sequence[MonitorConfig Response Custom Headers] - List of custom headers.
- expected_
status_ Sequence[Monitorcode_ ranges Config Response Expected Status Code Ranges] - List of expected status code ranges.
- interval_
in_ floatseconds - The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- path str
- The path relative to the endpoint domain name used to probe for endpoint health.
- port float
- The TCP port used to probe for endpoint health.
- profile_
monitor_ strstatus - The profile-level monitoring status of the Traffic Manager profile.
- protocol str
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- timeout_
in_ floatseconds - The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- tolerated_
number_ floatof_ failures - The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
- custom
Headers List<Property Map> - List of custom headers.
- expected
Status List<Property Map>Code Ranges - List of expected status code ranges.
- interval
In NumberSeconds - The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile.
- path String
- The path relative to the endpoint domain name used to probe for endpoint health.
- port Number
- The TCP port used to probe for endpoint health.
- profile
Monitor StringStatus - The profile-level monitoring status of the Traffic Manager profile.
- protocol String
- The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.
- timeout
In NumberSeconds - The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check.
- tolerated
Number NumberOf Failures - The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check.
MonitorConfigResponseCustomHeaders, MonitorConfigResponseCustomHeadersArgs
MonitorConfigResponseExpectedStatusCodeRanges, MonitorConfigResponseExpectedStatusCodeRangesArgs
MonitorProtocol, MonitorProtocolArgs
- HTTP
- HTTP
- HTTPS
- HTTPS
- TCP
- TCP
- Monitor
Protocol HTTP - HTTP
- Monitor
Protocol HTTPS - HTTPS
- Monitor
Protocol TCP - TCP
- HTTP
- HTTP
- HTTPS
- HTTPS
- TCP
- TCP
- HTTP
- HTTP
- HTTPS
- HTTPS
- TCP
- TCP
- HTTP
- HTTP
- HTTPS
- HTTPS
- TCP
- TCP
- "HTTP"
- HTTP
- "HTTPS"
- HTTPS
- "TCP"
- TCP
ProfileMonitorStatus, ProfileMonitorStatusArgs
- Checking
Endpoints - CheckingEndpoints
- Online
- Online
- Degraded
- Degraded
- Disabled
- Disabled
- Inactive
- Inactive
- Profile
Monitor Status Checking Endpoints - CheckingEndpoints
- Profile
Monitor Status Online - Online
- Profile
Monitor Status Degraded - Degraded
- Profile
Monitor Status Disabled - Disabled
- Profile
Monitor Status Inactive - Inactive
- Checking
Endpoints - CheckingEndpoints
- Online
- Online
- Degraded
- Degraded
- Disabled
- Disabled
- Inactive
- Inactive
- Checking
Endpoints - CheckingEndpoints
- Online
- Online
- Degraded
- Degraded
- Disabled
- Disabled
- Inactive
- Inactive
- CHECKING_ENDPOINTS
- CheckingEndpoints
- ONLINE
- Online
- DEGRADED
- Degraded
- DISABLED
- Disabled
- INACTIVE
- Inactive
- "Checking
Endpoints" - CheckingEndpoints
- "Online"
- Online
- "Degraded"
- Degraded
- "Disabled"
- Disabled
- "Inactive"
- Inactive
ProfileStatus, ProfileStatusArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Profile
Status Enabled - Enabled
- Profile
Status Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
TrafficRoutingMethod, TrafficRoutingMethodArgs
- Performance
- Performance
- Priority
- Priority
- Weighted
- Weighted
- Geographic
- Geographic
- Multi
Value - MultiValue
- Subnet
- Subnet
- Traffic
Routing Method Performance - Performance
- Traffic
Routing Method Priority - Priority
- Traffic
Routing Method Weighted - Weighted
- Traffic
Routing Method Geographic - Geographic
- Traffic
Routing Method Multi Value - MultiValue
- Traffic
Routing Method Subnet - Subnet
- Performance
- Performance
- Priority
- Priority
- Weighted
- Weighted
- Geographic
- Geographic
- Multi
Value - MultiValue
- Subnet
- Subnet
- Performance
- Performance
- Priority
- Priority
- Weighted
- Weighted
- Geographic
- Geographic
- Multi
Value - MultiValue
- Subnet
- Subnet
- PERFORMANCE
- Performance
- PRIORITY
- Priority
- WEIGHTED
- Weighted
- GEOGRAPHIC
- Geographic
- MULTI_VALUE
- MultiValue
- SUBNET
- Subnet
- "Performance"
- Performance
- "Priority"
- Priority
- "Weighted"
- Weighted
- "Geographic"
- Geographic
- "Multi
Value" - MultiValue
- "Subnet"
- Subnet
TrafficViewEnrollmentStatus, TrafficViewEnrollmentStatusArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Traffic
View Enrollment Status Enabled - Enabled
- Traffic
View Enrollment Status Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:Profile parentprofile /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0