Delen via


ArmComputeModelFactory.SharingStatus Method

Definition

Initializes a new instance of SharingStatus.

public static Azure.ResourceManager.Compute.Models.SharingStatus SharingStatus (Azure.ResourceManager.Compute.Models.SharingState? aggregatedState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.RegionalSharingStatus> summary = default);
static member SharingStatus : Nullable<Azure.ResourceManager.Compute.Models.SharingState> * seq<Azure.ResourceManager.Compute.Models.RegionalSharingStatus> -> Azure.ResourceManager.Compute.Models.SharingStatus
Public Shared Function SharingStatus (Optional aggregatedState As Nullable(Of SharingState) = Nothing, Optional summary As IEnumerable(Of RegionalSharingStatus) = Nothing) As SharingStatus

Parameters

aggregatedState
Nullable<SharingState>

Aggregated sharing state of current gallery.

summary
IEnumerable<RegionalSharingStatus>

Summary of all regional sharing status.

Returns

A new SharingStatus instance for mocking.

Applies to