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 azure-mgmt-mixedreality] update mixedreality readme.java.md #4046

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
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