azure-native.network.Profile
Explore with Pulumi AI
Class representing a Traffic Manager profile. API Version: 2018-08-01.
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 = "HTTP",
},
ProfileName = "azsmnet6386",
ProfileStatus = "Enabled",
ResourceGroupName = "azuresdkfornetautoresttrafficmanager1421",
TrafficRoutingMethod = "MultiValue",
TrafficViewEnrollmentStatus = "Disabled",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"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("HTTP"),
},
ProfileName: pulumi.String("azsmnet6386"),
ProfileStatus: pulumi.String("Enabled"),
ResourceGroupName: pulumi.String("azuresdkfornetautoresttrafficmanager1421"),
TrafficRoutingMethod: pulumi.String("MultiValue"),
TrafficViewEnrollmentStatus: pulumi.String("Disabled"),
})
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 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(Map.ofEntries(
Map.entry("relativeName", "azsmnet6386"),
Map.entry("ttl", 35)
))
.location("global")
.maxReturn(2)
.monitorConfig(Map.ofEntries(
Map.entry("path", "/testpath.aspx"),
Map.entry("port", 80),
Map.entry("protocol", "HTTP")
))
.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=azure_native.network.DnsConfigArgs(
relative_name="azsmnet6386",
ttl=35,
),
location="global",
max_return=2,
monitor_config=azure_native.network.MonitorConfigArgs(
path="/testpath.aspx",
port=80,
protocol="HTTP",
),
profile_name="azsmnet6386",
profile_status="Enabled",
resource_group_name="azuresdkfornetautoresttrafficmanager1421",
traffic_routing_method="MultiValue",
traffic_view_enrollment_status="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: "HTTP",
},
profileName: "azsmnet6386",
profileStatus: "Enabled",
resourceGroupName: "azuresdkfornetautoresttrafficmanager1421",
trafficRoutingMethod: "MultiValue",
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 = "HTTP",
},
ProfileName = "azsmnet6386",
ProfileStatus = "Enabled",
ResourceGroupName = "azuresdkfornetautoresttrafficmanager1421",
TrafficRoutingMethod = "Performance",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"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("HTTP"),
},
ProfileName: pulumi.String("azsmnet6386"),
ProfileStatus: pulumi.String("Enabled"),
ResourceGroupName: pulumi.String("azuresdkfornetautoresttrafficmanager1421"),
TrafficRoutingMethod: pulumi.String("Performance"),
})
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 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(Map.ofEntries(
Map.entry("relativeName", "azsmnet6386"),
Map.entry("ttl", 35)
))
.location("global")
.monitorConfig(Map.ofEntries(
Map.entry("path", "/testpath.aspx"),
Map.entry("port", 80),
Map.entry("protocol", "HTTP")
))
.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=azure_native.network.DnsConfigArgs(
relative_name="azsmnet6386",
ttl=35,
),
location="global",
monitor_config=azure_native.network.MonitorConfigArgs(
path="/testpath.aspx",
port=80,
protocol="HTTP",
),
profile_name="azsmnet6386",
profile_status="Enabled",
resource_group_name="azuresdkfornetautoresttrafficmanager1421",
traffic_routing_method="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: "HTTP",
},
profileName: "azsmnet6386",
profileStatus: "Enabled",
resourceGroupName: "azuresdkfornetautoresttrafficmanager1421",
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[]
{
"DomainName",
},
DnsConfig = new AzureNative.Network.Inputs.DnsConfigArgs
{
RelativeName = "azuresdkfornetautoresttrafficmanager6192",
Ttl = 35,
},
Endpoints = new[]
{
new AzureNative.Network.Inputs.EndpointArgs
{
EndpointLocation = "North Europe",
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 = "HTTP",
TimeoutInSeconds = 5,
ToleratedNumberOfFailures = 2,
},
ProfileName = "azuresdkfornetautoresttrafficmanager6192",
ProfileStatus = "Enabled",
ResourceGroupName = "azuresdkfornetautoresttrafficmanager2583",
TrafficRoutingMethod = "Performance",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"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("DomainName"),
},
DnsConfig: &network.DnsConfigArgs{
RelativeName: pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
Ttl: pulumi.Float64(35),
},
Endpoints: []network.EndpointTypeArgs{
{
EndpointLocation: pulumi.String("North Europe"),
EndpointStatus: pulumi.String("Enabled"),
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("HTTP"),
TimeoutInSeconds: pulumi.Float64(5),
ToleratedNumberOfFailures: pulumi.Float64(2),
},
ProfileName: pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
ProfileStatus: pulumi.String("Enabled"),
ResourceGroupName: pulumi.String("azuresdkfornetautoresttrafficmanager2583"),
TrafficRoutingMethod: pulumi.String("Performance"),
})
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 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(Map.ofEntries(
Map.entry("relativeName", "azuresdkfornetautoresttrafficmanager6192"),
Map.entry("ttl", 35)
))
.endpoints(Map.ofEntries(
Map.entry("endpointLocation", "North Europe"),
Map.entry("endpointStatus", "Enabled"),
Map.entry("name", "My external endpoint"),
Map.entry("target", "foobar.contoso.com"),
Map.entry("type", "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
))
.location("global")
.monitorConfig(Map.ofEntries(
Map.entry("intervalInSeconds", 10),
Map.entry("path", "/testpath.aspx"),
Map.entry("port", 80),
Map.entry("protocol", "HTTP"),
Map.entry("timeoutInSeconds", 5),
Map.entry("toleratedNumberOfFailures", 2)
))
.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=["DomainName"],
dns_config=azure_native.network.DnsConfigArgs(
relative_name="azuresdkfornetautoresttrafficmanager6192",
ttl=35,
),
endpoints=[azure_native.network.EndpointArgs(
endpoint_location="North Europe",
endpoint_status="Enabled",
name="My external endpoint",
target="foobar.contoso.com",
type="Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
)],
location="global",
monitor_config=azure_native.network.MonitorConfigArgs(
interval_in_seconds=10,
path="/testpath.aspx",
port=80,
protocol="HTTP",
timeout_in_seconds=5,
tolerated_number_of_failures=2,
),
profile_name="azuresdkfornetautoresttrafficmanager6192",
profile_status="Enabled",
resource_group_name="azuresdkfornetautoresttrafficmanager2583",
traffic_routing_method="Performance")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const profile = new azure_native.network.Profile("profile", {
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",
});
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 = "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 = "HTTP",
TimeoutInSeconds = 5,
ToleratedNumberOfFailures = 2,
},
ProfileName = "azuresdkfornetautoresttrafficmanager6192",
ProfileStatus = "Enabled",
ResourceGroupName = "azuresdkfornetautoresttrafficmanager2583",
TrafficRoutingMethod = "Performance",
TrafficViewEnrollmentStatus = "Disabled",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"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.EndpointTypeArgs{
{
CustomHeaders: network.EndpointPropertiesCustomHeadersArray{
{
Name: pulumi.String("header-2"),
Value: pulumi.String("value-2-overridden"),
},
},
EndpointLocation: pulumi.String("North Europe"),
EndpointStatus: pulumi.String("Enabled"),
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.MonitorConfigResponse{
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("HTTP"),
TimeoutInSeconds: pulumi.Float64(5),
ToleratedNumberOfFailures: pulumi.Float64(2),
},
ProfileName: pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
ProfileStatus: pulumi.String("Enabled"),
ResourceGroupName: pulumi.String("azuresdkfornetautoresttrafficmanager2583"),
TrafficRoutingMethod: pulumi.String("Performance"),
TrafficViewEnrollmentStatus: pulumi.String("Disabled"),
})
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 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(Map.ofEntries(
Map.entry("relativeName", "azuresdkfornetautoresttrafficmanager6192"),
Map.entry("ttl", 35)
))
.endpoints(Map.ofEntries(
Map.entry("customHeaders", Map.ofEntries(
Map.entry("name", "header-2"),
Map.entry("value", "value-2-overridden")
)),
Map.entry("endpointLocation", "North Europe"),
Map.entry("endpointStatus", "Enabled"),
Map.entry("name", "My external endpoint"),
Map.entry("target", "foobar.contoso.com"),
Map.entry("type", "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
))
.location("global")
.monitorConfig(Map.ofEntries(
Map.entry("customHeaders",
Map.ofEntries(
Map.entry("name", "header-1"),
Map.entry("value", "value-1")
),
Map.ofEntries(
Map.entry("name", "header-2"),
Map.entry("value", "value-2")
)),
Map.entry("expectedStatusCodeRanges",
Map.ofEntries(
Map.entry("max", 205),
Map.entry("min", 200)
),
Map.ofEntries(
Map.entry("max", 410),
Map.entry("min", 400)
)),
Map.entry("intervalInSeconds", 10),
Map.entry("path", "/testpath.aspx"),
Map.entry("port", 80),
Map.entry("protocol", "HTTP"),
Map.entry("timeoutInSeconds", 5),
Map.entry("toleratedNumberOfFailures", 2)
))
.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=azure_native.network.DnsConfigArgs(
relative_name="azuresdkfornetautoresttrafficmanager6192",
ttl=35,
),
endpoints=[{
"customHeaders": [azure_native.network.EndpointPropertiesCustomHeadersArgs(
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",
monitor_config=azure_native.network.MonitorConfigResponseArgs(
custom_headers=[
azure_native.network.MonitorConfigCustomHeadersArgs(
name="header-1",
value="value-1",
),
azure_native.network.MonitorConfigCustomHeadersArgs(
name="header-2",
value="value-2",
),
],
expected_status_code_ranges=[
azure_native.network.MonitorConfigExpectedStatusCodeRangesArgs(
max=205,
min=200,
),
azure_native.network.MonitorConfigExpectedStatusCodeRangesArgs(
max=410,
min=400,
),
],
interval_in_seconds=10,
path="/testpath.aspx",
port=80,
protocol="HTTP",
timeout_in_seconds=5,
tolerated_number_of_failures=2,
),
profile_name="azuresdkfornetautoresttrafficmanager6192",
profile_status="Enabled",
resource_group_name="azuresdkfornetautoresttrafficmanager2583",
traffic_routing_method="Performance",
traffic_view_enrollment_status="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: "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",
});
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 = "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 = "HTTP",
TimeoutInSeconds = 5,
ToleratedNumberOfFailures = 2,
},
ProfileName = "azuresdkfornetautoresttrafficmanager6192",
ProfileStatus = "Enabled",
ResourceGroupName = "azuresdkfornetautoresttrafficmanager2583",
TrafficRoutingMethod = "Performance",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"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.EndpointTypeArgs{
{
EndpointLocation: pulumi.String("North Europe"),
EndpointStatus: pulumi.String("Enabled"),
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("HTTP"),
TimeoutInSeconds: pulumi.Float64(5),
ToleratedNumberOfFailures: pulumi.Float64(2),
},
ProfileName: pulumi.String("azuresdkfornetautoresttrafficmanager6192"),
ProfileStatus: pulumi.String("Enabled"),
ResourceGroupName: pulumi.String("azuresdkfornetautoresttrafficmanager2583"),
TrafficRoutingMethod: pulumi.String("Performance"),
})
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 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(Map.ofEntries(
Map.entry("relativeName", "azuresdkfornetautoresttrafficmanager6192"),
Map.entry("ttl", 35)
))
.endpoints(Map.ofEntries(
Map.entry("endpointLocation", "North Europe"),
Map.entry("endpointStatus", "Enabled"),
Map.entry("name", "My external endpoint"),
Map.entry("target", "foobar.contoso.com"),
Map.entry("type", "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
))
.location("global")
.monitorConfig(Map.ofEntries(
Map.entry("intervalInSeconds", 10),
Map.entry("path", "/testpath.aspx"),
Map.entry("port", 80),
Map.entry("protocol", "HTTP"),
Map.entry("timeoutInSeconds", 5),
Map.entry("toleratedNumberOfFailures", 2)
))
.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=azure_native.network.DnsConfigArgs(
relative_name="azuresdkfornetautoresttrafficmanager6192",
ttl=35,
),
endpoints=[azure_native.network.EndpointArgs(
endpoint_location="North Europe",
endpoint_status="Enabled",
name="My external endpoint",
target="foobar.contoso.com",
type="Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
)],
location="global",
monitor_config=azure_native.network.MonitorConfigArgs(
interval_in_seconds=10,
path="/testpath.aspx",
port=80,
protocol="HTTP",
timeout_in_seconds=5,
tolerated_number_of_failures=2,
),
profile_name="azuresdkfornetautoresttrafficmanager6192",
profile_status="Enabled",
resource_group_name="azuresdkfornetautoresttrafficmanager2583",
traffic_routing_method="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: "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",
});
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 = "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 = "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 = "HTTP",
TimeoutInSeconds = 5,
ToleratedNumberOfFailures = 2,
},
ProfileName = "parentprofile",
ProfileStatus = "Enabled",
ResourceGroupName = "myresourcegroup",
TrafficRoutingMethod = "Priority",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"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.EndpointTypeArgs{
{
EndpointStatus: pulumi.String("Enabled"),
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),
},
{
EndpointStatus: pulumi.String("Enabled"),
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("HTTP"),
TimeoutInSeconds: pulumi.Float64(5),
ToleratedNumberOfFailures: pulumi.Float64(2),
},
ProfileName: pulumi.String("parentprofile"),
ProfileStatus: pulumi.String("Enabled"),
ResourceGroupName: pulumi.String("myresourcegroup"),
TrafficRoutingMethod: pulumi.String("Priority"),
})
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 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(Map.ofEntries(
Map.entry("relativeName", "parentprofile"),
Map.entry("ttl", 35)
))
.endpoints(
Map.ofEntries(
Map.entry("endpointStatus", "Enabled"),
Map.entry("minChildEndpoints", 2),
Map.entry("minChildEndpointsIPv4", 1),
Map.entry("minChildEndpointsIPv6", 2),
Map.entry("name", "MyFirstNestedEndpoint"),
Map.entry("priority", 1),
Map.entry("target", "firstnestedprofile.tmpreview.watmtest.azure-test.net"),
Map.entry("type", "Microsoft.Network/trafficManagerProfiles/nestedEndpoints"),
Map.entry("weight", 1)
),
Map.ofEntries(
Map.entry("endpointStatus", "Enabled"),
Map.entry("minChildEndpoints", 2),
Map.entry("minChildEndpointsIPv4", 2),
Map.entry("minChildEndpointsIPv6", 1),
Map.entry("name", "MySecondNestedEndpoint"),
Map.entry("priority", 2),
Map.entry("target", "secondnestedprofile.tmpreview.watmtest.azure-test.net"),
Map.entry("type", "Microsoft.Network/trafficManagerProfiles/nestedEndpoints"),
Map.entry("weight", 1)
))
.location("global")
.monitorConfig(Map.ofEntries(
Map.entry("intervalInSeconds", 10),
Map.entry("path", "/testpath.aspx"),
Map.entry("port", 80),
Map.entry("protocol", "HTTP"),
Map.entry("timeoutInSeconds", 5),
Map.entry("toleratedNumberOfFailures", 2)
))
.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=azure_native.network.DnsConfigArgs(
relative_name="parentprofile",
ttl=35,
),
endpoints=[
azure_native.network.EndpointArgs(
endpoint_status="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,
),
azure_native.network.EndpointArgs(
endpoint_status="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=azure_native.network.MonitorConfigArgs(
interval_in_seconds=10,
path="/testpath.aspx",
port=80,
protocol="HTTP",
timeout_in_seconds=5,
tolerated_number_of_failures=2,
),
profile_name="parentprofile",
profile_status="Enabled",
resource_group_name="myresourcegroup",
traffic_routing_method="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: "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",
});
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 =
{
{ "customHeaders", new[]
{
{
{ "name", "string" },
{ "value", "string" },
},
} },
{ "expectedStatusCodeRanges", new[]
{
{
{ "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[]
{
{
{ "customHeaders", new[]
{
{
{ "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[]
{
{
{ "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",
});
example, err := network.NewProfile(ctx, "exampleprofileResourceResourceFromNetwork", &network.ProfileArgs{
ResourceGroupName: "string",
MonitorConfig: map[string]interface{}{
"customHeaders": []map[string]interface{}{
map[string]interface{}{
"name": "string",
"value": "string",
},
},
"expectedStatusCodeRanges": []map[string]interface{}{
map[string]interface{}{
"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{
"string",
},
Name: "string",
Endpoints: []map[string]interface{}{
map[string]interface{}{
"customHeaders": []map[string]interface{}{
map[string]interface{}{
"name": "string",
"value": "string",
},
},
"endpointLocation": "string",
"endpointMonitorStatus": "string",
"endpointStatus": "string",
"geoMapping": []string{
"string",
},
"id": "string",
"minChildEndpoints": 0,
"minChildEndpointsIPv4": 0,
"minChildEndpointsIPv6": 0,
"name": "string",
"priority": 0,
"subnets": []map[string]interface{}{
map[string]interface{}{
"first": "string",
"last": "string",
"scope": 0,
},
},
"target": "string",
"targetResourceId": "string",
"type": "string",
"weight": 0,
},
},
ProfileStatus: "string",
DnsConfig: map[string]interface{}{
"relativeName": "string",
"ttl": 0,
},
Tags: map[string]interface{}{
"string": "string",
},
TrafficRoutingMethod: "string",
TrafficViewEnrollmentStatus: "string",
Type: "string",
})
var exampleprofileResourceResourceFromNetwork = new Profile("exampleprofileResourceResourceFromNetwork", ProfileArgs.builder()
.resourceGroupName("string")
.monitorConfig(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.profileName("string")
.id("string")
.location("string")
.maxReturn(0)
.allowedEndpointRecordTypes("string")
.name("string")
.endpoints(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.profileStatus("string")
.dnsConfig(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.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=[{
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: [{
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:
- 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Profile resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group containing the Traffic Manager profile.
- 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.
- 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 containing the Traffic Manager profile.
- 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.
- 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 containing the Traffic Manager profile.
- 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.
- 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 containing the Traffic Manager profile.
- 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.
- 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 containing the Traffic Manager profile.
- 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.
- 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 containing the Traffic Manager profile.
- 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.
- 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
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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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" - 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
- 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
- Checking
Endpoint - CheckingEndpoint
- Online
- Online
- Degraded
- Degraded
- Disabled
- Disabled
- Inactive
- Inactive
- Stopped
- Stopped
- Checking
Endpoint - CheckingEndpoint
- Online
- Online
- Degraded
- Degraded
- Disabled
- Disabled
- Inactive
- Inactive
- Stopped
- Stopped
- CHECKING_ENDPOINT
- CheckingEndpoint
- ONLINE
- Online
- DEGRADED
- Degraded
- DISABLED
- Disabled
- INACTIVE
- Inactive
- STOPPED
- Stopped
- "Checking
Endpoint" - CheckingEndpoint
- "Online"
- Online
- "Degraded"
- Degraded
- "Disabled"
- Disabled
- "Inactive"
- Inactive
- "Stopped"
- Stopped
EndpointPropertiesCustomHeaders, EndpointPropertiesCustomHeadersArgs
EndpointPropertiesResponseCustomHeaders, EndpointPropertiesResponseCustomHeadersArgs
EndpointPropertiesResponseSubnets, EndpointPropertiesResponseSubnetsArgs
EndpointPropertiesSubnets, EndpointPropertiesSubnetsArgs
EndpointResponse, EndpointResponseArgs
- 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.
- 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.
- 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.
- 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.
- 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.
- 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/{subscription-id}/resourceGroups/myresourcegroup/providers/Microsoft.Network/trafficManagerProfiles/parentprofile
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0