Partilhar via


ArmComputeModelFactory.ShareInfoElement(Uri) Method

Definition

Initializes a new instance of ShareInfoElement.

public static Azure.ResourceManager.Compute.Models.ShareInfoElement ShareInfoElement (Uri vmUri = default);
static member ShareInfoElement : Uri -> Azure.ResourceManager.Compute.Models.ShareInfoElement
Public Shared Function ShareInfoElement (Optional vmUri As Uri = Nothing) As ShareInfoElement

Parameters

vmUri
Uri

A relative URI containing the ID of the VM that has the disk attached.

Returns

A new ShareInfoElement instance for mocking.

Applies to