Skip to content
Merged
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
2 changes: 2 additions & 0 deletions azure-mgmt-sql/azure/mgmt/sql/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@
IdentityType,
ManagedServerCreateMode,
ManagedInstanceLicenseType,
ManagedInstanceProxyOverride,
OperationOrigin,
SyncAgentState,
SyncMemberDbType,
Expand Down Expand Up @@ -712,6 +713,7 @@
'IdentityType',
'ManagedServerCreateMode',
'ManagedInstanceLicenseType',
'ManagedInstanceProxyOverride',
'OperationOrigin',
'SyncAgentState',
'SyncMemberDbType',
Expand Down
6 changes: 4 additions & 2 deletions azure-mgmt-sql/azure/mgmt/sql/models/managed_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,10 @@ class ManagedInstance(TrackedResource):
:param restore_point_in_time: Specifies the point in time (ISO8601 format)
of the source database that will be restored to create the new database.
:type restore_point_in_time: datetime
:param proxy_override: Proxy override of the managed instance.
:type proxy_override: str
:param proxy_override: Connection type used for connecting to the
instance. Possible values include: 'Proxy', 'Redirect', 'Default'
:type proxy_override: str or
~azure.mgmt.sql.models.ManagedInstanceProxyOverride
:param timezone_id: Id of the timezone. Allowed values are timezones
supported by Windows.
Windows keeps details on supported timezones, including the id, in
Expand Down
8 changes: 5 additions & 3 deletions azure-mgmt-sql/azure/mgmt/sql/models/managed_instance_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,10 @@ class ManagedInstance(TrackedResource):
:param restore_point_in_time: Specifies the point in time (ISO8601 format)
of the source database that will be restored to create the new database.
:type restore_point_in_time: datetime
:param proxy_override: Proxy override of the managed instance.
:type proxy_override: str
:param proxy_override: Connection type used for connecting to the
instance. Possible values include: 'Proxy', 'Redirect', 'Default'
:type proxy_override: str or
~azure.mgmt.sql.models.ManagedInstanceProxyOverride
:param timezone_id: Id of the timezone. Allowed values are timezones
supported by Windows.
Windows keeps details on supported timezones, including the id, in
Expand Down Expand Up @@ -144,7 +146,7 @@ class ManagedInstance(TrackedResource):
'instance_pool_id': {'key': 'properties.instancePoolId', 'type': 'str'},
}

def __init__(self, *, location: str, tags=None, identity=None, sku=None, managed_instance_create_mode=None, administrator_login: str=None, administrator_login_password: str=None, subnet_id: str=None, license_type=None, v_cores: int=None, storage_size_in_gb: int=None, collation: str=None, dns_zone_partner: str=None, public_data_endpoint_enabled: bool=None, source_managed_instance_id: str=None, restore_point_in_time=None, proxy_override: str=None, timezone_id: str=None, instance_pool_id: str=None, **kwargs) -> None:
def __init__(self, *, location: str, tags=None, identity=None, sku=None, managed_instance_create_mode=None, administrator_login: str=None, administrator_login_password: str=None, subnet_id: str=None, license_type=None, v_cores: int=None, storage_size_in_gb: int=None, collation: str=None, dns_zone_partner: str=None, public_data_endpoint_enabled: bool=None, source_managed_instance_id: str=None, restore_point_in_time=None, proxy_override=None, timezone_id: str=None, instance_pool_id: str=None, **kwargs) -> None:
super(ManagedInstance, self).__init__(location=location, tags=tags, **kwargs)
self.identity = identity
self.sku = sku
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ class ManagedInstanceUpdate(Model):
:param restore_point_in_time: Specifies the point in time (ISO8601 format)
of the source database that will be restored to create the new database.
:type restore_point_in_time: datetime
:param proxy_override: Proxy override of the managed instance.
:type proxy_override: str
:param proxy_override: Connection type used for connecting to the
instance. Possible values include: 'Proxy', 'Redirect', 'Default'
:type proxy_override: str or
~azure.mgmt.sql.models.ManagedInstanceProxyOverride
:param timezone_id: Id of the timezone. Allowed values are timezones
supported by Windows.
Windows keeps details on supported timezones, including the id, in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ class ManagedInstanceUpdate(Model):
:param restore_point_in_time: Specifies the point in time (ISO8601 format)
of the source database that will be restored to create the new database.
:type restore_point_in_time: datetime
:param proxy_override: Proxy override of the managed instance.
:type proxy_override: str
:param proxy_override: Connection type used for connecting to the
instance. Possible values include: 'Proxy', 'Redirect', 'Default'
:type proxy_override: str or
~azure.mgmt.sql.models.ManagedInstanceProxyOverride
:param timezone_id: Id of the timezone. Allowed values are timezones
supported by Windows.
Windows keeps details on supported timezones, including the id, in
Expand Down Expand Up @@ -121,7 +123,7 @@ class ManagedInstanceUpdate(Model):
'tags': {'key': 'tags', 'type': '{str}'},
}

def __init__(self, *, sku=None, managed_instance_create_mode=None, administrator_login: str=None, administrator_login_password: str=None, subnet_id: str=None, license_type=None, v_cores: int=None, storage_size_in_gb: int=None, collation: str=None, dns_zone_partner: str=None, public_data_endpoint_enabled: bool=None, source_managed_instance_id: str=None, restore_point_in_time=None, proxy_override: str=None, timezone_id: str=None, instance_pool_id: str=None, tags=None, **kwargs) -> None:
def __init__(self, *, sku=None, managed_instance_create_mode=None, administrator_login: str=None, administrator_login_password: str=None, subnet_id: str=None, license_type=None, v_cores: int=None, storage_size_in_gb: int=None, collation: str=None, dns_zone_partner: str=None, public_data_endpoint_enabled: bool=None, source_managed_instance_id: str=None, restore_point_in_time=None, proxy_override=None, timezone_id: str=None, instance_pool_id: str=None, tags=None, **kwargs) -> None:
super(ManagedInstanceUpdate, self).__init__(**kwargs)
self.sku = sku
self.managed_instance_create_mode = managed_instance_create_mode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,13 @@ class ManagedInstanceLicenseType(str, Enum):
base_price = "BasePrice"


class ManagedInstanceProxyOverride(str, Enum):

proxy = "Proxy"
redirect = "Redirect"
default = "Default"


class OperationOrigin(str, Enum):

user = "user"
Expand Down