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