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/[email protected]",
"@autorest/[email protected]"
],
"commit": "429a7ea873cc1bbd4df133f71427162e15e258b1",
"commit": "62c00de41dc4a404245c1cfb5ff49c79e48e2153",
"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/[email protected] --use=@autorest/[email protected] --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/[email protected] --use=@autorest/[email protected] --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,9 +7,16 @@
# --------------------------------------------------------------------------

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
from ._models_py3 import KeyVaultSecretReferenceSecretInfo
from ._models_py3 import KeyVaultSecretUriSecretInfo
from ._models_py3 import LinkerList
from ._models_py3 import LinkerPatch
from ._models_py3 import LinkerResource
Expand All @@ -19,33 +26,46 @@
from ._models_py3 import ProxyResource
from ._models_py3 import Resource
from ._models_py3 import SecretAuthInfo
from ._models_py3 import SecretInfoBase
from ._models_py3 import SecretStore
from ._models_py3 import ServicePrincipalCertificateAuthInfo
from ._models_py3 import ServicePrincipalSecretAuthInfo
from ._models_py3 import SourceConfiguration
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 ._models_py3 import ValueSecretInfo


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

__all__ = [
'AuthInfoBase',
'AzureKeyVaultProperties',
'AzureResource',
'AzureResourcePropertiesBase',
'ConfluentBootstrapServer',
'ConfluentSchemaRegistry',
'ErrorAdditionalInfo',
'ErrorDetail',
'ErrorResponse',
'KeyVaultSecretReferenceSecretInfo',
'KeyVaultSecretUriSecretInfo',
'LinkerList',
'LinkerPatch',
'LinkerResource',
Expand All @@ -55,21 +75,27 @@
'ProxyResource',
'Resource',
'SecretAuthInfo',
'SecretInfoBase',
'SecretStore',
'ServicePrincipalCertificateAuthInfo',
'ServicePrincipalSecretAuthInfo',
'SourceConfiguration',
'SourceConfigurationResult',
'SystemAssignedIdentityAuthInfo',
'SystemData',
'TargetServiceBase',
'UserAssignedIdentityAuthInfo',
'VNetSolution',
'ValidateResult',
'ValidationResultItem',
'ValueSecretInfo',
'ActionType',
'AuthType',
'ClientType',
'CreatedByType',
'LinkerStatus',
'Origin',
'SecretType',
'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,31 @@ class Origin(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
SYSTEM = "system"
USER_SYSTEM = "user,system"

class SecretType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The secret type.
"""

RAW_VALUE = "rawValue"
KEY_VAULT_SECRET_URI = "keyVaultSecretUri"
KEY_VAULT_SECRET_REFERENCE = "keyVaultSecretReference"

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