1. Packages
  2. Azure Native
  3. API Docs
  4. security
  5. getWorkspaceSetting
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.security.getWorkspaceSetting

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

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

Uses Azure REST API version 2017-08-01-preview.

Using getWorkspaceSetting

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getWorkspaceSetting(args: GetWorkspaceSettingArgs, opts?: InvokeOptions): Promise<GetWorkspaceSettingResult>
function getWorkspaceSettingOutput(args: GetWorkspaceSettingOutputArgs, opts?: InvokeOptions): Output<GetWorkspaceSettingResult>
Copy
def get_workspace_setting(workspace_setting_name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetWorkspaceSettingResult
def get_workspace_setting_output(workspace_setting_name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetWorkspaceSettingResult]
Copy
func LookupWorkspaceSetting(ctx *Context, args *LookupWorkspaceSettingArgs, opts ...InvokeOption) (*LookupWorkspaceSettingResult, error)
func LookupWorkspaceSettingOutput(ctx *Context, args *LookupWorkspaceSettingOutputArgs, opts ...InvokeOption) LookupWorkspaceSettingResultOutput
Copy

> Note: This function is named LookupWorkspaceSetting in the Go SDK.

public static class GetWorkspaceSetting 
{
    public static Task<GetWorkspaceSettingResult> InvokeAsync(GetWorkspaceSettingArgs args, InvokeOptions? opts = null)
    public static Output<GetWorkspaceSettingResult> Invoke(GetWorkspaceSettingInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetWorkspaceSettingResult> getWorkspaceSetting(GetWorkspaceSettingArgs args, InvokeOptions options)
public static Output<GetWorkspaceSettingResult> getWorkspaceSetting(GetWorkspaceSettingArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:security:getWorkspaceSetting
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

WorkspaceSettingName
This property is required.
Changes to this property will trigger replacement.
string
Name of the security setting
WorkspaceSettingName
This property is required.
Changes to this property will trigger replacement.
string
Name of the security setting
workspaceSettingName
This property is required.
Changes to this property will trigger replacement.
String
Name of the security setting
workspaceSettingName
This property is required.
Changes to this property will trigger replacement.
string
Name of the security setting
workspace_setting_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the security setting
workspaceSettingName
This property is required.
Changes to this property will trigger replacement.
String
Name of the security setting

getWorkspaceSetting Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Id string
Resource Id
Name string
Resource name
Scope string
All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope
Type string
Resource type
WorkspaceId string
The full Azure ID of the workspace to save the data in
AzureApiVersion string
The Azure API version of the resource.
Id string
Resource Id
Name string
Resource name
Scope string
All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope
Type string
Resource type
WorkspaceId string
The full Azure ID of the workspace to save the data in
azureApiVersion String
The Azure API version of the resource.
id String
Resource Id
name String
Resource name
scope String
All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope
type String
Resource type
workspaceId String
The full Azure ID of the workspace to save the data in
azureApiVersion string
The Azure API version of the resource.
id string
Resource Id
name string
Resource name
scope string
All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope
type string
Resource type
workspaceId string
The full Azure ID of the workspace to save the data in
azure_api_version str
The Azure API version of the resource.
id str
Resource Id
name str
Resource name
scope str
All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope
type str
Resource type
workspace_id str
The full Azure ID of the workspace to save the data in
azureApiVersion String
The Azure API version of the resource.
id String
Resource Id
name String
Resource name
scope String
All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope
type String
Resource type
workspaceId String
The full Azure ID of the workspace to save the data in

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi