Sdílet prostřednictvím


ArmAppServiceModelFactory.HybridConnectionData Method

Definition

Initializes a new instance of HybridConnectionData.

public static Azure.ResourceManager.AppService.HybridConnectionData HybridConnectionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string serviceBusNamespace = default, string relayName = default, Azure.Core.ResourceIdentifier relayArmId = default, string hostname = default, int? port = default, string sendKeyName = default, string sendKeyValue = default, string serviceBusSuffix = default, string kind = default);
static member HybridConnectionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Azure.Core.ResourceIdentifier * string * Nullable<int> * string * string * string * string -> Azure.ResourceManager.AppService.HybridConnectionData
Public Shared Function HybridConnectionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional serviceBusNamespace As String = Nothing, Optional relayName As String = Nothing, Optional relayArmId As ResourceIdentifier = Nothing, Optional hostname As String = Nothing, Optional port As Nullable(Of Integer) = Nothing, Optional sendKeyName As String = Nothing, Optional sendKeyValue As String = Nothing, Optional serviceBusSuffix As String = Nothing, Optional kind As String = Nothing) As HybridConnectionData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

serviceBusNamespace
String

The name of the Service Bus namespace.

relayName
String

The name of the Service Bus relay.

relayArmId
ResourceIdentifier

The ARM URI to the Service Bus relay.

hostname
String

The hostname of the endpoint.

port
Nullable<Int32>

The port of the endpoint.

sendKeyName
String

The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.

sendKeyValue
String

The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned normally, use the POST /listKeys API instead.

serviceBusSuffix
String

The suffix for the service bus endpoint. By default this is .servicebus.windows.net.

kind
String

Kind of resource.

Returns

A new HybridConnectionData instance for mocking.

Applies to