Skip to content
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
@@ -1,7 +1,7 @@
# Release History

## 1.0.0b1 (2025-05-31)
## 1.0.0b1 (2025-05-13)

### Other Changes

- Initial version
- Initial version
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"commit": "908f30f83295f8afe862310153344468510e3b88",
"commit": "079f70d6f2b754db6b736e117196104efd2dd496",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/onlineexperimentation/OnlineExperimentation.Management",
"@azure-tools/typespec-python": "0.43.0"
"@azure-tools/typespec-python": "0.44.2"
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,19 @@
"azure.mgmt.onlineexperimentation.models.ManagedServiceIdentityType": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType",
"azure.mgmt.onlineexperimentation.models.OnlineExperimentationWorkspaceSkuName": "Microsoft.OnlineExperimentation.OnlineExperimentationWorkspaceSkuName",
"azure.mgmt.onlineexperimentation.models.OnlineExperimentationWorkspaceSkuTier": "Microsoft.OnlineExperimentation.OnlineExperimentationWorkspaceSkuTier",
"azure.mgmt.onlineexperimentation.OnlineExperimentationMgmtClient.operations.list": "Azure.ResourceManager.Operations.list",
"azure.mgmt.onlineexperimentation.OnlineExperimentationMgmtClient.online_experiment_workspaces.get": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.get",
"azure.mgmt.onlineexperimentation.OnlineExperimentationMgmtClient.online_experiment_workspaces.begin_create_or_update": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.createOrUpdate",
"azure.mgmt.onlineexperimentation.OnlineExperimentationMgmtClient.online_experiment_workspaces.begin_update": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.update",
"azure.mgmt.onlineexperimentation.OnlineExperimentationMgmtClient.online_experiment_workspaces.begin_delete": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.delete",
"azure.mgmt.onlineexperimentation.OnlineExperimentationMgmtClient.online_experiment_workspaces.list_by_resource_group": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.listByResourceGroup",
"azure.mgmt.onlineexperimentation.OnlineExperimentationMgmtClient.online_experiment_workspaces.list_by_subscription": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.listBySubscription"
"azure.mgmt.onlineexperimentation.operations.Operations.list": "Azure.ResourceManager.Operations.list",
"azure.mgmt.onlineexperimentation.aio.operations.Operations.list": "Azure.ResourceManager.Operations.list",
"azure.mgmt.onlineexperimentation.operations.OnlineExperimentWorkspacesOperations.get": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.get",
"azure.mgmt.onlineexperimentation.aio.operations.OnlineExperimentWorkspacesOperations.get": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.get",
"azure.mgmt.onlineexperimentation.operations.OnlineExperimentWorkspacesOperations.begin_create_or_update": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.createOrUpdate",
"azure.mgmt.onlineexperimentation.aio.operations.OnlineExperimentWorkspacesOperations.begin_create_or_update": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.createOrUpdate",
"azure.mgmt.onlineexperimentation.operations.OnlineExperimentWorkspacesOperations.begin_update": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.update",
"azure.mgmt.onlineexperimentation.aio.operations.OnlineExperimentWorkspacesOperations.begin_update": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.update",
"azure.mgmt.onlineexperimentation.operations.OnlineExperimentWorkspacesOperations.begin_delete": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.delete",
"azure.mgmt.onlineexperimentation.aio.operations.OnlineExperimentWorkspacesOperations.begin_delete": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.delete",
"azure.mgmt.onlineexperimentation.operations.OnlineExperimentWorkspacesOperations.list_by_resource_group": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.listByResourceGroup",
"azure.mgmt.onlineexperimentation.aio.operations.OnlineExperimentWorkspacesOperations.list_by_resource_group": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.listByResourceGroup",
"azure.mgmt.onlineexperimentation.operations.OnlineExperimentWorkspacesOperations.list_by_subscription": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.listBySubscription",
"azure.mgmt.onlineexperimentation.aio.operations.OnlineExperimentWorkspacesOperations.list_by_subscription": "Microsoft.OnlineExperimentation.OnlineExperimentWorkspaces.listBySubscription"
}
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from azure.mgmt.core.tools import get_arm_endpoints

