LogProfileResourcePatch Class

The log profile resource for patch operations.

Constructor

LogProfileResourcePatch(*, tags: Dict[str, str] | None = None, storage_account_id: str | None = None, service_bus_rule_id: str | None = None, locations: List[str] | None = None, categories: List[str] | None = None, retention_policy: _models.RetentionPolicy | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

Resource tags.

Default value: None
storage_account_id
str

the resource id of the storage account to which you would like to send the Activity Log.

Default value: None
service_bus_rule_id
str

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}'.

Default value: None
locations

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.

Default value: None
categories

the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'.

Default value: None
retention_policy

the retention policy for the events in the log.

Default value: None

Variables

Name Description
tags

Resource tags.

storage_account_id
str

the resource id of the storage account to which you would like to send the Activity Log.

service_bus_rule_id
str

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}'.

locations

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.

categories

the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'.

retention_policy

the retention policy for the events in the log.