1. Packages
  2. Azure Native v2
  3. API Docs
  4. security
  5. getWorkspaceSetting
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.security.getWorkspaceSetting

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 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 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:

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
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
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
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
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
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-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi