azure-native.network.Endpoint
Explore with Pulumi AI
Class representing a Traffic Manager endpoint. Azure REST API version: 2022-04-01. Prior API version in Azure Native 1.x: 2018-08-01.
Other available API versions: 2017-03-01, 2018-02-01, 2022-04-01-preview.
Example Usage
Endpoint-PUT-External-WithAlwaysServe
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var endpoint = new AzureNative.Network.Endpoint("endpoint", new()
{
AlwaysServe = AzureNative.Network.AlwaysServe.Enabled,
EndpointLocation = "North Europe",
EndpointName = "azsmnet7187",
EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
EndpointType = "ExternalEndpoints",
Name = "azsmnet7187",
ProfileName = "azsmnet6386",
ResourceGroupName = "azuresdkfornetautoresttrafficmanager1421",
Target = "foobar.contoso.com",
Type = "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewEndpoint(ctx, "endpoint", &network.EndpointArgs{
AlwaysServe: pulumi.String(network.AlwaysServeEnabled),
EndpointLocation: pulumi.String("North Europe"),
EndpointName: pulumi.String("azsmnet7187"),
EndpointStatus: pulumi.String(network.EndpointStatusEnabled),
EndpointType: pulumi.String("ExternalEndpoints"),
Name: pulumi.String("azsmnet7187"),
ProfileName: pulumi.String("azsmnet6386"),
ResourceGroupName: pulumi.String("azuresdkfornetautoresttrafficmanager1421"),
Target: pulumi.String("foobar.contoso.com"),
Type: pulumi.String("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints"),
})
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.Endpoint;
import com.pulumi.azurenative.network.EndpointArgs;
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 endpoint = new Endpoint("endpoint", EndpointArgs.builder()
.alwaysServe("Enabled")
.endpointLocation("North Europe")
.endpointName("azsmnet7187")
.endpointStatus("Enabled")
.endpointType("ExternalEndpoints")
.name("azsmnet7187")
.profileName("azsmnet6386")
.resourceGroupName("azuresdkfornetautoresttrafficmanager1421")
.target("foobar.contoso.com")
.type("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
endpoint = azure_native.network.Endpoint("endpoint",
always_serve=azure_native.network.AlwaysServe.ENABLED,
endpoint_location="North Europe",
endpoint_name="azsmnet7187",
endpoint_status=azure_native.network.EndpointStatus.ENABLED,
endpoint_type="ExternalEndpoints",
name="azsmnet7187",
profile_name="azsmnet6386",
resource_group_name="azuresdkfornetautoresttrafficmanager1421",
target="foobar.contoso.com",
type="Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const endpoint = new azure_native.network.Endpoint("endpoint", {
alwaysServe: azure_native.network.AlwaysServe.Enabled,
endpointLocation: "North Europe",
endpointName: "azsmnet7187",
endpointStatus: azure_native.network.EndpointStatus.Enabled,
endpointType: "ExternalEndpoints",
name: "azsmnet7187",
profileName: "azsmnet6386",
resourceGroupName: "azuresdkfornetautoresttrafficmanager1421",
target: "foobar.contoso.com",
type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
});
resources:
endpoint:
type: azure-native:network:Endpoint
properties:
alwaysServe: Enabled
endpointLocation: North Europe
endpointName: azsmnet7187
endpointStatus: Enabled
endpointType: ExternalEndpoints
name: azsmnet7187
profileName: azsmnet6386
resourceGroupName: azuresdkfornetautoresttrafficmanager1421
target: foobar.contoso.com
type: Microsoft.network/TrafficManagerProfiles/ExternalEndpoints
Endpoint-PUT-External-WithCustomHeaders
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var endpoint = new AzureNative.Network.Endpoint("endpoint", new()
{
CustomHeaders = new[]
{
new AzureNative.Network.Inputs.EndpointPropertiesCustomHeadersArgs
{
Name = "header-1",
Value = "value-1",
},
new AzureNative.Network.Inputs.EndpointPropertiesCustomHeadersArgs
{
Name = "header-2",
Value = "value-2",
},
},
EndpointLocation = "North Europe",
EndpointName = "azsmnet7187",
EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
EndpointType = "ExternalEndpoints",
Name = "azsmnet7187",
ProfileName = "azsmnet6386",
ResourceGroupName = "azuresdkfornetautoresttrafficmanager1421",
Target = "foobar.contoso.com",
Type = "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewEndpoint(ctx, "endpoint", &network.EndpointArgs{
CustomHeaders: network.EndpointPropertiesCustomHeadersArray{
&network.EndpointPropertiesCustomHeadersArgs{
Name: pulumi.String("header-1"),
Value: pulumi.String("value-1"),
},
&network.EndpointPropertiesCustomHeadersArgs{
Name: pulumi.String("header-2"),
Value: pulumi.String("value-2"),
},
},
EndpointLocation: pulumi.String("North Europe"),
EndpointName: pulumi.String("azsmnet7187"),
EndpointStatus: pulumi.String(network.EndpointStatusEnabled),
EndpointType: pulumi.String("ExternalEndpoints"),
Name: pulumi.String("azsmnet7187"),
ProfileName: pulumi.String("azsmnet6386"),
ResourceGroupName: pulumi.String("azuresdkfornetautoresttrafficmanager1421"),
Target: pulumi.String("foobar.contoso.com"),
Type: pulumi.String("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints"),
})
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.Endpoint;
import com.pulumi.azurenative.network.EndpointArgs;
import com.pulumi.azurenative.network.inputs.EndpointPropertiesCustomHeadersArgs;
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 endpoint = new Endpoint("endpoint", EndpointArgs.builder()
.customHeaders(
EndpointPropertiesCustomHeadersArgs.builder()
.name("header-1")
.value("value-1")
.build(),
EndpointPropertiesCustomHeadersArgs.builder()
.name("header-2")
.value("value-2")
.build())
.endpointLocation("North Europe")
.endpointName("azsmnet7187")
.endpointStatus("Enabled")
.endpointType("ExternalEndpoints")
.name("azsmnet7187")
.profileName("azsmnet6386")
.resourceGroupName("azuresdkfornetautoresttrafficmanager1421")
.target("foobar.contoso.com")
.type("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
endpoint = azure_native.network.Endpoint("endpoint",
custom_headers=[
azure_native.network.EndpointPropertiesCustomHeadersArgs(
name="header-1",
value="value-1",
),
azure_native.network.EndpointPropertiesCustomHeadersArgs(
name="header-2",
value="value-2",
),
],
endpoint_location="North Europe",
endpoint_name="azsmnet7187",
endpoint_status=azure_native.network.EndpointStatus.ENABLED,
endpoint_type="ExternalEndpoints",
name="azsmnet7187",
profile_name="azsmnet6386",
resource_group_name="azuresdkfornetautoresttrafficmanager1421",
target="foobar.contoso.com",
type="Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const endpoint = new azure_native.network.Endpoint("endpoint", {
customHeaders: [
{
name: "header-1",
value: "value-1",
},
{
name: "header-2",
value: "value-2",
},
],
endpointLocation: "North Europe",
endpointName: "azsmnet7187",
endpointStatus: azure_native.network.EndpointStatus.Enabled,
endpointType: "ExternalEndpoints",
name: "azsmnet7187",
profileName: "azsmnet6386",
resourceGroupName: "azuresdkfornetautoresttrafficmanager1421",
target: "foobar.contoso.com",
type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
});
resources:
endpoint:
type: azure-native:network:Endpoint
properties:
customHeaders:
- name: header-1
value: value-1
- name: header-2
value: value-2
endpointLocation: North Europe
endpointName: azsmnet7187
endpointStatus: Enabled
endpointType: ExternalEndpoints
name: azsmnet7187
profileName: azsmnet6386
resourceGroupName: azuresdkfornetautoresttrafficmanager1421
target: foobar.contoso.com
type: Microsoft.network/TrafficManagerProfiles/ExternalEndpoints
Endpoint-PUT-External-WithGeoMapping
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var endpoint = new AzureNative.Network.Endpoint("endpoint", new()
{
EndpointName = "My%20external%20endpoint",
EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
EndpointType = "ExternalEndpoints",
GeoMapping = new[]
{
"GEO-AS",
"GEO-AF",
},
Name = "My external endpoint",
ProfileName = "azuresdkfornetautoresttrafficmanager8224",
ResourceGroupName = "azuresdkfornetautoresttrafficmanager2191",
Target = "foobar.contoso.com",
Type = "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewEndpoint(ctx, "endpoint", &network.EndpointArgs{
EndpointName: pulumi.String("My%20external%20endpoint"),
EndpointStatus: pulumi.String(network.EndpointStatusEnabled),
EndpointType: pulumi.String("ExternalEndpoints"),
GeoMapping: pulumi.StringArray{
pulumi.String("GEO-AS"),
pulumi.String("GEO-AF"),
},
Name: pulumi.String("My external endpoint"),
ProfileName: pulumi.String("azuresdkfornetautoresttrafficmanager8224"),
ResourceGroupName: pulumi.String("azuresdkfornetautoresttrafficmanager2191"),
Target: pulumi.String("foobar.contoso.com"),
Type: pulumi.String("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints"),
})
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.Endpoint;
import com.pulumi.azurenative.network.EndpointArgs;
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 endpoint = new Endpoint("endpoint", EndpointArgs.builder()
.endpointName("My%20external%20endpoint")
.endpointStatus("Enabled")
.endpointType("ExternalEndpoints")
.geoMapping(
"GEO-AS",
"GEO-AF")
.name("My external endpoint")
.profileName("azuresdkfornetautoresttrafficmanager8224")
.resourceGroupName("azuresdkfornetautoresttrafficmanager2191")
.target("foobar.contoso.com")
.type("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
endpoint = azure_native.network.Endpoint("endpoint",
endpoint_name="My%20external%20endpoint",
endpoint_status=azure_native.network.EndpointStatus.ENABLED,
endpoint_type="ExternalEndpoints",
geo_mapping=[
"GEO-AS",
"GEO-AF",
],
name="My external endpoint",
profile_name="azuresdkfornetautoresttrafficmanager8224",
resource_group_name="azuresdkfornetautoresttrafficmanager2191",
target="foobar.contoso.com",
type="Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const endpoint = new azure_native.network.Endpoint("endpoint", {
endpointName: "My%20external%20endpoint",
endpointStatus: azure_native.network.EndpointStatus.Enabled,
endpointType: "ExternalEndpoints",
geoMapping: [
"GEO-AS",
"GEO-AF",
],
name: "My external endpoint",
profileName: "azuresdkfornetautoresttrafficmanager8224",
resourceGroupName: "azuresdkfornetautoresttrafficmanager2191",
target: "foobar.contoso.com",
type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
});
resources:
endpoint:
type: azure-native:network:Endpoint
properties:
endpointName: My%20external%20endpoint
endpointStatus: Enabled
endpointType: ExternalEndpoints
geoMapping:
- GEO-AS
- GEO-AF
name: My external endpoint
profileName: azuresdkfornetautoresttrafficmanager8224
resourceGroupName: azuresdkfornetautoresttrafficmanager2191
target: foobar.contoso.com
type: Microsoft.network/TrafficManagerProfiles/ExternalEndpoints
Endpoint-PUT-External-WithLocation
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var endpoint = new AzureNative.Network.Endpoint("endpoint", new()
{
EndpointLocation = "North Europe",
EndpointName = "azsmnet7187",
EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
EndpointType = "ExternalEndpoints",
Name = "azsmnet7187",
ProfileName = "azsmnet6386",
ResourceGroupName = "azuresdkfornetautoresttrafficmanager1421",
Target = "foobar.contoso.com",
Type = "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewEndpoint(ctx, "endpoint", &network.EndpointArgs{
EndpointLocation: pulumi.String("North Europe"),
EndpointName: pulumi.String("azsmnet7187"),
EndpointStatus: pulumi.String(network.EndpointStatusEnabled),
EndpointType: pulumi.String("ExternalEndpoints"),
Name: pulumi.String("azsmnet7187"),
ProfileName: pulumi.String("azsmnet6386"),
ResourceGroupName: pulumi.String("azuresdkfornetautoresttrafficmanager1421"),
Target: pulumi.String("foobar.contoso.com"),
Type: pulumi.String("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints"),
})
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.Endpoint;
import com.pulumi.azurenative.network.EndpointArgs;
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 endpoint = new Endpoint("endpoint", EndpointArgs.builder()
.endpointLocation("North Europe")
.endpointName("azsmnet7187")
.endpointStatus("Enabled")
.endpointType("ExternalEndpoints")
.name("azsmnet7187")
.profileName("azsmnet6386")
.resourceGroupName("azuresdkfornetautoresttrafficmanager1421")
.target("foobar.contoso.com")
.type("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
endpoint = azure_native.network.Endpoint("endpoint",
endpoint_location="North Europe",
endpoint_name="azsmnet7187",
endpoint_status=azure_native.network.EndpointStatus.ENABLED,
endpoint_type="ExternalEndpoints",
name="azsmnet7187",
profile_name="azsmnet6386",
resource_group_name="azuresdkfornetautoresttrafficmanager1421",
target="foobar.contoso.com",
type="Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const endpoint = new azure_native.network.Endpoint("endpoint", {
endpointLocation: "North Europe",
endpointName: "azsmnet7187",
endpointStatus: azure_native.network.EndpointStatus.Enabled,
endpointType: "ExternalEndpoints",
name: "azsmnet7187",
profileName: "azsmnet6386",
resourceGroupName: "azuresdkfornetautoresttrafficmanager1421",
target: "foobar.contoso.com",
type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
});
resources:
endpoint:
type: azure-native:network:Endpoint
properties:
endpointLocation: North Europe
endpointName: azsmnet7187
endpointStatus: Enabled
endpointType: ExternalEndpoints
name: azsmnet7187
profileName: azsmnet6386
resourceGroupName: azuresdkfornetautoresttrafficmanager1421
target: foobar.contoso.com
type: Microsoft.network/TrafficManagerProfiles/ExternalEndpoints
Endpoint-PUT-External-WithSubnetMapping
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var endpoint = new AzureNative.Network.Endpoint("endpoint", new()
{
EndpointName = "My%20external%20endpoint",
EndpointStatus = AzureNative.Network.EndpointStatus.Enabled,
EndpointType = "ExternalEndpoints",
Name = "My external endpoint",
ProfileName = "azuresdkfornetautoresttrafficmanager8224",
ResourceGroupName = "azuresdkfornetautoresttrafficmanager2191",
Subnets = new[]
{
new AzureNative.Network.Inputs.EndpointPropertiesSubnetsArgs
{
First = "1.2.3.0",
Scope = 24,
},
new AzureNative.Network.Inputs.EndpointPropertiesSubnetsArgs
{
First = "25.26.27.28",
Last = "29.30.31.32",
},
},
Target = "foobar.contoso.com",
Type = "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewEndpoint(ctx, "endpoint", &network.EndpointArgs{
EndpointName: pulumi.String("My%20external%20endpoint"),
EndpointStatus: pulumi.String(network.EndpointStatusEnabled),
EndpointType: pulumi.String("ExternalEndpoints"),
Name: pulumi.String("My external endpoint"),
ProfileName: pulumi.String("azuresdkfornetautoresttrafficmanager8224"),
ResourceGroupName: pulumi.String("azuresdkfornetautoresttrafficmanager2191"),
Subnets: network.EndpointPropertiesSubnetsArray{
&network.EndpointPropertiesSubnetsArgs{
First: pulumi.String("1.2.3.0"),
Scope: pulumi.Int(24),
},
&network.EndpointPropertiesSubnetsArgs{
First: pulumi.String("25.26.27.28"),
Last: pulumi.String("29.30.31.32"),
},
},
Target: pulumi.String("foobar.contoso.com"),
Type: pulumi.String("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints"),
})
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.Endpoint;
import com.pulumi.azurenative.network.EndpointArgs;
import com.pulumi.azurenative.network.inputs.EndpointPropertiesSubnetsArgs;
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 endpoint = new Endpoint("endpoint", EndpointArgs.builder()
.endpointName("My%20external%20endpoint")
.endpointStatus("Enabled")
.endpointType("ExternalEndpoints")
.name("My external endpoint")
.profileName("azuresdkfornetautoresttrafficmanager8224")
.resourceGroupName("azuresdkfornetautoresttrafficmanager2191")
.subnets(
EndpointPropertiesSubnetsArgs.builder()
.first("1.2.3.0")
.scope(24)
.build(),
EndpointPropertiesSubnetsArgs.builder()
.first("25.26.27.28")
.last("29.30.31.32")
.build())
.target("foobar.contoso.com")
.type("Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
endpoint = azure_native.network.Endpoint("endpoint",
endpoint_name="My%20external%20endpoint",
endpoint_status=azure_native.network.EndpointStatus.ENABLED,
endpoint_type="ExternalEndpoints",
name="My external endpoint",
profile_name="azuresdkfornetautoresttrafficmanager8224",
resource_group_name="azuresdkfornetautoresttrafficmanager2191",
subnets=[
azure_native.network.EndpointPropertiesSubnetsArgs(
first="1.2.3.0",
scope=24,
),
azure_native.network.EndpointPropertiesSubnetsArgs(
first="25.26.27.28",
last="29.30.31.32",
),
],
target="foobar.contoso.com",
type="Microsoft.network/TrafficManagerProfiles/ExternalEndpoints")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const endpoint = new azure_native.network.Endpoint("endpoint", {
endpointName: "My%20external%20endpoint",
endpointStatus: azure_native.network.EndpointStatus.Enabled,
endpointType: "ExternalEndpoints",
name: "My external endpoint",
profileName: "azuresdkfornetautoresttrafficmanager8224",
resourceGroupName: "azuresdkfornetautoresttrafficmanager2191",
subnets: [
{
first: "1.2.3.0",
scope: 24,
},
{
first: "25.26.27.28",
last: "29.30.31.32",
},
],
target: "foobar.contoso.com",
type: "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
});
resources:
endpoint:
type: azure-native:network:Endpoint
properties:
endpointName: My%20external%20endpoint
endpointStatus: Enabled
endpointType: ExternalEndpoints
name: My external endpoint
profileName: azuresdkfornetautoresttrafficmanager8224
resourceGroupName: azuresdkfornetautoresttrafficmanager2191
subnets:
- first: 1.2.3.0
scope: 24
- first: 25.26.27.28
last: 29.30.31.32
target: foobar.contoso.com
type: Microsoft.network/TrafficManagerProfiles/ExternalEndpoints
Create Endpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Endpoint(name: string, args: EndpointArgs, opts?: CustomResourceOptions);
@overload
def Endpoint(resource_name: str,
args: EndpointInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Endpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
endpoint_type: Optional[str] = None,
resource_group_name: Optional[str] = None,
profile_name: Optional[str] = None,
endpoint_status: Optional[Union[str, EndpointStatus]] = None,
name: Optional[str] = None,
always_serve: Optional[Union[str, AlwaysServe]] = None,
endpoint_monitor_status: Optional[Union[str, EndpointMonitorStatus]] = None,
geo_mapping: Optional[Sequence[str]] = None,
id: Optional[str] = None,
min_child_endpoints: Optional[float] = None,
min_child_endpoints_i_pv4: Optional[float] = None,
min_child_endpoints_i_pv6: Optional[float] = None,
endpoint_name: Optional[str] = None,
priority: Optional[float] = None,
endpoint_location: Optional[str] = None,
custom_headers: Optional[Sequence[EndpointPropertiesCustomHeadersArgs]] = None,
subnets: Optional[Sequence[EndpointPropertiesSubnetsArgs]] = None,
target: Optional[str] = None,
target_resource_id: Optional[str] = None,
type: Optional[str] = None,
weight: Optional[float] = None)
func NewEndpoint(ctx *Context, name string, args EndpointArgs, opts ...ResourceOption) (*Endpoint, error)
public Endpoint(string name, EndpointArgs args, CustomResourceOptions? opts = null)
public Endpoint(String name, EndpointArgs args)
public Endpoint(String name, EndpointArgs args, CustomResourceOptions options)
type: azure-native:network:Endpoint
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 EndpointArgs
- 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 EndpointInitArgs
- 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 EndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EndpointArgs
- 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 exampleendpointResourceResourceFromNetwork = new AzureNative.Network.Endpoint("exampleendpointResourceResourceFromNetwork", new()
{
EndpointType = "string",
ResourceGroupName = "string",
ProfileName = "string",
EndpointStatus = "string",
Name = "string",
AlwaysServe = "string",
EndpointMonitorStatus = "string",
GeoMapping = new[]
{
"string",
},
Id = "string",
MinChildEndpoints = 0,
MinChildEndpointsIPv4 = 0,
MinChildEndpointsIPv6 = 0,
EndpointName = "string",
Priority = 0,
EndpointLocation = "string",
CustomHeaders = new[]
{
new AzureNative.Network.Inputs.EndpointPropertiesCustomHeadersArgs
{
Name = "string",
Value = "string",
},
},
Subnets = new[]
{
new AzureNative.Network.Inputs.EndpointPropertiesSubnetsArgs
{
First = "string",
Last = "string",
Scope = 0,
},
},
Target = "string",
TargetResourceId = "string",
Type = "string",
Weight = 0,
});
example, err := network.NewEndpoint(ctx, "exampleendpointResourceResourceFromNetwork", &network.EndpointArgs{
EndpointType: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
ProfileName: pulumi.String("string"),
EndpointStatus: pulumi.String("string"),
Name: pulumi.String("string"),
AlwaysServe: pulumi.String("string"),
EndpointMonitorStatus: pulumi.String("string"),
GeoMapping: pulumi.StringArray{
pulumi.String("string"),
},
Id: pulumi.String("string"),
MinChildEndpoints: pulumi.Float64(0),
MinChildEndpointsIPv4: pulumi.Float64(0),
MinChildEndpointsIPv6: pulumi.Float64(0),
EndpointName: pulumi.String("string"),
Priority: pulumi.Float64(0),
EndpointLocation: pulumi.String("string"),
CustomHeaders: network.EndpointPropertiesCustomHeadersArray{
&network.EndpointPropertiesCustomHeadersArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Subnets: network.EndpointPropertiesSubnetsArray{
&network.EndpointPropertiesSubnetsArgs{
First: pulumi.String("string"),
Last: pulumi.String("string"),
Scope: pulumi.Int(0),
},
},
Target: pulumi.String("string"),
TargetResourceId: pulumi.String("string"),
Type: pulumi.String("string"),
Weight: pulumi.Float64(0),
})
var exampleendpointResourceResourceFromNetwork = new Endpoint("exampleendpointResourceResourceFromNetwork", EndpointArgs.builder()
.endpointType("string")
.resourceGroupName("string")
.profileName("string")
.endpointStatus("string")
.name("string")
.alwaysServe("string")
.endpointMonitorStatus("string")
.geoMapping("string")
.id("string")
.minChildEndpoints(0)
.minChildEndpointsIPv4(0)
.minChildEndpointsIPv6(0)
.endpointName("string")
.priority(0)
.endpointLocation("string")
.customHeaders(EndpointPropertiesCustomHeadersArgs.builder()
.name("string")
.value("string")
.build())
.subnets(EndpointPropertiesSubnetsArgs.builder()
.first("string")
.last("string")
.scope(0)
.build())
.target("string")
.targetResourceId("string")
.type("string")
.weight(0)
.build());
exampleendpoint_resource_resource_from_network = azure_native.network.Endpoint("exampleendpointResourceResourceFromNetwork",
endpoint_type="string",
resource_group_name="string",
profile_name="string",
endpoint_status="string",
name="string",
always_serve="string",
endpoint_monitor_status="string",
geo_mapping=["string"],
id="string",
min_child_endpoints=0,
min_child_endpoints_i_pv4=0,
min_child_endpoints_i_pv6=0,
endpoint_name="string",
priority=0,
endpoint_location="string",
custom_headers=[azure_native.network.EndpointPropertiesCustomHeadersArgs(
name="string",
value="string",
)],
subnets=[azure_native.network.EndpointPropertiesSubnetsArgs(
first="string",
last="string",
scope=0,
)],
target="string",
target_resource_id="string",
type="string",
weight=0)
const exampleendpointResourceResourceFromNetwork = new azure_native.network.Endpoint("exampleendpointResourceResourceFromNetwork", {
endpointType: "string",
resourceGroupName: "string",
profileName: "string",
endpointStatus: "string",
name: "string",
alwaysServe: "string",
endpointMonitorStatus: "string",
geoMapping: ["string"],
id: "string",
minChildEndpoints: 0,
minChildEndpointsIPv4: 0,
minChildEndpointsIPv6: 0,
endpointName: "string",
priority: 0,
endpointLocation: "string",
customHeaders: [{
name: "string",
value: "string",
}],
subnets: [{
first: "string",
last: "string",
scope: 0,
}],
target: "string",
targetResourceId: "string",
type: "string",
weight: 0,
});
type: azure-native:network:Endpoint
properties:
alwaysServe: string
customHeaders:
- name: string
value: string
endpointLocation: string
endpointMonitorStatus: string
endpointName: string
endpointStatus: string
endpointType: string
geoMapping:
- string
id: string
minChildEndpoints: 0
minChildEndpointsIPv4: 0
minChildEndpointsIPv6: 0
name: string
priority: 0
profileName: string
resourceGroupName: string
subnets:
- first: string
last: string
scope: 0
target: string
targetResourceId: string
type: string
weight: 0
Endpoint Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Endpoint resource accepts the following input properties:
- Endpoint
Type string - The type of the Traffic Manager endpoint to be created or updated.
- Profile
Name string - The name of the Traffic Manager profile.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Always
Serve string | Pulumi.Azure Native. Network. Always Serve - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- Custom
Headers List<Pulumi.Azure Native. Network. Inputs. Endpoint Properties Custom Headers> - List of custom headers.
- Endpoint
Location string - Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- Endpoint
Monitor string | Pulumi.Status Azure Native. Network. Endpoint Monitor Status - The monitoring status of the endpoint.
- Endpoint
Name string - The name of the Traffic Manager endpoint to be created or updated.
- 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.
- Endpoint
Type string - The type of the Traffic Manager endpoint to be created or updated.
- Profile
Name string - The name of the Traffic Manager profile.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Always
Serve string | AlwaysServe - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- Custom
Headers []EndpointProperties Custom Headers Args - 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
Name string - The name of the Traffic Manager endpoint to be created or updated.
- 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 Args - 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.
- endpoint
Type String - The type of the Traffic Manager endpoint to be created or updated.
- profile
Name String - The name of the Traffic Manager profile.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- always
Serve String | AlwaysServe - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- custom
Headers List<EndpointProperties Custom Headers> - List of custom headers.
- endpoint
Location String - Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpoint
Monitor String | EndpointStatus Monitor Status - The monitoring status of the endpoint.
- endpoint
Name String - The name of the Traffic Manager endpoint to be created or updated.
- 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.
- endpoint
Type string - The type of the Traffic Manager endpoint to be created or updated.
- profile
Name string - The name of the Traffic Manager profile.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- always
Serve string | AlwaysServe - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- custom
Headers EndpointProperties Custom Headers[] - List of custom headers.
- endpoint
Location string - Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpoint
Monitor string | EndpointStatus Monitor Status - The monitoring status of the endpoint.
- endpoint
Name string - The name of the Traffic Manager endpoint to be created or updated.
- 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.
- endpoint_
type str - The type of the Traffic Manager endpoint to be created or updated.
- profile_
name str - The name of the Traffic Manager profile.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- always_
serve str | AlwaysServe - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- custom_
headers Sequence[EndpointProperties Custom Headers Args] - 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_
name str - The name of the Traffic Manager endpoint to be created or updated.
- 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 Args] - 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.
- endpoint
Type String - The type of the Traffic Manager endpoint to be created or updated.
- profile
Name String - The name of the Traffic Manager profile.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- always
Serve String | "Enabled" | "Disabled" - If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.
- custom
Headers List<Property Map> - List of custom headers.
- endpoint
Location String - Specifies the location of the external or nested endpoints when using the 'Performance' traffic routing method.
- endpoint
Monitor String | "CheckingStatus Endpoint" | "Online" | "Degraded" | "Disabled" | "Inactive" | "Stopped" | "Unmonitored" - The monitoring status of the endpoint.
- endpoint
Name String - The name of the Traffic Manager endpoint to be created or updated.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the Endpoint 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
AlwaysServe, AlwaysServeArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Always
Serve Enabled - Enabled
- Always
Serve Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
EndpointMonitorStatus, EndpointMonitorStatusArgs
- Checking
Endpoint - CheckingEndpoint
- Online
- Online
- Degraded
- Degraded
- Disabled
- Disabled
- Inactive
- Inactive
- Stopped
- Stopped
- Unmonitored
- Unmonitored
- Endpoint
Monitor Status Checking Endpoint - CheckingEndpoint
- Endpoint
Monitor Status Online - Online
- Endpoint
Monitor Status Degraded - Degraded
- Endpoint
Monitor Status Disabled - Disabled
- Endpoint
Monitor Status Inactive - Inactive
- Endpoint
Monitor Status Stopped - Stopped
- Endpoint
Monitor Status Unmonitored - Unmonitored
- Checking
Endpoint - CheckingEndpoint
- Online
- Online
- Degraded
- Degraded
- Disabled
- Disabled
- Inactive
- Inactive
- Stopped
- Stopped
- Unmonitored
- Unmonitored
- Checking
Endpoint - CheckingEndpoint
- Online
- Online
- Degraded
- Degraded
- Disabled
- Disabled
- Inactive
- Inactive
- Stopped
- Stopped
- Unmonitored
- Unmonitored
- CHECKING_ENDPOINT
- CheckingEndpoint
- ONLINE
- Online
- DEGRADED
- Degraded
- DISABLED
- Disabled
- INACTIVE
- Inactive
- STOPPED
- Stopped
- UNMONITORED
- Unmonitored
- "Checking
Endpoint" - CheckingEndpoint
- "Online"
- Online
- "Degraded"
- Degraded
- "Disabled"
- Disabled
- "Inactive"
- Inactive
- "Stopped"
- Stopped
- "Unmonitored"
- Unmonitored
EndpointPropertiesCustomHeaders, EndpointPropertiesCustomHeadersArgs
EndpointPropertiesResponseCustomHeaders, EndpointPropertiesResponseCustomHeadersArgs
EndpointPropertiesResponseSubnets, EndpointPropertiesResponseSubnetsArgs
EndpointPropertiesSubnets, EndpointPropertiesSubnetsArgs
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
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:Endpoint My external endpoint /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0