def __init__(self, credential: 'AsyncTokenCredential', subscription_id: str, base_url: str='https://management.azure.com', **kwargs: Any) -> None:
    self._config = PolicyClientConfiguration(credential=credential, subscription_id=subscription_id, **kwargs)
    self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs)
    client_models = {k: v for (k, v) in models.__dict__.items() if isinstance(v, type)}
    self._serialize = Serializer(client_models)
    self._deserialize = Deserializer(client_models)
    self._serialize.client_side_validation = False
    self.policy_assignments = PolicyAssignmentsOperations(self._client, self._config, self._serialize, self._deserialize)
    self.policy_definitions = PolicyDefinitionsOperations(self._client, self._config, self._serialize, self._deserialize)
def __init__(self, credential: 'AsyncTokenCredential', subscription_id: str, base_url: str='https://management.azure.com', **kwargs: Any) -> None:
    self._config = PolicyClientConfiguration(credential=credential, subscription_id=subscription_id, **kwargs)
    self._client = AsyncARMPipelineClient(base_url=base_url, config=self._config, **kwargs)
    client_models = {k: v for (k, v) in models.__dict__.items() if isinstance(v, type)}
    self._serialize = Serializer(client_models)
    self._deserialize = Deserializer(client_models)
    self._serialize.client_side_validation = False
    self.policy_assignments = PolicyAssignmentsOperations(self._client, self._config, self._serialize, self._deserialize)
    self.policy_definitions = PolicyDefinitionsOperations(self._client, self._config, self._serialize, self._deserialize)