def __init__(self, credential, subscription_id, base_url=None, **kwargs):
    if (not base_url):
        base_url = 'https://management.azure.com'
    self._config = DesktopVirtualizationAPIClientConfiguration(credential, subscription_id, **kwargs)
    self._client = ARMPipelineClient(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._serialize.client_side_validation = False
    self._deserialize = Deserializer(client_models)
    self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
    self.workspaces = WorkspacesOperations(self._client, self._config, self._serialize, self._deserialize)
    self.scaling_plans = ScalingPlansOperations(self._client, self._config, self._serialize, self._deserialize)
    self.application_groups = ApplicationGroupsOperations(self._client, self._config, self._serialize, self._deserialize)
    self.start_menu_items = StartMenuItemsOperations(self._client, self._config, self._serialize, self._deserialize)
    self.applications = ApplicationsOperations(self._client, self._config, self._serialize, self._deserialize)
    self.desktops = DesktopsOperations(self._client, self._config, self._serialize, self._deserialize)
    self.host_pools = HostPoolsOperations(self._client, self._config, self._serialize, self._deserialize)
    self.user_sessions = UserSessionsOperations(self._client, self._config, self._serialize, self._deserialize)
    self.session_hosts = SessionHostsOperations(self._client, self._config, self._serialize, self._deserialize)
    self.msix_packages = MsixPackagesOperations(self._client, self._config, self._serialize, self._deserialize)
    self.msix_images = MsixImagesOperations(self._client, self._config, self._serialize, self._deserialize)
def __init__(self, credential, subscription_id, base_url=None, **kwargs):
    if (not base_url):
        base_url = 'https://management.azure.com'
    self._config = DesktopVirtualizationAPIClientConfiguration(credential, subscription_id, **kwargs)
    self._client = ARMPipelineClient(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._serialize.client_side_validation = False
    self._deserialize = Deserializer(client_models)
    self.operations = Operations(self._client, self._config, self._serialize, self._deserialize)
    self.workspaces = WorkspacesOperations(self._client, self._config, self._serialize, self._deserialize)
    self.scaling_plans = ScalingPlansOperations(self._client, self._config, self._serialize, self._deserialize)
    self.application_groups = ApplicationGroupsOperations(self._client, self._config, self._serialize, self._deserialize)
    self.start_menu_items = StartMenuItemsOperations(self._client, self._config, self._serialize, self._deserialize)
    self.applications = ApplicationsOperations(self._client, self._config, self._serialize, self._deserialize)
    self.desktops = DesktopsOperations(self._client, self._config, self._serialize, self._deserialize)
    self.host_pools = HostPoolsOperations(self._client, self._config, self._serialize, self._deserialize)
    self.user_sessions = UserSessionsOperations(self._client, self._config, self._serialize, self._deserialize)
    self.session_hosts = SessionHostsOperations(self._client, self._config, self._serialize, self._deserialize)
    self.msix_packages = MsixPackagesOperations(self._client, self._config, self._serialize, self._deserialize)
    self.msix_images = MsixImagesOperations(self._client, self._config, self._serialize, self._deserialize)