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": "9d8640319ef481ae301b67b033d6ae0bd30422c3",
"commit": "f9114730629238a9ab1d83f03b34e6c6ed848b2b",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/servicelinker/resource-manager/readme.md --multiapi --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.7.2",
"autorest_command": "autorest specification/servicelinker/resource-manager/readme.md --multiapi --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --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 @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "1.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,12 @@
from ._service_linker_management_client_enums import (
ActionType,
AuthType,
AzureResourceType,
ClientType,
CreatedByType,
Origin,
SecretType,
Type,
TargetServiceType,
VNetSolutionType,
ValidationResultStatus,
)
Expand Down Expand Up @@ -91,11 +92,12 @@
'ValueSecretInfo',
'ActionType',
'AuthType',
'AzureResourceType',
'ClientType',
'CreatedByType',
'Origin',
'SecretType',
'Type',
'TargetServiceType',
'VNetSolutionType',
'ValidationResultStatus',
]
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ class AzureResourcePropertiesBase(msrest.serialization.Model):
All required parameters must be populated in order to send to Azure.

:ivar type: Required. The azure resource type.Constant filled by server. Possible values
include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry", "KeyVault".
:vartype type: str or ~azure.mgmt.servicelinker.models.Type
include: "KeyVault".
:vartype type: str or ~azure.mgmt.servicelinker.models.AzureResourceType
"""

_validation = {
Expand Down Expand Up @@ -92,8 +92,8 @@ class AzureKeyVaultProperties(AzureResourcePropertiesBase):
All required parameters must be populated in order to send to Azure.

:ivar type: Required. The azure resource type.Constant filled by server. Possible values
include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry", "KeyVault".
:vartype type: str or ~azure.mgmt.servicelinker.models.Type
include: "KeyVault".
:vartype type: str or ~azure.mgmt.servicelinker.models.AzureResourceType
:ivar connect_as_kubernetes_csi_driver: True if connect via Kubernetes CSI Driver.
:vartype connect_as_kubernetes_csi_driver: bool
"""
Expand Down Expand Up @@ -131,8 +131,8 @@ class TargetServiceBase(msrest.serialization.Model):
All required parameters must be populated in order to send to Azure.

:ivar type: Required. The target service type.Constant filled by server. Possible values
include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry", "KeyVault".
:vartype type: str or ~azure.mgmt.servicelinker.models.Type
include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry".
:vartype type: str or ~azure.mgmt.servicelinker.models.TargetServiceType
"""

_validation = {
Expand Down Expand Up @@ -163,8 +163,8 @@ class AzureResource(TargetServiceBase):
All required parameters must be populated in order to send to Azure.

:ivar type: Required. The target service type.Constant filled by server. Possible values
include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry", "KeyVault".
:vartype type: str or ~azure.mgmt.servicelinker.models.Type
include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry".
:vartype type: str or ~azure.mgmt.servicelinker.models.TargetServiceType
:ivar id: The Id of azure resource.
:vartype id: str
:ivar resource_properties: The azure resource connection related properties.
Expand Down Expand Up @@ -206,8 +206,8 @@ class ConfluentBootstrapServer(TargetServiceBase):
All required parameters must be populated in order to send to Azure.

:ivar type: Required. The target service type.Constant filled by server. Possible values
include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry", "KeyVault".
:vartype type: str or ~azure.mgmt.servicelinker.models.Type
include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry".
:vartype type: str or ~azure.mgmt.servicelinker.models.TargetServiceType
:ivar endpoint: The endpoint of service.
:vartype endpoint: str
"""
Expand Down Expand Up @@ -242,8 +242,8 @@ class ConfluentSchemaRegistry(TargetServiceBase):
All required parameters must be populated in order to send to Azure.

:ivar type: Required. The target service type.Constant filled by server. Possible values
include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry", "KeyVault".
:vartype type: str or ~azure.mgmt.servicelinker.models.Type
include: "AzureResource", "ConfluentBootstrapServer", "ConfluentSchemaRegistry".
:vartype type: str or ~azure.mgmt.servicelinker.models.TargetServiceType
:ivar endpoint: The endpoint of service.
:vartype endpoint: str
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ class AuthType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
SERVICE_PRINCIPAL_CERTIFICATE = "servicePrincipalCertificate"
SECRET = "secret"

class AzureResourceType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The azure resource type.
"""

KEY_VAULT = "KeyVault"

class ClientType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The application client type
"""
Expand Down Expand Up @@ -68,14 +74,13 @@ class SecretType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
KEY_VAULT_SECRET_URI = "keyVaultSecretUri"
KEY_VAULT_SECRET_REFERENCE = "keyVaultSecretReference"

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

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

class ValidationResultStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
"""The result of validation
Expand Down