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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET