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-synapse] add some missing tags for go SDK release #4918

Closed
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
1 change: 1 addition & 0 deletions sdk/synapse/azure-mgmt-synapse/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include _meta.json
recursive-include tests *.py *.yaml
include *.md
include azure/__init__.py
Expand Down
8 changes: 8 additions & 0 deletions sdk/synapse/azure-mgmt-synapse/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "56c053a209784b84444326b3bbbf075a4e395b2e",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/synapse/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk [email protected]/autorest.python@~4.0.71 --version=V2",
"readme": "specification/synapse/resource-manager/readme.md"
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
from ._models_py3 import Key
from ._models_py3 import LibraryInfo
from ._models_py3 import LibraryRequirements
from ._models_py3 import LibraryResource
from ._models_py3 import LinkedIntegrationRuntime
from ._models_py3 import LinkedIntegrationRuntimeKeyAuthorization
from ._models_py3 import LinkedIntegrationRuntimeRbacAuthorization
Expand Down Expand Up @@ -216,6 +217,7 @@
from ._models import Key
from ._models import LibraryInfo
from ._models import LibraryRequirements
from ._models import LibraryResource
from ._models import LinkedIntegrationRuntime
from ._models import LinkedIntegrationRuntimeKeyAuthorization
from ._models import LinkedIntegrationRuntimeRbacAuthorization
Expand Down Expand Up @@ -326,6 +328,7 @@
from ._paged_models import IntegrationRuntimeResourcePaged
from ._paged_models import IpFirewallRuleInfoPaged
from ._paged_models import KeyPaged
from ._paged_models import LibraryResourcePaged
from ._paged_models import PrivateEndpointConnectionForPrivateLinkHubPaged
from ._paged_models import PrivateEndpointConnectionPaged
from ._paged_models import PrivateLinkHubPaged
Expand Down Expand Up @@ -357,6 +360,20 @@
NodeSize,
NodeSizeFamily,
ProvisioningState,
IntegrationRuntimeType,
IntegrationRuntimeState,
DataFlowComputeType,
IntegrationRuntimeSsisCatalogPricingTier,
IntegrationRuntimeLicenseType,
IntegrationRuntimeEntityReferenceType,
IntegrationRuntimeEdition,
ManagedIntegrationRuntimeNodeStatus,
IntegrationRuntimeInternalChannelEncryptionMode,
SelfHostedIntegrationRuntimeNodeStatus,
IntegrationRuntimeUpdateResult,
IntegrationRuntimeAutoUpdate,
IntegrationRuntimeAuthKeyName,
SsisObjectMetadataType,
OperationStatus,
StorageAccountType,
GeoBackupPolicyState,
Expand All @@ -381,22 +398,9 @@
DataMaskingFunction,
SensitivityLabelUpdateKind,
RecommendedSensitivityLabelUpdateKind,
ResourceIdentityType,
IntegrationRuntimeType,
IntegrationRuntimeState,
DataFlowComputeType,
IntegrationRuntimeSsisCatalogPricingTier,
IntegrationRuntimeLicenseType,
IntegrationRuntimeEntityReferenceType,
IntegrationRuntimeEdition,
ManagedIntegrationRuntimeNodeStatus,
IntegrationRuntimeInternalChannelEncryptionMode,
SelfHostedIntegrationRuntimeNodeStatus,
IntegrationRuntimeUpdateResult,
IntegrationRuntimeAutoUpdate,
IntegrationRuntimeAuthKeyName,
SsisObjectMetadataType,
ServerKeyType,
WorkspacePublicNetworkAccess,
ResourceIdentityType,
SensitivityLabelSource,
VulnerabilityAssessmentPolicyBaselineName,
)
Expand Down Expand Up @@ -454,6 +458,7 @@
'Key',
'LibraryInfo',
'LibraryRequirements',
'LibraryResource',
'LinkedIntegrationRuntime',
'LinkedIntegrationRuntimeKeyAuthorization',
'LinkedIntegrationRuntimeRbacAuthorization',
Expand Down Expand Up @@ -557,6 +562,13 @@
'WorkspaceRepositoryConfiguration',
'BigDataPoolResourceInfoPaged',
'IpFirewallRuleInfoPaged',
'IntegrationRuntimeResourcePaged',
'KeyPaged',
'LibraryResourcePaged',
'PrivateEndpointConnectionPaged',
'PrivateLinkResourcePaged',
'PrivateLinkHubPaged',
'PrivateEndpointConnectionForPrivateLinkHubPaged',
'SqlPoolPaged',
'GeoBackupPolicyPaged',
'RestorePointPaged',
Expand All @@ -576,24 +588,32 @@
'DataMaskingRulePaged',
'WorkloadGroupPaged',
'WorkloadClassifierPaged',
'WorkspacePaged',
'RestorableDroppedSqlPoolPaged',
'IntegrationRuntimeResourcePaged',
'PrivateLinkResourcePaged',
'PrivateEndpointConnectionPaged',
'PrivateLinkHubPaged',
'PrivateEndpointConnectionForPrivateLinkHubPaged',
'ServerBlobAuditingPolicyPaged',
'ExtendedServerBlobAuditingPolicyPaged',
'ServerSecurityAlertPolicyPaged',
'ServerVulnerabilityAssessmentPaged',
'EncryptionProtectorPaged',
'ServerUsagePaged',
'RecoverableSqlPoolPaged',
'KeyPaged',
'WorkspacePaged',
'RestorableDroppedSqlPoolPaged',
'NodeSize',
'NodeSizeFamily',
'ProvisioningState',
'IntegrationRuntimeType',
'IntegrationRuntimeState',
'DataFlowComputeType',
'IntegrationRuntimeSsisCatalogPricingTier',
'IntegrationRuntimeLicenseType',
'IntegrationRuntimeEntityReferenceType',
'IntegrationRuntimeEdition',
'ManagedIntegrationRuntimeNodeStatus',
'IntegrationRuntimeInternalChannelEncryptionMode',
'SelfHostedIntegrationRuntimeNodeStatus',
'IntegrationRuntimeUpdateResult',
'IntegrationRuntimeAutoUpdate',
'IntegrationRuntimeAuthKeyName',
'SsisObjectMetadataType',
'OperationStatus',
'StorageAccountType',
'GeoBackupPolicyState',
Expand All @@ -618,22 +638,9 @@
'DataMaskingFunction',
'SensitivityLabelUpdateKind',
'RecommendedSensitivityLabelUpdateKind',
'ResourceIdentityType',
'IntegrationRuntimeType',
'IntegrationRuntimeState',
'DataFlowComputeType',
'IntegrationRuntimeSsisCatalogPricingTier',
'IntegrationRuntimeLicenseType',
'IntegrationRuntimeEntityReferenceType',
'IntegrationRuntimeEdition',
'ManagedIntegrationRuntimeNodeStatus',
'IntegrationRuntimeInternalChannelEncryptionMode',
'SelfHostedIntegrationRuntimeNodeStatus',
'IntegrationRuntimeUpdateResult',
'IntegrationRuntimeAutoUpdate',
'IntegrationRuntimeAuthKeyName',
'SsisObjectMetadataType',
'ServerKeyType',
'WorkspacePublicNetworkAccess',
'ResourceIdentityType',
'SensitivityLabelSource',
'VulnerabilityAssessmentPolicyBaselineName',
]
Original file line number Diff line number Diff line change
Expand Up @@ -2454,6 +2454,73 @@ def __init__(self, **kwargs):
self.filename = kwargs.get('filename', None)


