ManagedDatabaseColumnsOperations Class

ManagedDatabaseColumnsOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
ManagedDatabaseColumnsOperations

Constructor

ManagedDatabaseColumnsOperations(client, config, serializer, deserializer) -> None

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

get

Get managed database column.

list_by_database

List managed database columns.

list_by_table

List managed database columns.

get

Get managed database column.

get(resource_group_name: str, managed_instance_name: str, database_name: str, schema_name: str, table_name: str, column_name: str, **kwargs: typing.Any) -> azure.mgmt.sql.models._models_py3.DatabaseColumn

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managed_instance_name
str
Required

The name of the managed instance.

database_name
str
Required

The name of the database.

schema_name
str
Required

The name of the schema.

table_name
str
Required

The name of the table.

column_name
str
Required

The name of the column.

cls
callable

A custom type or function that will be passed the direct response

Returns

DatabaseColumn, or the result of cls(response)

Return type

list_by_database

List managed database columns.

list_by_database(resource_group_name: str, managed_instance_name: str, database_name: str, schema: typing.Union[typing.List[str], NoneType] = None, table: typing.Union[typing.List[str], NoneType] = None, column: typing.Union[typing.List[str], NoneType] = None, order_by: typing.Union[typing.List[str], NoneType] = None, skiptoken: typing.Union[str, NoneType] = None, **kwargs: typing.Any) -> typing.AsyncIterable[_ForwardRef('_models.DatabaseColumnListResult')]

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managed_instance_name
str
Required

The name of the managed instance.

database_name
str
Required

The name of the database.

schema
list[str]
default value: None
table
list[str]
default value: None
column
list[str]
default value: None
order_by
list[str]
default value: None
skiptoken
str
default value: None

An opaque token that identifies a starting point in the collection.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either DatabaseColumnListResult or the result of cls(response)

Return type

list_by_table

List managed database columns.

list_by_table(resource_group_name: str, managed_instance_name: str, database_name: str, schema_name: str, table_name: str, filter: typing.Union[str, NoneType] = None, **kwargs: typing.Any) -> typing.AsyncIterable[_ForwardRef('_models.DatabaseColumnListResult')]

Parameters

resource_group_name
str
Required

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

managed_instance_name
str
Required

The name of the managed instance.

database_name
str
Required

The name of the database.

schema_name
str
Required

The name of the schema.

table_name
str
Required

The name of the table.

filter
str
default value: None

An OData filter expression that filters elements in the collection.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either DatabaseColumnListResult or the result of cls(response)

Return type

Attributes

models

models = <module 'azure.mgmt.sql.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.6.8\\x64\\lib\\site-packages\\azure\\mgmt\\sql\\models\\__init__.py'>