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
4 changes: 2 additions & 2 deletions sdk/servicelinker/azure-mgmt-servicelinker/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"@autorest/python@5.12.0",
"@autorest/modelerfour@4.19.3"
],
"commit": "429a7ea873cc1bbd4df133f71427162e15e258b1",
"commit": "98706804fae80d415446be1565585eabb4804dad",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/servicelinker/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"autorest_command": "autorest specification/servicelinker/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"readme": "specification/servicelinker/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(
raise ValueError("Parameter 'credential' must not be None.")

self.credential = credential
self.api_version = "2021-11-01-preview"
self.api_version = "2022-01-01-preview"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-servicelinker/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"chosen_version": "2021-11-01-preview",
"total_api_version_list": ["2021-11-01-preview"],
"chosen_version": "2022-01-01-preview",
"total_api_version_list": ["2022-01-01-preview"],
"client": {
"name": "MicrosoftServiceLinker",
"filename": "_microsoft_service_linker",
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 = "1.0.0b2"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(
raise ValueError("Parameter 'credential' must not be None.")

self.credential = credential
self.api_version = "2021-11-01-preview"
self.api_version = "2022-01-01-preview"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-servicelinker/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# --------------------------------------------------------------------------

from ._models_py3 import AuthInfoBase
from ._models_py3 import AzureKeyVaultProperties
from ._models_py3 import AzureResource
from ._models_py3 import AzureResourcePropertiesBase
from ._models_py3 import ConfluentBootstrapServer
from ._models_py3 import ConfluentSchemaRegistry
from ._models_py3 import ErrorAdditionalInfo
from ._models_py3 import ErrorDetail
from ._models_py3 import ErrorResponse
Expand All @@ -26,23 +31,31 @@
from ._models_py3 import SourceConfigurationResult
from ._models_py3 import SystemAssignedIdentityAuthInfo
from ._models_py3 import SystemData
from ._models_py3 import TargetServiceBase
from ._models_py3 import UserAssignedIdentityAuthInfo
from ._models_py3 import VNetSolution
from ._models_py3 import ValidateResult
from ._models_py3 import ValidationResultItem


from ._microsoft_service_linker_enums import (
ActionType,
AuthType,
ClientType,
CreatedByType,
LinkerStatus,
Origin,
Type,
VNetSolutionType,
ValidationItemResult,
)

__all__ = [
'AuthInfoBase',
'AzureKeyVaultProperties',
'AzureResource',
'AzureResourcePropertiesBase',
'ConfluentBootstrapServer',
'ConfluentSchemaRegistry',
'ErrorAdditionalInfo',
'ErrorDetail',
'ErrorResponse',
Expand All @@ -62,14 +75,17 @@
'SourceConfigurationResult',
'SystemAssignedIdentityAuthInfo',
'SystemData',
'TargetServiceBase',
'UserAssignedIdentityAuthInfo',
'VNetSolution',
'ValidateResult',
'ValidationResultItem',
'ActionType',
'AuthType',
'ClientType',
'CreatedByType',
'LinkerStatus',
'Origin',
'Type',
'VNetSolutionType',
'ValidationItemResult',
]
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@ class CreatedByType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
MANAGED_IDENTITY = "ManagedIdentity"
KEY = "Key"

class LinkerStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""Specifies if the linker is healthy.
"""

HEALTHY = "Healthy"
NOT_HEALTHY = "Not healthy"

class Origin(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit
logs UX. Default value is "user,system"
Expand All @@ -67,6 +60,23 @@ class Origin(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
SYSTEM = "system"
USER_SYSTEM = "user,system"

class Type(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The target service type.
"""

AZURE_RESOURCE = "AzureResource"
CONFLUENT_BOOTSTRAP_SERVER = "ConfluentBootstrapServer"
CONFLUENT_SCHEMA_REGISTRY = "ConfluentSchemaRegistry"
KEY_VAULT = "KeyVault"

class ValidationItemResult(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The result of validation
"""

SUCCESS = "success"
FAILED = "failed"
WARNING = "warning"

class VNetSolutionType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""Type of VNet solution.
"""
Expand Down
Loading