class LibraryResource(SubResource):
"""Library response details.

Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: The name of the resource
:vartype name: str
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:ivar etag: Resource Etag.
:vartype etag: str
:param library_resource_name: Name of the library.
:type library_resource_name: str
:param path: Storage blob path of library.
:type path: str
:param container_name: Storage blob container name.
:type container_name: str
:ivar uploaded_timestamp: The last update time of the library.
:vartype uploaded_timestamp: datetime
:param library_resource_type: Type of the library.
:type library_resource_type: str
:ivar provisioning_status: Provisioning status of the library/package.
:vartype provisioning_status: str
:ivar creator_id: Creator Id of the library/package.
:vartype creator_id: str
"""

_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'type': {'readonly': True},
'etag': {'readonly': True},
'uploaded_timestamp': {'readonly': True},
'provisioning_status': {'readonly': True},
'creator_id': {'readonly': True},
}

_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'library_resource_name': {'key': 'properties.name', 'type': 'str'},
'path': {'key': 'properties.path', 'type': 'str'},
'container_name': {'key': 'properties.containerName', 'type': 'str'},
'uploaded_timestamp': {'key': 'properties.uploadedTimestamp', 'type': 'iso-8601'},
'library_resource_type': {'key': 'properties.type', 'type': 'str'},
'provisioning_status': {'key': 'properties.provisioningStatus', 'type': 'str'},
'creator_id': {'key': 'properties.creatorId', 'type': 'str'},
}

def __init__(self, **kwargs):
super(LibraryResource, self).__init__(**kwargs)
self.library_resource_name = kwargs.get('library_resource_name', None)
self.path = kwargs.get('path', None)
self.container_name = kwargs.get('container_name', None)
self.uploaded_timestamp = None
self.library_resource_type = kwargs.get('library_resource_type', None)
self.provisioning_status = None
self.creator_id = None


