LogAnalyticsOperations Class

LogAnalyticsOperations operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
LogAnalyticsOperations

Constructor

LogAnalyticsOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

get_log_analytics_locations

Get all available location names for AFD log analytics report.

get_log_analytics_metrics

Get log report for AFD profile.

get_log_analytics_rankings

Get log analytics ranking report for AFD profile.

get_log_analytics_resources

Get all endpoints and custom domains available for AFD log report.

get_waf_log_analytics_metrics

Get Waf related log analytics report for AFD profile.

get_waf_log_analytics_rankings

Get WAF log analytics charts for AFD profile.

get_log_analytics_locations

Get all available location names for AFD log analytics report.

get_log_analytics_locations(resource_group_name: str, profile_name: str, **kwargs: Any) -> azure.mgmt.cdn.models._models_py3.ContinentsResponse

Parameters

resource_group_name
str
Required

Name of the Resource group within the Azure subscription.

profile_name
str
Required

Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.

cls
callable

A custom type or function that will be passed the direct response

Returns

ContinentsResponse, or the result of cls(response)

Return type

Exceptions

get_log_analytics_metrics

Get log report for AFD profile.

get_log_analytics_metrics(resource_group_name: str, profile_name: str, metrics: List[Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.LogMetric]], date_time_begin: datetime.datetime, date_time_end: datetime.datetime, granularity: Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.LogMetricsGranularity], custom_domains: List[str], protocols: List[str], group_by: Optional[List[Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.LogMetricsGroupBy]]] = None, continents: Optional[List[str]] = None, country_or_regions: Optional[List[str]] = None, **kwargs: Any) -> azure.mgmt.cdn.models._models_py3.MetricsResponse

Parameters

resource_group_name
str
Required

Name of the Resource group within the Azure subscription.

profile_name
str
Required

Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.

metrics
list[str or LogMetric]
Required
date_time_begin
datetime
Required
date_time_end
datetime
Required
granularity
str or LogMetricsGranularity
Required
custom_domains
list[str]
Required
protocols
list[str]
Required
group_by
list[str or LogMetricsGroupBy]
Required
continents
list[str]
Required
country_or_regions
list[str]
Required
cls
callable

A custom type or function that will be passed the direct response

Returns

MetricsResponse, or the result of cls(response)

Return type

Exceptions

get_log_analytics_rankings

Get log analytics ranking report for AFD profile.

get_log_analytics_rankings(resource_group_name: str, profile_name: str, rankings: List[Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.LogRanking]], metrics: List[Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.LogRankingMetric]], max_ranking: int, date_time_begin: datetime.datetime, date_time_end: datetime.datetime, custom_domains: Optional[List[str]] = None, **kwargs: Any) -> azure.mgmt.cdn.models._models_py3.RankingsResponse

Parameters

resource_group_name
str
Required

Name of the Resource group within the Azure subscription.

profile_name
str
Required

Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.

rankings
list[str or LogRanking]
Required
metrics
list[str or LogRankingMetric]
Required
max_ranking
int
Required
date_time_begin
datetime
Required
date_time_end
datetime
Required
custom_domains
list[str]
Required
cls
callable

A custom type or function that will be passed the direct response

Returns

RankingsResponse, or the result of cls(response)

Return type

Exceptions

get_log_analytics_resources

Get all endpoints and custom domains available for AFD log report.

get_log_analytics_resources(resource_group_name: str, profile_name: str, **kwargs: Any) -> azure.mgmt.cdn.models._models_py3.ResourcesResponse

Parameters

resource_group_name
str
Required

Name of the Resource group within the Azure subscription.

profile_name
str
Required

Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.

cls
callable

A custom type or function that will be passed the direct response

Returns

ResourcesResponse, or the result of cls(response)

Return type

Exceptions

get_waf_log_analytics_metrics

Get Waf related log analytics report for AFD profile.

get_waf_log_analytics_metrics(resource_group_name: str, profile_name: str, metrics: List[Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.WafMetric]], date_time_begin: datetime.datetime, date_time_end: datetime.datetime, granularity: Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.WafGranularity], actions: Optional[List[Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.WafAction]]] = None, group_by: Optional[List[Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.WafRankingGroupBy]]] = None, rule_types: Optional[List[Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.WafRuleType]]] = None, **kwargs: Any) -> azure.mgmt.cdn.models._models_py3.WafMetricsResponse

Parameters

resource_group_name
str
Required

Name of the Resource group within the Azure subscription.

profile_name
str
Required

Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.

metrics
list[str or WafMetric]
Required
date_time_begin
datetime
Required
date_time_end
datetime
Required
granularity
str or WafGranularity
Required
actions
list[str or WafAction]
Required
group_by
list[str or WafRankingGroupBy]
Required
rule_types
list[str or WafRuleType]
Required
cls
callable

A custom type or function that will be passed the direct response

Returns

WafMetricsResponse, or the result of cls(response)

Return type

Exceptions

get_waf_log_analytics_rankings

Get WAF log analytics charts for AFD profile.

get_waf_log_analytics_rankings(resource_group_name: str, profile_name: str, metrics: List[Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.WafMetric]], date_time_begin: datetime.datetime, date_time_end: datetime.datetime, max_ranking: int, rankings: List[Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.WafRankingType]], actions: Optional[List[Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.WafAction]]] = None, rule_types: Optional[List[Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.WafRuleType]]] = None, **kwargs: Any) -> azure.mgmt.cdn.models._models_py3.WafRankingsResponse

Parameters

resource_group_name
str
Required

Name of the Resource group within the Azure subscription.

profile_name
str
Required

Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group. which is unique within the resource group.

metrics
list[str or WafMetric]
Required
date_time_begin
datetime
Required
date_time_end
datetime
Required
max_ranking
int
Required
rankings
list[str or WafRankingType]
Required
actions
list[str or WafAction]
Required
rule_types
list[str or WafRuleType]
Required
cls
callable

A custom type or function that will be passed the direct response

Returns

WafRankingsResponse, or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.cdn.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\cdn\\models\\__init__.py'>