Class: Azure::Web::Mgmt::V2018_02_01::Models::AzureStorageInfoValue

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/generated/azure_mgmt_web/models/azure_storage_info_value.rb

Overview

Azure Files or Blob Storage access information value for dictionary storage.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#access_keyString

Returns Access key for the storage account.

Returns:

  • (String)

    Access key for the storage account.



28
29
30
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/azure_storage_info_value.rb', line 28

def access_key
  @access_key
end

#account_nameString

Returns Name of the storage account.

Returns:

  • (String)

    Name of the storage account.



21
22
23
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/azure_storage_info_value.rb', line 21

def 
  @account_name
end

#mount_pathString

environment.

Returns:

  • (String)

    Path to mount the storage within the site’s runtime



32
33
34
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/azure_storage_info_value.rb', line 32

def mount_path
  @mount_path
end

#share_nameString

storage).

Returns:

  • (String)

    Name of the file share (container name, for Blob



25
26
27
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/azure_storage_info_value.rb', line 25

def share_name
  @share_name
end

#stateAzureStorageState

values include: ‘Ok’, ‘InvalidCredentials’, ‘InvalidShare’

Returns:



36
37
38
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/azure_storage_info_value.rb', line 36

def state
  @state
end

#typeAzureStorageType

‘AzureFiles’, ‘AzureBlob’

Returns:



18
19
20
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/azure_storage_info_value.rb', line 18

def type
  @type
end

Class Method Details

.mapperObject

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



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
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/azure_storage_info_value.rb', line 43

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureStorageInfoValue',
    type: {
      name: 'Composite',
      class_name: 'AzureStorageInfoValue',
      model_properties: {
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'Enum',
            module: 'AzureStorageType'
          }
        },
        account_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'accountName',
          type: {
            name: 'String'
          }
        },
        share_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'shareName',
          type: {
            name: 'String'
          }
        },
        access_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'accessKey',
          type: {
            name: 'String'
          }
        },
        mount_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'mountPath',
          type: {
            name: 'String'
          }
        },
        state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'state',
          type: {
            name: 'Enum',
            module: 'AzureStorageState'
          }
        }
      }
    }
  }
end