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.objectLogAnalyticsOperations
Constructor
LogAnalyticsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
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
- profile_name
- str
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
- profile_name
- str
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.
- date_time_begin
- datetime
- date_time_end
- datetime
- granularity
- str or LogMetricsGranularity
- group_by
- list[str or LogMetricsGroupBy]
- 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
- profile_name
- str
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]
- metrics
- list[str or LogRankingMetric]
- max_ranking
- int
- date_time_begin
- datetime
- date_time_end
- datetime
- 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
- profile_name
- str
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
- profile_name
- str
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.
- date_time_begin
- datetime
- date_time_end
- datetime
- granularity
- str or WafGranularity
- group_by
- list[str or WafRankingGroupBy]
- rule_types
- list[str or WafRuleType]
- 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
- profile_name
- str
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.
- date_time_begin
- datetime
- date_time_end
- datetime
- max_ranking
- int
- rankings
- list[str or WafRankingType]
- rule_types
- list[str or WafRuleType]
- 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'>
Feedback
Submit and view feedback for