from ._configuration import OnlineExperimentationMgmtClientConfiguration
from ._serialization import Deserializer, Serializer
from ._utils.serialization import Deserializer, Serializer
from .operations import OnlineExperimentWorkspacesOperations, Operations

if TYPE_CHECKING:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# --------------------------------------------------------------------------
# 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) Python Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from azure.mgmt.core.policies import AsyncARMAutoResourceProviderRegistrationPolicy
from azure.mgmt.core.tools import get_arm_endpoints

from .._serialization import Deserializer, Serializer
from .._utils.serialization import Deserializer, Serializer
from ._configuration import OnlineExperimentationMgmtClientConfiguration
from .operations import OnlineExperimentWorkspacesOperations, Operations

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
from azure.mgmt.core.polling.async_arm_polling import AsyncARMPolling

from ... import models as _models
from ..._model_base import SdkJSONEncoder, _deserialize, _failsafe_deserialize
from ..._serialization import Deserializer, Serializer
from ..._utils.model_base import SdkJSONEncoder, _deserialize, _failsafe_deserialize
from ..._utils.serialization import Deserializer, Serializer
from ...operations._operations import (
build_online_experiment_workspaces_create_or_update_request,
build_online_experiment_workspaces_delete_request,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@
import datetime
from typing import Any, Dict, List, Mapping, Optional, TYPE_CHECKING, Union, overload

from .. import _model_base
from .._model_base import rest_field
from .._utils.model_base import Model as _Model, rest_field

if TYPE_CHECKING:
from .. import models as _models


class CustomerManagedKeyEncryption(_model_base.Model):
class CustomerManagedKeyEncryption(_Model):
"""Customer-managed key encryption properties for the resource.

:ivar key_encryption_key_identity: All identity configuration for Customer-managed key settings
Expand Down Expand Up @@ -66,7 +65,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)


class ErrorAdditionalInfo(_model_base.Model):
class ErrorAdditionalInfo(_Model):
"""The resource management error additional info.

:ivar type: The additional info type.
Expand All @@ -81,7 +80,7 @@ class ErrorAdditionalInfo(_model_base.Model):
"""The additional info."""


class ErrorDetail(_model_base.Model):
class ErrorDetail(_Model):
"""The error detail.

:ivar code: The error code.
Expand Down Expand Up @@ -110,9 +109,8 @@ class ErrorDetail(_model_base.Model):
"""The error additional info."""


class ErrorResponse(_model_base.Model):
"""Common error response for all Azure Resource Manager APIs to return error details for failed
operations.
class ErrorResponse(_Model):
"""Error response.

:ivar error: The error object.
:vartype error: ~azure.mgmt.onlineexperimentation.models.ErrorDetail
Expand All @@ -139,7 +137,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)


class KeyEncryptionKeyIdentity(_model_base.Model):
class KeyEncryptionKeyIdentity(_Model):
"""All identity configuration for Customer-managed key settings defining which identity should be
used to auth to Key Vault.

Expand Down Expand Up @@ -198,7 +196,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)


class ManagedServiceIdentity(_model_base.Model):
class ManagedServiceIdentity(_Model):
"""Managed service identity (system assigned and/or user assigned identities).

:ivar principal_id: The service principal ID of the system assigned identity. This property
Expand Down Expand Up @@ -250,7 +248,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)


class OnlineExperimentationWorkspaceSku(_model_base.Model):
class OnlineExperimentationWorkspaceSku(_Model):
"""The SKU (Stock Keeping Unit) assigned to this resource.

:ivar name: The name of the SKU. Ex - F0, P0. It is typically a letter+number code. Required.
Expand Down Expand Up @@ -290,8 +288,8 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)


class Resource(_model_base.Model):
"""Common fields that are returned in the response for all Azure Resource Manager resources.
class Resource(_Model):
"""Resource.

:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
Expand Down Expand Up @@ -319,8 +317,7 @@ class Resource(_model_base.Model):


class TrackedResource(Resource):
"""The resource model definition for an Azure Resource Manager tracked top level resource which
has 'tags' and a 'location'.
"""Tracked Resource.

:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
Expand Down Expand Up @@ -425,7 +422,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)


