Share via


ArmBatchModelFactory.BatchResourceAssociation Method

Definition

Initializes a new instance of BatchResourceAssociation.

public static Azure.ResourceManager.Batch.Models.BatchResourceAssociation BatchResourceAssociation (string name = default, Azure.ResourceManager.Batch.Models.ResourceAssociationAccessMode? accessMode = default);
static member BatchResourceAssociation : string * Nullable<Azure.ResourceManager.Batch.Models.ResourceAssociationAccessMode> -> Azure.ResourceManager.Batch.Models.BatchResourceAssociation
Public Shared Function BatchResourceAssociation (Optional name As String = Nothing, Optional accessMode As Nullable(Of ResourceAssociationAccessMode) = Nothing) As BatchResourceAssociation

Parameters

name
String

Name of the resource association.

accessMode
Nullable<ResourceAssociationAccessMode>

Access mode of the resource association.

Returns

A new BatchResourceAssociation instance for mocking.

Applies to