class LinkedIntegrationRuntime(Model):
"""The linked integration runtime information.

Expand Down Expand Up @@ -5111,7 +5178,7 @@ class SqlPool(TrackedResource):
:param status: Resource status
:type status: str
:param restore_point_in_time: Snapshot time to restore
:type restore_point_in_time: str
:type restore_point_in_time: datetime
:param create_mode: What is this?
:type create_mode: str
:param creation_date: Date the SQL pool was created
Expand Down Expand Up @@ -5142,7 +5209,7 @@ class SqlPool(TrackedResource):
'recoverable_database_id': {'key': 'properties.recoverableDatabaseId', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'status': {'key': 'properties.status', 'type': 'str'},
'restore_point_in_time': {'key': 'properties.restorePointInTime', 'type': 'str'},
'restore_point_in_time': {'key': 'properties.restorePointInTime', 'type': 'iso-8601'},
'create_mode': {'key': 'properties.createMode', 'type': 'str'},
'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'},
'storage_account_type': {'key': 'properties.storageAccountType', 'type': 'str'},
Expand Down Expand Up @@ -5565,7 +5632,7 @@ class SqlPoolPatchInfo(Model):
:param status: Resource status
:type status: str
:param restore_point_in_time: Snapshot time to restore
:type restore_point_in_time: str
:type restore_point_in_time: datetime
:param create_mode: What is this?
:type create_mode: str
:param creation_date: Date the SQL pool was created
Expand All @@ -5586,7 +5653,7 @@ class SqlPoolPatchInfo(Model):
'recoverable_database_id': {'key': 'properties.recoverableDatabaseId', 'type': 'str'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'status': {'key': 'properties.status', 'type': 'str'},
'restore_point_in_time': {'key': 'properties.restorePointInTime', 'type': 'str'},
'restore_point_in_time': {'key': 'properties.restorePointInTime', 'type': 'iso-8601'},
'create_mode': {'key': 'properties.createMode', 'type': 'str'},
'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'},
'storage_account_type': {'key': 'properties.storageAccountType', 'type': 'str'},
Expand Down Expand Up @@ -6869,6 +6936,10 @@ class Workspace(TrackedResource):
~azure.mgmt.synapse.models.PurviewConfiguration
:ivar adla_resource_id: The ADLA resource ID.
:vartype adla_resource_id: str
:param public_network_access: Enable or Disable pubic network access to
workspace. Possible values include: 'Enabled', 'Disabled'
:type public_network_access: str or
~azure.mgmt.synapse.models.WorkspacePublicNetworkAccess
:param identity: Identity of the workspace
:type identity: ~azure.mgmt.synapse.models.ManagedIdentity
"""
Expand Down Expand Up @@ -6906,6 +6977,7 @@ class Workspace(TrackedResource):
'workspace_repository_configuration': {'key': 'properties.workspaceRepositoryConfiguration', 'type': 'WorkspaceRepositoryConfiguration'},
'purview_configuration': {'key': 'properties.purviewConfiguration', 'type': 'PurviewConfiguration'},
'adla_resource_id': {'key': 'properties.adlaResourceId', 'type': 'str'},
'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'},
'identity': {'key': 'identity', 'type': 'ManagedIdentity'},
}

Expand All @@ -6927,6 +6999,7 @@ def __init__(self, **kwargs):
self.workspace_repository_configuration = kwargs.get('workspace_repository_configuration', None)
self.purview_configuration = kwargs.get('purview_configuration', None)
self.adla_resource_id = None
self.public_network_access = kwargs.get('public_network_access', None)
self.identity = kwargs.get('identity', None)


Expand Down Expand Up @@ -7024,6 +7097,10 @@ class WorkspacePatchInfo(Model):
:vartype provisioning_state: str
:param encryption: The encryption details of the workspace
:type encryption: ~azure.mgmt.synapse.models.EncryptionDetails
:param public_network_access: Enable or Disable pubic network access to
workspace. Possible values include: 'Enabled', 'Disabled'
:type public_network_access: str or
~azure.mgmt.synapse.models.WorkspacePublicNetworkAccess
"""

_validation = {
Expand All @@ -7039,6 +7116,7 @@ class WorkspacePatchInfo(Model):
'purview_configuration': {'key': 'properties.purviewConfiguration', 'type': 'PurviewConfiguration'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'encryption': {'key': 'properties.encryption', 'type': 'EncryptionDetails'},
'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'},
}

def __init__(self, **kwargs):
Expand All @@ -7051,6 +7129,7 @@ def __init__(self, **kwargs):
self.purview_configuration = kwargs.get('purview_configuration', None)
self.provisioning_state = None
self.encryption = kwargs.get('encryption', None)
self.public_network_access = kwargs.get('public_network_access', None)


class WorkspaceRepositoryConfiguration(Model):
Expand Down
Loading