class OnlineExperimentWorkspacePatch(_model_base.Model):
class OnlineExperimentWorkspacePatch(_Model):
"""Partial update of an online experiment workspace resource.

:ivar identity: The managed service identities assigned to this resource.
Expand Down Expand Up @@ -475,7 +472,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)


class OnlineExperimentWorkspacePatchProperties(_model_base.Model):
class OnlineExperimentWorkspacePatchProperties(_Model):
"""OnlineExperimentWorkspacePatchProperties.

:ivar log_analytics_workspace_resource_id: The resource identifier of the Log Analytics
Expand Down Expand Up @@ -524,7 +521,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)


class OnlineExperimentWorkspaceProperties(_model_base.Model):
class OnlineExperimentWorkspaceProperties(_Model):
"""The properties of an online experiment workspace.

:ivar workspace_id: The Id of the workspace.
Expand Down Expand Up @@ -601,8 +598,8 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)


class Operation(_model_base.Model):
"""Details of a REST API operation, returned from the Resource Provider Operations API.
class Operation(_Model):
"""REST API Operation.

:ivar name: The name of the operation, as per Resource-Based Access Control (RBAC). Examples:
"Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action".
Expand Down Expand Up @@ -658,7 +655,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)


class OperationDisplay(_model_base.Model):
class OperationDisplay(_Model):
"""Localized display information for and operation.

:ivar provider: The localized friendly form of the resource provider name, e.g. "Microsoft
Expand Down Expand Up @@ -689,7 +686,7 @@ class OperationDisplay(_model_base.Model):
views."""


class ResourceEncryptionConfiguration(_model_base.Model):
class ResourceEncryptionConfiguration(_Model):
"""The encryption configuration for the online experiment workspace resource.

:ivar customer_managed_key_encryption: All Customer-managed key encryption properties for the
Expand Down Expand Up @@ -721,7 +718,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)


class SystemData(_model_base.Model):
class SystemData(_Model):
"""Metadata pertaining to creation and last modification of the resource.

:ivar created_by: The identity that created the resource.
Expand Down Expand Up @@ -788,16 +785,16 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
super().__init__(*args, **kwargs)


class UserAssignedIdentity(_model_base.Model):
class UserAssignedIdentity(_Model):
"""User assigned identity properties.

:ivar client_id: The client ID of the assigned identity.
:vartype client_id: str
:ivar principal_id: The principal ID of the assigned identity.
:vartype principal_id: str
:ivar client_id: The client ID of the assigned identity.
:vartype client_id: str
"""

client_id: Optional[str] = rest_field(name="clientId", visibility=["read"])
"""The client ID of the assigned identity."""
principal_id: Optional[str] = rest_field(name="principalId", visibility=["read"])
"""The principal ID of the assigned identity."""
client_id: Optional[str] = rest_field(name="clientId", visibility=["read"])
"""The client ID of the assigned identity."""
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@

from .. import models as _models
from .._configuration import OnlineExperimentationMgmtClientConfiguration
from .._model_base import SdkJSONEncoder, _deserialize, _failsafe_deserialize
from .._serialization import Deserializer, Serializer
from .._utils.model_base import SdkJSONEncoder, _deserialize, _failsafe_deserialize
from .._utils.serialization import Deserializer, Serializer

T = TypeVar("T")
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
Expand Down Expand Up @@ -245,7 +245,7 @@ class Operations:
:attr:`operations` attribute.
"""

def __init__(self, *args, **kwargs):
def __init__(self, *args, **kwargs) -> None:
input_args = list(args)
self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
self._config: OnlineExperimentationMgmtClientConfiguration = (
Expand Down Expand Up @@ -348,7 +348,7 @@ class OnlineExperimentWorkspacesOperations:
:attr:`online_experiment_workspaces` attribute.
"""

def __init__(self, *args, **kwargs):
def __init__(self, *args, **kwargs) -> None:
input_args = list(args)
self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
self._config: OnlineExperimentationMgmtClientConfiguration = (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
directory: specification/onlineexperimentation/OnlineExperimentation.Management
commit: 2b341fca86a5d4ff863d88084e358cacd7b4e904
commit: 079f70d6f2b754db6b736e117196104efd2dd496
repo: Azure/azure-rest-api-specs
additionalDirectories: