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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET