Skip to content

Commit

Permalink
T1 mixedreality 2021 02 07 (Azure#16589)
Browse files Browse the repository at this point in the history
* CodeGen from PR 12778 in Azure/azure-rest-api-specs
update mixedreality readme.java.md (Azure#12778)

* test,version,CHANGELOG

* fix test

Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
  • Loading branch information
00Kai0 and SDKAuto authored Feb 18, 2021
1 parent 7857577 commit 34aed9f
Show file tree
Hide file tree
Showing 13 changed files with 693 additions and 239 deletions.
24 changes: 24 additions & 0 deletions sdk/mixedreality/azure-mgmt-mixedreality/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Release History

## 0.3.0 (2021-02-07)

**Features**

- Model RemoteRenderingAccount has a new parameter system_data
- Model RemoteRenderingAccount has a new parameter storage_account_name
- Model RemoteRenderingAccount has a new parameter kind
- Model RemoteRenderingAccount has a new parameter plan
- Model RemoteRenderingAccount has a new parameter sku
- Model SpatialAnchorsAccount has a new parameter system_data
- Model SpatialAnchorsAccount has a new parameter storage_account_name
- Model SpatialAnchorsAccount has a new parameter kind
- Model SpatialAnchorsAccount has a new parameter plan
- Model SpatialAnchorsAccount has a new parameter sku
- Model SpatialAnchorsAccount has a new parameter identity
- Model Operation has a new parameter origin
- Model Operation has a new parameter properties
- Model Operation has a new parameter is_data_action

**Breaking changes**

- Operation SpatialAnchorsAccountsOperations.update has a new signature
- Operation SpatialAnchorsAccountsOperations.create has a new signature

## 0.2.0 (2020-05-25)

**Features**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def __init__(
super(MixedRealityClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2021-01-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,24 @@
from ._models_py3 import CheckNameAvailabilityRequest
from ._models_py3 import CheckNameAvailabilityResponse
from ._models_py3 import Identity
from ._models_py3 import LogSpecification
from ._models_py3 import MetricDimension
from ._models_py3 import MetricSpecification
from ._models_py3 import Operation
from ._models_py3 import OperationDisplay
from ._models_py3 import OperationProperties
from ._models_py3 import Plan
from ._models_py3 import ProxyResource
from ._models_py3 import RemoteRenderingAccount
from ._models_py3 import RemoteRenderingAccountIdentity
from ._models_py3 import Resource
from ._models_py3 import ResourceModelWithAllowedPropertySet
from ._models_py3 import ResourceModelWithAllowedPropertySetIdentity
from ._models_py3 import ResourceModelWithAllowedPropertySetPlan
from ._models_py3 import ResourceModelWithAllowedPropertySetSku
from ._models_py3 import ServiceSpecification
from ._models_py3 import Sku
from ._models_py3 import SpatialAnchorsAccount
from ._models_py3 import SystemData
from ._models_py3 import TrackedResource
except (SyntaxError, ImportError):
from ._models import AccountKeyRegenerateRequest
Expand All @@ -37,28 +42,33 @@
from ._models import CheckNameAvailabilityRequest
from ._models import CheckNameAvailabilityResponse
from ._models import Identity
from ._models import LogSpecification
from ._models import MetricDimension
from ._models import MetricSpecification
from ._models import Operation
from ._models import OperationDisplay
from ._models import OperationProperties
from ._models import Plan
from ._models import ProxyResource
from ._models import RemoteRenderingAccount
from ._models import RemoteRenderingAccountIdentity
from ._models import Resource
from ._models import ResourceModelWithAllowedPropertySet
from ._models import ResourceModelWithAllowedPropertySetIdentity
from ._models import ResourceModelWithAllowedPropertySetPlan
from ._models import ResourceModelWithAllowedPropertySetSku
from ._models import ServiceSpecification
from ._models import Sku
from ._models import SpatialAnchorsAccount
from ._models import SystemData
from ._models import TrackedResource
from ._paged_models import OperationPaged
from ._paged_models import RemoteRenderingAccountPaged
from ._paged_models import SpatialAnchorsAccountPaged
from ._mixed_reality_client_enums import (
NameAvailability,
NameUnavailableReason,
SkuTier,
ResourceIdentityType,
SkuTier,
CreatedByType,
)

__all__ = [
Expand All @@ -68,25 +78,30 @@
'CheckNameAvailabilityRequest',
'CheckNameAvailabilityResponse',
'Identity',
'LogSpecification',
'MetricDimension',
'MetricSpecification',
'Operation',
'OperationDisplay',
'OperationProperties',
'Plan',
'ProxyResource',
'RemoteRenderingAccount',
'RemoteRenderingAccountIdentity',
'Resource',
'ResourceModelWithAllowedPropertySet',
'ResourceModelWithAllowedPropertySetIdentity',
'ResourceModelWithAllowedPropertySetPlan',
'ResourceModelWithAllowedPropertySetSku',
'ServiceSpecification',
'Sku',
'SpatialAnchorsAccount',
'SystemData',
'TrackedResource',
'OperationPaged',
'SpatialAnchorsAccountPaged',
'RemoteRenderingAccountPaged',
'NameAvailability',
'NameUnavailableReason',
'SkuTier',
'ResourceIdentityType',
'SkuTier',
'CreatedByType',
]
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,17 @@
from enum import Enum


class NameAvailability(str, Enum):

true = "true"
false = "false"


class NameUnavailableReason(str, Enum):

invalid = "Invalid"
already_exists = "AlreadyExists"


class ResourceIdentityType(str, Enum):

system_assigned = "SystemAssigned"


class SkuTier(str, Enum):

free = "Free"
Expand All @@ -32,6 +31,9 @@ class SkuTier(str, Enum):
premium = "Premium"


class ResourceIdentityType(str, Enum):
class CreatedByType(str, Enum):

system_assigned = "SystemAssigned"
user = "User"
application = "Application"
managed_identity = "ManagedIdentity"
key = "Key"
Loading

0 comments on commit 34aed9f

Please sign in to comment.