azure-native.web.WebAppRelayServiceConnectionSlot
Explore with Pulumi AI
Hybrid Connection for an App Service app. API Version: 2020-12-01.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:web:WebAppRelayServiceConnectionSlot myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}
Create WebAppRelayServiceConnectionSlot Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WebAppRelayServiceConnectionSlot(name: string, args: WebAppRelayServiceConnectionSlotArgs, opts?: CustomResourceOptions);
@overload
def WebAppRelayServiceConnectionSlot(resource_name: str,
args: WebAppRelayServiceConnectionSlotArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WebAppRelayServiceConnectionSlot(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
slot: Optional[str] = None,
biztalk_uri: Optional[str] = None,
entity_connection_string: Optional[str] = None,
entity_name: Optional[str] = None,
hostname: Optional[str] = None,
kind: Optional[str] = None,
port: Optional[int] = None,
resource_connection_string: Optional[str] = None,
resource_type: Optional[str] = None)
func NewWebAppRelayServiceConnectionSlot(ctx *Context, name string, args WebAppRelayServiceConnectionSlotArgs, opts ...ResourceOption) (*WebAppRelayServiceConnectionSlot, error)
public WebAppRelayServiceConnectionSlot(string name, WebAppRelayServiceConnectionSlotArgs args, CustomResourceOptions? opts = null)
public WebAppRelayServiceConnectionSlot(String name, WebAppRelayServiceConnectionSlotArgs args)
public WebAppRelayServiceConnectionSlot(String name, WebAppRelayServiceConnectionSlotArgs args, CustomResourceOptions options)
type: azure-native:web:WebAppRelayServiceConnectionSlot
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 WebAppRelayServiceConnectionSlotArgs
- 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 WebAppRelayServiceConnectionSlotArgs
- 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 WebAppRelayServiceConnectionSlotArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebAppRelayServiceConnectionSlotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WebAppRelayServiceConnectionSlotArgs
- 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 webAppRelayServiceConnectionSlotResource = new AzureNative.Web.WebAppRelayServiceConnectionSlot("webAppRelayServiceConnectionSlotResource", new()
{
Name = "string",
ResourceGroupName = "string",
Slot = "string",
BiztalkUri = "string",
EntityConnectionString = "string",
EntityName = "string",
Hostname = "string",
Kind = "string",
Port = 0,
ResourceConnectionString = "string",
ResourceType = "string",
});
example, err := web.NewWebAppRelayServiceConnectionSlot(ctx, "webAppRelayServiceConnectionSlotResource", &web.WebAppRelayServiceConnectionSlotArgs{
Name: "string",
ResourceGroupName: "string",
Slot: "string",
BiztalkUri: "string",
EntityConnectionString: "string",
EntityName: "string",
Hostname: "string",
Kind: "string",
Port: 0,
ResourceConnectionString: "string",
ResourceType: "string",
})
var webAppRelayServiceConnectionSlotResource = new WebAppRelayServiceConnectionSlot("webAppRelayServiceConnectionSlotResource", WebAppRelayServiceConnectionSlotArgs.builder()
.name("string")
.resourceGroupName("string")
.slot("string")
.biztalkUri("string")
.entityConnectionString("string")
.entityName("string")
.hostname("string")
.kind("string")
.port(0)
.resourceConnectionString("string")
.resourceType("string")
.build());
web_app_relay_service_connection_slot_resource = azure_native.web.WebAppRelayServiceConnectionSlot("webAppRelayServiceConnectionSlotResource",
name=string,
resource_group_name=string,
slot=string,
biztalk_uri=string,
entity_connection_string=string,
entity_name=string,
hostname=string,
kind=string,
port=0,
resource_connection_string=string,
resource_type=string)
const webAppRelayServiceConnectionSlotResource = new azure_native.web.WebAppRelayServiceConnectionSlot("webAppRelayServiceConnectionSlotResource", {
name: "string",
resourceGroupName: "string",
slot: "string",
biztalkUri: "string",
entityConnectionString: "string",
entityName: "string",
hostname: "string",
kind: "string",
port: 0,
resourceConnectionString: "string",
resourceType: "string",
});
type: azure-native:web:WebAppRelayServiceConnectionSlot
properties:
biztalkUri: string
entityConnectionString: string
entityName: string
hostname: string
kind: string
name: string
port: 0
resourceConnectionString: string
resourceGroupName: string
resourceType: string
slot: string
WebAppRelayServiceConnectionSlot 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 WebAppRelayServiceConnectionSlot resource accepts the following input properties:
- Name string
- Name of the app.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Slot string
- Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot.
- Biztalk
Uri string - Entity
Connection stringString - Entity
Name string - Hostname string
- Kind string
- Kind of resource.
- Port int
- Resource
Connection stringString - Resource
Type string
- Name string
- Name of the app.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Slot string
- Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot.
- Biztalk
Uri string - Entity
Connection stringString - Entity
Name string - Hostname string
- Kind string
- Kind of resource.
- Port int
- Resource
Connection stringString - Resource
Type string
- name String
- Name of the app.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- slot String
- Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot.
- biztalk
Uri String - entity
Connection StringString - entity
Name String - hostname String
- kind String
- Kind of resource.
- port Integer
- resource
Connection StringString - resource
Type String
- name string
- Name of the app.
- resource
Group stringName - Name of the resource group to which the resource belongs.
- slot string
- Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot.
- biztalk
Uri string - entity
Connection stringString - entity
Name string - hostname string
- kind string
- Kind of resource.
- port number
- resource
Connection stringString - resource
Type string
- name str
- Name of the app.
- resource_
group_ strname - Name of the resource group to which the resource belongs.
- slot str
- Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot.
- biztalk_
uri str - entity_
connection_ strstring - entity_
name str - hostname str
- kind str
- Kind of resource.
- port int
- resource_
connection_ strstring - resource_
type str
- name String
- Name of the app.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- slot String
- Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot.
- biztalk
Uri String - entity
Connection StringString - entity
Name String - hostname String
- kind String
- Kind of resource.
- port Number
- resource
Connection StringString - resource
Type String
Outputs
All input properties are implicitly available as output properties. Additionally, the WebAppRelayServiceConnectionSlot resource produces the following output properties:
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0