azure.mgmt.network.v2018_06_01.operations module¶
-
class
azure.mgmt.network.v2018_06_01.operations.
AzureFirewallsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
AzureFirewallsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, azure_firewall_name: str, parameters: ‘models.AzureFirewall’, **kwargs: Any) → LROPoller[‘models.AzureFirewall’][source]¶ Creates or updates the specified Azure Firewall.
- Parameters
resource_group_name (str) – The name of the resource group.
azure_firewall_name (str) – The name of the Azure Firewall.
parameters (AzureFirewall) – Parameters supplied to the create or update Azure Firewall operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either AzureFirewall or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, azure_firewall_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified Azure Firewall.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, azure_firewall_name: str, **kwargs: Any) → ’models.AzureFirewall’[source]¶ Gets the specified Azure Firewall.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
AzureFirewall, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.AzureFirewallListResult’][source]¶ Lists all Azure Firewalls in a resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either AzureFirewallListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_all
(**kwargs: Any) → Iterable[‘models.AzureFirewallListResult’][source]¶ Gets all the Azure Firewalls in a subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either AzureFirewallListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
ApplicationGatewaysOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ApplicationGatewaysOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_backend_health
(resource_group_name: str, application_gateway_name: str, expand: Optional[str] = None, **kwargs: Any) → LROPoller[‘models.ApplicationGatewayBackendHealth’][source]¶ Gets the backend health of the specified application gateway in a resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ApplicationGatewayBackendHealth or the result of cls(response)
- Return type
- Raises
-
begin_create_or_update
(resource_group_name: str, application_gateway_name: str, parameters: ‘models.ApplicationGateway’, **kwargs: Any) → LROPoller[‘models.ApplicationGateway’][source]¶ Creates or updates the specified application gateway.
- Parameters
resource_group_name (str) – The name of the resource group.
application_gateway_name (str) – The name of the application gateway.
parameters (ApplicationGateway) – Parameters supplied to the create or update application gateway operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ApplicationGateway or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, application_gateway_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified application gateway.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_start
(resource_group_name: str, application_gateway_name: str, **kwargs: Any) → LROPoller[None][source]¶ Starts the specified application gateway.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_stop
(resource_group_name: str, application_gateway_name: str, **kwargs: Any) → LROPoller[None][source]¶ Stops the specified application gateway in a resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
Updates the specified application gateway tags.
- Parameters
resource_group_name (str) – The name of the resource group.
application_gateway_name (str) – The name of the application gateway.
parameters (TagsObject) – Parameters supplied to update application gateway tags.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ApplicationGateway or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, application_gateway_name: str, **kwargs: Any) → ’models.ApplicationGateway’[source]¶ Gets the specified application gateway.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ApplicationGateway, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get_ssl_predefined_policy
(predefined_policy_name: str, **kwargs: Any) → ’models.ApplicationGatewaySslPredefinedPolicy’[source]¶ Gets Ssl predefined policy with the specified policy name.
- Parameters
predefined_policy_name (str) – Name of Ssl predefined policy.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ApplicationGatewaySslPredefinedPolicy, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.ApplicationGatewayListResult’][source]¶ Lists all application gateways in a resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ApplicationGatewayListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_all
(**kwargs: Any) → Iterable[‘models.ApplicationGatewayListResult’][source]¶ Gets all the application gateways in a subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ApplicationGatewayListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_available_ssl_options
(**kwargs: Any) → ’models.ApplicationGatewayAvailableSslOptions’[source]¶ Lists available Ssl options for configuring Ssl policy.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ApplicationGatewayAvailableSslOptions, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_available_ssl_predefined_policies
(**kwargs: Any) → Iterable[‘models.ApplicationGatewayAvailableSslPredefinedPolicies’][source]¶ Lists all SSL predefined policies for configuring Ssl policy.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ApplicationGatewayAvailableSslPredefinedPolicies or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_available_waf_rule_sets
(**kwargs: Any) → ’models.ApplicationGatewayAvailableWafRuleSetsResult’[source]¶ Lists all available web application firewall rule sets.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ApplicationGatewayAvailableWafRuleSetsResult, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
ApplicationSecurityGroupsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ApplicationSecurityGroupsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, application_security_group_name: str, parameters: ‘models.ApplicationSecurityGroup’, **kwargs: Any) → LROPoller[‘models.ApplicationSecurityGroup’][source]¶ Creates or updates an application security group.
- Parameters
resource_group_name (str) – The name of the resource group.
application_security_group_name (str) – The name of the application security group.
parameters (ApplicationSecurityGroup) – Parameters supplied to the create or update ApplicationSecurityGroup operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, application_security_group_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified application security group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, application_security_group_name: str, **kwargs: Any) → ’models.ApplicationSecurityGroup’[source]¶ Gets information about the specified application security group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ApplicationSecurityGroup, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.ApplicationSecurityGroupListResult’][source]¶ Gets all the application security groups in a resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ApplicationSecurityGroupListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_all
(**kwargs: Any) → Iterable[‘models.ApplicationSecurityGroupListResult’][source]¶ Gets all application security groups in a subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ApplicationSecurityGroupListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
NetworkManagementClientOperationsMixin
[source]¶ Bases:
object
-
check_dns_name_availability
(location: str, domain_name_label: str, **kwargs: Any) → ’models.DnsNameAvailabilityResult’[source]¶ Checks whether a domain name in the cloudapp.azure.com zone is available for use.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
DnsNameAvailabilityResult, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
-
class
azure.mgmt.network.v2018_06_01.operations.
DdosProtectionPlansOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
DdosProtectionPlansOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, ddos_protection_plan_name: str, parameters: ‘models.DdosProtectionPlan’, **kwargs: Any) → LROPoller[‘models.DdosProtectionPlan’][source]¶ Creates or updates a DDoS protection plan.
- Parameters
resource_group_name (str) – The name of the resource group.
ddos_protection_plan_name (str) – The name of the DDoS protection plan.
parameters (DdosProtectionPlan) – Parameters supplied to the create or update operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either DdosProtectionPlan or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, ddos_protection_plan_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified DDoS protection plan.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, ddos_protection_plan_name: str, **kwargs: Any) → ’models.DdosProtectionPlan’[source]¶ Gets information about the specified DDoS protection plan.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
DdosProtectionPlan, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(**kwargs: Any) → Iterable[‘models.DdosProtectionPlanListResult’][source]¶ Gets all DDoS protection plans in a subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either DdosProtectionPlanListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_resource_group
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.DdosProtectionPlanListResult’][source]¶ Gets all the DDoS protection plans in a resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either DdosProtectionPlanListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
AvailableEndpointServicesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
AvailableEndpointServicesOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
list
(location: str, **kwargs: Any) → Iterable[‘models.EndpointServicesListResult’][source]¶ List what values of endpoint services are available for use.
- Parameters
location (str) – The location to check available endpoint services.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either EndpointServicesListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
ExpressRouteCircuitAuthorizationsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ExpressRouteCircuitAuthorizationsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, circuit_name: str, authorization_name: str, authorization_parameters: ‘models.ExpressRouteCircuitAuthorization’, **kwargs: Any) → LROPoller[‘models.ExpressRouteCircuitAuthorization’][source]¶ Creates or updates an authorization in the specified express route circuit.
- Parameters
resource_group_name (str) – The name of the resource group.
circuit_name (str) – The name of the express route circuit.
authorization_name (str) – The name of the authorization.
authorization_parameters (ExpressRouteCircuitAuthorization) – Parameters supplied to the create or update express route circuit authorization operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ExpressRouteCircuitAuthorization or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, circuit_name: str, authorization_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified authorization from the specified express route circuit.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, circuit_name: str, authorization_name: str, **kwargs: Any) → ’models.ExpressRouteCircuitAuthorization’[source]¶ Gets the specified authorization from the specified express route circuit.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ExpressRouteCircuitAuthorization, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, circuit_name: str, **kwargs: Any) → Iterable[‘models.AuthorizationListResult’][source]¶ Gets all authorizations in an express route circuit.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either AuthorizationListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
ExpressRouteCircuitPeeringsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ExpressRouteCircuitPeeringsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, circuit_name: str, peering_name: str, peering_parameters: ‘models.ExpressRouteCircuitPeering’, **kwargs: Any) → LROPoller[‘models.ExpressRouteCircuitPeering’][source]¶ Creates or updates a peering in the specified express route circuits.
- Parameters
resource_group_name (str) – The name of the resource group.
circuit_name (str) – The name of the express route circuit.
peering_name (str) – The name of the peering.
peering_parameters (ExpressRouteCircuitPeering) – Parameters supplied to the create or update express route circuit peering operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, circuit_name: str, peering_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified peering from the specified express route circuit.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, circuit_name: str, peering_name: str, **kwargs: Any) → ’models.ExpressRouteCircuitPeering’[source]¶ Gets the specified peering for the express route circuit.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ExpressRouteCircuitPeering, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, circuit_name: str, **kwargs: Any) → Iterable[‘models.ExpressRouteCircuitPeeringListResult’][source]¶ Gets all peerings in a specified express route circuit.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ExpressRouteCircuitPeeringListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
ExpressRouteCircuitConnectionsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ExpressRouteCircuitConnectionsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, circuit_name: str, peering_name: str, connection_name: str, express_route_circuit_connection_parameters: ‘models.ExpressRouteCircuitConnection’, **kwargs: Any) → LROPoller[‘models.ExpressRouteCircuitConnection’][source]¶ Creates or updates a Express Route Circuit Connection in the specified express route circuits.
- Parameters
resource_group_name (str) – The name of the resource group.
circuit_name (str) – The name of the express route circuit.
peering_name (str) – The name of the peering.
connection_name (str) – The name of the express route circuit connection.
express_route_circuit_connection_parameters (ExpressRouteCircuitConnection) – Parameters supplied to the create or update express route circuit connection operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ExpressRouteCircuitConnection or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, circuit_name: str, peering_name: str, connection_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified Express Route Circuit Connection from the specified express route circuit.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, circuit_name: str, peering_name: str, connection_name: str, **kwargs: Any) → ’models.ExpressRouteCircuitConnection’[source]¶ Gets the specified Express Route Circuit Connection from the specified express route circuit.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ExpressRouteCircuitConnection, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
ExpressRouteCircuitsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ExpressRouteCircuitsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, circuit_name: str, parameters: ‘models.ExpressRouteCircuit’, **kwargs: Any) → LROPoller[‘models.ExpressRouteCircuit’][source]¶ Creates or updates an express route circuit.
- Parameters
resource_group_name (str) – The name of the resource group.
circuit_name (str) – The name of the circuit.
parameters (ExpressRouteCircuit) – Parameters supplied to the create or update express route circuit operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, circuit_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified express route circuit.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_list_arp_table
(resource_group_name: str, circuit_name: str, peering_name: str, device_path: str, **kwargs: Any) → LROPoller[‘models.ExpressRouteCircuitsArpTableListResult’][source]¶ Gets the currently advertised ARP table associated with the express route circuit in a resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response)
- Return type
- Raises
-
begin_list_routes_table
(resource_group_name: str, circuit_name: str, peering_name: str, device_path: str, **kwargs: Any) → LROPoller[‘models.ExpressRouteCircuitsRoutesTableListResult’][source]¶ Gets the currently advertised routes table associated with the express route circuit in a resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response)
- Return type
- Raises
-
begin_list_routes_table_summary
(resource_group_name: str, circuit_name: str, peering_name: str, device_path: str, **kwargs: Any) → LROPoller[‘models.ExpressRouteCircuitsRoutesTableSummaryListResult’][source]¶ Gets the currently advertised routes table summary associated with the express route circuit in a resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableSummaryListResult or the result of cls(response)
- Return type
- Raises
Updates an express route circuit tags.
- Parameters
resource_group_name (str) – The name of the resource group.
circuit_name (str) – The name of the circuit.
parameters (TagsObject) – Parameters supplied to update express route circuit tags.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ExpressRouteCircuit or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, circuit_name: str, **kwargs: Any) → ’models.ExpressRouteCircuit’[source]¶ Gets information about the specified express route circuit.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ExpressRouteCircuit, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get_peering_stats
(resource_group_name: str, circuit_name: str, peering_name: str, **kwargs: Any) → ’models.ExpressRouteCircuitStats’[source]¶ Gets all stats from an express route circuit in a resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ExpressRouteCircuitStats, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get_stats
(resource_group_name: str, circuit_name: str, **kwargs: Any) → ’models.ExpressRouteCircuitStats’[source]¶ Gets all the stats from an express route circuit in a resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ExpressRouteCircuitStats, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.ExpressRouteCircuitListResult’][source]¶ Gets all the express route circuits in a resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ExpressRouteCircuitListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_all
(**kwargs: Any) → Iterable[‘models.ExpressRouteCircuitListResult’][source]¶ Gets all the express route circuits in a subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ExpressRouteCircuitListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
ExpressRouteServiceProvidersOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ExpressRouteServiceProvidersOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
list
(**kwargs: Any) → Iterable[‘models.ExpressRouteServiceProviderListResult’][source]¶ Gets all the available express route service providers.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ExpressRouteServiceProviderListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
ExpressRouteCrossConnectionsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ExpressRouteCrossConnectionsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, cross_connection_name: str, parameters: ‘models.ExpressRouteCrossConnection’, **kwargs: Any) → LROPoller[‘models.ExpressRouteCrossConnection’][source]¶ Update the specified ExpressRouteCrossConnection.
- Parameters
resource_group_name (str) – The name of the resource group.
cross_connection_name (str) – The name of the ExpressRouteCrossConnection.
parameters (ExpressRouteCrossConnection) – Parameters supplied to the update express route crossConnection operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response)
- Return type
- Raises
-
begin_list_arp_table
(resource_group_name: str, cross_connection_name: str, peering_name: str, device_path: str, **kwargs: Any) → LROPoller[‘models.ExpressRouteCircuitsArpTableListResult’][source]¶ Gets the currently advertised ARP table associated with the express route cross connection in a resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ExpressRouteCircuitsArpTableListResult or the result of cls(response)
- Return type
- Raises
-
begin_list_routes_table
(resource_group_name: str, cross_connection_name: str, peering_name: str, device_path: str, **kwargs: Any) → LROPoller[‘models.ExpressRouteCircuitsRoutesTableListResult’][source]¶ Gets the currently advertised routes table associated with the express route cross connection in a resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ExpressRouteCircuitsRoutesTableListResult or the result of cls(response)
- Return type
- Raises
-
begin_list_routes_table_summary
(resource_group_name: str, cross_connection_name: str, peering_name: str, device_path: str, **kwargs: Any) → LROPoller[‘models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult’][source]¶ Gets the route table summary associated with the express route cross connection in a resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ExpressRouteCrossConnectionsRoutesTableSummaryListResult or the result of cls(response)
- Return type
LROPoller[ExpressRouteCrossConnectionsRoutesTableSummaryListResult]
- Raises
Updates an express route cross connection tags.
- Parameters
resource_group_name (str) – The name of the resource group.
cross_connection_name (str) – The name of the cross connection.
cross_connection_parameters (TagsObject) – Parameters supplied to update express route cross connection tags.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ExpressRouteCrossConnection or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, cross_connection_name: str, **kwargs: Any) → ’models.ExpressRouteCrossConnection’[source]¶ Gets details about the specified ExpressRouteCrossConnection.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ExpressRouteCrossConnection, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(**kwargs: Any) → Iterable[‘models.ExpressRouteCrossConnectionListResult’][source]¶ Retrieves all the ExpressRouteCrossConnections in a subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ExpressRouteCrossConnectionListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_resource_group
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.ExpressRouteCrossConnectionListResult’][source]¶ Retrieves all the ExpressRouteCrossConnections in a resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ExpressRouteCrossConnectionListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
ExpressRouteCrossConnectionPeeringsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ExpressRouteCrossConnectionPeeringsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, cross_connection_name: str, peering_name: str, peering_parameters: ‘models.ExpressRouteCrossConnectionPeering’, **kwargs: Any) → LROPoller[‘models.ExpressRouteCrossConnectionPeering’][source]¶ Creates or updates a peering in the specified ExpressRouteCrossConnection.
- Parameters
resource_group_name (str) – The name of the resource group.
cross_connection_name (str) – The name of the ExpressRouteCrossConnection.
peering_name (str) – The name of the peering.
peering_parameters (ExpressRouteCrossConnectionPeering) – Parameters supplied to the create or update ExpressRouteCrossConnection peering operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ExpressRouteCrossConnectionPeering or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, cross_connection_name: str, peering_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified peering from the ExpressRouteCrossConnection.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, cross_connection_name: str, peering_name: str, **kwargs: Any) → ’models.ExpressRouteCrossConnectionPeering’[source]¶ Gets the specified peering for the ExpressRouteCrossConnection.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ExpressRouteCrossConnectionPeering, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, cross_connection_name: str, **kwargs: Any) → Iterable[‘models.ExpressRouteCrossConnectionPeeringList’][source]¶ Gets all peerings in a specified ExpressRouteCrossConnection.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ExpressRouteCrossConnectionPeeringList or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
LoadBalancersOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
LoadBalancersOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, load_balancer_name: str, parameters: ‘models.LoadBalancer’, **kwargs: Any) → LROPoller[‘models.LoadBalancer’][source]¶ Creates or updates a load balancer.
- Parameters
resource_group_name (str) – The name of the resource group.
load_balancer_name (str) – The name of the load balancer.
parameters (LoadBalancer) – Parameters supplied to the create or update load balancer operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either LoadBalancer or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, load_balancer_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified load balancer.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
Updates a load balancer tags.
- Parameters
resource_group_name (str) – The name of the resource group.
load_balancer_name (str) – The name of the load balancer.
parameters (TagsObject) – Parameters supplied to update load balancer tags.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either LoadBalancer or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, load_balancer_name: str, expand: Optional[str] = None, **kwargs: Any) → ’models.LoadBalancer’[source]¶ Gets the specified load balancer.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
LoadBalancer, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.LoadBalancerListResult’][source]¶ Gets all the load balancers in a resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either LoadBalancerListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_all
(**kwargs: Any) → Iterable[‘models.LoadBalancerListResult’][source]¶ Gets all the load balancers in a subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either LoadBalancerListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
LoadBalancerBackendAddressPoolsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
LoadBalancerBackendAddressPoolsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
get
(resource_group_name: str, load_balancer_name: str, backend_address_pool_name: str, **kwargs: Any) → ’models.BackendAddressPool’[source]¶ Gets load balancer backend address pool.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
BackendAddressPool, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, load_balancer_name: str, **kwargs: Any) → Iterable[‘models.LoadBalancerBackendAddressPoolListResult’][source]¶ Gets all the load balancer backed address pools.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either LoadBalancerBackendAddressPoolListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
LoadBalancerFrontendIPConfigurationsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
LoadBalancerFrontendIPConfigurationsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
get
(resource_group_name: str, load_balancer_name: str, frontend_ip_configuration_name: str, **kwargs: Any) → ’models.FrontendIPConfiguration’[source]¶ Gets load balancer frontend IP configuration.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
FrontendIPConfiguration, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, load_balancer_name: str, **kwargs: Any) → Iterable[‘models.LoadBalancerFrontendIPConfigurationListResult’][source]¶ Gets all the load balancer frontend IP configurations.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either LoadBalancerFrontendIPConfigurationListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
InboundNatRulesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
InboundNatRulesOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, load_balancer_name: str, inbound_nat_rule_name: str, inbound_nat_rule_parameters: ‘models.InboundNatRule’, **kwargs: Any) → LROPoller[‘models.InboundNatRule’][source]¶ Creates or updates a load balancer inbound nat rule.
- Parameters
resource_group_name (str) – The name of the resource group.
load_balancer_name (str) – The name of the load balancer.
inbound_nat_rule_name (str) – The name of the inbound nat rule.
inbound_nat_rule_parameters (InboundNatRule) – Parameters supplied to the create or update inbound nat rule operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either InboundNatRule or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, load_balancer_name: str, inbound_nat_rule_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified load balancer inbound nat rule.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, load_balancer_name: str, inbound_nat_rule_name: str, expand: Optional[str] = None, **kwargs: Any) → ’models.InboundNatRule’[source]¶ Gets the specified load balancer inbound nat rule.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
InboundNatRule, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, load_balancer_name: str, **kwargs: Any) → Iterable[‘models.InboundNatRuleListResult’][source]¶ Gets all the inbound nat rules in a load balancer.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either InboundNatRuleListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
LoadBalancerLoadBalancingRulesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
LoadBalancerLoadBalancingRulesOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
get
(resource_group_name: str, load_balancer_name: str, load_balancing_rule_name: str, **kwargs: Any) → ’models.LoadBalancingRule’[source]¶ Gets the specified load balancer load balancing rule.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
LoadBalancingRule, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, load_balancer_name: str, **kwargs: Any) → Iterable[‘models.LoadBalancerLoadBalancingRuleListResult’][source]¶ Gets all the load balancing rules in a load balancer.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either LoadBalancerLoadBalancingRuleListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
LoadBalancerNetworkInterfacesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
LoadBalancerNetworkInterfacesOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
list
(resource_group_name: str, load_balancer_name: str, **kwargs: Any) → Iterable[‘models.NetworkInterfaceListResult’][source]¶ Gets associated load balancer network interfaces.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either NetworkInterfaceListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
LoadBalancerProbesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
LoadBalancerProbesOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
get
(resource_group_name: str, load_balancer_name: str, probe_name: str, **kwargs: Any) → ’models.Probe’[source]¶ Gets load balancer probe.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
Probe, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, load_balancer_name: str, **kwargs: Any) → Iterable[‘models.LoadBalancerProbeListResult’][source]¶ Gets all the load balancer probes.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either LoadBalancerProbeListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
NetworkInterfacesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
NetworkInterfacesOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, network_interface_name: str, parameters: ‘models.NetworkInterface’, **kwargs: Any) → LROPoller[‘models.NetworkInterface’][source]¶ Creates or updates a network interface.
- Parameters
resource_group_name (str) – The name of the resource group.
network_interface_name (str) – The name of the network interface.
parameters (NetworkInterface) – Parameters supplied to the create or update network interface operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either NetworkInterface or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, network_interface_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified network interface.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_get_effective_route_table
(resource_group_name: str, network_interface_name: str, **kwargs: Any) → LROPoller[‘models.EffectiveRouteListResult’][source]¶ Gets all route tables applied to a network interface.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either EffectiveRouteListResult or the result of cls(response)
- Return type
- Raises
-
begin_list_effective_network_security_groups
(resource_group_name: str, network_interface_name: str, **kwargs: Any) → LROPoller[‘models.EffectiveNetworkSecurityGroupListResult’][source]¶ Gets all network security groups applied to a network interface.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either EffectiveNetworkSecurityGroupListResult or the result of cls(response)
- Return type
- Raises
Updates a network interface tags.
- Parameters
resource_group_name (str) – The name of the resource group.
network_interface_name (str) – The name of the network interface.
parameters (TagsObject) – Parameters supplied to update network interface tags.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either NetworkInterface or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, network_interface_name: str, expand: Optional[str] = None, **kwargs: Any) → ’models.NetworkInterface’[source]¶ Gets information about the specified network interface.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
NetworkInterface, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get_virtual_machine_scale_set_ip_configuration
(resource_group_name: str, virtual_machine_scale_set_name: str, virtualmachine_index: str, network_interface_name: str, ip_configuration_name: str, expand: Optional[str] = None, **kwargs: Any) → ’models.NetworkInterfaceIPConfiguration’[source]¶ Get the specified network interface ip configuration in a virtual machine scale set.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_machine_scale_set_name (str) – The name of the virtual machine scale set.
virtualmachine_index (str) – The virtual machine index.
network_interface_name (str) – The name of the network interface.
ip_configuration_name (str) – The name of the ip configuration.
expand (str) – Expands referenced resources.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
NetworkInterfaceIPConfiguration, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get_virtual_machine_scale_set_network_interface
(resource_group_name: str, virtual_machine_scale_set_name: str, virtualmachine_index: str, network_interface_name: str, expand: Optional[str] = None, **kwargs: Any) → ’models.NetworkInterface’[source]¶ Get the specified network interface in a virtual machine scale set.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_machine_scale_set_name (str) – The name of the virtual machine scale set.
virtualmachine_index (str) – The virtual machine index.
network_interface_name (str) – The name of the network interface.
expand (str) – Expands referenced resources.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
NetworkInterface, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.NetworkInterfaceListResult’][source]¶ Gets all network interfaces in a resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either NetworkInterfaceListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_all
(**kwargs: Any) → Iterable[‘models.NetworkInterfaceListResult’][source]¶ Gets all network interfaces in a subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either NetworkInterfaceListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_virtual_machine_scale_set_ip_configurations
(resource_group_name: str, virtual_machine_scale_set_name: str, virtualmachine_index: str, network_interface_name: str, expand: Optional[str] = None, **kwargs: Any) → Iterable[‘models.NetworkInterfaceIPConfigurationListResult’][source]¶ Get the specified network interface ip configuration in a virtual machine scale set.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_machine_scale_set_name (str) – The name of the virtual machine scale set.
virtualmachine_index (str) – The virtual machine index.
network_interface_name (str) – The name of the network interface.
expand (str) – Expands referenced resources.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either NetworkInterfaceIPConfigurationListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_virtual_machine_scale_set_network_interfaces
(resource_group_name: str, virtual_machine_scale_set_name: str, **kwargs: Any) → Iterable[‘models.NetworkInterfaceListResult’][source]¶ Gets all network interfaces in a virtual machine scale set.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either NetworkInterfaceListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_virtual_machine_scale_set_vm_network_interfaces
(resource_group_name: str, virtual_machine_scale_set_name: str, virtualmachine_index: str, **kwargs: Any) → Iterable[‘models.NetworkInterfaceListResult’][source]¶ Gets information about all network interfaces in a virtual machine in a virtual machine scale set.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either NetworkInterfaceListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
NetworkInterfaceIPConfigurationsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
NetworkInterfaceIPConfigurationsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
get
(resource_group_name: str, network_interface_name: str, ip_configuration_name: str, **kwargs: Any) → ’models.NetworkInterfaceIPConfiguration’[source]¶ Gets the specified network interface ip configuration.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
NetworkInterfaceIPConfiguration, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, network_interface_name: str, **kwargs: Any) → Iterable[‘models.NetworkInterfaceIPConfigurationListResult’][source]¶ Get all ip configurations in a network interface.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either NetworkInterfaceIPConfigurationListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
NetworkInterfaceLoadBalancersOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
NetworkInterfaceLoadBalancersOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
list
(resource_group_name: str, network_interface_name: str, **kwargs: Any) → Iterable[‘models.NetworkInterfaceLoadBalancerListResult’][source]¶ List all load balancers in a network interface.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either NetworkInterfaceLoadBalancerListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
NetworkSecurityGroupsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
NetworkSecurityGroupsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, network_security_group_name: str, parameters: ‘models.NetworkSecurityGroup’, **kwargs: Any) → LROPoller[‘models.NetworkSecurityGroup’][source]¶ Creates or updates a network security group in the specified resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
network_security_group_name (str) – The name of the network security group.
parameters (NetworkSecurityGroup) – Parameters supplied to the create or update network security group operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, network_security_group_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified network security group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
Updates a network security group tags.
- Parameters
resource_group_name (str) – The name of the resource group.
network_security_group_name (str) – The name of the network security group.
parameters (TagsObject) – Parameters supplied to update network security group tags.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either NetworkSecurityGroup or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, network_security_group_name: str, expand: Optional[str] = None, **kwargs: Any) → ’models.NetworkSecurityGroup’[source]¶ Gets the specified network security group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
NetworkSecurityGroup, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.NetworkSecurityGroupListResult’][source]¶ Gets all network security groups in a resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either NetworkSecurityGroupListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_all
(**kwargs: Any) → Iterable[‘models.NetworkSecurityGroupListResult’][source]¶ Gets all network security groups in a subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either NetworkSecurityGroupListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
SecurityRulesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
SecurityRulesOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, network_security_group_name: str, security_rule_name: str, security_rule_parameters: ‘models.SecurityRule’, **kwargs: Any) → LROPoller[‘models.SecurityRule’][source]¶ Creates or updates a security rule in the specified network security group.
- Parameters
resource_group_name (str) – The name of the resource group.
network_security_group_name (str) – The name of the network security group.
security_rule_name (str) – The name of the security rule.
security_rule_parameters (SecurityRule) – Parameters supplied to the create or update network security rule operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either SecurityRule or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, network_security_group_name: str, security_rule_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified network security rule.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, network_security_group_name: str, security_rule_name: str, **kwargs: Any) → ’models.SecurityRule’[source]¶ Get the specified network security rule.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
SecurityRule, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, network_security_group_name: str, **kwargs: Any) → Iterable[‘models.SecurityRuleListResult’][source]¶ Gets all security rules in a network security group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either SecurityRuleListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
DefaultSecurityRulesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
DefaultSecurityRulesOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
get
(resource_group_name: str, network_security_group_name: str, default_security_rule_name: str, **kwargs: Any) → ’models.SecurityRule’[source]¶ Get the specified default network security rule.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
SecurityRule, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, network_security_group_name: str, **kwargs: Any) → Iterable[‘models.SecurityRuleListResult’][source]¶ Gets all default security rules in a network security group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either SecurityRuleListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
NetworkWatchersOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
NetworkWatchersOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_check_connectivity
(resource_group_name: str, network_watcher_name: str, parameters: ‘models.ConnectivityParameters’, **kwargs: Any) → LROPoller[‘models.ConnectivityInformation’][source]¶ Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server.
- Parameters
resource_group_name (str) – The name of the network watcher resource group.
network_watcher_name (str) – The name of the network watcher resource.
parameters (ConnectivityParameters) – Parameters that determine how the connectivity check will be performed.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ConnectivityInformation or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, network_watcher_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified network watcher resource.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_get_azure_reachability_report
(resource_group_name: str, network_watcher_name: str, parameters: ‘models.AzureReachabilityReportParameters’, **kwargs: Any) → LROPoller[‘models.AzureReachabilityReport’][source]¶ Gets the relative latency score for internet service providers from a specified location to Azure regions.
- Parameters
resource_group_name (str) – The name of the network watcher resource group.
network_watcher_name (str) – The name of the network watcher resource.
parameters (AzureReachabilityReportParameters) – Parameters that determine Azure reachability report configuration.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either AzureReachabilityReport or the result of cls(response)
- Return type
- Raises
-
begin_get_flow_log_status
(resource_group_name: str, network_watcher_name: str, parameters: ‘models.FlowLogStatusParameters’, **kwargs: Any) → LROPoller[‘models.FlowLogInformation’][source]¶ Queries status of flow log and traffic analytics (optional) on a specified resource.
- Parameters
resource_group_name (str) – The name of the network watcher resource group.
network_watcher_name (str) – The name of the network watcher resource.
parameters (FlowLogStatusParameters) – Parameters that define a resource to query flow log and traffic analytics (optional) status.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either FlowLogInformation or the result of cls(response)
- Return type
- Raises
-
begin_get_network_configuration_diagnostic
(resource_group_name: str, network_watcher_name: str, parameters: ‘models.NetworkConfigurationDiagnosticParameters’, **kwargs: Any) → LROPoller[‘models.NetworkConfigurationDiagnosticResponse’][source]¶ Get network configuration diagnostic.
- Parameters
resource_group_name (str) – The name of the resource group.
network_watcher_name (str) – The name of the network watcher.
parameters (NetworkConfigurationDiagnosticParameters) – Parameters to get network configuration diagnostic.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either NetworkConfigurationDiagnosticResponse or the result of cls(response)
- Return type
- Raises
-
begin_get_next_hop
(resource_group_name: str, network_watcher_name: str, parameters: ‘models.NextHopParameters’, **kwargs: Any) → LROPoller[‘models.NextHopResult’][source]¶ Gets the next hop from the specified VM.
- Parameters
resource_group_name (str) – The name of the resource group.
network_watcher_name (str) – The name of the network watcher.
parameters (NextHopParameters) – Parameters that define the source and destination endpoint.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either NextHopResult or the result of cls(response)
- Return type
- Raises
-
begin_get_troubleshooting
(resource_group_name: str, network_watcher_name: str, parameters: ‘models.TroubleshootingParameters’, **kwargs: Any) → LROPoller[‘models.TroubleshootingResult’][source]¶ Initiate troubleshooting on a specified resource.
- Parameters
resource_group_name (str) – The name of the resource group.
network_watcher_name (str) – The name of the network watcher resource.
parameters (TroubleshootingParameters) – Parameters that define the resource to troubleshoot.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response)
- Return type
- Raises
-
begin_get_troubleshooting_result
(resource_group_name: str, network_watcher_name: str, parameters: ‘models.QueryTroubleshootingParameters’, **kwargs: Any) → LROPoller[‘models.TroubleshootingResult’][source]¶ Get the last completed troubleshooting result on a specified resource.
- Parameters
resource_group_name (str) – The name of the resource group.
network_watcher_name (str) – The name of the network watcher resource.
parameters (QueryTroubleshootingParameters) – Parameters that define the resource to query the troubleshooting result.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either TroubleshootingResult or the result of cls(response)
- Return type
- Raises
-
begin_get_vm_security_rules
(resource_group_name: str, network_watcher_name: str, parameters: ‘models.SecurityGroupViewParameters’, **kwargs: Any) → LROPoller[‘models.SecurityGroupViewResult’][source]¶ Gets the configured and effective security group rules on the specified VM.
- Parameters
resource_group_name (str) – The name of the resource group.
network_watcher_name (str) – The name of the network watcher.
parameters (SecurityGroupViewParameters) – Parameters that define the VM to check security groups for.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either SecurityGroupViewResult or the result of cls(response)
- Return type
- Raises
-
begin_list_available_providers
(resource_group_name: str, network_watcher_name: str, parameters: ‘models.AvailableProvidersListParameters’, **kwargs: Any) → LROPoller[‘models.AvailableProvidersList’][source]¶ Lists all available internet service providers for a specified Azure region.
- Parameters
resource_group_name (str) – The name of the network watcher resource group.
network_watcher_name (str) – The name of the network watcher resource.
parameters (AvailableProvidersListParameters) – Parameters that scope the list of available providers.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either AvailableProvidersList or the result of cls(response)
- Return type
- Raises
-
begin_set_flow_log_configuration
(resource_group_name: str, network_watcher_name: str, parameters: ‘models.FlowLogInformation’, **kwargs: Any) → LROPoller[‘models.FlowLogInformation’][source]¶ Configures flow log and traffic analytics (optional) on a specified resource.
- Parameters
resource_group_name (str) – The name of the network watcher resource group.
network_watcher_name (str) – The name of the network watcher resource.
parameters (FlowLogInformation) – Parameters that define the configuration of flow log.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either FlowLogInformation or the result of cls(response)
- Return type
- Raises
-
begin_verify_ip_flow
(resource_group_name: str, network_watcher_name: str, parameters: ‘models.VerificationIPFlowParameters’, **kwargs: Any) → LROPoller[‘models.VerificationIPFlowResult’][source]¶ Verify IP flow from the specified VM to a location given the currently configured NSG rules.
- Parameters
resource_group_name (str) – The name of the resource group.
network_watcher_name (str) – The name of the network watcher.
parameters (VerificationIPFlowParameters) – Parameters that define the IP flow to be verified.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VerificationIPFlowResult or the result of cls(response)
- Return type
- Raises
-
create_or_update
(resource_group_name: str, network_watcher_name: str, parameters: ‘models.NetworkWatcher’, **kwargs: Any) → ’models.NetworkWatcher’[source]¶ Creates or updates a network watcher in the specified resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
network_watcher_name (str) – The name of the network watcher.
parameters (NetworkWatcher) – Parameters that define the network watcher resource.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
NetworkWatcher, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, network_watcher_name: str, **kwargs: Any) → ’models.NetworkWatcher’[source]¶ Gets the specified network watcher by resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
NetworkWatcher, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get_topology
(resource_group_name: str, network_watcher_name: str, parameters: ‘models.TopologyParameters’, **kwargs: Any) → ’models.Topology’[source]¶ Gets the current network topology by resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
network_watcher_name (str) – The name of the network watcher.
parameters (TopologyParameters) – Parameters that define the representation of topology.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
Topology, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.NetworkWatcherListResult’][source]¶ Gets all network watchers by resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either NetworkWatcherListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_all
(**kwargs: Any) → Iterable[‘models.NetworkWatcherListResult’][source]¶ Gets all network watchers by subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either NetworkWatcherListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
Updates a network watcher tags.
- Parameters
resource_group_name (str) – The name of the resource group.
network_watcher_name (str) – The name of the network watcher.
parameters (TagsObject) – Parameters supplied to update network watcher tags.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
NetworkWatcher, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
PacketCapturesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
PacketCapturesOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create
(resource_group_name: str, network_watcher_name: str, packet_capture_name: str, parameters: ‘models.PacketCapture’, **kwargs: Any) → LROPoller[‘models.PacketCaptureResult’][source]¶ Create and start a packet capture on the specified VM.
- Parameters
resource_group_name (str) – The name of the resource group.
network_watcher_name (str) – The name of the network watcher.
packet_capture_name (str) – The name of the packet capture session.
parameters (PacketCapture) – Parameters that define the create packet capture operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either PacketCaptureResult or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, network_watcher_name: str, packet_capture_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified packet capture session.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_get_status
(resource_group_name: str, network_watcher_name: str, packet_capture_name: str, **kwargs: Any) → LROPoller[‘models.PacketCaptureQueryStatusResult’][source]¶ Query the status of a running packet capture session.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either PacketCaptureQueryStatusResult or the result of cls(response)
- Return type
- Raises
-
begin_stop
(resource_group_name: str, network_watcher_name: str, packet_capture_name: str, **kwargs: Any) → LROPoller[None][source]¶ Stops a specified packet capture session.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, network_watcher_name: str, packet_capture_name: str, **kwargs: Any) → ’models.PacketCaptureResult’[source]¶ Gets a packet capture session by name.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
PacketCaptureResult, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, network_watcher_name: str, **kwargs: Any) → Iterable[‘models.PacketCaptureListResult’][source]¶ Lists all packet capture sessions within the specified resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either PacketCaptureListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
ConnectionMonitorsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ConnectionMonitorsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, network_watcher_name: str, connection_monitor_name: str, parameters: ‘models.ConnectionMonitor’, **kwargs: Any) → LROPoller[‘models.ConnectionMonitorResult’][source]¶ Create or update a connection monitor.
- Parameters
resource_group_name (str) – The name of the resource group containing Network Watcher.
network_watcher_name (str) – The name of the Network Watcher resource.
connection_monitor_name (str) – The name of the connection monitor.
parameters (ConnectionMonitor) – Parameters that define the operation to create a connection monitor.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ConnectionMonitorResult or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, network_watcher_name: str, connection_monitor_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified connection monitor.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_query
(resource_group_name: str, network_watcher_name: str, connection_monitor_name: str, **kwargs: Any) → LROPoller[‘models.ConnectionMonitorQueryResult’][source]¶ Query a snapshot of the most recent connection states.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ConnectionMonitorQueryResult or the result of cls(response)
- Return type
- Raises
-
begin_start
(resource_group_name: str, network_watcher_name: str, connection_monitor_name: str, **kwargs: Any) → LROPoller[None][source]¶ Starts the specified connection monitor.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_stop
(resource_group_name: str, network_watcher_name: str, connection_monitor_name: str, **kwargs: Any) → LROPoller[None][source]¶ Stops the specified connection monitor.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, network_watcher_name: str, connection_monitor_name: str, **kwargs: Any) → ’models.ConnectionMonitorResult’[source]¶ Gets a connection monitor by name.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ConnectionMonitorResult, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, network_watcher_name: str, **kwargs: Any) → Iterable[‘models.ConnectionMonitorListResult’][source]¶ Lists all connection monitors for the specified Network Watcher.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ConnectionMonitorListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
Operations
(client, config, serializer, deserializer)[source]¶ Bases:
object
Operations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
list
(**kwargs: Any) → Iterable[‘models.OperationListResult’][source]¶ Lists all of the available Network Rest API operations.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either OperationListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
PublicIPAddressesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
PublicIPAddressesOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, public_ip_address_name: str, parameters: ‘models.PublicIPAddress’, **kwargs: Any) → LROPoller[‘models.PublicIPAddress’][source]¶ Creates or updates a static or dynamic public IP address.
- Parameters
resource_group_name (str) – The name of the resource group.
public_ip_address_name (str) – The name of the public IP address.
parameters (PublicIPAddress) – Parameters supplied to the create or update public IP address operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either PublicIPAddress or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, public_ip_address_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified public IP address.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
Updates public IP address tags.
- Parameters
resource_group_name (str) – The name of the resource group.
public_ip_address_name (str) – The name of the public IP address.
parameters (TagsObject) – Parameters supplied to update public IP address tags.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either PublicIPAddress or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, public_ip_address_name: str, expand: Optional[str] = None, **kwargs: Any) → ’models.PublicIPAddress’[source]¶ Gets the specified public IP address in a specified resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
PublicIPAddress, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get_virtual_machine_scale_set_public_ip_address
(resource_group_name: str, virtual_machine_scale_set_name: str, virtualmachine_index: str, network_interface_name: str, ip_configuration_name: str, public_ip_address_name: str, expand: Optional[str] = None, **kwargs: Any) → ’models.PublicIPAddress’[source]¶ Get the specified public IP address in a virtual machine scale set.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_machine_scale_set_name (str) – The name of the virtual machine scale set.
virtualmachine_index (str) – The virtual machine index.
network_interface_name (str) – The name of the network interface.
ip_configuration_name (str) – The name of the IP configuration.
public_ip_address_name (str) – The name of the public IP Address.
expand (str) – Expands referenced resources.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
PublicIPAddress, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.PublicIPAddressListResult’][source]¶ Gets all public IP addresses in a resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either PublicIPAddressListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_all
(**kwargs: Any) → Iterable[‘models.PublicIPAddressListResult’][source]¶ Gets all the public IP addresses in a subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either PublicIPAddressListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_virtual_machine_scale_set_public_ip_addresses
(resource_group_name: str, virtual_machine_scale_set_name: str, **kwargs: Any) → Iterable[‘models.PublicIPAddressListResult’][source]¶ Gets information about all public IP addresses on a virtual machine scale set level.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either PublicIPAddressListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_virtual_machine_scale_set_vm_public_ip_addresses
(resource_group_name: str, virtual_machine_scale_set_name: str, virtualmachine_index: str, network_interface_name: str, ip_configuration_name: str, **kwargs: Any) → Iterable[‘models.PublicIPAddressListResult’][source]¶ Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale set.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_machine_scale_set_name (str) – The name of the virtual machine scale set.
virtualmachine_index (str) – The virtual machine index.
network_interface_name (str) – The network interface name.
ip_configuration_name (str) – The IP configuration name.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either PublicIPAddressListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
RouteFiltersOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
RouteFiltersOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, route_filter_name: str, route_filter_parameters: ‘models.RouteFilter’, **kwargs: Any) → LROPoller[‘models.RouteFilter’][source]¶ Creates or updates a route filter in a specified resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
route_filter_name (str) – The name of the route filter.
route_filter_parameters (RouteFilter) – Parameters supplied to the create or update route filter operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either RouteFilter or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, route_filter_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified route filter.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_update
(resource_group_name: str, route_filter_name: str, route_filter_parameters: ‘models.PatchRouteFilter’, **kwargs: Any) → LROPoller[‘models.RouteFilter’][source]¶ Updates a route filter in a specified resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
route_filter_name (str) – The name of the route filter.
route_filter_parameters (PatchRouteFilter) – Parameters supplied to the update route filter operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either RouteFilter or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, route_filter_name: str, expand: Optional[str] = None, **kwargs: Any) → ’models.RouteFilter’[source]¶ Gets the specified route filter.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
RouteFilter, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(**kwargs: Any) → Iterable[‘models.RouteFilterListResult’][source]¶ Gets all route filters in a subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either RouteFilterListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_resource_group
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.RouteFilterListResult’][source]¶ Gets all route filters in a resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either RouteFilterListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
RouteFilterRulesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
RouteFilterRulesOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, route_filter_name: str, rule_name: str, route_filter_rule_parameters: ‘models.RouteFilterRule’, **kwargs: Any) → LROPoller[‘models.RouteFilterRule’][source]¶ Creates or updates a route in the specified route filter.
- Parameters
resource_group_name (str) – The name of the resource group.
route_filter_name (str) – The name of the route filter.
rule_name (str) – The name of the route filter rule.
route_filter_rule_parameters (RouteFilterRule) – Parameters supplied to the create or update route filter rule operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either RouteFilterRule or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, route_filter_name: str, rule_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified rule from a route filter.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_update
(resource_group_name: str, route_filter_name: str, rule_name: str, route_filter_rule_parameters: ‘models.PatchRouteFilterRule’, **kwargs: Any) → LROPoller[‘models.RouteFilterRule’][source]¶ Updates a route in the specified route filter.
- Parameters
resource_group_name (str) – The name of the resource group.
route_filter_name (str) – The name of the route filter.
rule_name (str) – The name of the route filter rule.
route_filter_rule_parameters (PatchRouteFilterRule) – Parameters supplied to the update route filter rule operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either RouteFilterRule or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, route_filter_name: str, rule_name: str, **kwargs: Any) → ’models.RouteFilterRule’[source]¶ Gets the specified rule from a route filter.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
RouteFilterRule, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_route_filter
(resource_group_name: str, route_filter_name: str, **kwargs: Any) → Iterable[‘models.RouteFilterRuleListResult’][source]¶ Gets all RouteFilterRules in a route filter.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either RouteFilterRuleListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
RouteTablesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
RouteTablesOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, route_table_name: str, parameters: ‘models.RouteTable’, **kwargs: Any) → LROPoller[‘models.RouteTable’][source]¶ Create or updates a route table in a specified resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
route_table_name (str) – The name of the route table.
parameters (RouteTable) – Parameters supplied to the create or update route table operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either RouteTable or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, route_table_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified route table.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
Updates a route table tags.
- Parameters
resource_group_name (str) – The name of the resource group.
route_table_name (str) – The name of the route table.
parameters (TagsObject) – Parameters supplied to update route table tags.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either RouteTable or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, route_table_name: str, expand: Optional[str] = None, **kwargs: Any) → ’models.RouteTable’[source]¶ Gets the specified route table.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
RouteTable, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.RouteTableListResult’][source]¶ Gets all route tables in a resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either RouteTableListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_all
(**kwargs: Any) → Iterable[‘models.RouteTableListResult’][source]¶ Gets all route tables in a subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either RouteTableListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
RoutesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
RoutesOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, route_table_name: str, route_name: str, route_parameters: ‘models.Route’, **kwargs: Any) → LROPoller[‘models.Route’][source]¶ Creates or updates a route in the specified route table.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either Route or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, route_table_name: str, route_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified route from a route table.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, route_table_name: str, route_name: str, **kwargs: Any) → ’models.Route’[source]¶ Gets the specified route from a route table.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
Route, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, route_table_name: str, **kwargs: Any) → Iterable[‘models.RouteListResult’][source]¶ Gets all routes in a route table.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either RouteListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
BgpServiceCommunitiesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
BgpServiceCommunitiesOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
list
(**kwargs: Any) → Iterable[‘models.BgpServiceCommunityListResult’][source]¶ Gets all the available bgp service communities.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either BgpServiceCommunityListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
UsagesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
UsagesOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
list
(location: str, **kwargs: Any) → Iterable[‘models.UsagesListResult’][source]¶ List network usages for a subscription.
- Parameters
location (str) – The location where resource usage is queried.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either UsagesListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
VirtualNetworksOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
VirtualNetworksOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, virtual_network_name: str, parameters: ‘models.VirtualNetwork’, **kwargs: Any) → LROPoller[‘models.VirtualNetwork’][source]¶ Creates or updates a virtual network in the specified resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_network_name (str) – The name of the virtual network.
parameters (VirtualNetwork) – Parameters supplied to the create or update virtual network operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VirtualNetwork or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, virtual_network_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified virtual network.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
Updates a virtual network tags.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_network_name (str) – The name of the virtual network.
parameters (TagsObject) – Parameters supplied to update virtual network tags.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VirtualNetwork or the result of cls(response)
- Return type
- Raises
-
check_ip_address_availability
(resource_group_name: str, virtual_network_name: str, ip_address: Optional[str] = None, **kwargs: Any) → ’models.IPAddressAvailabilityResult’[source]¶ Checks whether a private IP address is available for use.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
IPAddressAvailabilityResult, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get
(resource_group_name: str, virtual_network_name: str, expand: Optional[str] = None, **kwargs: Any) → ’models.VirtualNetwork’[source]¶ Gets the specified virtual network by resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
VirtualNetwork, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.VirtualNetworkListResult’][source]¶ Gets all virtual networks in a resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either VirtualNetworkListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_all
(**kwargs: Any) → Iterable[‘models.VirtualNetworkListResult’][source]¶ Gets all virtual networks in a subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either VirtualNetworkListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_usage
(resource_group_name: str, virtual_network_name: str, **kwargs: Any) → Iterable[‘models.VirtualNetworkListUsageResult’][source]¶ Lists usage stats.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either VirtualNetworkListUsageResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
SubnetsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
SubnetsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, virtual_network_name: str, subnet_name: str, subnet_parameters: ‘models.Subnet’, **kwargs: Any) → LROPoller[‘models.Subnet’][source]¶ Creates or updates a subnet in the specified virtual network.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either Subnet or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, virtual_network_name: str, subnet_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified subnet.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, virtual_network_name: str, subnet_name: str, expand: Optional[str] = None, **kwargs: Any) → ’models.Subnet’[source]¶ Gets the specified subnet by virtual network and resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
Subnet, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, virtual_network_name: str, **kwargs: Any) → Iterable[‘models.SubnetListResult’][source]¶ Gets all subnets in a virtual network.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either SubnetListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
VirtualNetworkPeeringsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
VirtualNetworkPeeringsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, virtual_network_name: str, virtual_network_peering_name: str, virtual_network_peering_parameters: ‘models.VirtualNetworkPeering’, **kwargs: Any) → LROPoller[‘models.VirtualNetworkPeering’][source]¶ Creates or updates a peering in the specified virtual network.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_network_name (str) – The name of the virtual network.
virtual_network_peering_name (str) – The name of the peering.
virtual_network_peering_parameters (VirtualNetworkPeering) – Parameters supplied to the create or update virtual network peering operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VirtualNetworkPeering or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, virtual_network_name: str, virtual_network_peering_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified virtual network peering.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, virtual_network_name: str, virtual_network_peering_name: str, **kwargs: Any) → ’models.VirtualNetworkPeering’[source]¶ Gets the specified virtual network peering.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
VirtualNetworkPeering, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, virtual_network_name: str, **kwargs: Any) → Iterable[‘models.VirtualNetworkPeeringListResult’][source]¶ Gets all virtual network peerings in a virtual network.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either VirtualNetworkPeeringListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
VirtualNetworkGatewaysOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
VirtualNetworkGatewaysOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, virtual_network_gateway_name: str, parameters: ‘models.VirtualNetworkGateway’, **kwargs: Any) → LROPoller[‘models.VirtualNetworkGateway’][source]¶ Creates or updates a virtual network gateway in the specified resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_network_gateway_name (str) – The name of the virtual network gateway.
parameters (VirtualNetworkGateway) – Parameters supplied to create or update virtual network gateway operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified virtual network gateway.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_generate_vpn_profile
(resource_group_name: str, virtual_network_gateway_name: str, parameters: ‘models.VpnClientParameters’, **kwargs: Any) → LROPoller[str][source]¶ Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_network_gateway_name (str) – The name of the virtual network gateway.
parameters (VpnClientParameters) – Parameters supplied to the generate virtual network gateway VPN client package operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either str or the result of cls(response)
- Return type
- Raises
-
begin_generatevpnclientpackage
(resource_group_name: str, virtual_network_gateway_name: str, parameters: ‘models.VpnClientParameters’, **kwargs: Any) → LROPoller[str][source]¶ Generates VPN client package for P2S client of the virtual network gateway in the specified resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_network_gateway_name (str) – The name of the virtual network gateway.
parameters (VpnClientParameters) – Parameters supplied to the generate virtual network gateway VPN client package operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either str or the result of cls(response)
- Return type
- Raises
-
begin_get_advertised_routes
(resource_group_name: str, virtual_network_gateway_name: str, peer: str, **kwargs: Any) → LROPoller[‘models.GatewayRouteListResult’][source]¶ This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response)
- Return type
- Raises
-
begin_get_bgp_peer_status
(resource_group_name: str, virtual_network_gateway_name: str, peer: Optional[str] = None, **kwargs: Any) → LROPoller[‘models.BgpPeerStatusListResult’][source]¶ The GetBgpPeerStatus operation retrieves the status of all BGP peers.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either BgpPeerStatusListResult or the result of cls(response)
- Return type
- Raises
-
begin_get_learned_routes
(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) → LROPoller[‘models.GatewayRouteListResult’][source]¶ This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either GatewayRouteListResult or the result of cls(response)
- Return type
- Raises
-
begin_get_vpn_profile_package_url
(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) → LROPoller[str][source]¶ Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either str or the result of cls(response)
- Return type
- Raises
-
begin_get_vpnclient_ipsec_parameters
(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) → LROPoller[‘models.VpnClientIPsecParameters’][source]¶ The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response)
- Return type
- Raises
-
begin_reset
(resource_group_name: str, virtual_network_gateway_name: str, gateway_vip: Optional[str] = None, **kwargs: Any) → LROPoller[‘models.VirtualNetworkGateway’][source]¶ Resets the primary of the virtual network gateway in the specified resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response)
- Return type
- Raises
Resets the VPN client shared key of the virtual network gateway in the specified resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
begin_set_vpnclient_ipsec_parameters
(resource_group_name: str, virtual_network_gateway_name: str, vpnclient_ipsec_params: ‘models.VpnClientIPsecParameters’, **kwargs: Any) → LROPoller[‘models.VpnClientIPsecParameters’][source]¶ The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_network_gateway_name (str) – The name of the virtual network gateway.
vpnclient_ipsec_params (VpnClientIPsecParameters) – Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VpnClientIPsecParameters or the result of cls(response)
- Return type
- Raises
Updates a virtual network gateway tags.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_network_gateway_name (str) – The name of the virtual network gateway.
parameters (TagsObject) – Parameters supplied to update virtual network gateway tags.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VirtualNetworkGateway or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) → ’models.VirtualNetworkGateway’[source]¶ Gets the specified virtual network gateway by resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
VirtualNetworkGateway, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.VirtualNetworkGatewayListResult’][source]¶ Gets all virtual network gateways by resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either VirtualNetworkGatewayListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_connections
(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) → Iterable[‘models.VirtualNetworkGatewayListConnectionsResult’][source]¶ Gets all the connections in a virtual network gateway.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either VirtualNetworkGatewayListConnectionsResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
supported_vpn_devices
(resource_group_name: str, virtual_network_gateway_name: str, **kwargs: Any) → str[source]¶ Gets a xml format representation for supported vpn devices.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
str, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
vpn_device_configuration_script
(resource_group_name: str, virtual_network_gateway_connection_name: str, parameters: ‘models.VpnDeviceScriptParameters’, **kwargs: Any) → str[source]¶ Gets a xml format representation for vpn device configuration script.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_network_gateway_connection_name (str) – The name of the virtual network gateway connection for which the configuration script is generated.
parameters (VpnDeviceScriptParameters) – Parameters supplied to the generate vpn device script operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
str, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
VirtualNetworkGatewayConnectionsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
VirtualNetworkGatewayConnectionsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, virtual_network_gateway_connection_name: str, parameters: ‘models.VirtualNetworkGatewayConnection’, **kwargs: Any) → LROPoller[‘models.VirtualNetworkGatewayConnection’][source]¶ Creates or updates a virtual network gateway connection in the specified resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_network_gateway_connection_name (str) – The name of the virtual network gateway connection.
parameters (VirtualNetworkGatewayConnection) – Parameters supplied to the create or update virtual network gateway connection operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, virtual_network_gateway_connection_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified virtual network Gateway connection.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_network_gateway_connection_name (str) – The virtual network gateway connection reset shared key Name.
parameters (ConnectionResetSharedKey) – Parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ConnectionResetSharedKey or the result of cls(response)
- Return type
- Raises
The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_network_gateway_connection_name (str) – The virtual network gateway connection name.
parameters (ConnectionSharedKey) – Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either ConnectionSharedKey or the result of cls(response)
- Return type
- Raises
Updates a virtual network gateway connection tags.
- Parameters
resource_group_name (str) – The name of the resource group.
virtual_network_gateway_connection_name (str) – The name of the virtual network gateway connection.
parameters (TagsObject) – Parameters supplied to update virtual network gateway connection tags.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, virtual_network_gateway_connection_name: str, **kwargs: Any) → ’models.VirtualNetworkGatewayConnection’[source]¶ Gets the specified virtual network gateway connection by resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
VirtualNetworkGatewayConnection, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ConnectionSharedKey, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.VirtualNetworkGatewayConnectionListResult’][source]¶ The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.
- Parameters
resource_group_name (str) – The name of the resource group.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either VirtualNetworkGatewayConnectionListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
LocalNetworkGatewaysOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
LocalNetworkGatewaysOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, local_network_gateway_name: str, parameters: ‘models.LocalNetworkGateway’, **kwargs: Any) → LROPoller[‘models.LocalNetworkGateway’][source]¶ Creates or updates a local network gateway in the specified resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
local_network_gateway_name (str) – The name of the local network gateway.
parameters (LocalNetworkGateway) – Parameters supplied to the create or update local network gateway operation.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, local_network_gateway_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes the specified local network gateway.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
Updates a local network gateway tags.
- Parameters
resource_group_name (str) – The name of the resource group.
local_network_gateway_name (str) – The name of the local network gateway.
parameters (TagsObject) – Parameters supplied to update local network gateway tags.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either LocalNetworkGateway or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, local_network_gateway_name: str, **kwargs: Any) → ’models.LocalNetworkGateway’[source]¶ Gets the specified local network gateway in a resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
LocalNetworkGateway, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.LocalNetworkGatewayListResult’][source]¶ Gets all the local network gateways in a resource group.
- Parameters
resource_group_name (str) – The name of the resource group.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either LocalNetworkGatewayListResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
VirtualWANsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
VirtualWANsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, virtual_wan_name: str, wan_parameters: ‘models.VirtualWAN’, **kwargs: Any) → LROPoller[‘models.VirtualWAN’][source]¶ Creates a VirtualWAN resource if it doesn’t exist else updates the existing VirtualWAN.
- Parameters
resource_group_name (str) – The resource group name of the VirtualWan.
virtual_wan_name (str) – The name of the VirtualWAN being created or updated.
wan_parameters (VirtualWAN) – Parameters supplied to create or update VirtualWAN.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VirtualWAN or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, virtual_wan_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes a VirtualWAN.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
Updates a VirtualWAN tags.
- Parameters
resource_group_name (str) – The resource group name of the VirtualWan.
virtual_wan_name (str) – The name of the VirtualWAN being updated.
wan_parameters (TagsObject) – Parameters supplied to Update VirtualWAN tags.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VirtualWAN or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, virtual_wan_name: str, **kwargs: Any) → ’models.VirtualWAN’[source]¶ Retrieves the details of a VirtualWAN.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
VirtualWAN, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(**kwargs: Any) → Iterable[‘models.ListVirtualWANsResult’][source]¶ Lists all the VirtualWANs in a subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ListVirtualWANsResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_resource_group
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.ListVirtualWANsResult’][source]¶ Lists all the VirtualWANs in a resource group.
- Parameters
resource_group_name (str) – The resource group name of the VirtualWan.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ListVirtualWANsResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
VpnSitesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
VpnSitesOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, vpn_site_name: str, vpn_site_parameters: ‘models.VpnSite’, **kwargs: Any) → LROPoller[‘models.VpnSite’][source]¶ Creates a VpnSite resource if it doesn’t exist else updates the existing VpnSite.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VpnSite or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, vpn_site_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes a VpnSite.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
Updates VpnSite tags.
- Parameters
resource_group_name (str) – The resource group name of the VpnSite.
vpn_site_name (str) – The name of the VpnSite being updated.
vpn_site_parameters (TagsObject) – Parameters supplied to update VpnSite tags.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VpnSite or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, vpn_site_name: str, **kwargs: Any) → ’models.VpnSite’[source]¶ Retrieves the details of a VPN site.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
VpnSite, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(**kwargs: Any) → Iterable[‘models.ListVpnSitesResult’][source]¶ Lists all the VpnSites in a subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ListVpnSitesResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_resource_group
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.ListVpnSitesResult’][source]¶ Lists all the vpnSites in a resource group.
- Parameters
resource_group_name (str) – The resource group name of the VpnSite.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ListVpnSitesResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
VpnSitesConfigurationOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
VpnSitesConfigurationOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_download
(resource_group_name: str, virtual_wan_name: str, request: ‘models.GetVpnSitesConfigurationRequest’, **kwargs: Any) → LROPoller[None][source]¶ Gives the sas-url to download the configurations for vpn-sites in a resource group.
- Parameters
resource_group_name (str) – The resource group name.
virtual_wan_name (str) – The name of the VirtualWAN for which configuration of all vpn-sites is needed.
request (GetVpnSitesConfigurationRequest) – Parameters supplied to download vpn-sites configuration.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
VirtualHubsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
VirtualHubsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, virtual_hub_name: str, virtual_hub_parameters: ‘models.VirtualHub’, **kwargs: Any) → LROPoller[‘models.VirtualHub’][source]¶ Creates a VirtualHub resource if it doesn’t exist else updates the existing VirtualHub.
- Parameters
resource_group_name (str) – The resource group name of the VirtualHub.
virtual_hub_name (str) – The name of the VirtualHub.
virtual_hub_parameters (VirtualHub) – Parameters supplied to create or update VirtualHub.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VirtualHub or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, virtual_hub_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes a VirtualHub.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
Updates VirtualHub tags.
- Parameters
resource_group_name (str) – The resource group name of the VirtualHub.
virtual_hub_name (str) – The name of the VirtualHub.
virtual_hub_parameters (TagsObject) – Parameters supplied to update VirtualHub tags.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VirtualHub or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, virtual_hub_name: str, **kwargs: Any) → ’models.VirtualHub’[source]¶ Retrieves the details of a VirtualHub.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
VirtualHub, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(**kwargs: Any) → Iterable[‘models.ListVirtualHubsResult’][source]¶ Lists all the VirtualHubs in a subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ListVirtualHubsResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_resource_group
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.ListVirtualHubsResult’][source]¶ Lists all the VirtualHubs in a resource group.
- Parameters
resource_group_name (str) – The resource group name of the VirtualHub.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ListVirtualHubsResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
HubVirtualNetworkConnectionsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
HubVirtualNetworkConnectionsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
get
(resource_group_name: str, virtual_hub_name: str, connection_name: str, **kwargs: Any) → ’models.HubVirtualNetworkConnection’[source]¶ Retrieves the details of a HubVirtualNetworkConnection.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
HubVirtualNetworkConnection, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(resource_group_name: str, virtual_hub_name: str, **kwargs: Any) → Iterable[‘models.ListHubVirtualNetworkConnectionsResult’][source]¶ Retrieves the details of all HubVirtualNetworkConnections.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ListHubVirtualNetworkConnectionsResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
VpnGatewaysOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
VpnGatewaysOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, gateway_name: str, vpn_gateway_parameters: ‘models.VpnGateway’, **kwargs: Any) → LROPoller[‘models.VpnGateway’][source]¶ Creates a virtual wan vpn gateway if it doesn’t exist else updates the existing gateway.
- Parameters
resource_group_name (str) – The resource group name of the VpnGateway.
gateway_name (str) – The name of the gateway.
vpn_gateway_parameters (VpnGateway) – Parameters supplied to create or Update a virtual wan vpn gateway.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VpnGateway or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, gateway_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes a virtual wan vpn gateway.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
Updates virtual wan vpn gateway tags.
- Parameters
resource_group_name (str) – The resource group name of the VpnGateway.
gateway_name (str) – The name of the gateway.
vpn_gateway_parameters (TagsObject) – Parameters supplied to update a virtual wan vpn gateway tags.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VpnGateway or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, gateway_name: str, **kwargs: Any) → ’models.VpnGateway’[source]¶ Retrieves the details of a virtual wan vpn gateway.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
VpnGateway, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list
(**kwargs: Any) → Iterable[‘models.ListVpnGatewaysResult’][source]¶ Lists all the VpnGateways in a subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ListVpnGatewaysResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_resource_group
(resource_group_name: str, **kwargs: Any) → Iterable[‘models.ListVpnGatewaysResult’][source]¶ Lists all the VpnGateways in a resource group.
- Parameters
resource_group_name (str) – The resource group name of the VpnGateway.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ListVpnGatewaysResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶
-
class
azure.mgmt.network.v2018_06_01.operations.
VpnConnectionsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
VpnConnectionsOperations 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.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
begin_create_or_update
(resource_group_name: str, gateway_name: str, connection_name: str, vpn_connection_parameters: ‘models.VpnConnection’, **kwargs: Any) → LROPoller[‘models.VpnConnection’][source]¶ Creates a vpn connection to a scalable vpn gateway if it doesn’t exist else updates the existing connection.
- Parameters
resource_group_name (str) – The resource group name of the VpnGateway.
gateway_name (str) – The name of the gateway.
connection_name (str) – The name of the connection.
vpn_connection_parameters (VpnConnection) – Parameters supplied to create or Update a VPN Connection.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either VpnConnection or the result of cls(response)
- Return type
- Raises
-
begin_delete
(resource_group_name: str, gateway_name: str, connection_name: str, **kwargs: Any) → LROPoller[None][source]¶ Deletes a vpn connection.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
continuation_token (str) – A continuation token to restart a poller from a saved state.
polling (bool or PollingMethod) – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
polling_interval (int) – Default waiting time between two polls for LRO operations if no Retry-After header is present.
- Returns
An instance of LROPoller that returns either None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, gateway_name: str, connection_name: str, **kwargs: Any) → ’models.VpnConnection’[source]¶ Retrieves the details of a vpn connection.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
VpnConnection, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
list_by_vpn_gateway
(resource_group_name: str, gateway_name: str, **kwargs: Any) → Iterable[‘models.ListVpnConnectionsResult’][source]¶ Retrieves all vpn connections for a particular virtual wan vpn gateway.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ListVpnConnectionsResult or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.mgmt.network.v2018_06_01.models' from '/home/vsts/work/1/s/sdk/network/azure-mgmt-network/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/network/v2018_06_01/models/__init__.py'>¶