共用方式為


HybridConnection Constructors

Definition

Overloads

HybridConnection()

Initializes a new instance of the HybridConnection class.

HybridConnection(String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, Nullable<Boolean>, String)

Initializes a new instance of the HybridConnection class.

HybridConnection()

Initializes a new instance of the HybridConnection class.

public HybridConnection ();
Public Sub New ()

Applies to

HybridConnection(String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, Nullable<Boolean>, String)

Initializes a new instance of the HybridConnection class.

public HybridConnection (string id = default, string name = default, string type = default, DateTime? createdAt = default, DateTime? updatedAt = default, int? listenerCount = default, bool? requiresClientAuthorization = default, string userMetadata = default);
new Microsoft.Azure.Management.Relay.Models.HybridConnection : string * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<int> * Nullable<bool> * string -> Microsoft.Azure.Management.Relay.Models.HybridConnection
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional createdAt As Nullable(Of DateTime) = Nothing, Optional updatedAt As Nullable(Of DateTime) = Nothing, Optional listenerCount As Nullable(Of Integer) = Nothing, Optional requiresClientAuthorization As Nullable(Of Boolean) = Nothing, Optional userMetadata As String = Nothing)

Parameters

id
String

Resource Id

name
String

Resource name

type
String

Resource type

createdAt
Nullable<DateTime>

The time the HybridConnection was created.

updatedAt
Nullable<DateTime>

The time the namespace was updated.

listenerCount
Nullable<Int32>

The number of listeners for this HybridConnection. min : 1 and max:25 supported

requiresClientAuthorization
Nullable<Boolean>

true if client authorization is needed for this HybridConnection; otherwise, false.

userMetadata
String

usermetadata is a placeholder to store user-defined string data for the HybridConnection endpoint.e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.

Applies to