你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmHybridConnectivityModelFactory.IngressGatewayAsset Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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.
- serviceConfigurationToken
- String
The token to access the enabled service.
Returns
A new IngressGatewayAsset instance for mocking.