ArmHybridComputeModelFactory.HybridComputeAccessRule 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 HybridComputeAccessRule.
public static Azure.ResourceManager.HybridCompute.Models.HybridComputeAccessRule HybridComputeAccessRule (string name = default, Azure.ResourceManager.HybridCompute.Models.HybridComputeAccessRuleDirection? direction = default, System.Collections.Generic.IEnumerable<string> addressPrefixes = default);
static member HybridComputeAccessRule : string * Nullable<Azure.ResourceManager.HybridCompute.Models.HybridComputeAccessRuleDirection> * seq<string> -> Azure.ResourceManager.HybridCompute.Models.HybridComputeAccessRule
Public Shared Function HybridComputeAccessRule (Optional name As String = Nothing, Optional direction As Nullable(Of HybridComputeAccessRuleDirection) = Nothing, Optional addressPrefixes As IEnumerable(Of String) = Nothing) As HybridComputeAccessRule
Parameters
- name
- String
Name of the access rule.
- direction
- Nullable<HybridComputeAccessRuleDirection>
Direction of the access rule.
- addressPrefixes
- IEnumerable<String>
Address prefixes that are allowed access.
Returns
A new HybridComputeAccessRule instance for mocking.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET