We recommend using Azure Native.
azure.apimanagement.Backend
Explore with Pulumi AI
Manages a backend within an API Management Service.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
    name: "example-resources",
    location: "West Europe",
});
const exampleService = new azure.apimanagement.Service("example", {
    name: "example-apim",
    location: example.location,
    resourceGroupName: example.name,
    publisherName: "My Company",
    publisherEmail: "company@exmaple.com",
    skuName: "Developer_1",
});
const exampleBackend = new azure.apimanagement.Backend("example", {
    name: "example-backend",
    resourceGroupName: example.name,
    apiManagementName: exampleService.name,
    protocol: "http",
    url: "https://backend.com/api",
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
    name="example-resources",
    location="West Europe")
example_service = azure.apimanagement.Service("example",
    name="example-apim",
    location=example.location,
    resource_group_name=example.name,
    publisher_name="My Company",
    publisher_email="company@exmaple.com",
    sku_name="Developer_1")
example_backend = azure.apimanagement.Backend("example",
    name="example-backend",
    resource_group_name=example.name,
    api_management_name=example_service.name,
    protocol="http",
    url="https://backend.com/api")
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/apimanagement"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleService, err := apimanagement.NewService(ctx, "example", &apimanagement.ServiceArgs{
			Name:              pulumi.String("example-apim"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			PublisherName:     pulumi.String("My Company"),
			PublisherEmail:    pulumi.String("company@exmaple.com"),
			SkuName:           pulumi.String("Developer_1"),
		})
		if err != nil {
			return err
		}
		_, err = apimanagement.NewBackend(ctx, "example", &apimanagement.BackendArgs{
			Name:              pulumi.String("example-backend"),
			ResourceGroupName: example.Name,
			ApiManagementName: exampleService.Name,
			Protocol:          pulumi.String("http"),
			Url:               pulumi.String("https://backend.com/api"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example-resources",
        Location = "West Europe",
    });
    var exampleService = new Azure.ApiManagement.Service("example", new()
    {
        Name = "example-apim",
        Location = example.Location,
        ResourceGroupName = example.Name,
        PublisherName = "My Company",
        PublisherEmail = "company@exmaple.com",
        SkuName = "Developer_1",
    });
    var exampleBackend = new Azure.ApiManagement.Backend("example", new()
    {
        Name = "example-backend",
        ResourceGroupName = example.Name,
        ApiManagementName = exampleService.Name,
        Protocol = "http",
        Url = "https://backend.com/api",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.apimanagement.Service;
import com.pulumi.azure.apimanagement.ServiceArgs;
import com.pulumi.azure.apimanagement.Backend;
import com.pulumi.azure.apimanagement.BackendArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-resources")
            .location("West Europe")
            .build());
        var exampleService = new Service("exampleService", ServiceArgs.builder()
            .name("example-apim")
            .location(example.location())
            .resourceGroupName(example.name())
            .publisherName("My Company")
            .publisherEmail("company@exmaple.com")
            .skuName("Developer_1")
            .build());
        var exampleBackend = new Backend("exampleBackend", BackendArgs.builder()
            .name("example-backend")
            .resourceGroupName(example.name())
            .apiManagementName(exampleService.name())
            .protocol("http")
            .url("https://backend.com/api")
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-resources
      location: West Europe
  exampleService:
    type: azure:apimanagement:Service
    name: example
    properties:
      name: example-apim
      location: ${example.location}
      resourceGroupName: ${example.name}
      publisherName: My Company
      publisherEmail: company@exmaple.com
      skuName: Developer_1
  exampleBackend:
    type: azure:apimanagement:Backend
    name: example
    properties:
      name: example-backend
      resourceGroupName: ${example.name}
      apiManagementName: ${exampleService.name}
      protocol: http
      url: https://backend.com/api
Create Backend Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Backend(name: string, args: BackendArgs, opts?: CustomResourceOptions);@overload
def Backend(resource_name: str,
            args: BackendArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Backend(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            api_management_name: Optional[str] = None,
            protocol: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            url: Optional[str] = None,
            credentials: Optional[BackendCredentialsArgs] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            proxy: Optional[BackendProxyArgs] = None,
            resource_id: Optional[str] = None,
            service_fabric_cluster: Optional[BackendServiceFabricClusterArgs] = None,
            title: Optional[str] = None,
            tls: Optional[BackendTlsArgs] = None)func NewBackend(ctx *Context, name string, args BackendArgs, opts ...ResourceOption) (*Backend, error)public Backend(string name, BackendArgs args, CustomResourceOptions? opts = null)
public Backend(String name, BackendArgs args)
public Backend(String name, BackendArgs args, CustomResourceOptions options)
type: azure:apimanagement:Backend
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 BackendArgs
- 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 BackendArgs
- 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 BackendArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BackendArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BackendArgs
- 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 backendResource = new Azure.ApiManagement.Backend("backendResource", new()
{
    ApiManagementName = "string",
    Protocol = "string",
    ResourceGroupName = "string",
    Url = "string",
    Credentials = new Azure.ApiManagement.Inputs.BackendCredentialsArgs
    {
        Authorization = new Azure.ApiManagement.Inputs.BackendCredentialsAuthorizationArgs
        {
            Parameter = "string",
            Scheme = "string",
        },
        Certificates = new[]
        {
            "string",
        },
        Header = 
        {
            { "string", "string" },
        },
        Query = 
        {
            { "string", "string" },
        },
    },
    Description = "string",
    Name = "string",
    Proxy = new Azure.ApiManagement.Inputs.BackendProxyArgs
    {
        Url = "string",
        Username = "string",
        Password = "string",
    },
    ResourceId = "string",
    ServiceFabricCluster = new Azure.ApiManagement.Inputs.BackendServiceFabricClusterArgs
    {
        ManagementEndpoints = new[]
        {
            "string",
        },
        MaxPartitionResolutionRetries = 0,
        ClientCertificateId = "string",
        ClientCertificateThumbprint = "string",
        ServerCertificateThumbprints = new[]
        {
            "string",
        },
        ServerX509Names = new[]
        {
            new Azure.ApiManagement.Inputs.BackendServiceFabricClusterServerX509NameArgs
            {
                IssuerCertificateThumbprint = "string",
                Name = "string",
            },
        },
    },
    Title = "string",
    Tls = new Azure.ApiManagement.Inputs.BackendTlsArgs
    {
        ValidateCertificateChain = false,
        ValidateCertificateName = false,
    },
});
example, err := apimanagement.NewBackend(ctx, "backendResource", &apimanagement.BackendArgs{
	ApiManagementName: pulumi.String("string"),
	Protocol:          pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	Url:               pulumi.String("string"),
	Credentials: &apimanagement.BackendCredentialsArgs{
		Authorization: &apimanagement.BackendCredentialsAuthorizationArgs{
			Parameter: pulumi.String("string"),
			Scheme:    pulumi.String("string"),
		},
		Certificates: pulumi.StringArray{
			pulumi.String("string"),
		},
		Header: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		Query: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
	},
	Description: pulumi.String("string"),
	Name:        pulumi.String("string"),
	Proxy: &apimanagement.BackendProxyArgs{
		Url:      pulumi.String("string"),
		Username: pulumi.String("string"),
		Password: pulumi.String("string"),
	},
	ResourceId: pulumi.String("string"),
	ServiceFabricCluster: &apimanagement.BackendServiceFabricClusterArgs{
		ManagementEndpoints: pulumi.StringArray{
			pulumi.String("string"),
		},
		MaxPartitionResolutionRetries: pulumi.Int(0),
		ClientCertificateId:           pulumi.String("string"),
		ClientCertificateThumbprint:   pulumi.String("string"),
		ServerCertificateThumbprints: pulumi.StringArray{
			pulumi.String("string"),
		},
		ServerX509Names: apimanagement.BackendServiceFabricClusterServerX509NameArray{
			&apimanagement.BackendServiceFabricClusterServerX509NameArgs{
				IssuerCertificateThumbprint: pulumi.String("string"),
				Name:                        pulumi.String("string"),
			},
		},
	},
	Title: pulumi.String("string"),
	Tls: &apimanagement.BackendTlsArgs{
		ValidateCertificateChain: pulumi.Bool(false),
		ValidateCertificateName:  pulumi.Bool(false),
	},
})
var backendResource = new Backend("backendResource", BackendArgs.builder()
    .apiManagementName("string")
    .protocol("string")
    .resourceGroupName("string")
    .url("string")
    .credentials(BackendCredentialsArgs.builder()
        .authorization(BackendCredentialsAuthorizationArgs.builder()
            .parameter("string")
            .scheme("string")
            .build())
        .certificates("string")
        .header(Map.of("string", "string"))
        .query(Map.of("string", "string"))
        .build())
    .description("string")
    .name("string")
    .proxy(BackendProxyArgs.builder()
        .url("string")
        .username("string")
        .password("string")
        .build())
    .resourceId("string")
    .serviceFabricCluster(BackendServiceFabricClusterArgs.builder()
        .managementEndpoints("string")
        .maxPartitionResolutionRetries(0)
        .clientCertificateId("string")
        .clientCertificateThumbprint("string")
        .serverCertificateThumbprints("string")
        .serverX509Names(BackendServiceFabricClusterServerX509NameArgs.builder()
            .issuerCertificateThumbprint("string")
            .name("string")
            .build())
        .build())
    .title("string")
    .tls(BackendTlsArgs.builder()
        .validateCertificateChain(false)
        .validateCertificateName(false)
        .build())
    .build());
backend_resource = azure.apimanagement.Backend("backendResource",
    api_management_name="string",
    protocol="string",
    resource_group_name="string",
    url="string",
    credentials={
        "authorization": {
            "parameter": "string",
            "scheme": "string",
        },
        "certificates": ["string"],
        "header": {
            "string": "string",
        },
        "query": {
            "string": "string",
        },
    },
    description="string",
    name="string",
    proxy={
        "url": "string",
        "username": "string",
        "password": "string",
    },
    resource_id="string",
    service_fabric_cluster={
        "management_endpoints": ["string"],
        "max_partition_resolution_retries": 0,
        "client_certificate_id": "string",
        "client_certificate_thumbprint": "string",
        "server_certificate_thumbprints": ["string"],
        "server_x509_names": [{
            "issuer_certificate_thumbprint": "string",
            "name": "string",
        }],
    },
    title="string",
    tls={
        "validate_certificate_chain": False,
        "validate_certificate_name": False,
    })
const backendResource = new azure.apimanagement.Backend("backendResource", {
    apiManagementName: "string",
    protocol: "string",
    resourceGroupName: "string",
    url: "string",
    credentials: {
        authorization: {
            parameter: "string",
            scheme: "string",
        },
        certificates: ["string"],
        header: {
            string: "string",
        },
        query: {
            string: "string",
        },
    },
    description: "string",
    name: "string",
    proxy: {
        url: "string",
        username: "string",
        password: "string",
    },
    resourceId: "string",
    serviceFabricCluster: {
        managementEndpoints: ["string"],
        maxPartitionResolutionRetries: 0,
        clientCertificateId: "string",
        clientCertificateThumbprint: "string",
        serverCertificateThumbprints: ["string"],
        serverX509Names: [{
            issuerCertificateThumbprint: "string",
            name: "string",
        }],
    },
    title: "string",
    tls: {
        validateCertificateChain: false,
        validateCertificateName: false,
    },
});
type: azure:apimanagement:Backend
properties:
    apiManagementName: string
    credentials:
        authorization:
            parameter: string
            scheme: string
        certificates:
            - string
        header:
            string: string
        query:
            string: string
    description: string
    name: string
    protocol: string
    proxy:
        password: string
        url: string
        username: string
    resourceGroupName: string
    resourceId: string
    serviceFabricCluster:
        clientCertificateId: string
        clientCertificateThumbprint: string
        managementEndpoints:
            - string
        maxPartitionResolutionRetries: 0
        serverCertificateThumbprints:
            - string
        serverX509Names:
            - issuerCertificateThumbprint: string
              name: string
    title: string
    tls:
        validateCertificateChain: false
        validateCertificateName: false
    url: string
Backend 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 Backend resource accepts the following input properties:
- ApiManagement stringName 
- The Name of the API Management Service where this backend should be created. Changing this forces a new resource to be created.
- Protocol string
- The protocol used by the backend host. Possible values are httporsoap.
- ResourceGroup stringName 
- The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- Url string
- The backend host URL should be specified in the format "https://backend.com/api", avoiding trailing slashes (/) to minimize misconfiguration risks. Azure API Management instance will append the backend resource name to this URL. This URL typically serves as thebase-urlin theset-backend-servicepolicy, enabling seamless transitions from frontend to backend.
- Credentials
BackendCredentials 
- A credentialsblock as documented below.
- Description string
- The description of the backend.
- Name string
- The name of the API Management backend. Changing this forces a new resource to be created.
- Proxy
BackendProxy 
- A proxyblock as documented below.
- ResourceId string
- The management URI of the backend host in an external system. This URI can be the ARM Resource ID of Logic Apps, Function Apps or API Apps, or the management endpoint of a Service Fabric cluster.
- ServiceFabric BackendCluster Service Fabric Cluster 
- A service_fabric_clusterblock as documented below.
- Title string
- The title of the backend.
- Tls
BackendTls 
- A tlsblock as documented below.
- ApiManagement stringName 
- The Name of the API Management Service where this backend should be created. Changing this forces a new resource to be created.
- Protocol string
- The protocol used by the backend host. Possible values are httporsoap.
- ResourceGroup stringName 
- The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- Url string
- The backend host URL should be specified in the format "https://backend.com/api", avoiding trailing slashes (/) to minimize misconfiguration risks. Azure API Management instance will append the backend resource name to this URL. This URL typically serves as thebase-urlin theset-backend-servicepolicy, enabling seamless transitions from frontend to backend.
- Credentials
BackendCredentials Args 
- A credentialsblock as documented below.
- Description string
- The description of the backend.
- Name string
- The name of the API Management backend. Changing this forces a new resource to be created.
- Proxy
BackendProxy Args 
- A proxyblock as documented below.
- ResourceId string
- The management URI of the backend host in an external system. This URI can be the ARM Resource ID of Logic Apps, Function Apps or API Apps, or the management endpoint of a Service Fabric cluster.
- ServiceFabric BackendCluster Service Fabric Cluster Args 
- A service_fabric_clusterblock as documented below.
- Title string
- The title of the backend.
- Tls
BackendTls Args 
- A tlsblock as documented below.
- apiManagement StringName 
- The Name of the API Management Service where this backend should be created. Changing this forces a new resource to be created.
- protocol String
- The protocol used by the backend host. Possible values are httporsoap.
- resourceGroup StringName 
- The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- url String
- The backend host URL should be specified in the format "https://backend.com/api", avoiding trailing slashes (/) to minimize misconfiguration risks. Azure API Management instance will append the backend resource name to this URL. This URL typically serves as thebase-urlin theset-backend-servicepolicy, enabling seamless transitions from frontend to backend.
- credentials
BackendCredentials 
- A credentialsblock as documented below.
- description String
- The description of the backend.
- name String
- The name of the API Management backend. Changing this forces a new resource to be created.
- proxy
BackendProxy 
- A proxyblock as documented below.
- resourceId String
- The management URI of the backend host in an external system. This URI can be the ARM Resource ID of Logic Apps, Function Apps or API Apps, or the management endpoint of a Service Fabric cluster.
- serviceFabric BackendCluster Service Fabric Cluster 
- A service_fabric_clusterblock as documented below.
- title String
- The title of the backend.
- tls
BackendTls 
- A tlsblock as documented below.
- apiManagement stringName 
- The Name of the API Management Service where this backend should be created. Changing this forces a new resource to be created.
- protocol string
- The protocol used by the backend host. Possible values are httporsoap.
- resourceGroup stringName 
- The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- url string
- The backend host URL should be specified in the format "https://backend.com/api", avoiding trailing slashes (/) to minimize misconfiguration risks. Azure API Management instance will append the backend resource name to this URL. This URL typically serves as thebase-urlin theset-backend-servicepolicy, enabling seamless transitions from frontend to backend.
- credentials
BackendCredentials 
- A credentialsblock as documented below.
- description string
- The description of the backend.
- name string
- The name of the API Management backend. Changing this forces a new resource to be created.
- proxy
BackendProxy 
- A proxyblock as documented below.
- resourceId string
- The management URI of the backend host in an external system. This URI can be the ARM Resource ID of Logic Apps, Function Apps or API Apps, or the management endpoint of a Service Fabric cluster.
- serviceFabric BackendCluster Service Fabric Cluster 
- A service_fabric_clusterblock as documented below.
- title string
- The title of the backend.
- tls
BackendTls 
- A tlsblock as documented below.
- api_management_ strname 
- The Name of the API Management Service where this backend should be created. Changing this forces a new resource to be created.
- protocol str
- The protocol used by the backend host. Possible values are httporsoap.
- resource_group_ strname 
- The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- url str
- The backend host URL should be specified in the format "https://backend.com/api", avoiding trailing slashes (/) to minimize misconfiguration risks. Azure API Management instance will append the backend resource name to this URL. This URL typically serves as thebase-urlin theset-backend-servicepolicy, enabling seamless transitions from frontend to backend.
- credentials
BackendCredentials Args 
- A credentialsblock as documented below.
- description str
- The description of the backend.
- name str
- The name of the API Management backend. Changing this forces a new resource to be created.
- proxy
BackendProxy Args 
- A proxyblock as documented below.
- resource_id str
- The management URI of the backend host in an external system. This URI can be the ARM Resource ID of Logic Apps, Function Apps or API Apps, or the management endpoint of a Service Fabric cluster.
- service_fabric_ Backendcluster Service Fabric Cluster Args 
- A service_fabric_clusterblock as documented below.
- title str
- The title of the backend.
- tls
BackendTls Args 
- A tlsblock as documented below.
- apiManagement StringName 
- The Name of the API Management Service where this backend should be created. Changing this forces a new resource to be created.
- protocol String
- The protocol used by the backend host. Possible values are httporsoap.
- resourceGroup StringName 
- The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- url String
- The backend host URL should be specified in the format "https://backend.com/api", avoiding trailing slashes (/) to minimize misconfiguration risks. Azure API Management instance will append the backend resource name to this URL. This URL typically serves as thebase-urlin theset-backend-servicepolicy, enabling seamless transitions from frontend to backend.
- credentials Property Map
- A credentialsblock as documented below.
- description String
- The description of the backend.
- name String
- The name of the API Management backend. Changing this forces a new resource to be created.
- proxy Property Map
- A proxyblock as documented below.
- resourceId String
- The management URI of the backend host in an external system. This URI can be the ARM Resource ID of Logic Apps, Function Apps or API Apps, or the management endpoint of a Service Fabric cluster.
- serviceFabric Property MapCluster 
- A service_fabric_clusterblock as documented below.
- title String
- The title of the backend.
- tls Property Map
- A tlsblock as documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the Backend resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Backend Resource
Get an existing Backend resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BackendState, opts?: CustomResourceOptions): Backend@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        api_management_name: Optional[str] = None,
        credentials: Optional[BackendCredentialsArgs] = None,
        description: Optional[str] = None,
        name: Optional[str] = None,
        protocol: Optional[str] = None,
        proxy: Optional[BackendProxyArgs] = None,
        resource_group_name: Optional[str] = None,
        resource_id: Optional[str] = None,
        service_fabric_cluster: Optional[BackendServiceFabricClusterArgs] = None,
        title: Optional[str] = None,
        tls: Optional[BackendTlsArgs] = None,
        url: Optional[str] = None) -> Backendfunc GetBackend(ctx *Context, name string, id IDInput, state *BackendState, opts ...ResourceOption) (*Backend, error)public static Backend Get(string name, Input<string> id, BackendState? state, CustomResourceOptions? opts = null)public static Backend get(String name, Output<String> id, BackendState state, CustomResourceOptions options)resources:  _:    type: azure:apimanagement:Backend    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- ApiManagement stringName 
- The Name of the API Management Service where this backend should be created. Changing this forces a new resource to be created.
- Credentials
BackendCredentials 
- A credentialsblock as documented below.
- Description string
- The description of the backend.
- Name string
- The name of the API Management backend. Changing this forces a new resource to be created.
- Protocol string
- The protocol used by the backend host. Possible values are httporsoap.
- Proxy
BackendProxy 
- A proxyblock as documented below.
- ResourceGroup stringName 
- The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- ResourceId string
- The management URI of the backend host in an external system. This URI can be the ARM Resource ID of Logic Apps, Function Apps or API Apps, or the management endpoint of a Service Fabric cluster.
- ServiceFabric BackendCluster Service Fabric Cluster 
- A service_fabric_clusterblock as documented below.
- Title string
- The title of the backend.
- Tls
BackendTls 
- A tlsblock as documented below.
- Url string
- The backend host URL should be specified in the format "https://backend.com/api", avoiding trailing slashes (/) to minimize misconfiguration risks. Azure API Management instance will append the backend resource name to this URL. This URL typically serves as thebase-urlin theset-backend-servicepolicy, enabling seamless transitions from frontend to backend.
- ApiManagement stringName 
- The Name of the API Management Service where this backend should be created. Changing this forces a new resource to be created.
- Credentials
BackendCredentials Args 
- A credentialsblock as documented below.
- Description string
- The description of the backend.
- Name string
- The name of the API Management backend. Changing this forces a new resource to be created.
- Protocol string
- The protocol used by the backend host. Possible values are httporsoap.
- Proxy
BackendProxy Args 
- A proxyblock as documented below.
- ResourceGroup stringName 
- The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- ResourceId string
- The management URI of the backend host in an external system. This URI can be the ARM Resource ID of Logic Apps, Function Apps or API Apps, or the management endpoint of a Service Fabric cluster.
- ServiceFabric BackendCluster Service Fabric Cluster Args 
- A service_fabric_clusterblock as documented below.
- Title string
- The title of the backend.
- Tls
BackendTls Args 
- A tlsblock as documented below.
- Url string
- The backend host URL should be specified in the format "https://backend.com/api", avoiding trailing slashes (/) to minimize misconfiguration risks. Azure API Management instance will append the backend resource name to this URL. This URL typically serves as thebase-urlin theset-backend-servicepolicy, enabling seamless transitions from frontend to backend.
- apiManagement StringName 
- The Name of the API Management Service where this backend should be created. Changing this forces a new resource to be created.
- credentials
BackendCredentials 
- A credentialsblock as documented below.
- description String
- The description of the backend.
- name String
- The name of the API Management backend. Changing this forces a new resource to be created.
- protocol String
- The protocol used by the backend host. Possible values are httporsoap.
- proxy
BackendProxy 
- A proxyblock as documented below.
- resourceGroup StringName 
- The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- resourceId String
- The management URI of the backend host in an external system. This URI can be the ARM Resource ID of Logic Apps, Function Apps or API Apps, or the management endpoint of a Service Fabric cluster.
- serviceFabric BackendCluster Service Fabric Cluster 
- A service_fabric_clusterblock as documented below.
- title String
- The title of the backend.
- tls
BackendTls 
- A tlsblock as documented below.
- url String
- The backend host URL should be specified in the format "https://backend.com/api", avoiding trailing slashes (/) to minimize misconfiguration risks. Azure API Management instance will append the backend resource name to this URL. This URL typically serves as thebase-urlin theset-backend-servicepolicy, enabling seamless transitions from frontend to backend.
- apiManagement stringName 
- The Name of the API Management Service where this backend should be created. Changing this forces a new resource to be created.
- credentials
BackendCredentials 
- A credentialsblock as documented below.
- description string
- The description of the backend.
- name string
- The name of the API Management backend. Changing this forces a new resource to be created.
- protocol string
- The protocol used by the backend host. Possible values are httporsoap.
- proxy
BackendProxy 
- A proxyblock as documented below.
- resourceGroup stringName 
- The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- resourceId string
- The management URI of the backend host in an external system. This URI can be the ARM Resource ID of Logic Apps, Function Apps or API Apps, or the management endpoint of a Service Fabric cluster.
- serviceFabric BackendCluster Service Fabric Cluster 
- A service_fabric_clusterblock as documented below.
- title string
- The title of the backend.
- tls
BackendTls 
- A tlsblock as documented below.
- url string
- The backend host URL should be specified in the format "https://backend.com/api", avoiding trailing slashes (/) to minimize misconfiguration risks. Azure API Management instance will append the backend resource name to this URL. This URL typically serves as thebase-urlin theset-backend-servicepolicy, enabling seamless transitions from frontend to backend.
- api_management_ strname 
- The Name of the API Management Service where this backend should be created. Changing this forces a new resource to be created.
- credentials
BackendCredentials Args 
- A credentialsblock as documented below.
- description str
- The description of the backend.
- name str
- The name of the API Management backend. Changing this forces a new resource to be created.
- protocol str
- The protocol used by the backend host. Possible values are httporsoap.
- proxy
BackendProxy Args 
- A proxyblock as documented below.
- resource_group_ strname 
- The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- resource_id str
- The management URI of the backend host in an external system. This URI can be the ARM Resource ID of Logic Apps, Function Apps or API Apps, or the management endpoint of a Service Fabric cluster.
- service_fabric_ Backendcluster Service Fabric Cluster Args 
- A service_fabric_clusterblock as documented below.
- title str
- The title of the backend.
- tls
BackendTls Args 
- A tlsblock as documented below.
- url str
- The backend host URL should be specified in the format "https://backend.com/api", avoiding trailing slashes (/) to minimize misconfiguration risks. Azure API Management instance will append the backend resource name to this URL. This URL typically serves as thebase-urlin theset-backend-servicepolicy, enabling seamless transitions from frontend to backend.
- apiManagement StringName 
- The Name of the API Management Service where this backend should be created. Changing this forces a new resource to be created.
- credentials Property Map
- A credentialsblock as documented below.
- description String
- The description of the backend.
- name String
- The name of the API Management backend. Changing this forces a new resource to be created.
- protocol String
- The protocol used by the backend host. Possible values are httporsoap.
- proxy Property Map
- A proxyblock as documented below.
- resourceGroup StringName 
- The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- resourceId String
- The management URI of the backend host in an external system. This URI can be the ARM Resource ID of Logic Apps, Function Apps or API Apps, or the management endpoint of a Service Fabric cluster.
- serviceFabric Property MapCluster 
- A service_fabric_clusterblock as documented below.
- title String
- The title of the backend.
- tls Property Map
- A tlsblock as documented below.
- url String
- The backend host URL should be specified in the format "https://backend.com/api", avoiding trailing slashes (/) to minimize misconfiguration risks. Azure API Management instance will append the backend resource name to this URL. This URL typically serves as thebase-urlin theset-backend-servicepolicy, enabling seamless transitions from frontend to backend.
Supporting Types
BackendCredentials, BackendCredentialsArgs    
- 
BackendCredentials Authorization 
- An authorizationblock as defined below.
- Certificates List<string>
- A list of client certificate thumbprints to present to the backend host. The certificates must exist within the API Management Service.
- Header Dictionary<string, string>
- A mapping of header parameters to pass to the backend host. The keys are the header names and the values are a comma separated string of header values. This is converted to a list before being passed to the API.
- Query Dictionary<string, string>
- A mapping of query parameters to pass to the backend host. The keys are the query names and the values are a comma separated string of query values. This is converted to a list before being passed to the API.
- 
BackendCredentials Authorization 
- An authorizationblock as defined below.
- Certificates []string
- A list of client certificate thumbprints to present to the backend host. The certificates must exist within the API Management Service.
- Header map[string]string
- A mapping of header parameters to pass to the backend host. The keys are the header names and the values are a comma separated string of header values. This is converted to a list before being passed to the API.
- Query map[string]string
- A mapping of query parameters to pass to the backend host. The keys are the query names and the values are a comma separated string of query values. This is converted to a list before being passed to the API.
- 
BackendCredentials Authorization 
- An authorizationblock as defined below.
- certificates List<String>
- A list of client certificate thumbprints to present to the backend host. The certificates must exist within the API Management Service.
- header Map<String,String>
- A mapping of header parameters to pass to the backend host. The keys are the header names and the values are a comma separated string of header values. This is converted to a list before being passed to the API.
- query Map<String,String>
- A mapping of query parameters to pass to the backend host. The keys are the query names and the values are a comma separated string of query values. This is converted to a list before being passed to the API.
- 
BackendCredentials Authorization 
- An authorizationblock as defined below.
- certificates string[]
- A list of client certificate thumbprints to present to the backend host. The certificates must exist within the API Management Service.
- header {[key: string]: string}
- A mapping of header parameters to pass to the backend host. The keys are the header names and the values are a comma separated string of header values. This is converted to a list before being passed to the API.
- query {[key: string]: string}
- A mapping of query parameters to pass to the backend host. The keys are the query names and the values are a comma separated string of query values. This is converted to a list before being passed to the API.
- 
BackendCredentials Authorization 
- An authorizationblock as defined below.
- certificates Sequence[str]
- A list of client certificate thumbprints to present to the backend host. The certificates must exist within the API Management Service.
- header Mapping[str, str]
- A mapping of header parameters to pass to the backend host. The keys are the header names and the values are a comma separated string of header values. This is converted to a list before being passed to the API.
- query Mapping[str, str]
- A mapping of query parameters to pass to the backend host. The keys are the query names and the values are a comma separated string of query values. This is converted to a list before being passed to the API.
- Property Map
- An authorizationblock as defined below.
- certificates List<String>
- A list of client certificate thumbprints to present to the backend host. The certificates must exist within the API Management Service.
- header Map<String>
- A mapping of header parameters to pass to the backend host. The keys are the header names and the values are a comma separated string of header values. This is converted to a list before being passed to the API.
- query Map<String>
- A mapping of query parameters to pass to the backend host. The keys are the query names and the values are a comma separated string of query values. This is converted to a list before being passed to the API.
BackendCredentialsAuthorization, BackendCredentialsAuthorizationArgs      
BackendProxy, BackendProxyArgs    
BackendServiceFabricCluster, BackendServiceFabricClusterArgs        
- ManagementEndpoints List<string>
- A list of cluster management endpoints.
- MaxPartition intResolution Retries 
- The maximum number of retries when attempting resolve the partition.
- ClientCertificate stringId 
- The client certificate resource id for the management endpoint. - Note: At least one of - client_certificate_thumbprint, and- client_certificate_idmust be set.
- ClientCertificate stringThumbprint 
- The client certificate thumbprint for the management endpoint.
- ServerCertificate List<string>Thumbprints 
- A list of thumbprints of the server certificates of the Service Fabric cluster.
- ServerX509Names List<BackendService Fabric Cluster Server X509Name> 
- One or more server_x509_nameblocks as documented below.
- ManagementEndpoints []string
- A list of cluster management endpoints.
- MaxPartition intResolution Retries 
- The maximum number of retries when attempting resolve the partition.
- ClientCertificate stringId 
- The client certificate resource id for the management endpoint. - Note: At least one of - client_certificate_thumbprint, and- client_certificate_idmust be set.
- ClientCertificate stringThumbprint 
- The client certificate thumbprint for the management endpoint.
- ServerCertificate []stringThumbprints 
- A list of thumbprints of the server certificates of the Service Fabric cluster.
- ServerX509Names []BackendService Fabric Cluster Server X509Name 
- One or more server_x509_nameblocks as documented below.
- managementEndpoints List<String>
- A list of cluster management endpoints.
- maxPartition IntegerResolution Retries 
- The maximum number of retries when attempting resolve the partition.
- clientCertificate StringId 
- The client certificate resource id for the management endpoint. - Note: At least one of - client_certificate_thumbprint, and- client_certificate_idmust be set.
- clientCertificate StringThumbprint 
- The client certificate thumbprint for the management endpoint.
- serverCertificate List<String>Thumbprints 
- A list of thumbprints of the server certificates of the Service Fabric cluster.
- serverX509Names List<BackendService Fabric Cluster Server X509Name> 
- One or more server_x509_nameblocks as documented below.
- managementEndpoints string[]
- A list of cluster management endpoints.
- maxPartition numberResolution Retries 
- The maximum number of retries when attempting resolve the partition.
- clientCertificate stringId 
- The client certificate resource id for the management endpoint. - Note: At least one of - client_certificate_thumbprint, and- client_certificate_idmust be set.
- clientCertificate stringThumbprint 
- The client certificate thumbprint for the management endpoint.
- serverCertificate string[]Thumbprints 
- A list of thumbprints of the server certificates of the Service Fabric cluster.
- serverX509Names BackendService Fabric Cluster Server X509Name[] 
- One or more server_x509_nameblocks as documented below.
- management_endpoints Sequence[str]
- A list of cluster management endpoints.
- max_partition_ intresolution_ retries 
- The maximum number of retries when attempting resolve the partition.
- client_certificate_ strid 
- The client certificate resource id for the management endpoint. - Note: At least one of - client_certificate_thumbprint, and- client_certificate_idmust be set.
- client_certificate_ strthumbprint 
- The client certificate thumbprint for the management endpoint.
- server_certificate_ Sequence[str]thumbprints 
- A list of thumbprints of the server certificates of the Service Fabric cluster.
- server_x509_ Sequence[Backendnames Service Fabric Cluster Server X509Name] 
- One or more server_x509_nameblocks as documented below.
- managementEndpoints List<String>
- A list of cluster management endpoints.
- maxPartition NumberResolution Retries 
- The maximum number of retries when attempting resolve the partition.
- clientCertificate StringId 
- The client certificate resource id for the management endpoint. - Note: At least one of - client_certificate_thumbprint, and- client_certificate_idmust be set.
- clientCertificate StringThumbprint 
- The client certificate thumbprint for the management endpoint.
- serverCertificate List<String>Thumbprints 
- A list of thumbprints of the server certificates of the Service Fabric cluster.
- serverX509Names List<Property Map>
- One or more server_x509_nameblocks as documented below.
BackendServiceFabricClusterServerX509Name, BackendServiceFabricClusterServerX509NameArgs            
- IssuerCertificate stringThumbprint 
- The thumbprint for the issuer of the certificate.
- Name string
- The common name of the certificate.
- IssuerCertificate stringThumbprint 
- The thumbprint for the issuer of the certificate.
- Name string
- The common name of the certificate.
- issuerCertificate StringThumbprint 
- The thumbprint for the issuer of the certificate.
- name String
- The common name of the certificate.
- issuerCertificate stringThumbprint 
- The thumbprint for the issuer of the certificate.
- name string
- The common name of the certificate.
- issuer_certificate_ strthumbprint 
- The thumbprint for the issuer of the certificate.
- name str
- The common name of the certificate.
- issuerCertificate StringThumbprint 
- The thumbprint for the issuer of the certificate.
- name String
- The common name of the certificate.
BackendTls, BackendTlsArgs    
- ValidateCertificate boolChain 
- Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for the backend host.
- ValidateCertificate boolName 
- Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for the backend host.
- ValidateCertificate boolChain 
- Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for the backend host.
- ValidateCertificate boolName 
- Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for the backend host.
- validateCertificate BooleanChain 
- Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for the backend host.
- validateCertificate BooleanName 
- Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for the backend host.
- validateCertificate booleanChain 
- Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for the backend host.
- validateCertificate booleanName 
- Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for the backend host.
- validate_certificate_ boolchain 
- Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for the backend host.
- validate_certificate_ boolname 
- Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for the backend host.
- validateCertificate BooleanChain 
- Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for the backend host.
- validateCertificate BooleanName 
- Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for the backend host.
Import
API Management backends can be imported using the resource id, e.g.
$ pulumi import azure:apimanagement/backend:Backend example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/instance1/backends/backend1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.