Skip to content

Commit

Permalink
[AutoPR] web/resource-manager (#4429)
Browse files Browse the repository at this point in the history
* Generated from b358cc2d9448ec292d6d67de69f587080731c85e (#4428)

Add examples of 201 response to AppServicePlans_CreateOrUpdate.

* Generated from c2d7ae74564edf027d2baa5d39864ba26a4f593a (#4448)

Update UserAssignedIdentities spec in Web

Microsoft.Web recently added support for UserAssigned managed service identities (in preview), but the swagger spec is incorrect for the identity payload as it follows the old construct of sending an array of identityIds as opposed to the updated spec which instead sends a dictionary object called userAssignedIdentities. 

Spec + history outlined here:
http://sharepoint/sites/AzureUX/Sparta/_layouts/15/WopiFrame2.aspx?sourcedoc=%7b633632B4-02E4-4DE2-92A9-EDCAF9BE73D4%7d&file=ARM%2BMSI.docx&action=default 

Our swagger contains identityids[] because of previous work to future support UserAssigned identities, but never released the feature in that state, rather we opted to wait for the new spec to be supported and then integrated with that on our end. 

Our MSI implementation reflects Microsoft.Compute's spec for user assigned.

https://github.com/Azure/azure-rest-api-specs/blob/78e1feab142c605839aa3cec23442ca26b8ef04d/specification/compute/resource-manager/Microsoft.Compute/stable/2018-06-01/compute.json

* Packaging update of azure-mgmt-web

* [AutoPR web/resource-manager] [Hub Generated] Review request for Microsoft.Web to add version 2018-02-01 (#4436)

* Generated from b772c09b4e8132be83594f0a834cf7b363445a3c

Address PR description feedback

* Generated from 61d39f048374e3c8dd07112e7d9e8554e8664ea5

Fix casing

* Packaging update of azure-mgmt-web

* Generated from 66114e58530dd7027b63182defcf1c8f73d1d502

Remove incorrect pagination from examples.

* Generated from 13b235cccbe934e60dba491a2a49edcae9c7f275 (#4481)

Fix Hosting Environment Network Dependencies pagination

* [AutoPR web/resource-manager] Update managedserviceidentity type enum (#4761)

* Generated from d605882bdcb7e402badbf4aeca8d66f20a9d197e

Update managedserviceidentity type enum

Enum is currently missing the ua + sa combination + "none" type. We do support those values in our API and as such need the swagger to reflect that.

* Packaging update of azure-mgmt-web

* Generated from 215b006997fc053d43337cd0455d8bdfdbe18898 (#4768)

Add Managed Identity envelope to SitePatchResource

Add Managed Identity envelope to SitePatchResource object to allow PATCH identity operations to a site through Swagger

* [AutoPR web/resource-manager] VnetInfo CertBlob format changed to string (#4860)

* Generated from d0b3b0dc2238ba14b6a41ced8e7ce66e3755f279

VnetInfo CertBlob format changed to string

* Packaging update of azure-mgmt-web

* Generated from 310b5ada2616fb0b8f5808d6d1422df350d459e6 (#5169)

Add examples

* Generated from ca964030410907fee5bc6c2e08d6e5dd934e49a3 (#5190)

Add Source Web App Location

* Generated from 96295fc95567dcd52215bafad85d53dc931adc32 (#5212)

Add Api-version 2018-11-01 for WebApps Collection

Add package Tag

Fix path to common definitions

* Web in new folder

* Generated from ac4cdaf9da165cd1951ce8e10cdd63c78ff04612 (#5472)

Web new path

* ChangeLog
  • Loading branch information
AutorestCI authored and lmazuel committed May 24, 2019
1 parent a6fd830 commit d98b4cc
Show file tree
Hide file tree
Showing 543 changed files with 915 additions and 125 deletions.

This file was deleted.

1 change: 0 additions & 1 deletion azure-mgmt-web/dev_requirements.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
Release History
===============

0.42.0 (2019-05-24)
+++++++++++++++++++

**Features**

- Model SitePatchResource has a new parameter identity
- Model ManagedServiceIdentity has a new parameter user_assigned_identities
- Model CloningInfo has a new parameter source_web_app_location
- Added operation AppServiceEnvironmentsOperations.get_inbound_network_dependencies_endpoints
- Added operation AppServiceEnvironmentsOperations.get_outbound_network_dependencies_endpoints
- Added operation DeletedWebAppsOperations.list_by_location
- Added operation DeletedWebAppsOperations.get_deleted_web_app_by_location

**Breaking changes**

- Model ManagedServiceIdentity has a new parameter user_assigned_identities (renamed from identity_ids)

0.41.0 (2019-02-13)
+++++++++++++++++++

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
recursive-include tests *.py *.yaml
include *.rst
include azure/__init__.py
include azure/mgmt/__init__.py
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
from .hybrid_connection_py3 import HybridConnection
from .deleted_site_py3 import DeletedSite
from .proxy_only_resource_py3 import ProxyOnlyResource
from .managed_service_identity_user_assigned_identities_value_py3 import ManagedServiceIdentityUserAssignedIdentitiesValue
from .managed_service_identity_py3 import ManagedServiceIdentity
from .geo_distribution_py3 import GeoDistribution
from .slot_swap_status_py3 import SlotSwapStatus
Expand Down Expand Up @@ -224,9 +225,13 @@
from .address_response_py3 import AddressResponse
from .app_service_environment_resource_py3 import AppServiceEnvironmentResource
from .app_service_environment_patch_resource_py3 import AppServiceEnvironmentPatchResource
from .endpoint_detail_py3 import EndpointDetail
from .endpoint_dependency_py3 import EndpointDependency
from .hosting_environment_diagnostics_py3 import HostingEnvironmentDiagnostics
from .inbound_environment_endpoint_py3 import InboundEnvironmentEndpoint
from .metric_availabilily_py3 import MetricAvailabilily
from .metric_definition_py3 import MetricDefinition
from .outbound_environment_endpoint_py3 import OutboundEnvironmentEndpoint
from .sku_info_py3 import SkuInfo
from .usage_py3 import Usage
from .worker_pool_resource_py3 import WorkerPoolResource
Expand Down Expand Up @@ -259,6 +264,7 @@
from .hybrid_connection import HybridConnection
from .deleted_site import DeletedSite
from .proxy_only_resource import ProxyOnlyResource
from .managed_service_identity_user_assigned_identities_value import ManagedServiceIdentityUserAssignedIdentitiesValue
from .managed_service_identity import ManagedServiceIdentity
from .geo_distribution import GeoDistribution
from .slot_swap_status import SlotSwapStatus
Expand Down Expand Up @@ -448,9 +454,13 @@
from .address_response import AddressResponse
from .app_service_environment_resource import AppServiceEnvironmentResource
from .app_service_environment_patch_resource import AppServiceEnvironmentPatchResource
from .endpoint_detail import EndpointDetail
from .endpoint_dependency import EndpointDependency
from .hosting_environment_diagnostics import HostingEnvironmentDiagnostics
from .inbound_environment_endpoint import InboundEnvironmentEndpoint
from .metric_availabilily import MetricAvailabilily
from .metric_definition import MetricDefinition
from .outbound_environment_endpoint import OutboundEnvironmentEndpoint
from .sku_info import SkuInfo
from .usage import Usage
from .worker_pool_resource import WorkerPoolResource
Expand Down Expand Up @@ -503,9 +513,11 @@
from .web_job_paged import WebJobPaged
from .app_service_environment_resource_paged import AppServiceEnvironmentResourcePaged
from .stamp_capacity_paged import StampCapacityPaged
from .inbound_environment_endpoint_paged import InboundEnvironmentEndpointPaged
from .worker_pool_resource_paged import WorkerPoolResourcePaged
from .sku_info_paged import SkuInfoPaged
from .usage_paged import UsagePaged
from .outbound_environment_endpoint_paged import OutboundEnvironmentEndpointPaged
from .app_service_plan_paged import AppServicePlanPaged
from .str_paged import StrPaged
from .hybrid_connection_paged import HybridConnectionPaged
Expand Down Expand Up @@ -603,6 +615,7 @@
'HybridConnection',
'DeletedSite',
'ProxyOnlyResource',
'ManagedServiceIdentityUserAssignedIdentitiesValue',
'ManagedServiceIdentity',
'GeoDistribution',
'SlotSwapStatus',
Expand Down Expand Up @@ -792,9 +805,13 @@
'AddressResponse',
'AppServiceEnvironmentResource',
'AppServiceEnvironmentPatchResource',
'EndpointDetail',
'EndpointDependency',
'HostingEnvironmentDiagnostics',
'InboundEnvironmentEndpoint',
'MetricAvailabilily',
'MetricDefinition',
'OutboundEnvironmentEndpoint',
'SkuInfo',
'Usage',
'WorkerPoolResource',
Expand Down Expand Up @@ -847,9 +864,11 @@
'WebJobPaged',
'AppServiceEnvironmentResourcePaged',
'StampCapacityPaged',
'InboundEnvironmentEndpointPaged',
'WorkerPoolResourcePaged',
'SkuInfoPaged',
'UsagePaged',
'OutboundEnvironmentEndpointPaged',
'AppServicePlanPaged',
'StrPaged',
'HybridConnectionPaged',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ class CloningInfo(Model):
/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName}
for other slots.
:type source_web_app_id: str
:param source_web_app_location: Location of source app ex: West US or
North Europe
:type source_web_app_location: str
:param hosting_environment: App Service Environment.
:type hosting_environment: str
:param app_settings_overrides: Application setting overrides for cloned
Expand Down Expand Up @@ -67,6 +70,7 @@ class CloningInfo(Model):
'clone_custom_host_names': {'key': 'cloneCustomHostNames', 'type': 'bool'},
'clone_source_control': {'key': 'cloneSourceControl', 'type': 'bool'},
'source_web_app_id': {'key': 'sourceWebAppId', 'type': 'str'},
'source_web_app_location': {'key': 'sourceWebAppLocation', 'type': 'str'},
'hosting_environment': {'key': 'hostingEnvironment', 'type': 'str'},
'app_settings_overrides': {'key': 'appSettingsOverrides', 'type': '{str}'},
'configure_load_balancing': {'key': 'configureLoadBalancing', 'type': 'bool'},
Expand All @@ -81,6 +85,7 @@ def __init__(self, **kwargs):
self.clone_custom_host_names = kwargs.get('clone_custom_host_names', None)
self.clone_source_control = kwargs.get('clone_source_control', None)
self.source_web_app_id = kwargs.get('source_web_app_id', None)
self.source_web_app_location = kwargs.get('source_web_app_location', None)
self.hosting_environment = kwargs.get('hosting_environment', None)
self.app_settings_overrides = kwargs.get('app_settings_overrides', None)
self.configure_load_balancing = kwargs.get('configure_load_balancing', None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ class CloningInfo(Model):
/subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName}
for other slots.
:type source_web_app_id: str
:param source_web_app_location: Location of source app ex: West US or
North Europe
:type source_web_app_location: str
:param hosting_environment: App Service Environment.
:type hosting_environment: str
:param app_settings_overrides: Application setting overrides for cloned
Expand Down Expand Up @@ -67,20 +70,22 @@ class CloningInfo(Model):
'clone_custom_host_names': {'key': 'cloneCustomHostNames', 'type': 'bool'},
'clone_source_control': {'key': 'cloneSourceControl', 'type': 'bool'},
'source_web_app_id': {'key': 'sourceWebAppId', 'type': 'str'},
'source_web_app_location': {'key': 'sourceWebAppLocation', 'type': 'str'},
'hosting_environment': {'key': 'hostingEnvironment', 'type': 'str'},
'app_settings_overrides': {'key': 'appSettingsOverrides', 'type': '{str}'},
'configure_load_balancing': {'key': 'configureLoadBalancing', 'type': 'bool'},
'traffic_manager_profile_id': {'key': 'trafficManagerProfileId', 'type': 'str'},
'traffic_manager_profile_name': {'key': 'trafficManagerProfileName', 'type': 'str'},
}

def __init__(self, *, source_web_app_id: str, correlation_id: str=None, overwrite: bool=None, clone_custom_host_names: bool=None, clone_source_control: bool=None, hosting_environment: str=None, app_settings_overrides=None, configure_load_balancing: bool=None, traffic_manager_profile_id: str=None, traffic_manager_profile_name: str=None, **kwargs) -> None:
def __init__(self, *, source_web_app_id: str, correlation_id: str=None, overwrite: bool=None, clone_custom_host_names: bool=None, clone_source_control: bool=None, source_web_app_location: str=None, hosting_environment: str=None, app_settings_overrides=None, configure_load_balancing: bool=None, traffic_manager_profile_id: str=None, traffic_manager_profile_name: str=None, **kwargs) -> None:
super(CloningInfo, self).__init__(**kwargs)
self.correlation_id = correlation_id
self.overwrite = overwrite
self.clone_custom_host_names = clone_custom_host_names
self.clone_source_control = clone_source_control
self.source_web_app_id = source_web_app_id
self.source_web_app_location = source_web_app_location
self.hosting_environment = hosting_environment
self.app_settings_overrides = app_settings_overrides
self.configure_load_balancing = configure_load_balancing
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class EndpointDependency(Model):
"""A domain name that a service is reached at, including details of the
current connection status.
:param domain_name: The domain name of the dependency.
:type domain_name: str
:param endpoint_details: The IP Addresses and Ports used when connecting
to DomainName.
:type endpoint_details: list[~azure.mgmt.web.models.EndpointDetail]
"""

_attribute_map = {
'domain_name': {'key': 'domainName', 'type': 'str'},
'endpoint_details': {'key': 'endpointDetails', 'type': '[EndpointDetail]'},
}

def __init__(self, **kwargs):
super(EndpointDependency, self).__init__(**kwargs)
self.domain_name = kwargs.get('domain_name', None)
self.endpoint_details = kwargs.get('endpoint_details', None)
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class EndpointDependency(Model):
"""A domain name that a service is reached at, including details of the
current connection status.
:param domain_name: The domain name of the dependency.
:type domain_name: str
:param endpoint_details: The IP Addresses and Ports used when connecting
to DomainName.
:type endpoint_details: list[~azure.mgmt.web.models.EndpointDetail]
"""

_attribute_map = {
'domain_name': {'key': 'domainName', 'type': 'str'},
'endpoint_details': {'key': 'endpointDetails', 'type': '[EndpointDetail]'},
}

def __init__(self, *, domain_name: str=None, endpoint_details=None, **kwargs) -> None:
super(EndpointDependency, self).__init__(**kwargs)
self.domain_name = domain_name
self.endpoint_details = endpoint_details
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class EndpointDetail(Model):
"""Current TCP connectivity information from the App Service Environment to a
single endpoint.
:param ip_address: An IP Address that Domain Name currently resolves to.
:type ip_address: str
:param port: The port an endpoint is connected to.
:type port: int
:param latency: The time in milliseconds it takes for a TCP connection to
be created from the App Service Environment to this IpAddress at this
Port.
:type latency: float
:param is_accessable: Whether it is possible to create a TCP connection
from the App Service Environment to this IpAddress at this Port.
:type is_accessable: bool
"""

_attribute_map = {
'ip_address': {'key': 'ipAddress', 'type': 'str'},
'port': {'key': 'port', 'type': 'int'},
'latency': {'key': 'latency', 'type': 'float'},
'is_accessable': {'key': 'isAccessable', 'type': 'bool'},
}

def __init__(self, **kwargs):
super(EndpointDetail, self).__init__(**kwargs)
self.ip_address = kwargs.get('ip_address', None)
self.port = kwargs.get('port', None)
self.latency = kwargs.get('latency', None)
self.is_accessable = kwargs.get('is_accessable', None)
Loading

0 comments on commit d98b4cc

Please sign in to comment.