Skip to content

Commit

Permalink
[T1] appplatform 2021 01 04 (#15966)
Browse files Browse the repository at this point in the history
* CodeGen from PR 11823 in Azure/azure-rest-api-specs
[Hub Generated] Review request for Microsoft.AppPlatform to add version preview/2020-11-01-preview (#11823)

* Adds base for updating Microsoft.AppPlatform from version stable/2020-07-01 to version 2020-11-01-preview

* Updates readme

* Updates API version in new specs and examples

* Introduce additional change to 2020-11-01-preview.

* Additional properties to monitoringSettings.
* Readonly properties to requiredTraffics.

Signed-off-by: Pan Li <[email protected]>

* Make credscan happy.

Signed-off-by: Pan Li <[email protected]>

* test,version,CHANGELOG

Co-authored-by: SDKAuto <[email protected]>
  • Loading branch information
msyyc and SDKAuto authored Jan 5, 2021
1 parent fafe4a9 commit 47a73de
Show file tree
Hide file tree
Showing 44 changed files with 17,744 additions and 1,383 deletions.
13 changes: 13 additions & 0 deletions sdk/appplatform/azure-mgmt-appplatform/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Release History

## 1.1.0 (2021-01-04)

**Features**

- Model DeploymentSettings has a new parameter net_core_main_entry_path
- Model MonitoringSettingProperties has a new parameter app_insights_agent_versions
- Model MonitoringSettingProperties has a new parameter app_insights_sampling_rate
- Model NetworkProfile has a new parameter outbound_ips
- Model NetworkProfile has a new parameter required_traffics
- Model DeploymentInstance has a new parameter start_time
- Added operation ConfigServersOperations.validate
- Added operation group RuntimeVersionsOperations

## 1.0.0 (2020-08-25)

- Initial API version Release
Expand Down
4 changes: 2 additions & 2 deletions sdk/appplatform/azure-mgmt-appplatform/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure MyService Management Client Library.
This is the Microsoft Azure Appplatform Management Client Library.
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).


# Usage

For code examples, see [MyService Management](https://docs.microsoft.com/python/api/overview/azure/)
For code examples, see [Appplatform Management](https://docs.microsoft.com/python/api/overview/azure/)
on docs.microsoft.com.


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from .operations import CustomDomainsOperations
from .operations import DeploymentsOperations
from .operations import Operations
from .operations import RuntimeVersionsOperations
from .operations import SkuOperations
from . import models

Expand All @@ -44,6 +45,8 @@ class AppPlatformManagementClient(SDKClient):
:vartype deployments: azure.mgmt.appplatform.v2019_05_01_preview.operations.DeploymentsOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.appplatform.v2019_05_01_preview.operations.Operations
:ivar runtime_versions: RuntimeVersions operations
:vartype runtime_versions: azure.mgmt.appplatform.v2019_05_01_preview.operations.RuntimeVersionsOperations
:ivar sku: Sku operations
:vartype sku: azure.mgmt.appplatform.v2019_05_01_preview.operations.SkuOperations
Expand Down Expand Up @@ -82,5 +85,7 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.runtime_versions = RuntimeVersionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.sku = SkuOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
try:
from ._models_py3 import AppResource
from ._models_py3 import AppResourceProperties
from ._models_py3 import AvailableRuntimeVersions
from ._models_py3 import BindingResource
from ._models_py3 import BindingResourceProperties
from ._models_py3 import CertificateProperties
Expand All @@ -38,6 +39,7 @@
from ._models_py3 import NameAvailability
from ._models_py3 import NameAvailabilityParameters
from ._models_py3 import NetworkProfile
from ._models_py3 import NetworkProfileOutboundIPs
from ._models_py3 import OperationDetail
from ._models_py3 import OperationDisplay
from ._models_py3 import OperationProperties
Expand All @@ -56,6 +58,7 @@
from ._models_py3 import ServiceSpecification
from ._models_py3 import Sku
from ._models_py3 import SkuCapacity
from ._models_py3 import SupportedRuntimeVersion
from ._models_py3 import TemporaryDisk
from ._models_py3 import TestKeys
from ._models_py3 import TraceProperties
Expand All @@ -64,6 +67,7 @@
except (SyntaxError, ImportError):
from ._models import AppResource
from ._models import AppResourceProperties
from ._models import AvailableRuntimeVersions
from ._models import BindingResource
from ._models import BindingResourceProperties
from ._models import CertificateProperties
Expand All @@ -90,6 +94,7 @@
from ._models import NameAvailability
from ._models import NameAvailabilityParameters
from ._models import NetworkProfile
from ._models import NetworkProfileOutboundIPs
from ._models import OperationDetail
from ._models import OperationDisplay
from ._models import OperationProperties
Expand All @@ -108,6 +113,7 @@
from ._models import ServiceSpecification
from ._models import Sku
from ._models import SkuCapacity
from ._models import SupportedRuntimeVersion
from ._models import TemporaryDisk
from ._models import TestKeys
from ._models import TraceProperties
Expand Down Expand Up @@ -135,11 +141,14 @@
SkuScaleType,
ResourceSkuRestrictionsType,
ResourceSkuRestrictionsReasonCode,
SupportedRuntimeValue,
SupportedRuntimePlatform,
)

__all__ = [
'AppResource',
'AppResourceProperties',
'AvailableRuntimeVersions',
'BindingResource',
'BindingResourceProperties',
'CertificateProperties',
Expand All @@ -166,6 +175,7 @@
'NameAvailability',
'NameAvailabilityParameters',
'NetworkProfile',
'NetworkProfileOutboundIPs',
'OperationDetail',
'OperationDisplay',
'OperationProperties',
Expand All @@ -184,6 +194,7 @@
'ServiceSpecification',
'Sku',
'SkuCapacity',
'SupportedRuntimeVersion',
'TemporaryDisk',
'TestKeys',
'TraceProperties',
Expand All @@ -210,4 +221,6 @@
'SkuScaleType',
'ResourceSkuRestrictionsType',
'ResourceSkuRestrictionsReasonCode',
'SupportedRuntimeValue',
'SupportedRuntimePlatform',
]
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,21 @@ class AppResourceProvisioningState(str, Enum):
failed = "Failed"
creating = "Creating"
updating = "Updating"
deleting = "Deleting"


class UserSourceType(str, Enum):

jar = "Jar"
net_core_zip = "NetCoreZip"
source = "Source"


class RuntimeVersion(str, Enum):

java_8 = "Java_8"
java_11 = "Java_11"
net_core_31 = "NetCore_31"


class DeploymentResourceProvisioningState(str, Enum):
Expand All @@ -82,6 +85,7 @@ class DeploymentResourceProvisioningState(str, Enum):
updating = "Updating"
succeeded = "Succeeded"
failed = "Failed"
deleting = "Deleting"


class DeploymentResourceStatus(str, Enum):
Expand Down Expand Up @@ -112,3 +116,16 @@ class ResourceSkuRestrictionsReasonCode(str, Enum):

quota_id = "QuotaId"
not_available_for_subscription = "NotAvailableForSubscription"


class SupportedRuntimeValue(str, Enum):

java_8 = "Java_8"
java_11 = "Java_11"
net_core_31 = "NetCore_31"


class SupportedRuntimePlatform(str, Enum):

java = "Java"
net_core = ".NET Core"
Loading

0 comments on commit 47a73de

Please sign in to comment.