Skip to content

Commit

Permalink
CodeGen from PR 14968 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[python] readme.python.md configuration for `monitor` and `network` (Azure#14968)

* monitor

* network

* monitor

* monitor
  • Loading branch information
SDKAuto committed Aug 11, 2021
1 parent a5a4ef4 commit 9c23923
Show file tree
Hide file tree
Showing 4,065 changed files with 36,658 additions and 36,179 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
11 changes: 7 additions & 4 deletions sdk/network/azure-mgmt-network/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"autorest": "3.4.2",
"use": "@autorest/[email protected]",
"commit": "f5fb71085c6846fd5d11b59a57381a5fcfd36840",
"autorest": "3.4.5",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"commit": "92b3333a08b469b61ad112978068e6b43e77b599",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/network/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.6.6 --version=3.4.2",
"autorest_command": "autorest specification/network/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/[email protected] --version=3.4.5",
"readme": "specification/network/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def begin_delete_bastion_shareable_link(
:type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the ARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be ARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either None or the result of cls(response)
Expand Down Expand Up @@ -105,8 +105,8 @@ def begin_generatevirtualwanvpnserverconfigurationvpnprofile(
:type vpn_client_params: ~azure.mgmt.network.v2021_02_01.models.VirtualWanVpnProfileParameters
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the ARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be ARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns either VpnProfileResponse or the result of cls(response)
Expand Down Expand Up @@ -162,8 +162,8 @@ def begin_get_active_sessions(
:type bastion_host_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the ARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be ARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)
Expand Down Expand Up @@ -220,8 +220,8 @@ def begin_put_bastion_shareable_link(
:type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the ARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be ARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.PollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of LROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async def begin_delete_bastion_shareable_link(
resource_group_name: str,
bastion_host_name: str,
bsl_request: "_models.BastionShareableLinkListRequest",
**kwargs
**kwargs: Any
) -> AsyncLROPoller[None]:
"""Deletes the Bastion Shareable Links for all the VMs specified in the request.
Expand All @@ -40,8 +40,8 @@ async def begin_delete_bastion_shareable_link(
:type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either None or the result of cls(response)
Expand Down Expand Up @@ -86,7 +86,7 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(
resource_group_name: str,
virtual_wan_name: str,
vpn_client_params: "_models.VirtualWanVpnProfileParameters",
**kwargs
**kwargs: Any
) -> AsyncLROPoller["_models.VpnProfileResponse"]:
"""Generates a unique VPN profile for P2S clients for VirtualWan and associated
VpnServerConfiguration combination in the specified resource group.
Expand All @@ -101,8 +101,8 @@ async def begin_generatevirtualwanvpnserverconfigurationvpnprofile(
:type vpn_client_params: ~azure.mgmt.network.v2021_02_01.models.VirtualWanVpnProfileParameters
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns either VpnProfileResponse or the result of cls(response)
Expand Down Expand Up @@ -148,7 +148,7 @@ def begin_get_active_sessions(
self,
resource_group_name: str,
bastion_host_name: str,
**kwargs
**kwargs: Any
) -> AsyncLROPoller[AsyncItemPaged["_models.BastionActiveSessionListResult"]]:
"""Returns the list of currently active sessions on the Bastion.
Expand All @@ -158,8 +158,8 @@ def begin_get_active_sessions(
:type bastion_host_name: str
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionActiveSessionListResult or the result of cls(response)
Expand Down Expand Up @@ -204,7 +204,7 @@ def begin_put_bastion_shareable_link(
resource_group_name: str,
bastion_host_name: str,
bsl_request: "_models.BastionShareableLinkListRequest",
**kwargs
**kwargs: Any
) -> AsyncLROPoller[AsyncItemPaged["_models.BastionShareableLinkListResult"]]:
"""Creates a Bastion Shareable Links for all the VMs specified in the request.
Expand All @@ -216,8 +216,8 @@ def begin_put_bastion_shareable_link(
:type bsl_request: ~azure.mgmt.network.v2021_02_01.models.BastionShareableLinkListRequest
:keyword callable cls: A custom type or function that will be passed the direct response
:keyword str continuation_token: A continuation token to restart a poller from a saved state.
:keyword polling: Pass in True if you'd like the AsyncARMPolling polling method,
False for no polling, or your own initialized polling object for a personal polling strategy.
:keyword polling: By default, your polling method will be AsyncARMPolling.
Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
:paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.
:return: An instance of AsyncLROPoller that returns an iterator like instance of either BastionShareableLinkListResult or the result of cls(response)
Expand Down Expand Up @@ -261,7 +261,7 @@ async def check_dns_name_availability(
self,
location: str,
domain_name_label: str,
**kwargs
**kwargs: Any
) -> "_models.DnsNameAvailabilityResult":
"""Checks whether a domain name in the cloudapp.azure.com zone is available for use.
Expand Down Expand Up @@ -359,7 +359,7 @@ def disconnect_active_sessions(
resource_group_name: str,
bastion_host_name: str,
session_ids: "_models.SessionIds",
**kwargs
**kwargs: Any
) -> AsyncItemPaged["_models.BastionSessionDeleteResult"]:
"""Returns the list of currently active sessions on the Bastion.
Expand Down Expand Up @@ -412,7 +412,7 @@ def get_bastion_shareable_link(
resource_group_name: str,
bastion_host_name: str,
bsl_request: "_models.BastionShareableLinkListRequest",
**kwargs
**kwargs: Any
) -> AsyncItemPaged["_models.BastionShareableLinkListResult"]:
"""Return the Bastion Shareable Links for all the VMs specified in the request.
Expand Down Expand Up @@ -464,7 +464,7 @@ async def supported_security_providers(
self,
resource_group_name: str,
virtual_wan_name: str,
**kwargs
**kwargs: Any
) -> "_models.VirtualWanSecurityProviders":
"""Gives the supported security providers for the virtual wan.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
# --------------------------------------------------------------------------

from ._network_management_client import NetworkManagementClient
from ._version import VERSION

__version__ = VERSION
__all__ = ['NetworkManagementClient']

try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy

from ._version import VERSION

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from typing import Any

from azure.core.credentials import TokenCredential

VERSION = "unknown"

class NetworkManagementClientConfiguration(Configuration):
"""Configuration for NetworkManagementClient.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
},
"async": {
"coroutine": true,
"signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: Optional[str] = None,\n **kwargs\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n",
"signature": "async def check_dns_name_availability(\n self,\n location: str,\n domain_name_label: Optional[str] = None,\n **kwargs: Any\n) -\u003e \"_models.DnsNameAvailabilityResult\":\n",
"doc": "\"\"\"Checks whether a domain name in the cloudapp.net zone is available for use.\n\n:param location: The location of the domain name.\n:type location: str\n:param domain_name_label: The domain name to be verified. It must conform to the following\n regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.\n:type domain_name_label: str\n:keyword callable cls: A custom type or function that will be passed the direct response\n:return: DnsNameAvailabilityResult, or the result of cls(response)\n:rtype: ~azure.mgmt.network.v2015_06_15.models.DnsNameAvailabilityResult\n:raises: ~azure.core.exceptions.HttpResponseError\n\"\"\""
},
"call": "location, domain_name_label"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
from azure.core.pipeline import policies
from azure.mgmt.core.policies import ARMHttpLoggingPolicy

from .._version import VERSION

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from azure.core.credentials_async import AsyncTokenCredential

VERSION = "unknown"

class NetworkManagementClientConfiguration(Configuration):
"""Configuration for NetworkManagementClient.
Expand Down
Loading

0 comments on commit 9c23923

Please sign in to comment.