protected void SetupManagementClients(MockContext context)
 {
     InternalResourceManagementClient = GetResourceManagementClientInternal(context);
     SignalRManagementClient          = GetSignalRManagementClient(context);
     NetworkManagementClient          = GetNetworkManagementClient(context);
     PrivateDnsManagementClient       = GetPrivateDnsManagementClient(context);
     _helper.SetupManagementClients(InternalResourceManagementClient, SignalRManagementClient,
                                    NetworkManagementClient, PrivateDnsManagementClient);
 }
        public PrivateDnsManagementService(TokenCredentials credentials, string privateDnsSubscriptionId, string privateDnsResourceGroupName)
        {
            client = new Lazy <PrivateDnsManagementClient>(() =>
            {
                var result            = new PrivateDnsManagementClient(credentials);
                result.SubscriptionId = privateDnsSubscriptionId;

                return(result);
            });

            this.privateDnsSubscriptionId    = privateDnsSubscriptionId;
            this.privateDnsResourceGroupName = privateDnsResourceGroupName;
        }