ArmBatchModelFactory.BatchAccessRule Method

Definition

Initializes a new instance of BatchAccessRule.

public static Azure.ResourceManager.Batch.Models.BatchAccessRule BatchAccessRule (string name = default, Azure.ResourceManager.Batch.Models.BatchAccessRuleProperties properties = default);
static member BatchAccessRule : string * Azure.ResourceManager.Batch.Models.BatchAccessRuleProperties -> Azure.ResourceManager.Batch.Models.BatchAccessRule
Public Shared Function BatchAccessRule (Optional name As String = Nothing, Optional properties As BatchAccessRuleProperties = Nothing) As BatchAccessRule

Parameters

name
String

Name of the access rule.

properties
BatchAccessRuleProperties

Properties of Access Rule.

Returns

A new BatchAccessRule instance for mocking.

Applies to