private static AuthorizationManagementClient GetAuthorizationManagementClient(MockContext context) { return(context.GetServiceClient <AuthorizationManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private Azure.Management.ResourceManager.ResourceManagementClient GetResourceManagerResourceManagementClient(MockContext context) { return(context.GetServiceClient <Azure.Management.ResourceManager.ResourceManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private Internal.Subscriptions.SubscriptionClient GetSubscriptionClient(MockContext context) { return(context.GetServiceClient <Internal.Subscriptions.SubscriptionClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private static EventHubManagementClient GetEHClient(MockContext context) { return(context.GetServiceClient <EventHubManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private static ResourceManagementClientInternal GetResourceManagementClientInternal(MockContext context) { return(context.GetServiceClient <ResourceManagementClientInternal>(TestEnvironmentFactory.GetTestEnvironment())); }
private void SetupManagementClients(MockContext context) { ResourceManagementClient = LegacyTest.TestBase.GetServiceClient <ResourceManagementClient>(this.csmTestFactory); NewResourceManagementClient = context.GetServiceClient <NewResourceManagementClient>(TestEnvironmentFactory.GetTestEnvironment()); MachineLearningComputeManagementClient = context.GetServiceClient <MachineLearningComputeManagementClient>(); helper.SetupManagementClients( this.ResourceManagementClient, this.NewResourceManagementClient, this.MachineLearningComputeManagementClient); }
private AnalysisServicesManagementClient GetAnalysisServicesManagementClient(MockContext context) { return(context.GetServiceClient <AnalysisServicesManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private CdnManagementClient GetCdnManagementClient(MockContext context) { return (context.GetServiceClient <CdnManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private LegacyResourceManagementClient GetLegacyResourceManagementClient(MockContext context) { return(context.GetServiceClient <LegacyResourceManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private PolicyInsightsClient GetPolicyInsightsClient(MockContext context) { return(context.GetServiceClient <PolicyInsightsClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private ApplicationInsightsManagementClient GetApplicationInsightsManagementClient(MockContext context) { return(context.GetServiceClient <ApplicationInsightsManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient GetNewResourceManagementClient(MockContext context) { return(context.GetServiceClient <Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private KeyVaultManagementClient GetKeyVaultManagementClient(MockContext context) { return(context.GetServiceClient <KeyVaultManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private DataLakeStoreAccountManagementClient GetDataLakeStoreAccountManagementClient(MockContext context) { return context.GetServiceClient<DataLakeStoreAccountManagementClient>(TestEnvironmentFactory.GetTestEnvironment()); }
private void SetupManagementClients(MockContext context) { NewResourceManagementClient = context.GetServiceClient <NewResourceManagementClient>(TestEnvironmentFactory.GetTestEnvironment()); MachineLearningComputeManagementClient = context.GetServiceClient <MachineLearningComputeManagementClient>(); _helper.SetupManagementClients( NewResourceManagementClient, MachineLearningComputeManagementClient); }
private static ResourceGraphClient GetResourceGraphClient(MockContext context) { return(context.GetServiceClient <ResourceGraphClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private static AlertsManagementClient GetBillingManagementClient(MockContext context) { return(context.GetServiceClient <AlertsManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private static ManagementGroupsAPIClient GetManagementGroupsApiClient(MockContext context) { return(context.GetServiceClient <ManagementGroupsAPIClient>(TestEnvironmentFactory.GetTestEnvironment())); }
public static ApiManagementClient GetApiManagementClient(MockContext context) { return(context.GetServiceClient <ApiManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private static NetworkManagementClientInternal GetNetworkManagementClientInternal(MockContext context) { return(context.GetServiceClient <NetworkManagementClientInternal>(TestEnvironmentFactory.GetTestEnvironment())); }
private static Management.Internal.Resources.ResourceManagementClient GetResourceManagementClient(MockContext context) { return(context.GetServiceClient <Management.Internal.Resources.ResourceManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }
protected NetworkManagementClient GetNetworkManagementClient(MockContext context) { return(context.GetServiceClient <NetworkManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private static AzureNetAppFilesManagementClient GetNetAppFilesManagementClient(MockContext context) { return(context.GetServiceClient <AzureNetAppFilesManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }
protected ResourceManagementClient GetResourceManagementClient(MockContext context) { return(context.GetServiceClient <ResourceManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }
/// <summary> /// Creates WebSiteManagementClient instance based on mode setting /// </summary> /// <param name="context">Mock undocontext</param> /// <returns>WebSiteManagementClient instance</returns> private WebSiteManagementClient GetWebsiteManagementClient(MockContext context) { return(context.GetServiceClient <WebSiteManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private static StorageManagementClient GetStorageManagementClient(MockContext context) { return(context.GetServiceClient <StorageManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private NewResourceManagementClient GetNewResourceManagementClient(MockContext context) { return context.GetServiceClient<NewResourceManagementClient>(TestEnvironmentFactory.GetTestEnvironment()); }
private static FeatureClient GetFeatureClient(MockContext context) { return(context.GetServiceClient <FeatureClient>(TestEnvironmentFactory.GetTestEnvironment())); }
private GraphRbacManagementClient GetGraphRbacManagementClient(MockContext context) { return(context.GetGraphServiceClient <GraphRbacManagementClient>(TestEnvironmentFactory.GetTestEnvironment())); }