你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmHybridConnectivityModelFactory.ManagedProxyAsset(String, Int64) 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 ManagedProxyAsset.
public static Azure.ResourceManager.HybridConnectivity.Models.ManagedProxyAsset ManagedProxyAsset (string proxy = default, long expiresOn = 0);
static member ManagedProxyAsset : string * int64 -> Azure.ResourceManager.HybridConnectivity.Models.ManagedProxyAsset
Public Shared Function ManagedProxyAsset (Optional proxy As String = Nothing, Optional expiresOn As Long = 0) As ManagedProxyAsset
Parameters
- proxy
- String
The short lived proxy name.
- expiresOn
- Int64
The expiration time of short lived proxy name in unix epoch.
Returns
A new ManagedProxyAsset instance for mocking.