InvitationsOperations Class
InvitationsOperations 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.objectInvitationsOperations
Constructor
InvitationsOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| create |
Sends a new invitation to a recipient to access a share. Create an invitation. |
| delete |
Delete Invitation in a share. Delete an invitation in a share. |
| get |
Get Invitation in a share. Get an invitation in a share. |
| list_by_share |
List all Invitations in a share. List invitations in a share. |
create
Sends a new invitation to a recipient to access a share.
Create an invitation.
async create(resource_group_name: str, account_name: str, share_name: str, invitation_name: str, invitation: azure.mgmt.datashare.models._models_py3.Invitation, **kwargs) -> azure.mgmt.datashare.models._models_py3.Invitation
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Invitation, or the result of cls(response)
Return type
Exceptions
delete
Delete Invitation in a share.
Delete an invitation in a share.
async delete(resource_group_name: str, account_name: str, share_name: str, invitation_name: str, **kwargs) -> None
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
None, or the result of cls(response)
Return type
Exceptions
get
Get Invitation in a share.
Get an invitation in a share.
async get(resource_group_name: str, account_name: str, share_name: str, invitation_name: str, **kwargs) -> azure.mgmt.datashare.models._models_py3.Invitation
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Invitation, or the result of cls(response)
Return type
Exceptions
list_by_share
List all Invitations in a share.
List invitations in a share.
list_by_share(resource_group_name: str, account_name: str, share_name: str, skip_token: Optional[str] = None, filter: Optional[str] = None, orderby: Optional[str] = None, **kwargs) -> AsyncIterable[azure.mgmt.datashare.models._models_py3.InvitationList]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either InvitationList or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.datashare.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\datashare\\models\\__init__.py'>
Feedback
Submit and view feedback for