Backend
Manages a backend within an API Management Service.
Create a Backend Resource
new Backend(name: string, args: BackendArgs, opts?: CustomResourceOptions);def Backend(resource_name, opts=None, api_management_name=None, credentials=None, description=None, name=None, protocol=None, proxy=None, resource_group_name=None, resource_id=None, service_fabric_cluster=None, title=None, tls=None, url=None, __props__=None);func NewBackend(ctx *Context, name string, args BackendArgs, opts ...ResourceOption) (*Backend, error)public Backend(string name, BackendArgs args, CustomResourceOptions? opts = null)- 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.
- opts ResourceOptions
- A bag of options that control this 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.
Backend Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Backend resource accepts the following input properties:
- Api
Management 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.- Resource
Group 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 URL of the backend host.
- Credentials
Backend
Credentials 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
Backend
Proxy Args A
proxyblock as documented below.- Resource
Id 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.
- Service
Fabric BackendCluster Service Fabric Cluster Args A
service_fabric_clusterblock as documented below.- Title string
The title of the backend.
- Tls
Backend
Tls Args A
tlsblock as documented below.
- Api
Management 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.- Resource
Group 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 URL of the backend host.
- Credentials
Backend
Credentials 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
Backend
Proxy A
proxyblock as documented below.- Resource
Id 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.
- Service
Fabric BackendCluster Service Fabric Cluster A
service_fabric_clusterblock as documented below.- Title string
The title of the backend.
- Tls
Backend
Tls A
tlsblock as documented below.
- api
Management 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.- resource
Group 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 URL of the backend host.
- credentials
Backend
Credentials 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
Backend
Proxy A
proxyblock as documented below.- resource
Id 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.
- service
Fabric BackendCluster Service Fabric Cluster A
service_fabric_clusterblock as documented below.- title string
The title of the backend.
- tls
Backend
Tls 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 URL of the backend host.
- credentials
Dict[Backend
Credentials] 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
Dict[Backend
Proxy] 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_ Dict[Backendcluster Service Fabric Cluster] A
service_fabric_clusterblock as documented below.- title str
The title of the backend.
- tls
Dict[Backend
Tls] A
tlsblock as documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the Backend resource produces the following output properties:
Look up an 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): Backendstatic get(resource_name, id, opts=None, api_management_name=None, credentials=None, description=None, name=None, protocol=None, proxy=None, resource_group_name=None, resource_id=None, service_fabric_cluster=None, title=None, tls=None, url=None, __props__=None);func 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)- 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.
The following state arguments are supported:
- Api
Management stringName The Name of the API Management Service where this backend should be created. Changing this forces a new resource to be created.
- Credentials
Backend
Credentials 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
Backend
Proxy Args A
proxyblock as documented below.- Resource
Group stringName The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- Resource
Id 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.
- Service
Fabric BackendCluster Service Fabric Cluster Args A
service_fabric_clusterblock as documented below.- Title string
The title of the backend.
- Tls
Backend
Tls Args A
tlsblock as documented below.- Url string
The URL of the backend host.
- Api
Management stringName The Name of the API Management Service where this backend should be created. Changing this forces a new resource to be created.
- Credentials
Backend
Credentials 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
Backend
Proxy A
proxyblock as documented below.- Resource
Group stringName The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- Resource
Id 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.
- Service
Fabric BackendCluster Service Fabric Cluster A
service_fabric_clusterblock as documented below.- Title string
The title of the backend.
- Tls
Backend
Tls A
tlsblock as documented below.- Url string
The URL of the backend host.
- api
Management stringName The Name of the API Management Service where this backend should be created. Changing this forces a new resource to be created.
- credentials
Backend
Credentials 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
Backend
Proxy A
proxyblock as documented below.- resource
Group stringName The Name of the Resource Group where the API Management Service exists. Changing this forces a new resource to be created.
- resource
Id 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.
- service
Fabric BackendCluster Service Fabric Cluster A
service_fabric_clusterblock as documented below.- title string
The title of the backend.
- tls
Backend
Tls A
tlsblock as documented below.- url string
The URL of the backend host.
- 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
Dict[Backend
Credentials] 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
Dict[Backend
Proxy] 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_ Dict[Backendcluster Service Fabric Cluster] A
service_fabric_clusterblock as documented below.- title str
The title of the backend.
- tls
Dict[Backend
Tls] A
tlsblock as documented below.- url str
The URL of the backend host.
Supporting Types
BackendCredentials
-
Backend
Credentials Authorization Args 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.
-
Backend
Credentials 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.
-
Backend
Credentials 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.
-
Dict[Backend
Credentials Authorization] An
authorizationblock as defined below.- certificates List[str]
A list of client certificate thumbprints to present to the backend host. The certificates must exist within the API Management Service.
- header Dict[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 Dict[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.
BackendCredentialsAuthorization
BackendProxy
BackendServiceFabricCluster
- Client
Certificate stringThumbprint The client certificate thumbprint for the management endpoint.
- Management
Endpoints List<string> A list of cluster management endpoints.
- Max
Partition intResolution Retries The maximum number of retries when attempting resolve the partition.
- Server
Certificate List<string>Thumbprints A list of thumbprints of the server certificates of the Service Fabric cluster.
- Server
X509Names List<BackendService Fabric Cluster Server X509Name Args> One or more
server_x509_nameblocks as documented below.
- Client
Certificate stringThumbprint The client certificate thumbprint for the management endpoint.
- Management
Endpoints []string A list of cluster management endpoints.
- Max
Partition intResolution Retries The maximum number of retries when attempting resolve the partition.
- Server
Certificate []stringThumbprints A list of thumbprints of the server certificates of the Service Fabric cluster.
- Server
X509Names []BackendService Fabric Cluster Server X509Name One or more
server_x509_nameblocks as documented below.
- client
Certificate stringThumbprint The client certificate thumbprint for the management endpoint.
- management
Endpoints string[] A list of cluster management endpoints.
- max
Partition numberResolution Retries The maximum number of retries when attempting resolve the partition.
- server
Certificate string[]Thumbprints A list of thumbprints of the server certificates of the Service Fabric cluster.
- server
X509Names BackendService Fabric Cluster Server X509Name[] One or more
server_x509_nameblocks as documented below.
- client
Certificate strThumbprint The client certificate thumbprint for the management endpoint.
- management
Endpoints List[str] A list of cluster management endpoints.
- max
Partition floatResolution Retries The maximum number of retries when attempting resolve the partition.
- server
Certificate List[str]Thumbprints A list of thumbprints of the server certificates of the Service Fabric cluster.
- server
X509Names List[BackendService Fabric Cluster Server X509Name] One or more
server_x509_nameblocks as documented below.
BackendServiceFabricClusterServerX509Name
- Issuer
Certificate stringThumbprint The thumbprint for the issuer of the certificate.
- Name string
The name of the API Management backend. Changing this forces a new resource to be created.
- Issuer
Certificate stringThumbprint The thumbprint for the issuer of the certificate.
- Name string
The name of the API Management backend. Changing this forces a new resource to be created.
- issuer
Certificate stringThumbprint The thumbprint for the issuer of the certificate.
- name string
The name of the API Management backend. Changing this forces a new resource to be created.
- issuer
Certificate strThumbprint The thumbprint for the issuer of the certificate.
- name str
The name of the API Management backend. Changing this forces a new resource to be created.
BackendTls
- 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.
- 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.
- validate
Certificate booleanChain Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for the backend host.
- validate
Certificate 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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.