WorkspaceSettings interface
Interface representing a WorkspaceSettings.
Methods
create(string, Workspace |
creating settings about where we should store your security data and logs |
delete(string, Workspace |
Deletes the custom workspace settings for this subscription. new VMs will report to the default workspace |
get(string, Workspace |
Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set |
list(Workspace |
Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set |
update(string, Workspace |
Settings about where we should store your security data and logs |
Method Details
create(string, WorkspaceSetting, WorkspaceSettingsCreateOptionalParams)
creating settings about where we should store your security data and logs
function create(workspaceSettingName: string, workspaceSetting: WorkspaceSetting, options?: WorkspaceSettingsCreateOptionalParams): Promise<WorkspaceSetting>
Parameters
- workspaceSettingName
-
string
Name of the security setting
- workspaceSetting
- WorkspaceSetting
Security data setting object
The options parameters.
Returns
Promise<WorkspaceSetting>
delete(string, WorkspaceSettingsDeleteOptionalParams)
Deletes the custom workspace settings for this subscription. new VMs will report to the default workspace
function delete(workspaceSettingName: string, options?: WorkspaceSettingsDeleteOptionalParams): Promise<void>
Parameters
- workspaceSettingName
-
string
Name of the security setting
The options parameters.
Returns
Promise<void>
get(string, WorkspaceSettingsGetOptionalParams)
Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set
function get(workspaceSettingName: string, options?: WorkspaceSettingsGetOptionalParams): Promise<WorkspaceSetting>
Parameters
- workspaceSettingName
-
string
Name of the security setting
The options parameters.
Returns
Promise<WorkspaceSetting>
list(WorkspaceSettingsListOptionalParams)
Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set
function list(options?: WorkspaceSettingsListOptionalParams): PagedAsyncIterableIterator<WorkspaceSetting, WorkspaceSetting[], PageSettings>
Parameters
The options parameters.
Returns
update(string, WorkspaceSetting, WorkspaceSettingsUpdateOptionalParams)
Settings about where we should store your security data and logs
function update(workspaceSettingName: string, workspaceSetting: WorkspaceSetting, options?: WorkspaceSettingsUpdateOptionalParams): Promise<WorkspaceSetting>
Parameters
- workspaceSettingName
-
string
Name of the security setting
- workspaceSetting
- WorkspaceSetting
Security data setting object
The options parameters.
Returns
Promise<WorkspaceSetting>