C# Class Microsoft.WindowsAzure.Commands.Test.Profile.MockCsmTenantOperations

Inheritance: Microsoft.Azure.Subscriptions.ITenantOperations
Afficher le fichier Open project: Azure/azure-powershell Class Usage Examples

Méthodes publiques

Méthode Description
Create ( IList knownTenants ) : MockCsmTenantOperations

Create a tenant mock using the given set of tenants

ListAsync ( System cancellationToken ) : Task

Private Methods

Méthode Description
CreateTenant ( string tenantId ) : Azure.Subscriptions.Models.TenantIdDescription
CreateTenantList ( ) : IList

Method Details

Create() public static méthode

Create a tenant mock using the given set of tenants
public static Create ( IList knownTenants ) : MockCsmTenantOperations
knownTenants IList The list of existing tenants.
Résultat MockCsmTenantOperations

ListAsync() public méthode

public ListAsync ( System cancellationToken ) : Task
cancellationToken System
Résultat Task