Udostępnij za pośrednictwem


ArmComputeScheduleModelFactory.DeallocateResourceOperationResult Method

Definition

Initializes a new instance of DeallocateResourceOperationResult.

public static Azure.ResourceManager.ComputeSchedule.Models.DeallocateResourceOperationResult DeallocateResourceOperationResult (string description = default, string resourceType = default, Azure.Core.AzureLocation location = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ComputeSchedule.Models.ResourceOperationResult> results = default);
static member DeallocateResourceOperationResult : string * string * Azure.Core.AzureLocation * seq<Azure.ResourceManager.ComputeSchedule.Models.ResourceOperationResult> -> Azure.ResourceManager.ComputeSchedule.Models.DeallocateResourceOperationResult
Public Shared Function DeallocateResourceOperationResult (Optional description As String = Nothing, Optional resourceType As String = Nothing, Optional location As AzureLocation = Nothing, Optional results As IEnumerable(Of ResourceOperationResult) = Nothing) As DeallocateResourceOperationResult

Parameters

description
String

The description of the operation response.

resourceType
String

The type of resources used in the deallocate request eg virtual machines.

location
AzureLocation

The location of the deallocate request eg westus.

results
IEnumerable<ResourceOperationResult>

The results from the deallocate request if no errors exist.

Returns

A new DeallocateResourceOperationResult instance for mocking.

Applies to