class Azure::DataShare::Mgmt::V2019_11_01::Models::ShareSubscription

A share subscription data transfer object.

Attributes

created_at[RW]

@return [DateTime] Time at which the share subscription was created.

invitation_id[RW]

@return [String] The invitation id.

provider_email[RW]

@return [String] Email of the provider who created the resource

provider_name[RW]

@return [String] Name of the provider who created the resource

provider_tenant_name[RW]

@return [String] Tenant name of the provider who created the resource

provisioning_state[RW]

@return [ProvisioningState] Provisioning state of the share subscription. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Moving', 'Failed'

share_description[RW]

@return [String] Description of share

share_kind[RW]

@return [ShareKind] Kind of share. Possible values include: 'CopyBased', 'InPlace'

share_name[RW]

@return [String] Name of the share

share_subscription_status[RW]

@return [ShareSubscriptionStatus] Gets the current status of share subscription. Possible values include: 'Active', 'Revoked', 'SourceDeleted', 'Revoking'

share_terms[RW]

@return [String] Terms of a share

source_share_location[RW]

@return [String] Source share location.

user_email[RW]

@return [String] Email of the user who created the resource

user_name[RW]

@return [String] Name of the user who created the resource

Private Class Methods

mapper() click to toggle source

Mapper for ShareSubscription class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-11-01/generated/azure_mgmt_datashare/models/share_subscription.rb, line 67
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ShareSubscription',
    type: {
      name: 'Composite',
      class_name: 'ShareSubscription',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        created_at: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdAt',
          type: {
            name: 'DateTime'
          }
        },
        invitation_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.invitationId',
          type: {
            name: 'String'
          }
        },
        provider_email: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.providerEmail',
          type: {
            name: 'String'
          }
        },
        provider_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.providerName',
          type: {
            name: 'String'
          }
        },
        provider_tenant_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.providerTenantName',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        share_description: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.shareDescription',
          type: {
            name: 'String'
          }
        },
        share_kind: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.shareKind',
          type: {
            name: 'String'
          }
        },
        share_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.shareName',
          type: {
            name: 'String'
          }
        },
        share_subscription_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.shareSubscriptionStatus',
          type: {
            name: 'String'
          }
        },
        share_terms: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.shareTerms',
          type: {
            name: 'String'
          }
        },
        source_share_location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.sourceShareLocation',
          type: {
            name: 'String'
          }
        },
        user_email: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.userEmail',
          type: {
            name: 'String'
          }
        },
        user_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.userName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end