public StorageManagementClient(Uri endpoint, string subscriptionId, TokenCredential tokenCredential, StorageManagementClientOptions options = null) { endpoint ??= new Uri("https://management.azure.com"); if (subscriptionId == null) { throw new ArgumentNullException(nameof(subscriptionId)); } options ??= new StorageManagementClientOptions(); _clientDiagnostics = new ClientDiagnostics(options); _pipeline = ManagementPipelineBuilder.Build(tokenCredential, endpoint, options); _endpoint = endpoint; _subscriptionId = subscriptionId; }
public StorageManagementClient(string subscriptionId, TokenCredential tokenCredential, StorageManagementClientOptions options = null) : this(null, subscriptionId, tokenCredential, options) { }