共用方式為


ArmHybridConnectivityModelFactory.IngressGatewayAsset Method

Definition

Initializes a new instance of IngressGatewayAsset.

public static Azure.ResourceManager.HybridConnectivity.Models.IngressGatewayAsset IngressGatewayAsset (string hostname = default, Guid? serverId = default, Guid? tenantId = default, string namespaceName = default, string namespaceNameSuffix = default, string hybridConnectionName = default, string accessKey = default, long? expiresOn = default, string serviceConfigurationToken = default);
static member IngressGatewayAsset : string * Nullable<Guid> * Nullable<Guid> * string * string * string * string * Nullable<int64> * string -> Azure.ResourceManager.HybridConnectivity.Models.IngressGatewayAsset
Public Shared Function IngressGatewayAsset (Optional hostname As String = Nothing, Optional serverId As Nullable(Of Guid) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional namespaceName As String = Nothing, Optional namespaceNameSuffix As String = Nothing, Optional hybridConnectionName As String = Nothing, Optional accessKey As String = Nothing, Optional expiresOn As Nullable(Of Long) = Nothing, Optional serviceConfigurationToken As String = Nothing) As IngressGatewayAsset

Parameters

hostname
String

The ingress hostname.

serverId
Nullable<Guid>

The arc ingress gateway server app id.

tenantId
Nullable<Guid>

The target resource home tenant id.

namespaceName
String

The namespace name.

namespaceNameSuffix
String

The suffix domain name of relay namespace.

hybridConnectionName
String

Azure Relay hybrid connection name for the resource.

accessKey
String

Access key for hybrid connection.

expiresOn
Nullable<Int64>

The expiration of access key in unix time.

serviceConfigurationToken
String

The token to access the enabled service.

Returns

A new IngressGatewayAsset instance for mocking.

Applies to