다음을 통해 공유


WcfRelay Constructors

Definition

Overloads

WcfRelay()

Initializes a new instance of the WcfRelay class.

WcfRelay(String, String, String, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, Nullable<Relaytype>, Nullable<Boolean>, Nullable<Boolean>, String)

Initializes a new instance of the WcfRelay class.

WcfRelay()

Initializes a new instance of the WcfRelay class.

public WcfRelay ();
Public Sub New ()

Applies to

WcfRelay(String, String, String, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, Nullable<Int32>, Nullable<Relaytype>, Nullable<Boolean>, Nullable<Boolean>, String)

Initializes a new instance of the WcfRelay class.

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

Parameters

id
String

Resource Id

name
String

Resource name

type
String

Resource type

isDynamic
Nullable<Boolean>

true if the relay is dynamic; otherwise, false.

createdAt
Nullable<DateTime>

The time the WCFRelay was created.

updatedAt
Nullable<DateTime>

The time the namespace was updated.

listenerCount
Nullable<Int32>

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

relayType
Nullable<Relaytype>

WCFRelay Type. Possible values include: 'NetTcp', 'Http'

requiresClientAuthorization
Nullable<Boolean>

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

requiresTransportSecurity
Nullable<Boolean>

true if transport security is needed for this relay; 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