def __init__(self, credential: 'AsyncTokenCredential', subscription_id: str, resource_group_name: str, resource_name: str, **kwargs: Any) -> None:
    if (credential is None):
        raise ValueError("Parameter 'credential' must not be None.")
    if (subscription_id is None):
        raise ValueError("Parameter 'subscription_id' must not be None.")
    if (resource_group_name is None):
        raise ValueError("Parameter 'resource_group_name' must not be None.")
    if (resource_name is None):
        raise ValueError("Parameter 'resource_name' must not be None.")
    super(SiteRecoveryManagementClientConfiguration, self).__init__(**kwargs)
    self.credential = credential
    self.subscription_id = subscription_id
    self.resource_group_name = resource_group_name
    self.resource_name = resource_name
    self.api_version = '2021-06-01'
    self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
    kwargs.setdefault('sdk_moniker', 'mgmt-recoveryservicessiterecovery/{}'.format(VERSION))
    self._configure(**kwargs)
def __init__(self, credential: 'AsyncTokenCredential', subscription_id: str, resource_group_name: str, resource_name: str, **kwargs: Any) -> None:
    if (credential is None):
        raise ValueError("Parameter 'credential' must not be None.")
    if (subscription_id is None):
        raise ValueError("Parameter 'subscription_id' must not be None.")
    if (resource_group_name is None):
        raise ValueError("Parameter 'resource_group_name' must not be None.")
    if (resource_name is None):
        raise ValueError("Parameter 'resource_name' must not be None.")
    super(SiteRecoveryManagementClientConfiguration, self).__init__(**kwargs)
    self.credential = credential
    self.subscription_id = subscription_id
    self.resource_group_name = resource_group_name
    self.resource_name = resource_name
    self.api_version = '2021-06-01'
    self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
    kwargs.setdefault('sdk_moniker', 'mgmt-recoveryservicessiterecovery/{}'.format(VERSION))
    self._configure(**kwargs)