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.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.insights.getLogProfile
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.47.1 published on Monday, Jun 24, 2024 by Pulumi
Gets the log profile. Azure REST API version: 2016-03-01.
Using getLogProfile
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 getLogProfile(args: GetLogProfileArgs, opts?: InvokeOptions): Promise<GetLogProfileResult>
function getLogProfileOutput(args: GetLogProfileOutputArgs, opts?: InvokeOptions): Output<GetLogProfileResult>
def get_log_profile(log_profile_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLogProfileResult
def get_log_profile_output(log_profile_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLogProfileResult]
func LookupLogProfile(ctx *Context, args *LookupLogProfileArgs, opts ...InvokeOption) (*LookupLogProfileResult, error)
func LookupLogProfileOutput(ctx *Context, args *LookupLogProfileOutputArgs, opts ...InvokeOption) LookupLogProfileResultOutput
> Note: This function is named LookupLogProfile
in the Go SDK.
public static class GetLogProfile
{
public static Task<GetLogProfileResult> InvokeAsync(GetLogProfileArgs args, InvokeOptions? opts = null)
public static Output<GetLogProfileResult> Invoke(GetLogProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLogProfileResult> getLogProfile(GetLogProfileArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:insights:getLogProfile
arguments:
# arguments dictionary
The following arguments are supported:
- Log
Profile stringName - The name of the log profile.
- Log
Profile stringName - The name of the log profile.
- log
Profile StringName - The name of the log profile.
- log
Profile stringName - The name of the log profile.
- log_
profile_ strname - The name of the log profile.
- log
Profile StringName - The name of the log profile.
getLogProfile Result
The following output properties are available:
- Categories List<string>
- the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'
- Id string
- Azure resource Id
- Location string
- Resource location
- Locations List<string>
- List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location.
- Name string
- Azure resource name
- Retention
Policy Pulumi.Azure Native. Insights. Outputs. Retention Policy Response - the retention policy for the events in the log.
- Type string
- Azure resource type
- Service
Bus stringRule Id - The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'.
- Storage
Account stringId - the resource id of the storage account to which you would like to send the Activity Log.
- Dictionary<string, string>
- Resource tags
- Categories []string
- the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'
- Id string
- Azure resource Id
- Location string
- Resource location
- Locations []string
- List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location.
- Name string
- Azure resource name
- Retention
Policy RetentionPolicy Response - the retention policy for the events in the log.
- Type string
- Azure resource type
- Service
Bus stringRule Id - The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'.
- Storage
Account stringId - the resource id of the storage account to which you would like to send the Activity Log.
- map[string]string
- Resource tags
- categories List<String>
- the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'
- id String
- Azure resource Id
- location String
- Resource location
- locations List<String>
- List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location.
- name String
- Azure resource name
- retention
Policy RetentionPolicy Response - the retention policy for the events in the log.
- type String
- Azure resource type
- service
Bus StringRule Id - The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'.
- storage
Account StringId - the resource id of the storage account to which you would like to send the Activity Log.
- Map<String,String>
- Resource tags
- categories string[]
- the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'
- id string
- Azure resource Id
- location string
- Resource location
- locations string[]
- List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location.
- name string
- Azure resource name
- retention
Policy RetentionPolicy Response - the retention policy for the events in the log.
- type string
- Azure resource type
- service
Bus stringRule Id - The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'.
- storage
Account stringId - the resource id of the storage account to which you would like to send the Activity Log.
- {[key: string]: string}
- Resource tags
- categories Sequence[str]
- the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'
- id str
- Azure resource Id
- location str
- Resource location
- locations Sequence[str]
- List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location.
- name str
- Azure resource name
- retention_
policy RetentionPolicy Response - the retention policy for the events in the log.
- type str
- Azure resource type
- service_
bus_ strrule_ id - The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'.
- storage_
account_ strid - the resource id of the storage account to which you would like to send the Activity Log.
- Mapping[str, str]
- Resource tags
- categories List<String>
- the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'
- id String
- Azure resource Id
- location String
- Resource location
- locations List<String>
- List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location.
- name String
- Azure resource name
- retention
Policy Property Map - the retention policy for the events in the log.
- type String
- Azure resource type
- service
Bus StringRule Id - The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'.
- storage
Account StringId - the resource id of the storage account to which you would like to send the Activity Log.
- Map<String>
- Resource tags
Supporting Types
RetentionPolicyResponse
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.47.1 published on Monday, Jun 24, 2024 by Pulumi