Share via


CostManagementExtensions.GetTenantScheduledActions(TenantResource) Method

Definition

Gets a collection of TenantScheduledActionResources in the TenantResource. MockingTo mock this method, please mock GetTenantScheduledActions() instead.

public static Azure.ResourceManager.CostManagement.TenantScheduledActionCollection GetTenantScheduledActions (this Azure.ResourceManager.Resources.TenantResource tenantResource);
static member GetTenantScheduledActions : Azure.ResourceManager.Resources.TenantResource -> Azure.ResourceManager.CostManagement.TenantScheduledActionCollection
<Extension()>
Public Function GetTenantScheduledActions (tenantResource As TenantResource) As TenantScheduledActionCollection

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

Returns

An object representing collection of TenantScheduledActionResources and their operations over a TenantScheduledActionResource.

Exceptions

tenantResource is null.

Applies to