Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR track2_azure-mgmt-web] Update readme.python.md #24418

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions sdk/appservice/azure-mgmt-web/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.7.2",
"use": [
"@autorest/python@5.12.0",
"@autorest/python@5.13.0",
"@autorest/modelerfour@4.19.3"
],
"commit": "cf47fa91b882618a1043e3aeb5803b3a7397cd08",
"commit": "eb2b882ef0a4aa5956ca38cfa566fc4d7cfb3fb0",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/web/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"autorest_command": "autorest specification/web/resource-manager/readme.md --multiapi --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.13.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"readme": "specification/web/resource-manager/readme.md"
}
52 changes: 26 additions & 26 deletions sdk/appservice/azure-mgmt-web/azure/mgmt/web/_operations_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ def check_name_availability(
# type: (...) -> "_models.ResourceNameAvailability"
"""Check if a resource name is available.

Description for Check if a resource name is available.
Check if a resource name is available.

:param name: Resource name to verify.
:type name: str
:param type: Resource type used for verification.
:type type: str or ~azure.mgmt.web.v2021_03_01.models.CheckNameResourceTypes
:param is_fqdn: Is fully qualified domain name.
:param is_fqdn: Is fully qualified domain name. Default value is None.
:type is_fqdn: bool
:keyword callable cls: A custom type or function that will be passed the direct response
:return: ResourceNameAvailability, or the result of cls(response)
Expand Down Expand Up @@ -79,7 +79,7 @@ def get_publishing_user(
# type: (...) -> "_models.User"
"""Gets publishing user.

Description for Gets publishing user.
Gets publishing user.

:keyword callable cls: A custom type or function that will be passed the direct response
:return: User, or the result of cls(response)
Expand Down Expand Up @@ -123,7 +123,7 @@ def get_source_control(
# type: (...) -> "_models.SourceControl"
"""Gets source control token.

Description for Gets source control token.
Gets source control token.

:param source_control_type: Type of source control.
:type source_control_type: str
Expand Down Expand Up @@ -168,7 +168,7 @@ def get_subscription_deployment_locations(
# type: (...) -> "_models.DeploymentLocations"
"""Gets list of available geo regions plus ministamps.

Description for Gets list of available geo regions plus ministamps.
Gets list of available geo regions plus ministamps.

:keyword callable cls: A custom type or function that will be passed the direct response
:return: DeploymentLocations, or the result of cls(response)
Expand Down Expand Up @@ -213,11 +213,11 @@ def list_billing_meters(
# type: (...) -> Iterable["_models.BillingMeterCollection"]
"""Gets a list of meters for a given location.

Description for Gets a list of meters for a given location.
Gets a list of meters for a given location.

:param billing_location: Azure Location of billable resource.
:param billing_location: Azure Location of billable resource. Default value is None.
:type billing_location: str
:param os_type: App Service OS type meters used for.
:param os_type: App Service OS type meters used for. Default value is None.
:type os_type: str
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either BillingMeterCollection or the result of
Expand Down Expand Up @@ -292,18 +292,18 @@ def list_geo_regions(
# type: (...) -> Iterable["_models.GeoRegionCollection"]
"""Get a list of available geographical regions.

Description for Get a list of available geographical regions.
Get a list of available geographical regions.

:param sku: Name of SKU used to filter the regions.
:param sku: Name of SKU used to filter the regions. Default value is None.
:type sku: str or ~azure.mgmt.web.v2021_03_01.models.SkuName
:param linux_workers_enabled: Specify :code:`<code>true</code>` if you want to filter to only
regions that support Linux workers.
regions that support Linux workers. Default value is None.
:type linux_workers_enabled: bool
:param xenon_workers_enabled: Specify :code:`<code>true</code>` if you want to filter to only
regions that support Xenon workers.
regions that support Xenon workers. Default value is None.
:type xenon_workers_enabled: bool
:param linux_dynamic_workers_enabled: Specify :code:`<code>true</code>` if you want to filter
to only regions that support Linux Consumption Workers.
to only regions that support Linux Consumption Workers. Default value is None.
:type linux_dynamic_workers_enabled: bool
:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either GeoRegionCollection or the result of cls(response)
Expand Down Expand Up @@ -346,7 +346,7 @@ def list_premier_add_on_offers(
# type: (...) -> Iterable["_models.PremierAddOnOfferCollection"]
"""List all premier add-on offers.

Description for List all premier add-on offers.
List all premier add-on offers.

:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either PremierAddOnOfferCollection or the result of
Expand Down Expand Up @@ -392,7 +392,7 @@ def list_site_identifiers_assigned_to_host_name(
# type: (...) -> Iterable["_models.IdentifierCollection"]
"""List all apps that are assigned to a hostname.

Description for List all apps that are assigned to a hostname.
List all apps that are assigned to a hostname.

:param name_identifier: Hostname information.
:type name_identifier: ~azure.mgmt.web.v2021_03_01.models.NameIdentifier
Expand Down Expand Up @@ -438,7 +438,7 @@ def list_skus(
# type: (...) -> "_models.SkuInfos"
"""List all SKUs.

Description for List all SKUs.
List all SKUs.

:keyword callable cls: A custom type or function that will be passed the direct response
:return: SkuInfos, or the result of cls(response)
Expand Down Expand Up @@ -481,7 +481,7 @@ def list_source_controls(
# type: (...) -> Iterable["_models.SourceControlCollection"]
"""Gets the source controls available for Azure websites.

Description for Gets the source controls available for Azure websites.
Gets the source controls available for Azure websites.

:keyword callable cls: A custom type or function that will be passed the direct response
:return: An iterator like instance of either SourceControlCollection or the result of
Expand Down Expand Up @@ -519,7 +519,7 @@ def list_source_controls(
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
return mixin_instance.list_source_controls(**kwargs)

def move(
def move( # pylint: disable=inconsistent-return-statements
self,
resource_group_name, # type: str
move_resource_envelope, # type: "_models.CsmMoveResourceEnvelope"
Expand All @@ -528,7 +528,7 @@ def move(
# type: (...) -> None
"""Move resources between resource groups.

Description for Move resources between resource groups.
Move resources between resource groups.

:param resource_group_name: Name of the resource group to which the resource belongs.
:type resource_group_name: str
Expand Down Expand Up @@ -576,7 +576,7 @@ def update_publishing_user(
# type: (...) -> "_models.User"
"""Updates publishing user.

Description for Updates publishing user.
Updates publishing user.

:param user_details: Details of publishing user.
:type user_details: ~azure.mgmt.web.v2021_03_01.models.User
Expand Down Expand Up @@ -623,7 +623,7 @@ def update_source_control(
# type: (...) -> "_models.SourceControl"
"""Updates source control token.

Description for Updates source control token.
Updates source control token.

:param source_control_type: Type of source control.
:type source_control_type: str
Expand Down Expand Up @@ -672,7 +672,7 @@ def validate(
# type: (...) -> "_models.ValidateResponse"
"""Validate if a resource can be created.

Description for Validate if a resource can be created.
Validate if a resource can be created.

:param resource_group_name: Name of the resource group to which the resource belongs.
:type resource_group_name: str
Expand Down Expand Up @@ -746,7 +746,7 @@ def validate_container_settings(
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
return mixin_instance.validate_container_settings(resource_group_name, validate_container_settings_request, **kwargs)

def validate_move(
def validate_move( # pylint: disable=inconsistent-return-statements
self,
resource_group_name, # type: str
move_resource_envelope, # type: "_models.CsmMoveResourceEnvelope"
Expand All @@ -755,7 +755,7 @@ def validate_move(
# type: (...) -> None
"""Validate whether a resource can be moved.

Description for Validate whether a resource can be moved.
Validate whether a resource can be moved.

:param resource_group_name: Name of the resource group to which the resource belongs.
:type resource_group_name: str
Expand Down Expand Up @@ -804,8 +804,8 @@ def verify_hosting_environment_vnet(
"""Verifies if this VNET is compatible with an App Service Environment by analyzing the Network
Security Group rules.

Description for Verifies if this VNET is compatible with an App Service Environment by
analyzing the Network Security Group rules.
Verifies if this VNET is compatible with an App Service Environment by analyzing the Network
Security Group rules.

:param parameters: VNET information.
:type parameters: ~azure.mgmt.web.v2021_03_01.models.VnetParameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@

from typing import TYPE_CHECKING

from msrest import Deserializer, Serializer

from azure.mgmt.core import ARMPipelineClient
from azure.profiles import KnownProfiles, ProfileDefinition
from azure.profiles.multiapiclient import MultiApiClientMixin
from msrest import Deserializer, Serializer

from ._configuration import WebSiteManagementClientConfiguration
from ._operations_mixin import WebSiteManagementClientOperationsMixin
Expand Down
Loading