Class: Azure::StorageManagement::StorageAccount

Inherits:
Object
  • Object
show all
Defined in:
lib/azure/storage_management/storage_account.rb

Overview

Represents a Microsoft Azure storage account

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ StorageAccount

Returns a new instance of StorageAccount.

Yields:

  • (_self)

Yield Parameters:



19
20
21
# File 'lib/azure/storage_management/storage_account.rb', line 19

def initialize
  yield self if block_given?
end

Instance Attribute Details

#account_typeObject

Returns the value of attribute account_type.



38
39
40
# File 'lib/azure/storage_management/storage_account.rb', line 38

def 
  @account_type
end

#affinity_groupObject

Returns the value of attribute affinity_group.



26
27
28
# File 'lib/azure/storage_management/storage_account.rb', line 26

def affinity_group
  @affinity_group
end

#creation_timeObject

Returns the value of attribute creation_time.



36
37
38
# File 'lib/azure/storage_management/storage_account.rb', line 36

def creation_time
  @creation_time
end

#descriptionObject

Returns the value of attribute description.



24
25
26
# File 'lib/azure/storage_management/storage_account.rb', line 24

def description
  @description
end

#endpointsObject

Returns the value of attribute endpoints.



29
30
31
# File 'lib/azure/storage_management/storage_account.rb', line 29

def endpoints
  @endpoints
end

#extended_propertiesObject

Returns the value of attribute extended_properties.



37
38
39
# File 'lib/azure/storage_management/storage_account.rb', line 37

def extended_properties
  @extended_properties
end

#geo_primary_regionObject

Returns the value of attribute geo_primary_region.



31
32
33
# File 'lib/azure/storage_management/storage_account.rb', line 31

def geo_primary_region
  @geo_primary_region
end

#geo_replication_enabledObject

Returns the value of attribute geo_replication_enabled.



30
31
32
# File 'lib/azure/storage_management/storage_account.rb', line 30

def geo_replication_enabled
  @geo_replication_enabled
end

#geo_secondary_regionObject

Returns the value of attribute geo_secondary_region.



34
35
36
# File 'lib/azure/storage_management/storage_account.rb', line 34

def geo_secondary_region
  @geo_secondary_region
end

#labelObject

Returns the value of attribute label.



27
28
29
# File 'lib/azure/storage_management/storage_account.rb', line 27

def label
  @label
end

#last_geo_failover_timeObject

Returns the value of attribute last_geo_failover_time.



33
34
35
# File 'lib/azure/storage_management/storage_account.rb', line 33

def last_geo_failover_time
  @last_geo_failover_time
end

#locationObject

Returns the value of attribute location.



25
26
27
# File 'lib/azure/storage_management/storage_account.rb', line 25

def location
  @location
end

#nameObject

Returns the value of attribute name.



23
24
25
# File 'lib/azure/storage_management/storage_account.rb', line 23

def name
  @name
end

#statusObject

Returns the value of attribute status.



28
29
30
# File 'lib/azure/storage_management/storage_account.rb', line 28

def status
  @status
end

#status_of_primaryObject

Returns the value of attribute status_of_primary.



32
33
34
# File 'lib/azure/storage_management/storage_account.rb', line 32

def status_of_primary
  @status_of_primary
end

#status_of_secondaryObject

Returns the value of attribute status_of_secondary.



35
36
37
# File 'lib/azure/storage_management/storage_account.rb', line 35

def status_of_secondary
  @status_of_secondary
end

#urlObject

Returns the value of attribute url.



22
23
24
# File 'lib/azure/storage_management/storage_account.rb', line 22

def url
  @url
end