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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for .NET