ShareSubscription Class

A share subscription data transfer object.

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

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.datashare.models._models_py3.ProxyDto
ShareSubscription

Constructor

ShareSubscription(*, invitation_id: str, source_share_location: str, expiration_date: Optional[datetime.datetime] = None, **kwargs)

Parameters

expiration_date
datetime
Required

The expiration date of the share subscription.

invitation_id
str
Required

Required. The invitation id.

source_share_location
str
Required

Required. Source share location.

Variables

id
str

The resource id of the azure resource.

name
str

Name of the azure resource.

system_data
SystemData

System Data of the Azure resource.

type
str

Type of the azure resource.

created_at
datetime

Time at which the share subscription was created.

provider_email
str

Email of the provider who created the resource.

provider_name
str

Name of the provider who created the resource.

provider_tenant_name
str

Tenant name of the provider who created the resource.

provisioning_state
str or ProvisioningState

Provisioning state of the share subscription. Possible values include: "Succeeded", "Creating", "Deleting", "Moving", "Failed".

share_description
str

Description of share.

share_kind
str or ShareKind

Kind of share. Possible values include: "CopyBased", "InPlace".

share_name
str

Name of the share.

share_subscription_status
str or ShareSubscriptionStatus

Gets the current status of share subscription. Possible values include: "Active", "Revoked", "SourceDeleted", "Revoking".

share_terms
str

Terms of a share.

user_email
str

Email of the user who created the resource.

user_name
str

Name of the user who created the resource.