This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.security.getCustomRecommendation
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Get a specific custom recommendation for the requested scope by customRecommendationName Azure REST API version: 2024-08-01.
Using getCustomRecommendation
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 getCustomRecommendation(args: GetCustomRecommendationArgs, opts?: InvokeOptions): Promise<GetCustomRecommendationResult>
function getCustomRecommendationOutput(args: GetCustomRecommendationOutputArgs, opts?: InvokeOptions): Output<GetCustomRecommendationResult>
def get_custom_recommendation(custom_recommendation_name: Optional[str] = None,
scope: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCustomRecommendationResult
def get_custom_recommendation_output(custom_recommendation_name: Optional[pulumi.Input[str]] = None,
scope: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCustomRecommendationResult]
func LookupCustomRecommendation(ctx *Context, args *LookupCustomRecommendationArgs, opts ...InvokeOption) (*LookupCustomRecommendationResult, error)
func LookupCustomRecommendationOutput(ctx *Context, args *LookupCustomRecommendationOutputArgs, opts ...InvokeOption) LookupCustomRecommendationResultOutput
> Note: This function is named LookupCustomRecommendation
in the Go SDK.
public static class GetCustomRecommendation
{
public static Task<GetCustomRecommendationResult> InvokeAsync(GetCustomRecommendationArgs args, InvokeOptions? opts = null)
public static Output<GetCustomRecommendationResult> Invoke(GetCustomRecommendationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCustomRecommendationResult> getCustomRecommendation(GetCustomRecommendationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:security:getCustomRecommendation
arguments:
# arguments dictionary
The following arguments are supported:
- Custom
Recommendation stringName - Name of the Custom Recommendation.
- Scope string
- The scope of the custom recommendation. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
- Custom
Recommendation stringName - Name of the Custom Recommendation.
- Scope string
- The scope of the custom recommendation. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
- custom
Recommendation StringName - Name of the Custom Recommendation.
- scope String
- The scope of the custom recommendation. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
- custom
Recommendation stringName - Name of the Custom Recommendation.
- scope string
- The scope of the custom recommendation. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
- custom_
recommendation_ strname - Name of the Custom Recommendation.
- scope str
- The scope of the custom recommendation. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
- custom
Recommendation StringName - Name of the Custom Recommendation.
- scope String
- The scope of the custom recommendation. Valid scopes are: management group (format: 'providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'
getCustomRecommendation Result
The following output properties are available:
- Assessment
Key string - The assessment metadata key used when an assessment is generated for this Recommendation.
- Id string
- Resource Id
- Name string
- Resource name
- System
Data Pulumi.Azure Native. Security. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- Resource type
- Cloud
Providers List<string> - List of all standard supported clouds.
- Description string
- The description to relate to the assessments generated by this Recommendation.
- Display
Name string - The display name of the assessments generated by this Recommendation.
- Query string
- KQL query representing the Recommendation results required.
- Remediation
Description string - The remediation description to relate to the assessments generated by this Recommendation.
- Security
Issue string - The severity to relate to the assessments generated by this Recommendation.
- Severity string
- The severity to relate to the assessments generated by this Recommendation.
- Assessment
Key string - The assessment metadata key used when an assessment is generated for this Recommendation.
- Id string
- Resource Id
- Name string
- Resource name
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- Resource type
- Cloud
Providers []string - List of all standard supported clouds.
- Description string
- The description to relate to the assessments generated by this Recommendation.
- Display
Name string - The display name of the assessments generated by this Recommendation.
- Query string
- KQL query representing the Recommendation results required.
- Remediation
Description string - The remediation description to relate to the assessments generated by this Recommendation.
- Security
Issue string - The severity to relate to the assessments generated by this Recommendation.
- Severity string
- The severity to relate to the assessments generated by this Recommendation.
- assessment
Key String - The assessment metadata key used when an assessment is generated for this Recommendation.
- id String
- Resource Id
- name String
- Resource name
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- Resource type
- cloud
Providers List<String> - List of all standard supported clouds.
- description String
- The description to relate to the assessments generated by this Recommendation.
- display
Name String - The display name of the assessments generated by this Recommendation.
- query String
- KQL query representing the Recommendation results required.
- remediation
Description String - The remediation description to relate to the assessments generated by this Recommendation.
- security
Issue String - The severity to relate to the assessments generated by this Recommendation.
- severity String
- The severity to relate to the assessments generated by this Recommendation.
- assessment
Key string - The assessment metadata key used when an assessment is generated for this Recommendation.
- id string
- Resource Id
- name string
- Resource name
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- Resource type
- cloud
Providers string[] - List of all standard supported clouds.
- description string
- The description to relate to the assessments generated by this Recommendation.
- display
Name string - The display name of the assessments generated by this Recommendation.
- query string
- KQL query representing the Recommendation results required.
- remediation
Description string - The remediation description to relate to the assessments generated by this Recommendation.
- security
Issue string - The severity to relate to the assessments generated by this Recommendation.
- severity string
- The severity to relate to the assessments generated by this Recommendation.
- assessment_
key str - The assessment metadata key used when an assessment is generated for this Recommendation.
- id str
- Resource Id
- name str
- Resource name
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- Resource type
- cloud_
providers Sequence[str] - List of all standard supported clouds.
- description str
- The description to relate to the assessments generated by this Recommendation.
- display_
name str - The display name of the assessments generated by this Recommendation.
- query str
- KQL query representing the Recommendation results required.
- remediation_
description str - The remediation description to relate to the assessments generated by this Recommendation.
- security_
issue str - The severity to relate to the assessments generated by this Recommendation.
- severity str
- The severity to relate to the assessments generated by this Recommendation.
- assessment
Key String - The assessment metadata key used when an assessment is generated for this Recommendation.
- id String
- Resource Id
- name String
- Resource name
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- Resource type
- cloud
Providers List<String> - List of all standard supported clouds.
- description String
- The description to relate to the assessments generated by this Recommendation.
- display
Name String - The display name of the assessments generated by this Recommendation.
- query String
- KQL query representing the Recommendation results required.
- remediation
Description String - The remediation description to relate to the assessments generated by this Recommendation.
- security
Issue String - The severity to relate to the assessments generated by this Recommendation.
- severity String
- The severity to relate to the assessments generated by this Recommendation.
Supporting Types
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
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 v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi