Class: Azure::DataShare::Mgmt::V2019_11_01::Models::BlobContainerDataSet

Inherits:
DataSet
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-11-01/generated/azure_mgmt_datashare/models/blob_container_data_set.rb

Overview

An Azure storage blob container data set.

Instance Attribute Summary collapse

Attributes inherited from ProxyDto

#id, #name, #type

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBlobContainerDataSet

Returns a new instance of BlobContainerDataSet.



16
17
18
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/blob_container_data_set.rb', line 16

def initialize
  @kind = "Container"
end

Instance Attribute Details

#container_nameString

Returns BLOB Container name.

Returns:

  • (String)

    BLOB Container name.



23
24
25
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/blob_container_data_set.rb', line 23

def container_name
  @container_name
end

#data_set_idString

Returns Unique id for identifying a data set resource.

Returns:

  • (String)

    Unique id for identifying a data set resource



26
27
28
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/blob_container_data_set.rb', line 26

def data_set_id
  @data_set_id
end

#kindObject

Returns the value of attribute kind.



20
21
22
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/blob_container_data_set.rb', line 20

def kind
  @kind
end

#resource_groupString

Returns Resource group of storage account.

Returns:

  • (String)

    Resource group of storage account



29
30
31
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/blob_container_data_set.rb', line 29

def resource_group
  @resource_group
end

#storage_account_nameString

Returns Storage account name of the source data set.

Returns:

  • (String)

    Storage account name of the source data set



32
33
34
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/blob_container_data_set.rb', line 32

def 
  @storage_account_name
end

#subscription_idString

Returns Subscription id of storage account.

Returns:

  • (String)

    Subscription id of storage account



35
36
37
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/blob_container_data_set.rb', line 35

def subscription_id
  @subscription_id
end

Class Method Details

.mapperObject

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



42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# File 'lib/2019-11-01/generated/azure_mgmt_datashare/models/blob_container_data_set.rb', line 42

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Container',
    type: {
      name: 'Composite',
      class_name: 'BlobContainerDataSet',
      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'
          }
        },
        kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        container_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.containerName',
          type: {
            name: 'String'
          }
        },
        data_set_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.dataSetId',
          type: {
            name: 'String'
          }
        },
        resource_group: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.resourceGroup',
          type: {
            name: 'String'
          }
        },
        storage_account_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.storageAccountName',
          type: {
            name: 'String'
          }
        },
        subscription_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.subscriptionId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end