Compartilhar via


ArmRelayModelFactory.RelayHybridConnectionData Method

Definition

Initializes a new instance of RelayHybridConnectionData.

public static Azure.ResourceManager.Relay.RelayHybridConnectionData RelayHybridConnectionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, int? listenerCount = default, bool? isClientAuthorizationRequired = default, string userMetadata = default, Azure.Core.AzureLocation? location = default);
static member RelayHybridConnectionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Nullable<bool> * string * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.Relay.RelayHybridConnectionData
Public Shared Function RelayHybridConnectionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional listenerCount As Nullable(Of Integer) = Nothing, Optional isClientAuthorizationRequired As Nullable(Of Boolean) = Nothing, Optional userMetadata As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing) As RelayHybridConnectionData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

createdOn
Nullable<DateTimeOffset>

The time the hybrid connection was created.

updatedOn
Nullable<DateTimeOffset>

The time the namespace was updated.

listenerCount
Nullable<Int32>

The number of listeners for this hybrid connection. Note that min : 1 and max:25 are supported.

isClientAuthorizationRequired
Nullable<Boolean>

Returns true if client authorization is needed for this hybrid connection; otherwise, false.

userMetadata
String

The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint. For example, it can be used to store descriptive data, such as a list of teams and their contact information. Also, user-defined configuration settings can be stored.

location
Nullable<AzureLocation>

The geo-location where the resource lives.

Returns

A new RelayHybridConnectionData instance for mocking.

Applies to