Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion management/azure_mgmt_storage/lib/generated/azure_mgmt_storage.rb
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module Models
autoload :ListAccountSasResponse, 'generated/azure_mgmt_storage/models/list_account_sas_response.rb'
autoload :Sku, 'generated/azure_mgmt_storage/models/sku.rb'
autoload :ServiceSasParameters, 'generated/azure_mgmt_storage/models/service_sas_parameters.rb'
autoload :StorageNetworkAcls, 'generated/azure_mgmt_storage/models/storage_network_acls.rb'
autoload :NetworkRuleSet, 'generated/azure_mgmt_storage/models/network_rule_set.rb'
autoload :ListServiceSasResponse, 'generated/azure_mgmt_storage/models/list_service_sas_response.rb'
autoload :StorageAccount, 'generated/azure_mgmt_storage/models/storage_account.rb'
autoload :Reason, 'generated/azure_mgmt_storage/models/reason.rb'
Expand Down
Empty file.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
module Azure::ARM::Storage
module Models
#
# Dimensions.
# Dimension of blobs, possiblly be blob type or access tier.
#
class Dimension

Expand Down
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ class MetricSpecification
# @return [String] Unit could be Bytes or Count.
attr_accessor :unit

# @return [Array<Dimension>] Dimensions.
# @return [Array<Dimension>] Dimensions of blobs, including blob type and
# access tier.
attr_accessor :dimensions

# @return [String] Aggregation type could be Average.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
module Azure::ARM::Storage
module Models
#
# Network ACL
# Network rule set
#
class StorageNetworkAcls
class NetworkRuleSet

include MsRestAzure

Expand All @@ -20,7 +20,7 @@ class StorageNetworkAcls
# 'Logging', 'Metrics', 'AzureServices'. Default value: 'AzureServices' .
attr_accessor :bypass

# @return [Array<VirtualNetworkRule>] Sets the virtual network ACL rules
# @return [Array<VirtualNetworkRule>] Sets the virtual network rules
attr_accessor :virtual_network_rules

# @return [Array<IPRule>] Sets the IP ACL rules
Expand All @@ -33,16 +33,16 @@ class StorageNetworkAcls


#
# Mapper for StorageNetworkAcls class as Ruby Hash.
# Mapper for NetworkRuleSet class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
required: false,
serialized_name: 'StorageNetworkAcls',
serialized_name: 'NetworkRuleSet',
type: {
name: 'Composite',
class_name: 'StorageNetworkAcls',
class_name: 'NetworkRuleSet',
model_properties: {
bypass: {
required: false,
Expand Down
Empty file.
Empty file.
Empty file.
Empty file.
8 changes: 4 additions & 4 deletions management/azure_mgmt_storage/lib/generated/azure_mgmt_storage/models/storage_account.rb
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ class StorageAccount < MsRestAzure::Resource
# to true. Default value: false .
attr_accessor :enable_https_traffic_only

# @return [StorageNetworkAcls] Network ACL
attr_accessor :network_acls
# @return [NetworkRuleSet] Network rule set
attr_accessor :network_rule_set


#
Expand Down Expand Up @@ -285,13 +285,13 @@ def self.mapper()
name: 'Boolean'
}
},
network_acls: {
network_rule_set: {
required: false,
read_only: true,
serialized_name: 'properties.networkAcls',
type: {
name: 'Composite',
class_name: 'StorageNetworkAcls'
class_name: 'NetworkRuleSet'
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ class StorageAccountCreateParameters
# same. The default setting is unencrypted.
attr_accessor :encryption

# @return [StorageNetworkAcls] Network ACL
attr_accessor :network_acls
# @return [NetworkRuleSet] Network rule set
attr_accessor :network_rule_set

# @return [AccessTier] Required for storage accounts where kind =
# BlobStorage. The access tier used for billing. Possible values include:
Expand Down Expand Up @@ -135,12 +135,12 @@ def self.mapper()
class_name: 'Encryption'
}
},
network_acls: {
network_rule_set: {
required: false,
serialized_name: 'properties.networkAcls',
type: {
name: 'Composite',
class_name: 'StorageNetworkAcls'
class_name: 'NetworkRuleSet'
}
},
access_tier: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ class StorageAccountUpdateParameters
# to true. Default value: false .
attr_accessor :enable_https_traffic_only

# @return [StorageNetworkAcls] Network ACL
attr_accessor :network_acls
# @return [NetworkRuleSet] Network rule set
attr_accessor :network_rule_set


#
Expand Down Expand Up @@ -127,12 +127,12 @@ def self.mapper()
name: 'Boolean'
}
},
network_acls: {
network_rule_set: {
required: false,
serialized_name: 'properties.networkAcls',
type: {
name: 'Composite',
class_name: 'StorageNetworkAcls'
class_name: 'NetworkRuleSet'
}
}
}
Expand Down
Empty file.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ class VirtualNetworkRule
# @return [String] A URL of vnet, subnet, classicVnet or classicSubnet.
attr_accessor :virtual_network_resource_id

# @return [Action] The action of virtual network ACL rule. Possible
# values include: 'Allow'. Default value: 'Allow' .
# @return [Action] The action of virtual network rule. Possible values
# include: 'Allow'. Default value: 'Allow' .
attr_accessor :action

# @return [State] Gets the state of virtual network ACL rule. Possible
# values include: 'provisioning', 'deprovisioning', 'succeeded',
# 'failed', 'networkSourceDeleted'
# @return [State] Gets the state of virtual network rule. Possible values
# include: 'provisioning', 'deprovisioning', 'succeeded', 'failed',
# 'networkSourceDeleted'
attr_accessor :state


Expand Down
Empty file.
Empty file.
Empty file.
Empty file.