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

[AutoPR track2_azure-mgmt-appplatform] [Hub Generated] Review request for Microsoft.AppPlatform to add version preview/2021-09-01-preview #7820

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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sdk/appplatform/azure-mgmt-appplatform/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.4.2",
"autorest": "3.4.5",
"use": [
"@autorest/[email protected].1",
"@autorest/[email protected].4",
"@autorest/[email protected]"
],
"commit": "c803720c6bcfcb0fcf4c97f3463ec33a18f9e55c",
"commit": "680bd9cfd1c3df151012f2a4476de26ff54398a4",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/appplatform/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected].1 --use=@autorest/[email protected] --version=3.4.2",
"autorest_command": "autorest specification/appplatform/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected].4 --use=@autorest/[email protected] --version=3.4.5",
"readme": "specification/appplatform/resource-manager/readme.md"
}

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "6.1.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -1285,6 +1285,8 @@ class MetricSpecification(msrest.serialization.Model):
:type fill_gap_with_zero: bool
:param dimensions: Dimensions of the metric.
:type dimensions: list[~azure.mgmt.appplatform.v2019_05_01_preview.models.MetricDimension]
:param source_mdm_namespace: Name of the MDM namespace. Optional.
:type source_mdm_namespace: str
"""

_attribute_map = {
Expand All @@ -1298,6 +1300,7 @@ class MetricSpecification(msrest.serialization.Model):
'supported_time_grain_types': {'key': 'supportedTimeGrainTypes', 'type': '[str]'},
'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'},
'dimensions': {'key': 'dimensions', 'type': '[MetricDimension]'},
'source_mdm_namespace': {'key': 'sourceMdmNamespace', 'type': 'str'},
}

def __init__(
Expand All @@ -1315,6 +1318,7 @@ def __init__(
self.supported_time_grain_types = kwargs.get('supported_time_grain_types', None)
self.fill_gap_with_zero = kwargs.get('fill_gap_with_zero', None)
self.dimensions = kwargs.get('dimensions', None)
self.source_mdm_namespace = kwargs.get('source_mdm_namespace', None)


class NameAvailability(msrest.serialization.Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1408,6 +1408,8 @@ class MetricSpecification(msrest.serialization.Model):
:type fill_gap_with_zero: bool
:param dimensions: Dimensions of the metric.
:type dimensions: list[~azure.mgmt.appplatform.v2019_05_01_preview.models.MetricDimension]
:param source_mdm_namespace: Name of the MDM namespace. Optional.
:type source_mdm_namespace: str
"""

_attribute_map = {
Expand All @@ -1421,6 +1423,7 @@ class MetricSpecification(msrest.serialization.Model):
'supported_time_grain_types': {'key': 'supportedTimeGrainTypes', 'type': '[str]'},
'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'},
'dimensions': {'key': 'dimensions', 'type': '[MetricDimension]'},
'source_mdm_namespace': {'key': 'sourceMdmNamespace', 'type': 'str'},
}

def __init__(
Expand All @@ -1436,6 +1439,7 @@ def __init__(
supported_time_grain_types: Optional[List[str]] = None,
fill_gap_with_zero: Optional[bool] = None,
dimensions: Optional[List["MetricDimension"]] = None,
source_mdm_namespace: Optional[str] = None,
**kwargs
):
super(MetricSpecification, self).__init__(**kwargs)
Expand All @@ -1449,6 +1453,7 @@ def __init__(
self.supported_time_grain_types = supported_time_grain_types
self.fill_gap_with_zero = fill_gap_with_zero
self.dimensions = dimensions
self.source_mdm_namespace = source_mdm_namespace


class NameAvailability(msrest.serialization.Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "6.1.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -1353,6 +1353,8 @@ class MetricSpecification(msrest.serialization.Model):
:type fill_gap_with_zero: bool
:param dimensions: Dimensions of the metric.
:type dimensions: list[~azure.mgmt.appplatform.v2020_07_01.models.MetricDimension]
:param source_mdm_namespace: Name of the MDM namespace. Optional.
:type source_mdm_namespace: str
"""

_attribute_map = {
Expand All @@ -1366,6 +1368,7 @@ class MetricSpecification(msrest.serialization.Model):
'supported_time_grain_types': {'key': 'supportedTimeGrainTypes', 'type': '[str]'},
'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'},
'dimensions': {'key': 'dimensions', 'type': '[MetricDimension]'},
'source_mdm_namespace': {'key': 'sourceMdmNamespace', 'type': 'str'},
}

def __init__(
Expand All @@ -1383,6 +1386,7 @@ def __init__(
self.supported_time_grain_types = kwargs.get('supported_time_grain_types', None)
self.fill_gap_with_zero = kwargs.get('fill_gap_with_zero', None)
self.dimensions = kwargs.get('dimensions', None)
self.source_mdm_namespace = kwargs.get('source_mdm_namespace', None)


class MonitoringSettingProperties(msrest.serialization.Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1482,6 +1482,8 @@ class MetricSpecification(msrest.serialization.Model):
:type fill_gap_with_zero: bool
:param dimensions: Dimensions of the metric.
:type dimensions: list[~azure.mgmt.appplatform.v2020_07_01.models.MetricDimension]
:param source_mdm_namespace: Name of the MDM namespace. Optional.
:type source_mdm_namespace: str
"""

_attribute_map = {
Expand All @@ -1495,6 +1497,7 @@ class MetricSpecification(msrest.serialization.Model):
'supported_time_grain_types': {'key': 'supportedTimeGrainTypes', 'type': '[str]'},
'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'},
'dimensions': {'key': 'dimensions', 'type': '[MetricDimension]'},
'source_mdm_namespace': {'key': 'sourceMdmNamespace', 'type': 'str'},
}

def __init__(
Expand All @@ -1510,6 +1513,7 @@ def __init__(
supported_time_grain_types: Optional[List[str]] = None,
fill_gap_with_zero: Optional[bool] = None,
dimensions: Optional[List["MetricDimension"]] = None,
source_mdm_namespace: Optional[str] = None,
**kwargs
):
super(MetricSpecification, self).__init__(**kwargs)
Expand All @@ -1523,6 +1527,7 @@ def __init__(
self.supported_time_grain_types = supported_time_grain_types
self.fill_gap_with_zero = fill_gap_with_zero
self.dimensions = dimensions
self.source_mdm_namespace = source_mdm_namespace


class MonitoringSettingProperties(msrest.serialization.Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "6.1.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -1388,6 +1388,8 @@ class MetricSpecification(msrest.serialization.Model):
:type fill_gap_with_zero: bool
:param dimensions: Dimensions of the metric.
:type dimensions: list[~azure.mgmt.appplatform.v2020_11_01_preview.models.MetricDimension]
:param source_mdm_namespace: Name of the MDM namespace. Optional.
:type source_mdm_namespace: str
"""

_attribute_map = {
Expand All @@ -1401,6 +1403,7 @@ class MetricSpecification(msrest.serialization.Model):
'supported_time_grain_types': {'key': 'supportedTimeGrainTypes', 'type': '[str]'},
'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'},
'dimensions': {'key': 'dimensions', 'type': '[MetricDimension]'},
'source_mdm_namespace': {'key': 'sourceMdmNamespace', 'type': 'str'},
}

def __init__(
Expand All @@ -1418,6 +1421,7 @@ def __init__(
self.supported_time_grain_types = kwargs.get('supported_time_grain_types', None)
self.fill_gap_with_zero = kwargs.get('fill_gap_with_zero', None)
self.dimensions = kwargs.get('dimensions', None)
self.source_mdm_namespace = kwargs.get('source_mdm_namespace', None)


class MonitoringSettingProperties(msrest.serialization.Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1518,6 +1518,8 @@ class MetricSpecification(msrest.serialization.Model):
:type fill_gap_with_zero: bool
:param dimensions: Dimensions of the metric.
:type dimensions: list[~azure.mgmt.appplatform.v2020_11_01_preview.models.MetricDimension]
:param source_mdm_namespace: Name of the MDM namespace. Optional.
:type source_mdm_namespace: str
"""

_attribute_map = {
Expand All @@ -1531,6 +1533,7 @@ class MetricSpecification(msrest.serialization.Model):
'supported_time_grain_types': {'key': 'supportedTimeGrainTypes', 'type': '[str]'},
'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'},
'dimensions': {'key': 'dimensions', 'type': '[MetricDimension]'},
'source_mdm_namespace': {'key': 'sourceMdmNamespace', 'type': 'str'},
}

def __init__(
Expand All @@ -1546,6 +1549,7 @@ def __init__(
supported_time_grain_types: Optional[List[str]] = None,
fill_gap_with_zero: Optional[bool] = None,
dimensions: Optional[List["MetricDimension"]] = None,
source_mdm_namespace: Optional[str] = None,
**kwargs
):
super(MetricSpecification, self).__init__(**kwargs)
Expand All @@ -1559,6 +1563,7 @@ def __init__(
self.supported_time_grain_types = supported_time_grain_types
self.fill_gap_with_zero = fill_gap_with_zero
self.dimensions = dimensions
self.source_mdm_namespace = source_mdm_namespace


class MonitoringSettingProperties(msrest.serialization.Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "6.1.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,11 @@ def __init__(
self.provisioning_state = None
self.active_deployment_name = kwargs.get('active_deployment_name', None)
self.fqdn = kwargs.get('fqdn', None)
self.https_only = kwargs.get('https_only', None)
self.https_only = kwargs.get('https_only', False)
self.created_time = None
self.temporary_disk = kwargs.get('temporary_disk', None)
self.persistent_disk = kwargs.get('persistent_disk', None)
self.enable_end_to_end_tls = kwargs.get('enable_end_to_end_tls', None)
self.enable_end_to_end_tls = kwargs.get('enable_end_to_end_tls', False)


class AvailableOperations(msrest.serialization.Model):
Expand Down Expand Up @@ -1185,7 +1185,7 @@ class DeploymentSettings(msrest.serialization.Model):
:param environment_variables: Collection of environment variables.
:type environment_variables: dict[str, str]
:param runtime_version: Runtime version. Possible values include: "Java_8", "Java_11",
"NetCore_31".
"NetCore_31". Default value: "Java_8".
:type runtime_version: str or ~azure.mgmt.appplatform.v2021_06_01_preview.models.RuntimeVersion
"""

Expand All @@ -1210,7 +1210,7 @@ def __init__(
self.jvm_options = kwargs.get('jvm_options', None)
self.net_core_main_entry_path = kwargs.get('net_core_main_entry_path', None)
self.environment_variables = kwargs.get('environment_variables', None)
self.runtime_version = kwargs.get('runtime_version', None)
self.runtime_version = kwargs.get('runtime_version', "Java_8")


class Error(msrest.serialization.Model):
Expand Down Expand Up @@ -1459,6 +1459,8 @@ class MetricSpecification(msrest.serialization.Model):
:type fill_gap_with_zero: bool
:param dimensions: Dimensions of the metric.
:type dimensions: list[~azure.mgmt.appplatform.v2021_06_01_preview.models.MetricDimension]
:param source_mdm_namespace: Name of the MDM namespace. Optional.
:type source_mdm_namespace: str
"""

_attribute_map = {
Expand All @@ -1472,6 +1474,7 @@ class MetricSpecification(msrest.serialization.Model):
'supported_time_grain_types': {'key': 'supportedTimeGrainTypes', 'type': '[str]'},
'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'},
'dimensions': {'key': 'dimensions', 'type': '[MetricDimension]'},
'source_mdm_namespace': {'key': 'sourceMdmNamespace', 'type': 'str'},
}

def __init__(
Expand All @@ -1489,6 +1492,7 @@ def __init__(
self.supported_time_grain_types = kwargs.get('supported_time_grain_types', None)
self.fill_gap_with_zero = kwargs.get('fill_gap_with_zero', None)
self.dimensions = kwargs.get('dimensions', None)
self.source_mdm_namespace = kwargs.get('source_mdm_namespace', None)


class MonitoringSettingProperties(msrest.serialization.Model):
Expand Down Expand Up @@ -2425,7 +2429,7 @@ def __init__(
):
super(TemporaryDisk, self).__init__(**kwargs)
self.size_in_gb = kwargs.get('size_in_gb', None)
self.mount_path = kwargs.get('mount_path', None)
self.mount_path = kwargs.get('mount_path', "/tmp")


class TestKeys(msrest.serialization.Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ def __init__(
public: Optional[bool] = None,
active_deployment_name: Optional[str] = None,
fqdn: Optional[str] = None,
https_only: Optional[bool] = None,
https_only: Optional[bool] = False,
temporary_disk: Optional["TemporaryDisk"] = None,
persistent_disk: Optional["PersistentDisk"] = None,
enable_end_to_end_tls: Optional[bool] = None,
enable_end_to_end_tls: Optional[bool] = False,
**kwargs
):
super(AppResourceProperties, self).__init__(**kwargs)
Expand Down Expand Up @@ -1285,7 +1285,7 @@ class DeploymentSettings(msrest.serialization.Model):
:param environment_variables: Collection of environment variables.
:type environment_variables: dict[str, str]
:param runtime_version: Runtime version. Possible values include: "Java_8", "Java_11",
"NetCore_31".
"NetCore_31". Default value: "Java_8".
:type runtime_version: str or ~azure.mgmt.appplatform.v2021_06_01_preview.models.RuntimeVersion
"""

Expand All @@ -1308,7 +1308,7 @@ def __init__(
jvm_options: Optional[str] = None,
net_core_main_entry_path: Optional[str] = None,
environment_variables: Optional[Dict[str, str]] = None,
runtime_version: Optional[Union[str, "RuntimeVersion"]] = None,
runtime_version: Optional[Union[str, "RuntimeVersion"]] = "Java_8",
**kwargs
):
super(DeploymentSettings, self).__init__(**kwargs)
Expand Down Expand Up @@ -1599,6 +1599,8 @@ class MetricSpecification(msrest.serialization.Model):
:type fill_gap_with_zero: bool
:param dimensions: Dimensions of the metric.
:type dimensions: list[~azure.mgmt.appplatform.v2021_06_01_preview.models.MetricDimension]
:param source_mdm_namespace: Name of the MDM namespace. Optional.
:type source_mdm_namespace: str
"""

_attribute_map = {
Expand All @@ -1612,6 +1614,7 @@ class MetricSpecification(msrest.serialization.Model):
'supported_time_grain_types': {'key': 'supportedTimeGrainTypes', 'type': '[str]'},
'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'},
'dimensions': {'key': 'dimensions', 'type': '[MetricDimension]'},
'source_mdm_namespace': {'key': 'sourceMdmNamespace', 'type': 'str'},
}

def __init__(
Expand All @@ -1627,6 +1630,7 @@ def __init__(
supported_time_grain_types: Optional[List[str]] = None,
fill_gap_with_zero: Optional[bool] = None,
dimensions: Optional[List["MetricDimension"]] = None,
source_mdm_namespace: Optional[str] = None,
**kwargs
):
super(MetricSpecification, self).__init__(**kwargs)
Expand All @@ -1640,6 +1644,7 @@ def __init__(
self.supported_time_grain_types = supported_time_grain_types
self.fill_gap_with_zero = fill_gap_with_zero
self.dimensions = dimensions
self.source_mdm_namespace = source_mdm_namespace


class MonitoringSettingProperties(msrest.serialization.Model):
Expand Down Expand Up @@ -2675,7 +2680,7 @@ def __init__(
self,
*,
size_in_gb: Optional[int] = None,
mount_path: Optional[str] = None,
mount_path: Optional[str] = "/tmp",
**kwargs
):
super(TemporaryDisk, self).__init__(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 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 ._app_platform_management_client import AppPlatformManagementClient
from ._version import VERSION

__version__ = VERSION
__all__ = ['AppPlatformManagementClient']

try:
from ._patch import patch_sdk # type: ignore
patch_sdk()
except ImportError:
pass
Loading