зеркало из
1
0
Форкнуть 0

Release20180301 preview storage (#1337)

* Release storage new version

* Minor fix

* Regen all SDKs and Profiles
This commit is contained in:
Sarangan Rajamanickam 2018-05-31 01:35:58 -07:00 коммит произвёл GitHub
Родитель 1995659991
Коммит 45efefd34c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
135 изменённых файлов: 9830 добавлений и 486 удалений

Просмотреть файл

@ -1,3 +1,7 @@
## 2018.05.31 - Azure Ruby SDK Release
* Released 0.16.2 version of azure_mgmt_storage gem. This includes the new version 2018-03-01-preview.
* Released 0.17.8 version of azure_sdk rollup gem. This includes reference to the new version of azure_mgmt_storage.
## 2018.05.11 - Azure Ruby SDK Release
* Released 0.16.1 version of azure_mgmt_storage gem. This includes the new version 2018-02-01.
* Released 0.17.7 version of azure_sdk rollup gem. This includes reference to the new version of azure_mgmt_storage.

Просмотреть файл

@ -2,5 +2,5 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require 'latest/latest_profile_client'
require 'v2017_03_09/v2017_03_09_profile_client'
require 'latest/latest_profile_client'

Просмотреть файл

@ -3,5 +3,5 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
module Azure
VERSION = '0.17.7'
VERSION = '0.17.8'
end

Просмотреть файл

@ -7,97 +7,99 @@ require 'azure_mgmt_storage'
module Azure::Profiles::Latest
module Storage
module Mgmt
Operations = Azure::Storage::Mgmt::V2018_02_01::Operations
Skus = Azure::Storage::Mgmt::V2018_02_01::Skus
StorageAccounts = Azure::Storage::Mgmt::V2018_02_01::StorageAccounts
UsageOperations = Azure::Storage::Mgmt::V2018_02_01::UsageOperations
BlobContainers = Azure::Storage::Mgmt::V2018_02_01::BlobContainers
Operations = Azure::Storage::Mgmt::V2018_03_01_preview::Operations
Skus = Azure::Storage::Mgmt::V2018_03_01_preview::Skus
StorageAccounts = Azure::Storage::Mgmt::V2018_03_01_preview::StorageAccounts
Usages = Azure::Storage::Mgmt::V2018_03_01_preview::Usages
BlobContainers = Azure::Storage::Mgmt::V2018_03_01_preview::BlobContainers
module Models
StorageAccountKey = Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountKey
StorageAccountListResult = Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountListResult
Dimension = Azure::Storage::Mgmt::V2018_02_01::Models::Dimension
StorageAccountListKeysResult = Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountListKeysResult
ServiceSpecification = Azure::Storage::Mgmt::V2018_02_01::Models::ServiceSpecification
StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountRegenerateKeyParameters
OperationListResult = Azure::Storage::Mgmt::V2018_02_01::Models::OperationListResult
StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountUpdateParameters
SKUCapability = Azure::Storage::Mgmt::V2018_02_01::Models::SKUCapability
UsageName = Azure::Storage::Mgmt::V2018_02_01::Models::UsageName
Sku = Azure::Storage::Mgmt::V2018_02_01::Models::Sku
Usage = Azure::Storage::Mgmt::V2018_02_01::Models::Usage
CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2018_02_01::Models::CheckNameAvailabilityResult
UsageListResult = Azure::Storage::Mgmt::V2018_02_01::Models::UsageListResult
EncryptionService = Azure::Storage::Mgmt::V2018_02_01::Models::EncryptionService
AccountSasParameters = Azure::Storage::Mgmt::V2018_02_01::Models::AccountSasParameters
KeyVaultProperties = Azure::Storage::Mgmt::V2018_02_01::Models::KeyVaultProperties
ListAccountSasResponse = Azure::Storage::Mgmt::V2018_02_01::Models::ListAccountSasResponse
VirtualNetworkRule = Azure::Storage::Mgmt::V2018_02_01::Models::VirtualNetworkRule
ServiceSasParameters = Azure::Storage::Mgmt::V2018_02_01::Models::ServiceSasParameters
NetworkRuleSet = Azure::Storage::Mgmt::V2018_02_01::Models::NetworkRuleSet
ListServiceSasResponse = Azure::Storage::Mgmt::V2018_02_01::Models::ListServiceSasResponse
StorageAccountCreateParameters = Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountCreateParameters
IPRule = Azure::Storage::Mgmt::V2018_02_01::Models::IPRule
LegalHoldProperties = Azure::Storage::Mgmt::V2018_02_01::Models::LegalHoldProperties
OperationDisplay = Azure::Storage::Mgmt::V2018_02_01::Models::OperationDisplay
Identity = Azure::Storage::Mgmt::V2018_02_01::Models::Identity
Operation = Azure::Storage::Mgmt::V2018_02_01::Models::Operation
Endpoints = Azure::Storage::Mgmt::V2018_02_01::Models::Endpoints
Restriction = Azure::Storage::Mgmt::V2018_02_01::Models::Restriction
CustomDomain = Azure::Storage::Mgmt::V2018_02_01::Models::CustomDomain
ListContainerItems = Azure::Storage::Mgmt::V2018_02_01::Models::ListContainerItems
Encryption = Azure::Storage::Mgmt::V2018_02_01::Models::Encryption
Resource = Azure::Storage::Mgmt::V2018_02_01::Models::Resource
StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountCheckNameAvailabilityParameters
LegalHold = Azure::Storage::Mgmt::V2018_02_01::Models::LegalHold
EncryptionServices = Azure::Storage::Mgmt::V2018_02_01::Models::EncryptionServices
UpdateHistoryProperty = Azure::Storage::Mgmt::V2018_02_01::Models::UpdateHistoryProperty
StorageSkuListResult = Azure::Storage::Mgmt::V2018_02_01::Models::StorageSkuListResult
ImmutabilityPolicyProperties = Azure::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicyProperties
MetricSpecification = Azure::Storage::Mgmt::V2018_02_01::Models::MetricSpecification
TagProperty = Azure::Storage::Mgmt::V2018_02_01::Models::TagProperty
StorageAccount = Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccount
ProxyResource = Azure::Storage::Mgmt::V2018_02_01::Models::ProxyResource
AzureEntityResource = Azure::Storage::Mgmt::V2018_02_01::Models::AzureEntityResource
TrackedResource = Azure::Storage::Mgmt::V2018_02_01::Models::TrackedResource
BlobContainer = Azure::Storage::Mgmt::V2018_02_01::Models::BlobContainer
ImmutabilityPolicy = Azure::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicy
ListContainerItem = Azure::Storage::Mgmt::V2018_02_01::Models::ListContainerItem
ReasonCode = Azure::Storage::Mgmt::V2018_02_01::Models::ReasonCode
SkuName = Azure::Storage::Mgmt::V2018_02_01::Models::SkuName
SkuTier = Azure::Storage::Mgmt::V2018_02_01::Models::SkuTier
Kind = Azure::Storage::Mgmt::V2018_02_01::Models::Kind
Reason = Azure::Storage::Mgmt::V2018_02_01::Models::Reason
KeySource = Azure::Storage::Mgmt::V2018_02_01::Models::KeySource
Action = Azure::Storage::Mgmt::V2018_02_01::Models::Action
State = Azure::Storage::Mgmt::V2018_02_01::Models::State
Bypass = Azure::Storage::Mgmt::V2018_02_01::Models::Bypass
DefaultAction = Azure::Storage::Mgmt::V2018_02_01::Models::DefaultAction
AccessTier = Azure::Storage::Mgmt::V2018_02_01::Models::AccessTier
ProvisioningState = Azure::Storage::Mgmt::V2018_02_01::Models::ProvisioningState
AccountStatus = Azure::Storage::Mgmt::V2018_02_01::Models::AccountStatus
KeyPermission = Azure::Storage::Mgmt::V2018_02_01::Models::KeyPermission
UsageUnit = Azure::Storage::Mgmt::V2018_02_01::Models::UsageUnit
Services = Azure::Storage::Mgmt::V2018_02_01::Models::Services
SignedResourceTypes = Azure::Storage::Mgmt::V2018_02_01::Models::SignedResourceTypes
Permissions = Azure::Storage::Mgmt::V2018_02_01::Models::Permissions
HttpProtocol = Azure::Storage::Mgmt::V2018_02_01::Models::HttpProtocol
SignedResource = Azure::Storage::Mgmt::V2018_02_01::Models::SignedResource
PublicAccess = Azure::Storage::Mgmt::V2018_02_01::Models::PublicAccess
LeaseStatus = Azure::Storage::Mgmt::V2018_02_01::Models::LeaseStatus
LeaseState = Azure::Storage::Mgmt::V2018_02_01::Models::LeaseState
LeaseDuration = Azure::Storage::Mgmt::V2018_02_01::Models::LeaseDuration
ImmutabilityPolicyState = Azure::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicyState
ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicyUpdateType
StorageAccountListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListResult
StorageAccountListKeysResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListKeysResult
Dimension = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension
StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountRegenerateKeyParameters
ServiceSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSpecification
StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountUpdateParameters
OperationListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult
UsageName = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageName
SKUCapability = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SKUCapability
Usage = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Usage
Sku = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Sku
UsageListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageListResult
CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult
AccountSasParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountSasParameters
EncryptionService = Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionService
ListAccountSasResponse = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListAccountSasResponse
KeyVaultProperties = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyVaultProperties
ServiceSasParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSasParameters
VirtualNetworkRule = Azure::Storage::Mgmt::V2018_03_01_preview::Models::VirtualNetworkRule
ListServiceSasResponse = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListServiceSasResponse
NetworkRuleSet = Azure::Storage::Mgmt::V2018_03_01_preview::Models::NetworkRuleSet
EncryptionServices = Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices
Encryption = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Encryption
Endpoints = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Endpoints
IPRule = Azure::Storage::Mgmt::V2018_03_01_preview::Models::IPRule
StorageAccountKey = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountKey
Identity = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Identity
MetricSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification
StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCheckNameAvailabilityParameters
ManagementPoliciesRulesSetParameter = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ManagementPoliciesRulesSetParameter
StorageSkuListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageSkuListResult
ListContainerItems = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItems
StorageAccountCreateParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters
LegalHold = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHold
OperationDisplay = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay
LegalHoldProperties = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHoldProperties
Restriction = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Restriction
Resource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource
TagProperty = Azure::Storage::Mgmt::V2018_03_01_preview::Models::TagProperty
Operation = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Operation
UpdateHistoryProperty = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UpdateHistoryProperty
CustomDomain = Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain
ImmutabilityPolicyProperties = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyProperties
StorageAccount = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount
StorageAccountManagementPolicies = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountManagementPolicies
ProxyResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProxyResource
TrackedResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::TrackedResource
AzureEntityResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AzureEntityResource
BlobContainer = Azure::Storage::Mgmt::V2018_03_01_preview::Models::BlobContainer
ImmutabilityPolicy = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicy
ListContainerItem = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItem
ReasonCode = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ReasonCode
SkuName = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName
SkuTier = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuTier
Kind = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind
Reason = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason
KeySource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeySource
Action = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Action
State = Azure::Storage::Mgmt::V2018_03_01_preview::Models::State
Bypass = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Bypass
DefaultAction = Azure::Storage::Mgmt::V2018_03_01_preview::Models::DefaultAction
AccessTier = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccessTier
ProvisioningState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProvisioningState
AccountStatus = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountStatus
KeyPermission = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission
UsageUnit = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageUnit
Services = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Services
SignedResourceTypes = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes
Permissions = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Permissions
HttpProtocol = Azure::Storage::Mgmt::V2018_03_01_preview::Models::HttpProtocol
SignedResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResource
PublicAccess = Azure::Storage::Mgmt::V2018_03_01_preview::Models::PublicAccess
LeaseStatus = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseStatus
LeaseState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseState
LeaseDuration = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseDuration
ImmutabilityPolicyState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyState
ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyUpdateType
end
class StorageManagementClass
attr_reader :operations, :skus, :storage_accounts, :usage_operations, :blob_containers, :configurable, :base_url, :options, :model_classes
attr_reader :operations, :skus, :storage_accounts, :usages, :blob_containers, :configurable, :base_url, :options, :model_classes
def initialize(configurable, base_url=nil, options=nil)
@configurable, @base_url, @options = configurable, base_url, options
@client_0 = Azure::Storage::Mgmt::V2018_02_01::StorageManagementClient.new(configurable.credentials, base_url, options)
@client_0 = Azure::Storage::Mgmt::V2018_03_01_preview::StorageManagementClient.new(configurable.credentials, base_url, options)
if(@client_0.respond_to?(:subscription_id))
@client_0.subscription_id = configurable.subscription_id
end
@ -105,7 +107,7 @@ module Azure::Profiles::Latest
@operations = @client_0.operations
@skus = @client_0.skus
@storage_accounts = @client_0.storage_accounts
@usage_operations = @client_0.usage_operations
@usages = @client_0.usages
@blob_containers = @client_0.blob_containers
@model_classes = ModelClasses.new
@ -125,230 +127,236 @@ module Azure::Profiles::Latest
end
class ModelClasses
def storage_account_key
Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountKey
end
def storage_account_list_result
Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountListResult
end
def dimension
Azure::Storage::Mgmt::V2018_02_01::Models::Dimension
Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListResult
end
def storage_account_list_keys_result
Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountListKeysResult
Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListKeysResult
end
def service_specification
Azure::Storage::Mgmt::V2018_02_01::Models::ServiceSpecification
def dimension
Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension
end
def storage_account_regenerate_key_parameters
Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountRegenerateKeyParameters
Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountRegenerateKeyParameters
end
def operation_list_result
Azure::Storage::Mgmt::V2018_02_01::Models::OperationListResult
def service_specification
Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSpecification
end
def storage_account_update_parameters
Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountUpdateParameters
Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountUpdateParameters
end
def skucapability
Azure::Storage::Mgmt::V2018_02_01::Models::SKUCapability
def operation_list_result
Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult
end
def usage_name
Azure::Storage::Mgmt::V2018_02_01::Models::UsageName
Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageName
end
def sku
Azure::Storage::Mgmt::V2018_02_01::Models::Sku
def skucapability
Azure::Storage::Mgmt::V2018_03_01_preview::Models::SKUCapability
end
def usage
Azure::Storage::Mgmt::V2018_02_01::Models::Usage
Azure::Storage::Mgmt::V2018_03_01_preview::Models::Usage
end
def check_name_availability_result
Azure::Storage::Mgmt::V2018_02_01::Models::CheckNameAvailabilityResult
def sku
Azure::Storage::Mgmt::V2018_03_01_preview::Models::Sku
end
def usage_list_result
Azure::Storage::Mgmt::V2018_02_01::Models::UsageListResult
Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageListResult
end
def encryption_service
Azure::Storage::Mgmt::V2018_02_01::Models::EncryptionService
def check_name_availability_result
Azure::Storage::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult
end
def account_sas_parameters
Azure::Storage::Mgmt::V2018_02_01::Models::AccountSasParameters
Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountSasParameters
end
def key_vault_properties
Azure::Storage::Mgmt::V2018_02_01::Models::KeyVaultProperties
def encryption_service
Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionService
end
def list_account_sas_response
Azure::Storage::Mgmt::V2018_02_01::Models::ListAccountSasResponse
Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListAccountSasResponse
end
def virtual_network_rule
Azure::Storage::Mgmt::V2018_02_01::Models::VirtualNetworkRule
def key_vault_properties
Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyVaultProperties
end
def service_sas_parameters
Azure::Storage::Mgmt::V2018_02_01::Models::ServiceSasParameters
Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSasParameters
end
def network_rule_set
Azure::Storage::Mgmt::V2018_02_01::Models::NetworkRuleSet
def virtual_network_rule
Azure::Storage::Mgmt::V2018_03_01_preview::Models::VirtualNetworkRule
end
def list_service_sas_response
Azure::Storage::Mgmt::V2018_02_01::Models::ListServiceSasResponse
Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListServiceSasResponse
end
def storage_account_create_parameters
Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountCreateParameters
end
def iprule
Azure::Storage::Mgmt::V2018_02_01::Models::IPRule
end
def legal_hold_properties
Azure::Storage::Mgmt::V2018_02_01::Models::LegalHoldProperties
end
def operation_display
Azure::Storage::Mgmt::V2018_02_01::Models::OperationDisplay
end
def identity
Azure::Storage::Mgmt::V2018_02_01::Models::Identity
end
def operation
Azure::Storage::Mgmt::V2018_02_01::Models::Operation
end
def endpoints
Azure::Storage::Mgmt::V2018_02_01::Models::Endpoints
end
def restriction
Azure::Storage::Mgmt::V2018_02_01::Models::Restriction
end
def custom_domain
Azure::Storage::Mgmt::V2018_02_01::Models::CustomDomain
end
def list_container_items
Azure::Storage::Mgmt::V2018_02_01::Models::ListContainerItems
end
def encryption
Azure::Storage::Mgmt::V2018_02_01::Models::Encryption
end
def resource
Azure::Storage::Mgmt::V2018_02_01::Models::Resource
end
def storage_account_check_name_availability_parameters
Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccountCheckNameAvailabilityParameters
end
def legal_hold
Azure::Storage::Mgmt::V2018_02_01::Models::LegalHold
def network_rule_set
Azure::Storage::Mgmt::V2018_03_01_preview::Models::NetworkRuleSet
end
def encryption_services
Azure::Storage::Mgmt::V2018_02_01::Models::EncryptionServices
Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices
end
def update_history_property
Azure::Storage::Mgmt::V2018_02_01::Models::UpdateHistoryProperty
def encryption
Azure::Storage::Mgmt::V2018_03_01_preview::Models::Encryption
end
def storage_sku_list_result
Azure::Storage::Mgmt::V2018_02_01::Models::StorageSkuListResult
def endpoints
Azure::Storage::Mgmt::V2018_03_01_preview::Models::Endpoints
end
def immutability_policy_properties
Azure::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicyProperties
def iprule
Azure::Storage::Mgmt::V2018_03_01_preview::Models::IPRule
end
def storage_account_key
Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountKey
end
def identity
Azure::Storage::Mgmt::V2018_03_01_preview::Models::Identity
end
def metric_specification
Azure::Storage::Mgmt::V2018_02_01::Models::MetricSpecification
Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification
end
def storage_account_check_name_availability_parameters
Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCheckNameAvailabilityParameters
end
def management_policies_rules_set_parameter
Azure::Storage::Mgmt::V2018_03_01_preview::Models::ManagementPoliciesRulesSetParameter
end
def storage_sku_list_result
Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageSkuListResult
end
def list_container_items
Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItems
end
def storage_account_create_parameters
Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters
end
def legal_hold
Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHold
end
def operation_display
Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay
end
def legal_hold_properties
Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHoldProperties
end
def restriction
Azure::Storage::Mgmt::V2018_03_01_preview::Models::Restriction
end
def resource
Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource
end
def tag_property
Azure::Storage::Mgmt::V2018_02_01::Models::TagProperty
Azure::Storage::Mgmt::V2018_03_01_preview::Models::TagProperty
end
def operation
Azure::Storage::Mgmt::V2018_03_01_preview::Models::Operation
end
def update_history_property
Azure::Storage::Mgmt::V2018_03_01_preview::Models::UpdateHistoryProperty
end
def custom_domain
Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain
end
def immutability_policy_properties
Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyProperties
end
def storage_account
Azure::Storage::Mgmt::V2018_02_01::Models::StorageAccount
Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount
end
def storage_account_management_policies
Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountManagementPolicies
end
def proxy_resource
Azure::Storage::Mgmt::V2018_02_01::Models::ProxyResource
end
def azure_entity_resource
Azure::Storage::Mgmt::V2018_02_01::Models::AzureEntityResource
Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProxyResource
end
def tracked_resource
Azure::Storage::Mgmt::V2018_02_01::Models::TrackedResource
Azure::Storage::Mgmt::V2018_03_01_preview::Models::TrackedResource
end
def azure_entity_resource
Azure::Storage::Mgmt::V2018_03_01_preview::Models::AzureEntityResource
end
def blob_container
Azure::Storage::Mgmt::V2018_02_01::Models::BlobContainer
Azure::Storage::Mgmt::V2018_03_01_preview::Models::BlobContainer
end
def immutability_policy
Azure::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicy
Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicy
end
def list_container_item
Azure::Storage::Mgmt::V2018_02_01::Models::ListContainerItem
Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItem
end
def reason_code
Azure::Storage::Mgmt::V2018_02_01::Models::ReasonCode
Azure::Storage::Mgmt::V2018_03_01_preview::Models::ReasonCode
end
def sku_name
Azure::Storage::Mgmt::V2018_02_01::Models::SkuName
Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName
end
def sku_tier
Azure::Storage::Mgmt::V2018_02_01::Models::SkuTier
Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuTier
end
def kind
Azure::Storage::Mgmt::V2018_02_01::Models::Kind
Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind
end
def reason
Azure::Storage::Mgmt::V2018_02_01::Models::Reason
Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason
end
def key_source
Azure::Storage::Mgmt::V2018_02_01::Models::KeySource
Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeySource
end
def action
Azure::Storage::Mgmt::V2018_02_01::Models::Action
Azure::Storage::Mgmt::V2018_03_01_preview::Models::Action
end
def state
Azure::Storage::Mgmt::V2018_02_01::Models::State
Azure::Storage::Mgmt::V2018_03_01_preview::Models::State
end
def bypass
Azure::Storage::Mgmt::V2018_02_01::Models::Bypass
Azure::Storage::Mgmt::V2018_03_01_preview::Models::Bypass
end
def default_action
Azure::Storage::Mgmt::V2018_02_01::Models::DefaultAction
Azure::Storage::Mgmt::V2018_03_01_preview::Models::DefaultAction
end
def access_tier
Azure::Storage::Mgmt::V2018_02_01::Models::AccessTier
Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccessTier
end
def provisioning_state
Azure::Storage::Mgmt::V2018_02_01::Models::ProvisioningState
Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProvisioningState
end
def account_status
Azure::Storage::Mgmt::V2018_02_01::Models::AccountStatus
Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountStatus
end
def key_permission
Azure::Storage::Mgmt::V2018_02_01::Models::KeyPermission
Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission
end
def usage_unit
Azure::Storage::Mgmt::V2018_02_01::Models::UsageUnit
Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageUnit
end
def services
Azure::Storage::Mgmt::V2018_02_01::Models::Services
Azure::Storage::Mgmt::V2018_03_01_preview::Models::Services
end
def signed_resource_types
Azure::Storage::Mgmt::V2018_02_01::Models::SignedResourceTypes
Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes
end
def permissions
Azure::Storage::Mgmt::V2018_02_01::Models::Permissions
Azure::Storage::Mgmt::V2018_03_01_preview::Models::Permissions
end
def http_protocol
Azure::Storage::Mgmt::V2018_02_01::Models::HttpProtocol
Azure::Storage::Mgmt::V2018_03_01_preview::Models::HttpProtocol
end
def signed_resource
Azure::Storage::Mgmt::V2018_02_01::Models::SignedResource
Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResource
end
def public_access
Azure::Storage::Mgmt::V2018_02_01::Models::PublicAccess
Azure::Storage::Mgmt::V2018_03_01_preview::Models::PublicAccess
end
def lease_status
Azure::Storage::Mgmt::V2018_02_01::Models::LeaseStatus
Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseStatus
end
def lease_state
Azure::Storage::Mgmt::V2018_02_01::Models::LeaseState
Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseState
end
def lease_duration
Azure::Storage::Mgmt::V2018_02_01::Models::LeaseDuration
Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseDuration
end
def immutability_policy_state
Azure::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicyState
Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyState
end
def immutability_policy_update_type
Azure::Storage::Mgmt::V2018_02_01::Models::ImmutabilityPolicyUpdateType
Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyUpdateType
end
end
end

Просмотреть файл

@ -1,6 +1,6 @@
{
"rollup": {
"azure_sdk": "0.17.7"
"azure_sdk": "0.17.8"
},
"data": {
"azure_cognitiveservices_computervision": "0.16.0",
@ -72,7 +72,7 @@
"azure_mgmt_signalr": "0.16.1",
"azure_mgmt_sql": "0.16.0",
"azure_mgmt_stor_simple8000_series": "0.16.0",
"azure_mgmt_storage": "0.16.1",
"azure_mgmt_storage": "0.16.2",
"azure_mgmt_stream_analytics": "0.16.0",
"azure_mgmt_subscriptions": "0.16.0",
"azure_mgmt_traffic_manager": "0.16.0",

Просмотреть файл

@ -948,6 +948,11 @@
}
},
"azure_mgmt_storage": {
"azure_mgmt_storage_2018_03_01_preview": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/725a40881c0ea37abab64e0f206415c5c372fa52/specification/storage/resource-manager/readme.md",
"namespace": "Azure::Storage::Mgmt::V2018_03_01_preview",
"tag": "package-2018-03"
},
"azure_mgmt_storage_2018_02_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/2b5b85aea1b1f4790c7a0632d79c64c81198bed1/specification/storage/resource-manager/readme.md",
"namespace": "Azure::Storage::Mgmt::V2018_02_01",

Просмотреть файл

@ -348,7 +348,7 @@
},
"Microsoft.Storage": {
"management": {
"2018-02-01": ["*"]
"2018-03-01-preview": ["*"]
}
},
"Microsoft.StreamAnalytics": {
@ -1308,7 +1308,7 @@
"resourceTypes": {
"Microsoft.Storage" : {
"management": {
"2018-02-01": ["*"]
"2018-03-01-preview": ["*"]
}
}
},

Просмотреть файл

@ -131,10 +131,17 @@ class RequireFileGenerator
def post_processing_requires
if(@requires.length > 1)
if(@requires[0].start_with?'profiles/')
@requires << @requires[0]
@requires.shift
requires_sdk_array = []
requires_profile_array = []
@requires.each_with_index do |require, index|
if(@requires[index].start_with?'profiles/')
requires_profile_array << @requires[index]
else
requires_sdk_array << @requires[index]
end
end
@requires = requires_sdk_array + requires_profile_array
end
end

Просмотреть файл

@ -2,8 +2,8 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2017-08-01-beta/generated/azure_mgmt_analysis_services'
require '2016-05-16/generated/azure_mgmt_analysis_services'
require '2017-07-14/generated/azure_mgmt_analysis_services'
require '2017-08-01/generated/azure_mgmt_analysis_services'
require '2017-08-01-beta/generated/azure_mgmt_analysis_services'
require 'profiles/latest/analysisservices_latest_profile_client'

Просмотреть файл

@ -2,7 +2,7 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2016-07-07/generated/azure_mgmt_api_management'
require '2016-10-10/generated/azure_mgmt_api_management'
require '2018-01-01-preview/generated/azure_mgmt_api_management'
require '2016-10-10/generated/azure_mgmt_api_management'
require '2016-07-07/generated/azure_mgmt_api_management'
require 'profiles/latest/apimanagement_latest_profile_client'

Просмотреть файл

@ -2,9 +2,9 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2015-06-01-preview/generated/azure_mgmt_authorization'
require '2015-07-01/generated/azure_mgmt_authorization'
require '2015-07-01-preview/generated/azure_mgmt_authorization'
require '2017-10-01-preview/generated/azure_mgmt_authorization'
require '2018-01-01-preview/generated/azure_mgmt_authorization'
require '2015-06-01-preview/generated/azure_mgmt_authorization'
require '2015-07-01-preview/generated/azure_mgmt_authorization'
require '2015-07-01/generated/azure_mgmt_authorization'
require '2017-10-01-preview/generated/azure_mgmt_authorization'
require 'profiles/latest/authorization_latest_profile_client'

Просмотреть файл

@ -2,8 +2,8 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2015-12-01/generated/azure_mgmt_batch'
require '2017-01-01/generated/azure_mgmt_batch'
require '2017-05-01/generated/azure_mgmt_batch'
require '2017-01-01/generated/azure_mgmt_batch'
require '2017-09-01/generated/azure_mgmt_batch'
require '2015-12-01/generated/azure_mgmt_batch'
require 'profiles/latest/batch_latest_profile_client'

Просмотреть файл

@ -2,9 +2,9 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2015-06-01/generated/azure_mgmt_cdn'
require '2016-04-02/generated/azure_mgmt_cdn'
require '2016-10-02/generated/azure_mgmt_cdn'
require '2017-04-02/generated/azure_mgmt_cdn'
require '2017-10-12/generated/azure_mgmt_cdn'
require '2017-04-02/generated/azure_mgmt_cdn'
require '2016-04-02/generated/azure_mgmt_cdn'
require '2015-06-01/generated/azure_mgmt_cdn'
require '2016-10-02/generated/azure_mgmt_cdn'
require 'profiles/latest/cdn_latest_profile_client'

Просмотреть файл

@ -3,11 +3,11 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2015-06-15/generated/azure_mgmt_compute'
require '2018-04-01/generated/azure_mgmt_compute'
require '2017-09-01/generated/azure_mgmt_compute'
require '2016-03-30/generated/azure_mgmt_compute'
require '2016-04-30-preview/generated/azure_mgmt_compute'
require '2017-03-30/generated/azure_mgmt_compute'
require '2017-09-01/generated/azure_mgmt_compute'
require '2017-12-01/generated/azure_mgmt_compute'
require '2018-04-01/generated/azure_mgmt_compute'
require 'profiles/latest/compute_latest_profile_client'
require 'profiles/v2017_03_09/compute_v2017_03_09_profile_client'
require 'profiles/latest/compute_latest_profile_client'

Просмотреть файл

@ -2,8 +2,8 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2017-04-24-preview/generated/azure_mgmt_consumption'
require '2017-11-30/generated/azure_mgmt_consumption'
require '2017-12-30-preview/generated/azure_mgmt_consumption'
require '2017-04-24-preview/generated/azure_mgmt_consumption'
require '2018-01-31/generated/azure_mgmt_consumption'
require 'profiles/latest/consumption_latest_profile_client'

Просмотреть файл

@ -3,7 +3,7 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2017-08-01-preview/generated/azure_mgmt_container_instance'
require '2017-10-01-preview/generated/azure_mgmt_container_instance'
require '2017-12-01-preview/generated/azure_mgmt_container_instance'
require '2018-02-01-preview/generated/azure_mgmt_container_instance'
require '2017-10-01-preview/generated/azure_mgmt_container_instance'
require 'profiles/latest/containerinstance_latest_profile_client'

Просмотреть файл

@ -2,8 +2,8 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2016-06-27-preview/generated/azure_mgmt_container_registry'
require '2017-03-01/generated/azure_mgmt_container_registry'
require '2017-06-01-preview/generated/azure_mgmt_container_registry'
require '2017-10-01/generated/azure_mgmt_container_registry'
require '2016-06-27-preview/generated/azure_mgmt_container_registry'
require '2017-06-01-preview/generated/azure_mgmt_container_registry'
require '2017-03-01/generated/azure_mgmt_container_registry'
require 'profiles/latest/containerregistry_latest_profile_client'

Просмотреть файл

@ -2,7 +2,7 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2017-01-31/generated/azure_mgmt_container_service'
require '2016-03-30/generated/azure_mgmt_container_service'
require '2016-09-30/generated/azure_mgmt_container_service'
require '2017-01-31/generated/azure_mgmt_container_service'
require 'profiles/latest/containerservice_latest_profile_client'

Просмотреть файл

@ -2,8 +2,8 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2018-03-01-preview/generated/azure_mgmt_dns'
require '2017-10-01/generated/azure_mgmt_dns'
require '2016-04-01/generated/azure_mgmt_dns'
require '2017-09-01/generated/azure_mgmt_dns'
require '2017-10-01/generated/azure_mgmt_dns'
require '2018-03-01-preview/generated/azure_mgmt_dns'
require 'profiles/latest/dns_latest_profile_client'

Просмотреть файл

@ -2,8 +2,8 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2017-06-15-preview/generated/azure_mgmt_event_grid'
require '2017-09-15-preview/generated/azure_mgmt_event_grid'
require '2017-06-15-preview/generated/azure_mgmt_event_grid'
require '2018-01-01/generated/azure_mgmt_event_grid'
require '2018-05-01-preview/generated/azure_mgmt_event_grid'
require 'profiles/latest/eventgrid_latest_profile_client'

Просмотреть файл

@ -2,6 +2,6 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2015-08-01/generated/azure_mgmt_event_hub'
require '2017-04-01/generated/azure_mgmt_event_hub'
require '2015-08-01/generated/azure_mgmt_event_hub'
require 'profiles/latest/eventhub_latest_profile_client'

Просмотреть файл

@ -3,5 +3,5 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2015-12-01/generated/azure_mgmt_features'
require 'profiles/latest/features_latest_profile_client'
require 'profiles/v2017_03_09/features_v2017_03_09_profile_client'
require 'profiles/latest/features_latest_profile_client'

Просмотреть файл

@ -3,6 +3,6 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2016-02-03/generated/azure_mgmt_iot_hub'
require '2017-01-19/generated/azure_mgmt_iot_hub'
require '2017-07-01/generated/azure_mgmt_iot_hub'
require '2017-01-19/generated/azure_mgmt_iot_hub'
require 'profiles/latest/iothub_latest_profile_client'

Просмотреть файл

@ -2,6 +2,6 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2015-06-01/generated/azure_mgmt_key_vault'
require '2016-10-01/generated/azure_mgmt_key_vault'
require '2015-06-01/generated/azure_mgmt_key_vault'
require 'profiles/latest/keyvault_latest_profile_client'

Просмотреть файл

@ -3,5 +3,5 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2016-09-01/generated/azure_mgmt_links'
require 'profiles/latest/links_latest_profile_client'
require 'profiles/v2017_03_09/links_v2017_03_09_profile_client'
require 'profiles/latest/links_latest_profile_client'

Просмотреть файл

@ -4,5 +4,5 @@
require '2015-01-01/generated/azure_mgmt_locks'
require '2016-09-01/generated/azure_mgmt_locks'
require 'profiles/latest/locks_latest_profile_client'
require 'profiles/v2017_03_09/locks_v2017_03_09_profile_client'
require 'profiles/latest/locks_latest_profile_client'

Просмотреть файл

@ -2,6 +2,6 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2015-02-01-preview/generated/azure_mgmt_logic'
require '2016-06-01/generated/azure_mgmt_logic'
require '2015-02-01-preview/generated/azure_mgmt_logic'
require 'profiles/latest/logic_latest_profile_client'

Просмотреть файл

@ -3,9 +3,9 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2015-04-01/generated/azure_mgmt_monitor'
require '2016-03-01/generated/azure_mgmt_monitor'
require '2016-09-01/generated/azure_mgmt_monitor'
require '2017-04-01/generated/azure_mgmt_monitor'
require '2017-05-01-preview/generated/azure_mgmt_monitor'
require '2017-11-01-preview/generated/azure_mgmt_monitor'
require '2016-03-01/generated/azure_mgmt_monitor'
require '2016-09-01/generated/azure_mgmt_monitor'
require 'profiles/latest/monitor_latest_profile_client'

Просмотреть файл

@ -2,17 +2,17 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2015-05-01-preview/generated/azure_mgmt_network'
require '2017-11-01/generated/azure_mgmt_network'
require '2017-10-01/generated/azure_mgmt_network'
require '2015-06-15/generated/azure_mgmt_network'
require '2015-05-01-preview/generated/azure_mgmt_network'
require '2017-09-01/generated/azure_mgmt_network'
require '2016-03-30/generated/azure_mgmt_network'
require '2016-06-01/generated/azure_mgmt_network'
require '2016-09-01/generated/azure_mgmt_network'
require '2016-12-01/generated/azure_mgmt_network'
require '2018-01-01/generated/azure_mgmt_network'
require '2016-06-01/generated/azure_mgmt_network'
require '2017-03-01/generated/azure_mgmt_network'
require '2017-03-30/generated/azure_mgmt_network'
require '2017-09-01/generated/azure_mgmt_network'
require '2017-10-01/generated/azure_mgmt_network'
require '2017-11-01/generated/azure_mgmt_network'
require '2018-01-01/generated/azure_mgmt_network'
require 'profiles/latest/network_latest_profile_client'
require '2016-09-01/generated/azure_mgmt_network'
require 'profiles/v2017_03_09/network_v2017_03_09_profile_client'
require 'profiles/latest/network_latest_profile_client'

Просмотреть файл

@ -6,5 +6,5 @@ require '2015-10-01-preview/generated/azure_mgmt_policy'
require '2016-04-01/generated/azure_mgmt_policy'
require '2016-12-01/generated/azure_mgmt_policy'
require '2017-06-01-preview/generated/azure_mgmt_policy'
require 'profiles/latest/policy_latest_profile_client'
require 'profiles/v2017_03_09/policy_v2017_03_09_profile_client'
require 'profiles/latest/policy_latest_profile_client'

Просмотреть файл

@ -2,8 +2,8 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2016-06-01/generated/azure_mgmt_recovery_services_backup'
require '2016-08-10/generated/azure_mgmt_recovery_services_backup'
require '2016-12-01/generated/azure_mgmt_recovery_services_backup'
require '2016-06-01/generated/azure_mgmt_recovery_services_backup'
require '2017-07-01/generated/azure_mgmt_recovery_services_backup'
require 'profiles/latest/recoveryservicesbackup_latest_profile_client'

Просмотреть файл

@ -2,8 +2,8 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2015-08-01/generated/azure_mgmt_redis'
require '2016-04-01/generated/azure_mgmt_redis'
require '2017-02-01/generated/azure_mgmt_redis'
require '2017-10-01/generated/azure_mgmt_redis'
require '2016-04-01/generated/azure_mgmt_redis'
require '2015-08-01/generated/azure_mgmt_redis'
require '2017-02-01/generated/azure_mgmt_redis'
require 'profiles/latest/redis_latest_profile_client'

Просмотреть файл

@ -2,6 +2,6 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2016-07-01/generated/azure_mgmt_relay'
require '2017-04-01/generated/azure_mgmt_relay'
require '2016-07-01/generated/azure_mgmt_relay'
require 'profiles/latest/relay_latest_profile_client'

Просмотреть файл

@ -2,9 +2,9 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2016-02-01/generated/azure_mgmt_resources'
require '2016-07-01/generated/azure_mgmt_resources'
require '2016-02-01/generated/azure_mgmt_resources'
require '2016-09-01/generated/azure_mgmt_resources'
require '2017-05-10/generated/azure_mgmt_resources'
require 'profiles/latest/resources_latest_profile_client'
require 'profiles/v2017_03_09/resources_v2017_03_09_profile_client'
require 'profiles/latest/resources_latest_profile_client'

Просмотреть файл

@ -2,6 +2,6 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2017-08-31-preview/generated/azure_mgmt_resources_management'
require '2017-11-01-preview/generated/azure_mgmt_resources_management'
require '2017-08-31-preview/generated/azure_mgmt_resources_management'
require 'profiles/latest/resourcesmanagement_latest_profile_client'

Просмотреть файл

@ -2,6 +2,6 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2015-08-01/generated/azure_mgmt_service_bus'
require '2017-04-01/generated/azure_mgmt_service_bus'
require '2015-08-01/generated/azure_mgmt_service_bus'
require 'profiles/latest/servicebus_latest_profile_client'

Просмотреть файл

@ -2,6 +2,6 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2016-09-01/generated/azure_mgmt_service_fabric'
require '2017-07-01-preview/generated/azure_mgmt_service_fabric'
require '2016-09-01/generated/azure_mgmt_service_fabric'
require 'profiles/latest/servicefabric_latest_profile_client'

Просмотреть файл

@ -3,6 +3,6 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2014-04-01/generated/azure_mgmt_sql'
require '2015-05-01-preview/generated/azure_mgmt_sql'
require '2017-03-01-preview/generated/azure_mgmt_sql'
require '2015-05-01-preview/generated/azure_mgmt_sql'
require 'profiles/latest/sql_latest_profile_client'

Просмотреть файл

@ -129,7 +129,7 @@ module Azure::Storage::Mgmt::V2015_05_01_preview
#
def add_telemetry
sdk_information = 'azure_mgmt_storage'
sdk_information = "#{sdk_information}/0.16.1"
sdk_information = "#{sdk_information}/0.16.2"
add_user_agent_information(sdk_information)
end
end

Просмотреть файл

@ -129,7 +129,7 @@ module Azure::Storage::Mgmt::V2015_06_15
#
def add_telemetry
sdk_information = 'azure_mgmt_storage'
sdk_information = "#{sdk_information}/0.16.1"
sdk_information = "#{sdk_information}/0.16.2"
add_user_agent_information(sdk_information)
end
end

Просмотреть файл

@ -129,7 +129,7 @@ module Azure::Storage::Mgmt::V2016_01_01
#
def add_telemetry
sdk_information = 'azure_mgmt_storage'
sdk_information = "#{sdk_information}/0.16.1"
sdk_information = "#{sdk_information}/0.16.2"
add_user_agent_information(sdk_information)
end
end

Просмотреть файл

@ -129,7 +129,7 @@ module Azure::Storage::Mgmt::V2016_12_01
#
def add_telemetry
sdk_information = 'azure_mgmt_storage'
sdk_information = "#{sdk_information}/0.16.1"
sdk_information = "#{sdk_information}/0.16.2"
add_user_agent_information(sdk_information)
end
end

Просмотреть файл

@ -137,7 +137,7 @@ module Azure::Storage::Mgmt::V2017_06_01
#
def add_telemetry
sdk_information = 'azure_mgmt_storage'
sdk_information = "#{sdk_information}/0.16.1"
sdk_information = "#{sdk_information}/0.16.2"
add_user_agent_information(sdk_information)
end
end

Просмотреть файл

@ -137,7 +137,7 @@ module Azure::Storage::Mgmt::V2017_10_01
#
def add_telemetry
sdk_information = 'azure_mgmt_storage'
sdk_information = "#{sdk_information}/0.16.1"
sdk_information = "#{sdk_information}/0.16.2"
add_user_agent_information(sdk_information)
end
end

Просмотреть файл

@ -0,0 +1,109 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
require 'uri'
require 'cgi'
require 'date'
require 'json'
require 'base64'
require 'erb'
require 'securerandom'
require 'time'
require 'timeliness'
require 'faraday'
require 'faraday-cookie_jar'
require 'concurrent'
require 'ms_rest'
require '2018-03-01-preview/generated/azure_mgmt_storage/module_definition'
require 'ms_rest_azure'
module Azure::Storage::Mgmt::V2018_03_01_preview
autoload :Operations, '2018-03-01-preview/generated/azure_mgmt_storage/operations.rb'
autoload :Skus, '2018-03-01-preview/generated/azure_mgmt_storage/skus.rb'
autoload :StorageAccounts, '2018-03-01-preview/generated/azure_mgmt_storage/storage_accounts.rb'
autoload :Usages, '2018-03-01-preview/generated/azure_mgmt_storage/usages.rb'
autoload :BlobContainers, '2018-03-01-preview/generated/azure_mgmt_storage/blob_containers.rb'
autoload :StorageManagementClient, '2018-03-01-preview/generated/azure_mgmt_storage/storage_management_client.rb'
module Models
autoload :StorageAccountListResult, '2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_list_result.rb'
autoload :StorageAccountListKeysResult, '2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb'
autoload :Dimension, '2018-03-01-preview/generated/azure_mgmt_storage/models/dimension.rb'
autoload :StorageAccountRegenerateKeyParameters, '2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb'
autoload :ServiceSpecification, '2018-03-01-preview/generated/azure_mgmt_storage/models/service_specification.rb'
autoload :StorageAccountUpdateParameters, '2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb'
autoload :OperationListResult, '2018-03-01-preview/generated/azure_mgmt_storage/models/operation_list_result.rb'
autoload :UsageName, '2018-03-01-preview/generated/azure_mgmt_storage/models/usage_name.rb'
autoload :SKUCapability, '2018-03-01-preview/generated/azure_mgmt_storage/models/skucapability.rb'
autoload :Usage, '2018-03-01-preview/generated/azure_mgmt_storage/models/usage.rb'
autoload :Sku, '2018-03-01-preview/generated/azure_mgmt_storage/models/sku.rb'
autoload :UsageListResult, '2018-03-01-preview/generated/azure_mgmt_storage/models/usage_list_result.rb'
autoload :CheckNameAvailabilityResult, '2018-03-01-preview/generated/azure_mgmt_storage/models/check_name_availability_result.rb'
autoload :AccountSasParameters, '2018-03-01-preview/generated/azure_mgmt_storage/models/account_sas_parameters.rb'
autoload :EncryptionService, '2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_service.rb'
autoload :ListAccountSasResponse, '2018-03-01-preview/generated/azure_mgmt_storage/models/list_account_sas_response.rb'
autoload :KeyVaultProperties, '2018-03-01-preview/generated/azure_mgmt_storage/models/key_vault_properties.rb'
autoload :ServiceSasParameters, '2018-03-01-preview/generated/azure_mgmt_storage/models/service_sas_parameters.rb'
autoload :VirtualNetworkRule, '2018-03-01-preview/generated/azure_mgmt_storage/models/virtual_network_rule.rb'
autoload :ListServiceSasResponse, '2018-03-01-preview/generated/azure_mgmt_storage/models/list_service_sas_response.rb'
autoload :NetworkRuleSet, '2018-03-01-preview/generated/azure_mgmt_storage/models/network_rule_set.rb'
autoload :EncryptionServices, '2018-03-01-preview/generated/azure_mgmt_storage/models/encryption_services.rb'
autoload :Encryption, '2018-03-01-preview/generated/azure_mgmt_storage/models/encryption.rb'
autoload :Endpoints, '2018-03-01-preview/generated/azure_mgmt_storage/models/endpoints.rb'
autoload :IPRule, '2018-03-01-preview/generated/azure_mgmt_storage/models/iprule.rb'
autoload :StorageAccountKey, '2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_key.rb'
autoload :Identity, '2018-03-01-preview/generated/azure_mgmt_storage/models/identity.rb'
autoload :MetricSpecification, '2018-03-01-preview/generated/azure_mgmt_storage/models/metric_specification.rb'
autoload :StorageAccountCheckNameAvailabilityParameters, '2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb'
autoload :ManagementPoliciesRulesSetParameter, '2018-03-01-preview/generated/azure_mgmt_storage/models/management_policies_rules_set_parameter.rb'
autoload :StorageSkuListResult, '2018-03-01-preview/generated/azure_mgmt_storage/models/storage_sku_list_result.rb'
autoload :ListContainerItems, '2018-03-01-preview/generated/azure_mgmt_storage/models/list_container_items.rb'
autoload :StorageAccountCreateParameters, '2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb'
autoload :LegalHold, '2018-03-01-preview/generated/azure_mgmt_storage/models/legal_hold.rb'
autoload :OperationDisplay, '2018-03-01-preview/generated/azure_mgmt_storage/models/operation_display.rb'
autoload :LegalHoldProperties, '2018-03-01-preview/generated/azure_mgmt_storage/models/legal_hold_properties.rb'
autoload :Restriction, '2018-03-01-preview/generated/azure_mgmt_storage/models/restriction.rb'
autoload :Resource, '2018-03-01-preview/generated/azure_mgmt_storage/models/resource.rb'
autoload :TagProperty, '2018-03-01-preview/generated/azure_mgmt_storage/models/tag_property.rb'
autoload :Operation, '2018-03-01-preview/generated/azure_mgmt_storage/models/operation.rb'
autoload :UpdateHistoryProperty, '2018-03-01-preview/generated/azure_mgmt_storage/models/update_history_property.rb'
autoload :CustomDomain, '2018-03-01-preview/generated/azure_mgmt_storage/models/custom_domain.rb'
autoload :ImmutabilityPolicyProperties, '2018-03-01-preview/generated/azure_mgmt_storage/models/immutability_policy_properties.rb'
autoload :StorageAccount, '2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account.rb'
autoload :StorageAccountManagementPolicies, '2018-03-01-preview/generated/azure_mgmt_storage/models/storage_account_management_policies.rb'
autoload :ProxyResource, '2018-03-01-preview/generated/azure_mgmt_storage/models/proxy_resource.rb'
autoload :TrackedResource, '2018-03-01-preview/generated/azure_mgmt_storage/models/tracked_resource.rb'
autoload :AzureEntityResource, '2018-03-01-preview/generated/azure_mgmt_storage/models/azure_entity_resource.rb'
autoload :BlobContainer, '2018-03-01-preview/generated/azure_mgmt_storage/models/blob_container.rb'
autoload :ImmutabilityPolicy, '2018-03-01-preview/generated/azure_mgmt_storage/models/immutability_policy.rb'
autoload :ListContainerItem, '2018-03-01-preview/generated/azure_mgmt_storage/models/list_container_item.rb'
autoload :ReasonCode, '2018-03-01-preview/generated/azure_mgmt_storage/models/reason_code.rb'
autoload :SkuName, '2018-03-01-preview/generated/azure_mgmt_storage/models/sku_name.rb'
autoload :SkuTier, '2018-03-01-preview/generated/azure_mgmt_storage/models/sku_tier.rb'
autoload :Kind, '2018-03-01-preview/generated/azure_mgmt_storage/models/kind.rb'
autoload :Reason, '2018-03-01-preview/generated/azure_mgmt_storage/models/reason.rb'
autoload :KeySource, '2018-03-01-preview/generated/azure_mgmt_storage/models/key_source.rb'
autoload :Action, '2018-03-01-preview/generated/azure_mgmt_storage/models/action.rb'
autoload :State, '2018-03-01-preview/generated/azure_mgmt_storage/models/state.rb'
autoload :Bypass, '2018-03-01-preview/generated/azure_mgmt_storage/models/bypass.rb'
autoload :DefaultAction, '2018-03-01-preview/generated/azure_mgmt_storage/models/default_action.rb'
autoload :AccessTier, '2018-03-01-preview/generated/azure_mgmt_storage/models/access_tier.rb'
autoload :ProvisioningState, '2018-03-01-preview/generated/azure_mgmt_storage/models/provisioning_state.rb'
autoload :AccountStatus, '2018-03-01-preview/generated/azure_mgmt_storage/models/account_status.rb'
autoload :KeyPermission, '2018-03-01-preview/generated/azure_mgmt_storage/models/key_permission.rb'
autoload :UsageUnit, '2018-03-01-preview/generated/azure_mgmt_storage/models/usage_unit.rb'
autoload :Services, '2018-03-01-preview/generated/azure_mgmt_storage/models/services.rb'
autoload :SignedResourceTypes, '2018-03-01-preview/generated/azure_mgmt_storage/models/signed_resource_types.rb'
autoload :Permissions, '2018-03-01-preview/generated/azure_mgmt_storage/models/permissions.rb'
autoload :HttpProtocol, '2018-03-01-preview/generated/azure_mgmt_storage/models/http_protocol.rb'
autoload :SignedResource, '2018-03-01-preview/generated/azure_mgmt_storage/models/signed_resource.rb'
autoload :PublicAccess, '2018-03-01-preview/generated/azure_mgmt_storage/models/public_access.rb'
autoload :LeaseStatus, '2018-03-01-preview/generated/azure_mgmt_storage/models/lease_status.rb'
autoload :LeaseState, '2018-03-01-preview/generated/azure_mgmt_storage/models/lease_state.rb'
autoload :LeaseDuration, '2018-03-01-preview/generated/azure_mgmt_storage/models/lease_duration.rb'
autoload :ImmutabilityPolicyState, '2018-03-01-preview/generated/azure_mgmt_storage/models/immutability_policy_state.rb'
autoload :ImmutabilityPolicyUpdateType, '2018-03-01-preview/generated/azure_mgmt_storage/models/immutability_policy_update_type.rb'
end
end

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -0,0 +1,16 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for AccessTier
#
module AccessTier
Hot = "Hot"
Cool = "Cool"
end
end
end

Просмотреть файл

@ -0,0 +1,136 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The parameters to list SAS credentials of a storage account.
#
class AccountSasParameters
include MsRestAzure
# @return [Services] The signed services accessible with the account SAS.
# Possible values include: Blob (b), Queue (q), Table (t), File (f).
# Possible values include: 'b', 'q', 't', 'f'
attr_accessor :services
# @return [SignedResourceTypes] The signed resource types that are
# accessible with the account SAS. Service (s): Access to service-level
# APIs; Container (c): Access to container-level APIs; Object (o): Access
# to object-level APIs for blobs, queue messages, table entities, and
# files. Possible values include: 's', 'c', 'o'
attr_accessor :resource_types
# @return [Permissions] The signed permissions for the account SAS.
# Possible values include: Read (r), Write (w), Delete (d), List (l), Add
# (a), Create (c), Update (u) and Process (p). Possible values include:
# 'r', 'd', 'w', 'l', 'a', 'c', 'u', 'p'
attr_accessor :permissions
# @return [String] An IP address or a range of IP addresses from which to
# accept requests.
attr_accessor :ipaddress_or_range
# @return [HttpProtocol] The protocol permitted for a request made with
# the account SAS. Possible values include: 'https,http', 'https'
attr_accessor :protocols
# @return [DateTime] The time at which the SAS becomes valid.
attr_accessor :shared_access_start_time
# @return [DateTime] The time at which the shared access signature
# becomes invalid.
attr_accessor :shared_access_expiry_time
# @return [String] The key to sign the account SAS token with.
attr_accessor :key_to_sign
#
# Mapper for AccountSasParameters class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'AccountSasParameters',
type: {
name: 'Composite',
class_name: 'AccountSasParameters',
model_properties: {
services: {
client_side_validation: true,
required: true,
serialized_name: 'signedServices',
type: {
name: 'String'
}
},
resource_types: {
client_side_validation: true,
required: true,
serialized_name: 'signedResourceTypes',
type: {
name: 'String'
}
},
permissions: {
client_side_validation: true,
required: true,
serialized_name: 'signedPermission',
type: {
name: 'String'
}
},
ipaddress_or_range: {
client_side_validation: true,
required: false,
serialized_name: 'signedIp',
type: {
name: 'String'
}
},
protocols: {
client_side_validation: true,
required: false,
serialized_name: 'signedProtocol',
type: {
name: 'Enum',
module: 'HttpProtocol'
}
},
shared_access_start_time: {
client_side_validation: true,
required: false,
serialized_name: 'signedStart',
type: {
name: 'DateTime'
}
},
shared_access_expiry_time: {
client_side_validation: true,
required: true,
serialized_name: 'signedExpiry',
type: {
name: 'DateTime'
}
},
key_to_sign: {
client_side_validation: true,
required: false,
serialized_name: 'keyToSign',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,16 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for AccountStatus
#
module AccountStatus
Available = "available"
Unavailable = "unavailable"
end
end
end

Просмотреть файл

@ -0,0 +1,15 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for Action
#
module Action
Allow = "Allow"
end
end
end

Просмотреть файл

@ -0,0 +1,75 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The resource model definition for a Azure Resource Manager resource with
# an etag.
#
class AzureEntityResource < Resource
include MsRestAzure
# @return [String] Resource Etag.
attr_accessor :etag
#
# Mapper for AzureEntityResource class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'AzureEntityResource',
type: {
name: 'Composite',
class_name: 'AzureEntityResource',
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'
}
},
etag: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'etag',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,217 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Properties of the blob container, including Id, resource name, resource
# type, Etag.
#
class BlobContainer < AzureEntityResource
include MsRestAzure
# @return [PublicAccess] Specifies whether data in the container may be
# accessed publicly and the level of access. Possible values include:
# 'Container', 'Blob', 'None'
attr_accessor :public_access
# @return [DateTime] Returns the date and time the container was last
# modified.
attr_accessor :last_modified_time
# @return [LeaseStatus] The lease status of the container. Possible
# values include: 'Locked', 'Unlocked'
attr_accessor :lease_status
# @return [LeaseState] Lease state of the container. Possible values
# include: 'Available', 'Leased', 'Expired', 'Breaking', 'Broken'
attr_accessor :lease_state
# @return [LeaseDuration] Specifies whether the lease on a container is
# of infinite or fixed duration, only when the container is leased.
# Possible values include: 'Infinite', 'Fixed'
attr_accessor :lease_duration
# @return [Hash{String => String}] A name-value pair to associate with
# the container as metadata.
attr_accessor :metadata
# @return [ImmutabilityPolicyProperties] The ImmutabilityPolicy property
# of the container.
attr_accessor :immutability_policy
# @return [LegalHoldProperties] The LegalHold property of the container.
attr_accessor :legal_hold
# @return [Boolean] The hasLegalHold public property is set to true by
# SRP if there are at least one existing tag. The hasLegalHold public
# property is set to false by SRP if all existing legal hold tags are
# cleared out. There can be a maximum of 1000 blob containers with
# hasLegalHold=true for a given account.
attr_accessor :has_legal_hold
# @return [Boolean] The hasImmutabilityPolicy public property is set to
# true by SRP if ImmutabilityPolicy has been created for this container.
# The hasImmutabilityPolicy public property is set to false by SRP if
# ImmutabilityPolicy has not been created for this container.
attr_accessor :has_immutability_policy
#
# Mapper for BlobContainer class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'BlobContainer',
type: {
name: 'Composite',
class_name: 'BlobContainer',
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'
}
},
etag: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'etag',
type: {
name: 'String'
}
},
public_access: {
client_side_validation: true,
required: false,
serialized_name: 'properties.publicAccess',
type: {
name: 'Enum',
module: 'PublicAccess'
}
},
last_modified_time: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.lastModifiedTime',
type: {
name: 'DateTime'
}
},
lease_status: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.leaseStatus',
type: {
name: 'String'
}
},
lease_state: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.leaseState',
type: {
name: 'String'
}
},
lease_duration: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.leaseDuration',
type: {
name: 'String'
}
},
metadata: {
client_side_validation: true,
required: false,
serialized_name: 'properties.metadata',
type: {
name: 'Dictionary',
value: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
},
immutability_policy: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.immutabilityPolicy',
type: {
name: 'Composite',
class_name: 'ImmutabilityPolicyProperties'
}
},
legal_hold: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.legalHold',
type: {
name: 'Composite',
class_name: 'LegalHoldProperties'
}
},
has_legal_hold: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.hasLegalHold',
type: {
name: 'Boolean'
}
},
has_immutability_policy: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.hasImmutabilityPolicy',
type: {
name: 'Boolean'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,18 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for Bypass
#
module Bypass
None = "None"
Logging = "Logging"
Metrics = "Metrics"
AzureServices = "AzureServices"
end
end
end

Просмотреть файл

@ -0,0 +1,77 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The CheckNameAvailability operation response.
#
class CheckNameAvailabilityResult
include MsRestAzure
# @return [Boolean] Gets a boolean value that indicates whether the name
# is available for you to use. If true, the name is available. If false,
# the name has already been taken or is invalid and cannot be used.
attr_accessor :name_available
# @return [Reason] Gets the reason that a storage account name could not
# be used. The Reason element is only returned if NameAvailable is false.
# Possible values include: 'AccountNameInvalid', 'AlreadyExists'
attr_accessor :reason
# @return [String] Gets an error message explaining the Reason value in
# more detail.
attr_accessor :message
#
# Mapper for CheckNameAvailabilityResult class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'CheckNameAvailabilityResult',
type: {
name: 'Composite',
class_name: 'CheckNameAvailabilityResult',
model_properties: {
name_available: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'nameAvailable',
type: {
name: 'Boolean'
}
},
reason: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'reason',
type: {
name: 'Enum',
module: 'Reason'
}
},
message: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'message',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,60 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The custom domain assigned to this storage account. This can be set via
# Update.
#
class CustomDomain
include MsRestAzure
# @return [String] Gets or sets the custom domain name assigned to the
# storage account. Name is the CNAME source.
attr_accessor :name
# @return [Boolean] Indicates whether indirect CName validation is
# enabled. Default value is false. This should only be set on updates.
attr_accessor :use_sub_domain
#
# Mapper for CustomDomain class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'CustomDomain',
type: {
name: 'Composite',
class_name: 'CustomDomain',
model_properties: {
name: {
client_side_validation: true,
required: true,
serialized_name: 'name',
type: {
name: 'String'
}
},
use_sub_domain: {
client_side_validation: true,
required: false,
serialized_name: 'useSubDomain',
type: {
name: 'Boolean'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,16 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for DefaultAction
#
module DefaultAction
Allow = "Allow"
Deny = "Deny"
end
end
end

Просмотреть файл

@ -0,0 +1,57 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Dimension of blobs, possiblly be blob type or access tier.
#
class Dimension
include MsRestAzure
# @return [String] Display name of dimension.
attr_accessor :name
# @return [String] Display name of dimension.
attr_accessor :display_name
#
# Mapper for Dimension class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'Dimension',
type: {
name: 'Composite',
class_name: 'Dimension',
model_properties: {
name: {
client_side_validation: true,
required: false,
serialized_name: 'name',
type: {
name: 'String'
}
},
display_name: {
client_side_validation: true,
required: false,
serialized_name: 'displayName',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,74 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The encryption settings on the storage account.
#
class Encryption
include MsRestAzure
# @return [EncryptionServices] List of services which support encryption.
attr_accessor :services
# @return [KeySource] The encryption keySource (provider). Possible
# values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault.
# Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault'.
# Default value: 'Microsoft.Storage' .
attr_accessor :key_source
# @return [KeyVaultProperties] Properties provided by key vault.
attr_accessor :key_vault_properties
#
# Mapper for Encryption class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'Encryption',
type: {
name: 'Composite',
class_name: 'Encryption',
model_properties: {
services: {
client_side_validation: true,
required: false,
serialized_name: 'services',
type: {
name: 'Composite',
class_name: 'EncryptionServices'
}
},
key_source: {
client_side_validation: true,
required: true,
serialized_name: 'keySource',
default_value: 'Microsoft.Storage',
type: {
name: 'String'
}
},
key_vault_properties: {
client_side_validation: true,
required: false,
serialized_name: 'keyvaultproperties',
type: {
name: 'Composite',
class_name: 'KeyVaultProperties'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,62 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# A service that allows server-side encryption to be used.
#
class EncryptionService
include MsRestAzure
# @return [Boolean] A boolean indicating whether or not the service
# encrypts the data as it is stored.
attr_accessor :enabled
# @return [DateTime] Gets a rough estimate of the date/time when the
# encryption was last enabled by the user. Only returned when encryption
# is enabled. There might be some unencrypted blobs which were written
# after this time, as it is just a rough estimate.
attr_accessor :last_enabled_time
#
# Mapper for EncryptionService class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'EncryptionService',
type: {
name: 'Composite',
class_name: 'EncryptionService',
model_properties: {
enabled: {
client_side_validation: true,
required: false,
serialized_name: 'enabled',
type: {
name: 'Boolean'
}
},
last_enabled_time: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'lastEnabledTime',
type: {
name: 'DateTime'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,89 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# A list of services that support encryption.
#
class EncryptionServices
include MsRestAzure
# @return [EncryptionService] The encryption function of the blob storage
# service.
attr_accessor :blob
# @return [EncryptionService] The encryption function of the file storage
# service.
attr_accessor :file
# @return [EncryptionService] The encryption function of the table
# storage service.
attr_accessor :table
# @return [EncryptionService] The encryption function of the queue
# storage service.
attr_accessor :queue
#
# Mapper for EncryptionServices class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'EncryptionServices',
type: {
name: 'Composite',
class_name: 'EncryptionServices',
model_properties: {
blob: {
client_side_validation: true,
required: false,
serialized_name: 'blob',
type: {
name: 'Composite',
class_name: 'EncryptionService'
}
},
file: {
client_side_validation: true,
required: false,
serialized_name: 'file',
type: {
name: 'Composite',
class_name: 'EncryptionService'
}
},
table: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'table',
type: {
name: 'Composite',
class_name: 'EncryptionService'
}
},
queue: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'queue',
type: {
name: 'Composite',
class_name: 'EncryptionService'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,84 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The URIs that are used to perform a retrieval of a public blob, queue, or
# table object.
#
class Endpoints
include MsRestAzure
# @return [String] Gets the blob endpoint.
attr_accessor :blob
# @return [String] Gets the queue endpoint.
attr_accessor :queue
# @return [String] Gets the table endpoint.
attr_accessor :table
# @return [String] Gets the file endpoint.
attr_accessor :file
#
# Mapper for Endpoints class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'Endpoints',
type: {
name: 'Composite',
class_name: 'Endpoints',
model_properties: {
blob: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'blob',
type: {
name: 'String'
}
},
queue: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'queue',
type: {
name: 'String'
}
},
table: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'table',
type: {
name: 'String'
}
},
file: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'file',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,16 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for HttpProtocol
#
module HttpProtocol
Httpshttp = "https,http"
Https = "https"
end
end
end

Просмотреть файл

@ -0,0 +1,72 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Identity for the resource.
#
class Identity
include MsRestAzure
# @return [String] The principal ID of resource identity.
attr_accessor :principal_id
# @return [String] The tenant ID of resource.
attr_accessor :tenant_id
# @return [String] The identity type. Default value: 'SystemAssigned' .
attr_accessor :type
#
# Mapper for Identity class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'Identity',
type: {
name: 'Composite',
class_name: 'Identity',
model_properties: {
principal_id: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'principalId',
type: {
name: 'String'
}
},
tenant_id: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'tenantId',
type: {
name: 'String'
}
},
type: {
client_side_validation: true,
required: true,
is_constant: true,
serialized_name: 'type',
default_value: 'SystemAssigned',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,98 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The ImmutabilityPolicy property of a blob container, including Id,
# resource name, resource type, Etag.
#
class ImmutabilityPolicy < AzureEntityResource
include MsRestAzure
# @return [Integer] The immutability period for the blobs in the
# container since the policy creation, in days.
attr_accessor :immutability_period_since_creation_in_days
# @return [ImmutabilityPolicyState] The ImmutabilityPolicy state of a
# blob container, possible values include: Locked and Unlocked. Possible
# values include: 'Locked', 'Unlocked'
attr_accessor :state
#
# Mapper for ImmutabilityPolicy class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ImmutabilityPolicy',
type: {
name: 'Composite',
class_name: 'ImmutabilityPolicy',
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'
}
},
etag: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'etag',
type: {
name: 'String'
}
},
immutability_period_since_creation_in_days: {
client_side_validation: true,
required: true,
serialized_name: 'properties.immutabilityPeriodSinceCreationInDays',
type: {
name: 'Number'
}
},
state: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.state',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,95 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The properties of an ImmutabilityPolicy of a blob container.
#
class ImmutabilityPolicyProperties
include MsRestAzure
# @return [Integer] The immutability period for the blobs in the
# container since the policy creation, in days.
attr_accessor :immutability_period_since_creation_in_days
# @return [ImmutabilityPolicyState] The ImmutabilityPolicy state of a
# blob container, possible values include: Locked and Unlocked. Possible
# values include: 'Locked', 'Unlocked'
attr_accessor :state
# @return [String] ImmutabilityPolicy Etag.
attr_accessor :etag
# @return [Array<UpdateHistoryProperty>] The ImmutabilityPolicy update
# history of the blob container.
attr_accessor :update_history
#
# Mapper for ImmutabilityPolicyProperties class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ImmutabilityPolicyProperties',
type: {
name: 'Composite',
class_name: 'ImmutabilityPolicyProperties',
model_properties: {
immutability_period_since_creation_in_days: {
client_side_validation: true,
required: true,
serialized_name: 'properties.immutabilityPeriodSinceCreationInDays',
type: {
name: 'Number'
}
},
state: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.state',
type: {
name: 'String'
}
},
etag: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'etag',
type: {
name: 'String'
}
},
update_history: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'updateHistory',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'UpdateHistoryPropertyElementType',
type: {
name: 'Composite',
class_name: 'UpdateHistoryProperty'
}
}
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,16 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for ImmutabilityPolicyState
#
module ImmutabilityPolicyState
Locked = "Locked"
Unlocked = "Unlocked"
end
end
end

Просмотреть файл

@ -0,0 +1,17 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for ImmutabilityPolicyUpdateType
#
module ImmutabilityPolicyUpdateType
Put = "put"
Lock = "lock"
Extend = "extend"
end
end
end

Просмотреть файл

@ -0,0 +1,61 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# IP rule with specific IP or IP range in CIDR format.
#
class IPRule
include MsRestAzure
# @return [String] Specifies the IP or IP range in CIDR format. Only IPV4
# address is allowed.
attr_accessor :ipaddress_or_range
# @return [Action] The action of IP ACL rule. Possible values include:
# 'Allow'. Default value: 'Allow' .
attr_accessor :action
#
# Mapper for IPRule class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'IPRule',
type: {
name: 'Composite',
class_name: 'IPRule',
model_properties: {
ipaddress_or_range: {
client_side_validation: true,
required: true,
serialized_name: 'value',
type: {
name: 'String'
}
},
action: {
client_side_validation: true,
required: false,
serialized_name: 'action',
default_value: 'Allow',
type: {
name: 'Enum',
module: 'Action'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,16 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for KeyPermission
#
module KeyPermission
Read = "Read"
Full = "Full"
end
end
end

Просмотреть файл

@ -0,0 +1,16 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for KeySource
#
module KeySource
MicrosoftStorage = "Microsoft.Storage"
MicrosoftKeyvault = "Microsoft.Keyvault"
end
end
end

Просмотреть файл

@ -0,0 +1,68 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Properties of key vault.
#
class KeyVaultProperties
include MsRestAzure
# @return [String] The name of KeyVault key.
attr_accessor :key_name
# @return [String] The version of KeyVault key.
attr_accessor :key_version
# @return [String] The Uri of KeyVault.
attr_accessor :key_vault_uri
#
# Mapper for KeyVaultProperties class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'KeyVaultProperties',
type: {
name: 'Composite',
class_name: 'KeyVaultProperties',
model_properties: {
key_name: {
client_side_validation: true,
required: false,
serialized_name: 'keyname',
type: {
name: 'String'
}
},
key_version: {
client_side_validation: true,
required: false,
serialized_name: 'keyversion',
type: {
name: 'String'
}
},
key_vault_uri: {
client_side_validation: true,
required: false,
serialized_name: 'keyvaulturi',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,17 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for Kind
#
module Kind
Storage = "Storage"
StorageV2 = "StorageV2"
BlobStorage = "BlobStorage"
end
end
end

Просмотреть файл

@ -0,0 +1,16 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for LeaseDuration
#
module LeaseDuration
Infinite = "Infinite"
Fixed = "Fixed"
end
end
end

Просмотреть файл

@ -0,0 +1,19 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for LeaseState
#
module LeaseState
Available = "Available"
Leased = "Leased"
Expired = "Expired"
Breaking = "Breaking"
Broken = "Broken"
end
end
end

Просмотреть файл

@ -0,0 +1,16 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for LeaseStatus
#
module LeaseStatus
Locked = "Locked"
Unlocked = "Unlocked"
end
end
end

Просмотреть файл

@ -0,0 +1,71 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The LegalHold property of a blob container.
#
class LegalHold
include MsRestAzure
# @return [Boolean] The hasLegalHold public property is set to true by
# SRP if there are at least one existing tag. The hasLegalHold public
# property is set to false by SRP if all existing legal hold tags are
# cleared out. There can be a maximum of 1000 blob containers with
# hasLegalHold=true for a given account.
attr_accessor :has_legal_hold
# @return [Array<String>] Each tag should be 3 to 23 alphanumeric
# characters and is normalized to lower case at SRP.
attr_accessor :tags
#
# Mapper for LegalHold class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'LegalHold',
type: {
name: 'Composite',
class_name: 'LegalHold',
model_properties: {
has_legal_hold: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'hasLegalHold',
type: {
name: 'Boolean'
}
},
tags: {
client_side_validation: true,
required: true,
serialized_name: 'tags',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,72 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The LegalHold property of a blob container.
#
class LegalHoldProperties
include MsRestAzure
# @return [Boolean] The hasLegalHold public property is set to true by
# SRP if there are at least one existing tag. The hasLegalHold public
# property is set to false by SRP if all existing legal hold tags are
# cleared out. There can be a maximum of 1000 blob containers with
# hasLegalHold=true for a given account.
attr_accessor :has_legal_hold
# @return [Array<TagProperty>] The list of LegalHold tags of a blob
# container.
attr_accessor :tags
#
# Mapper for LegalHoldProperties class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'LegalHoldProperties',
type: {
name: 'Composite',
class_name: 'LegalHoldProperties',
model_properties: {
has_legal_hold: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'hasLegalHold',
type: {
name: 'Boolean'
}
},
tags: {
client_side_validation: true,
required: false,
serialized_name: 'tags',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'TagPropertyElementType',
type: {
name: 'Composite',
class_name: 'TagProperty'
}
}
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,47 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The List SAS credentials operation response.
#
class ListAccountSasResponse
include MsRestAzure
# @return [String] List SAS credentials of storage account.
attr_accessor :account_sas_token
#
# Mapper for ListAccountSasResponse class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ListAccountSasResponse',
type: {
name: 'Composite',
class_name: 'ListAccountSasResponse',
model_properties: {
account_sas_token: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'accountSasToken',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,216 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The blob container properties be listed out.
#
class ListContainerItem < AzureEntityResource
include MsRestAzure
# @return [PublicAccess] Specifies whether data in the container may be
# accessed publicly and the level of access. Possible values include:
# 'Container', 'Blob', 'None'
attr_accessor :public_access
# @return [DateTime] Returns the date and time the container was last
# modified.
attr_accessor :last_modified_time
# @return [LeaseStatus] The lease status of the container. Possible
# values include: 'Locked', 'Unlocked'
attr_accessor :lease_status
# @return [LeaseState] Lease state of the container. Possible values
# include: 'Available', 'Leased', 'Expired', 'Breaking', 'Broken'
attr_accessor :lease_state
# @return [LeaseDuration] Specifies whether the lease on a container is
# of infinite or fixed duration, only when the container is leased.
# Possible values include: 'Infinite', 'Fixed'
attr_accessor :lease_duration
# @return [Hash{String => String}] A name-value pair to associate with
# the container as metadata.
attr_accessor :metadata
# @return [ImmutabilityPolicyProperties] The ImmutabilityPolicy property
# of the container.
attr_accessor :immutability_policy
# @return [LegalHoldProperties] The LegalHold property of the container.
attr_accessor :legal_hold
# @return [Boolean] The hasLegalHold public property is set to true by
# SRP if there are at least one existing tag. The hasLegalHold public
# property is set to false by SRP if all existing legal hold tags are
# cleared out. There can be a maximum of 1000 blob containers with
# hasLegalHold=true for a given account.
attr_accessor :has_legal_hold
# @return [Boolean] The hasImmutabilityPolicy public property is set to
# true by SRP if ImmutabilityPolicy has been created for this container.
# The hasImmutabilityPolicy public property is set to false by SRP if
# ImmutabilityPolicy has not been created for this container.
attr_accessor :has_immutability_policy
#
# Mapper for ListContainerItem class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ListContainerItem',
type: {
name: 'Composite',
class_name: 'ListContainerItem',
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'
}
},
etag: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'etag',
type: {
name: 'String'
}
},
public_access: {
client_side_validation: true,
required: false,
serialized_name: 'properties.publicAccess',
type: {
name: 'Enum',
module: 'PublicAccess'
}
},
last_modified_time: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.lastModifiedTime',
type: {
name: 'DateTime'
}
},
lease_status: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.leaseStatus',
type: {
name: 'String'
}
},
lease_state: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.leaseState',
type: {
name: 'String'
}
},
lease_duration: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.leaseDuration',
type: {
name: 'String'
}
},
metadata: {
client_side_validation: true,
required: false,
serialized_name: 'properties.metadata',
type: {
name: 'Dictionary',
value: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
},
immutability_policy: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.immutabilityPolicy',
type: {
name: 'Composite',
class_name: 'ImmutabilityPolicyProperties'
}
},
legal_hold: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.legalHold',
type: {
name: 'Composite',
class_name: 'LegalHoldProperties'
}
},
has_legal_hold: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.hasLegalHold',
type: {
name: 'Boolean'
}
},
has_immutability_policy: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.hasImmutabilityPolicy',
type: {
name: 'Boolean'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,55 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The list of blob containers.
#
class ListContainerItems
include MsRestAzure
# @return [Array<ListContainerItem>] The list of blob containers.
attr_accessor :value
#
# Mapper for ListContainerItems class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ListContainerItems',
type: {
name: 'Composite',
class_name: 'ListContainerItems',
model_properties: {
value: {
client_side_validation: true,
required: false,
serialized_name: 'value',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'ListContainerItemElementType',
type: {
name: 'Composite',
class_name: 'ListContainerItem'
}
}
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,47 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The List service SAS credentials operation response.
#
class ListServiceSasResponse
include MsRestAzure
# @return [String] List service SAS credentials of speicific resource.
attr_accessor :service_sas_token
#
# Mapper for ListServiceSasResponse class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ListServiceSasResponse',
type: {
name: 'Composite',
class_name: 'ListServiceSasResponse',
model_properties: {
service_sas_token: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'serviceSasToken',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,50 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The Storage Account ManagementPolicies Rules, in JSON format. See more
# details in:
# https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
#
class ManagementPoliciesRulesSetParameter
include MsRestAzure
# @return The Storage Account ManagementPolicies Rules, in JSON format.
# See more details in:
# https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
attr_accessor :policy
#
# Mapper for ManagementPoliciesRulesSetParameter class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagementPoliciesRulesSetParameter',
type: {
name: 'Composite',
class_name: 'ManagementPoliciesRulesSetParameter',
model_properties: {
policy: {
client_side_validation: true,
required: false,
serialized_name: 'properties.policy',
type: {
name: 'Object'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,145 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Metric specification of operation.
#
class MetricSpecification
include MsRestAzure
# @return [String] Name of metric specification.
attr_accessor :name
# @return [String] Display name of metric specification.
attr_accessor :display_name
# @return [String] Display description of metric specification.
attr_accessor :display_description
# @return [String] Unit could be Bytes or Count.
attr_accessor :unit
# @return [Array<Dimension>] Dimensions of blobs, including blob type and
# access tier.
attr_accessor :dimensions
# @return [String] Aggregation type could be Average.
attr_accessor :aggregation_type
# @return [Boolean] The property to decide fill gap with zero or not.
attr_accessor :fill_gap_with_zero
# @return [String] The category this metric specification belong to,
# could be Capacity.
attr_accessor :category
# @return [String] Account Resource Id.
attr_accessor :resource_id_dimension_name_override
#
# Mapper for MetricSpecification class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'MetricSpecification',
type: {
name: 'Composite',
class_name: 'MetricSpecification',
model_properties: {
name: {
client_side_validation: true,
required: false,
serialized_name: 'name',
type: {
name: 'String'
}
},
display_name: {
client_side_validation: true,
required: false,
serialized_name: 'displayName',
type: {
name: 'String'
}
},
display_description: {
client_side_validation: true,
required: false,
serialized_name: 'displayDescription',
type: {
name: 'String'
}
},
unit: {
client_side_validation: true,
required: false,
serialized_name: 'unit',
type: {
name: 'String'
}
},
dimensions: {
client_side_validation: true,
required: false,
serialized_name: 'dimensions',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'DimensionElementType',
type: {
name: 'Composite',
class_name: 'Dimension'
}
}
}
},
aggregation_type: {
client_side_validation: true,
required: false,
serialized_name: 'aggregationType',
type: {
name: 'String'
}
},
fill_gap_with_zero: {
client_side_validation: true,
required: false,
serialized_name: 'fillGapWithZero',
type: {
name: 'Boolean'
}
},
category: {
client_side_validation: true,
required: false,
serialized_name: 'category',
type: {
name: 'String'
}
},
resource_id_dimension_name_override: {
client_side_validation: true,
required: false,
serialized_name: 'resourceIdDimensionNameOverride',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,106 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Network rule set
#
class NetworkRuleSet
include MsRestAzure
# @return [Bypass] Specifies whether traffic is bypassed for
# Logging/Metrics/AzureServices. Possible values are any combination of
# Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or
# None to bypass none of those traffics. Possible values include: 'None',
# 'Logging', 'Metrics', 'AzureServices'. Default value: 'AzureServices' .
attr_accessor :bypass
# @return [Array<VirtualNetworkRule>] Sets the virtual network rules
attr_accessor :virtual_network_rules
# @return [Array<IPRule>] Sets the IP ACL rules
attr_accessor :ip_rules
# @return [DefaultAction] Specifies the default action of allow or deny
# when no other rules match. Possible values include: 'Allow', 'Deny'.
# Default value: 'Allow' .
attr_accessor :default_action
#
# Mapper for NetworkRuleSet class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'NetworkRuleSet',
type: {
name: 'Composite',
class_name: 'NetworkRuleSet',
model_properties: {
bypass: {
client_side_validation: true,
required: false,
serialized_name: 'bypass',
default_value: 'AzureServices',
type: {
name: 'String'
}
},
virtual_network_rules: {
client_side_validation: true,
required: false,
serialized_name: 'virtualNetworkRules',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'VirtualNetworkRuleElementType',
type: {
name: 'Composite',
class_name: 'VirtualNetworkRule'
}
}
}
},
ip_rules: {
client_side_validation: true,
required: false,
serialized_name: 'ipRules',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'IPRuleElementType',
type: {
name: 'Composite',
class_name: 'IPRule'
}
}
}
},
default_action: {
client_side_validation: true,
required: true,
serialized_name: 'defaultAction',
default_value: 'Allow',
type: {
name: 'Enum',
module: 'DefaultAction'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,83 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Storage REST API operation definition.
#
class Operation
include MsRestAzure
# @return [String] Operation name: {provider}/{resource}/{operation}
attr_accessor :name
# @return [OperationDisplay] Display metadata associated with the
# operation.
attr_accessor :display
# @return [String] The origin of operations.
attr_accessor :origin
# @return [ServiceSpecification] One property of operation, include
# metric specifications.
attr_accessor :service_specification
#
# Mapper for Operation class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'Operation',
type: {
name: 'Composite',
class_name: 'Operation',
model_properties: {
name: {
client_side_validation: true,
required: false,
serialized_name: 'name',
type: {
name: 'String'
}
},
display: {
client_side_validation: true,
required: false,
serialized_name: 'display',
type: {
name: 'Composite',
class_name: 'OperationDisplay'
}
},
origin: {
client_side_validation: true,
required: false,
serialized_name: 'origin',
type: {
name: 'String'
}
},
service_specification: {
client_side_validation: true,
required: false,
serialized_name: 'properties.serviceSpecification',
type: {
name: 'Composite',
class_name: 'ServiceSpecification'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,68 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Display metadata associated with the operation.
#
class OperationDisplay
include MsRestAzure
# @return [String] Service provider: Microsoft Storage.
attr_accessor :provider
# @return [String] Resource on which the operation is performed etc.
attr_accessor :resource
# @return [String] Type of operation: get, read, delete, etc.
attr_accessor :operation
#
# Mapper for OperationDisplay class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'Operation_display',
type: {
name: 'Composite',
class_name: 'OperationDisplay',
model_properties: {
provider: {
client_side_validation: true,
required: false,
serialized_name: 'provider',
type: {
name: 'String'
}
},
resource: {
client_side_validation: true,
required: false,
serialized_name: 'resource',
type: {
name: 'String'
}
},
operation: {
client_side_validation: true,
required: false,
serialized_name: 'operation',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,57 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Result of the request to list Storage operations. It contains a list of
# operations and a URL link to get the next set of results.
#
class OperationListResult
include MsRestAzure
# @return [Array<Operation>] List of Storage operations supported by the
# Storage resource provider.
attr_accessor :value
#
# Mapper for OperationListResult class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'OperationListResult',
type: {
name: 'Composite',
class_name: 'OperationListResult',
model_properties: {
value: {
client_side_validation: true,
required: false,
serialized_name: 'value',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'OperationElementType',
type: {
name: 'Composite',
class_name: 'Operation'
}
}
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,22 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for Permissions
#
module Permissions
R = "r"
D = "d"
W = "w"
L = "l"
A = "a"
C = "c"
U = "u"
P = "p"
end
end
end

Просмотреть файл

@ -0,0 +1,17 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for ProvisioningState
#
module ProvisioningState
Creating = "Creating"
ResolvingDNS = "ResolvingDNS"
Succeeded = "Succeeded"
end
end
end

Просмотреть файл

@ -0,0 +1,63 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The resource model definition for a ARM proxy resource. It will have
# everything other than required location and tags
#
class ProxyResource < Resource
include MsRestAzure
#
# Mapper for ProxyResource class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ProxyResource',
type: {
name: 'Composite',
class_name: 'ProxyResource',
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'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,17 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for PublicAccess
#
module PublicAccess
Container = "Container"
Blob = "Blob"
None = "None"
end
end
end

Просмотреть файл

@ -0,0 +1,16 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for Reason
#
module Reason
AccountNameInvalid = "AccountNameInvalid"
AlreadyExists = "AlreadyExists"
end
end
end

Просмотреть файл

@ -0,0 +1,16 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for ReasonCode
#
module ReasonCode
QuotaId = "QuotaId"
NotAvailableForSubscription = "NotAvailableForSubscription"
end
end
end

Просмотреть файл

@ -0,0 +1,74 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Model object.
#
#
class Resource
include MsRestAzure
# @return [String] Fully qualified resource Id for the resource. Ex -
# /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
attr_accessor :id
# @return [String] The name of the resource
attr_accessor :name
# @return [String] The type of the resource. Ex-
# Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
attr_accessor :type
#
# Mapper for Resource class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'Resource',
type: {
name: 'Composite',
class_name: 'Resource',
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'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,85 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The restriction because of which SKU cannot be used.
#
class Restriction
include MsRestAzure
# @return [String] The type of restrictions. As of now only possible
# value for this is location.
attr_accessor :type
# @return [Array<String>] The value of restrictions. If the restriction
# type is set to location. This would be different locations where the
# SKU is restricted.
attr_accessor :values
# @return [ReasonCode] The reason for the restriction. As of now this can
# be “QuotaId” or “NotAvailableForSubscription”. Quota Id is set when the
# SKU has requiredQuotas parameter as the subscription does not belong to
# that quota. The “NotAvailableForSubscription” is related to capacity at
# DC. Possible values include: 'QuotaId', 'NotAvailableForSubscription'
attr_accessor :reason_code
#
# Mapper for Restriction class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'Restriction',
type: {
name: 'Composite',
class_name: 'Restriction',
model_properties: {
type: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'type',
type: {
name: 'String'
}
},
values: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'values',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
},
reason_code: {
client_side_validation: true,
required: false,
serialized_name: 'reasonCode',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,247 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# The parameters to list service SAS credentials of a speicific resource.
#
class ServiceSasParameters
include MsRestAzure
# @return [String] The canonical path to the signed resource.
attr_accessor :canonicalized_resource
# @return [SignedResource] The signed services accessible with the
# service SAS. Possible values include: Blob (b), Container (c), File
# (f), Share (s). Possible values include: 'b', 'c', 'f', 's'
attr_accessor :resource
# @return [Permissions] The signed permissions for the service SAS.
# Possible values include: Read (r), Write (w), Delete (d), List (l), Add
# (a), Create (c), Update (u) and Process (p). Possible values include:
# 'r', 'd', 'w', 'l', 'a', 'c', 'u', 'p'
attr_accessor :permissions
# @return [String] An IP address or a range of IP addresses from which to
# accept requests.
attr_accessor :ipaddress_or_range
# @return [HttpProtocol] The protocol permitted for a request made with
# the account SAS. Possible values include: 'https,http', 'https'
attr_accessor :protocols
# @return [DateTime] The time at which the SAS becomes valid.
attr_accessor :shared_access_start_time
# @return [DateTime] The time at which the shared access signature
# becomes invalid.
attr_accessor :shared_access_expiry_time
# @return [String] A unique value up to 64 characters in length that
# correlates to an access policy specified for the container, queue, or
# table.
attr_accessor :identifier
# @return [String] The start of partition key.
attr_accessor :partition_key_start
# @return [String] The end of partition key.
attr_accessor :partition_key_end
# @return [String] The start of row key.
attr_accessor :row_key_start
# @return [String] The end of row key.
attr_accessor :row_key_end
# @return [String] The key to sign the account SAS token with.
attr_accessor :key_to_sign
# @return [String] The response header override for cache control.
attr_accessor :cache_control
# @return [String] The response header override for content disposition.
attr_accessor :content_disposition
# @return [String] The response header override for content encoding.
attr_accessor :content_encoding
# @return [String] The response header override for content language.
attr_accessor :content_language
# @return [String] The response header override for content type.
attr_accessor :content_type
#
# Mapper for ServiceSasParameters class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ServiceSasParameters',
type: {
name: 'Composite',
class_name: 'ServiceSasParameters',
model_properties: {
canonicalized_resource: {
client_side_validation: true,
required: true,
serialized_name: 'canonicalizedResource',
type: {
name: 'String'
}
},
resource: {
client_side_validation: true,
required: true,
serialized_name: 'signedResource',
type: {
name: 'String'
}
},
permissions: {
client_side_validation: true,
required: false,
serialized_name: 'signedPermission',
type: {
name: 'String'
}
},
ipaddress_or_range: {
client_side_validation: true,
required: false,
serialized_name: 'signedIp',
type: {
name: 'String'
}
},
protocols: {
client_side_validation: true,
required: false,
serialized_name: 'signedProtocol',
type: {
name: 'Enum',
module: 'HttpProtocol'
}
},
shared_access_start_time: {
client_side_validation: true,
required: false,
serialized_name: 'signedStart',
type: {
name: 'DateTime'
}
},
shared_access_expiry_time: {
client_side_validation: true,
required: false,
serialized_name: 'signedExpiry',
type: {
name: 'DateTime'
}
},
identifier: {
client_side_validation: true,
required: false,
serialized_name: 'signedIdentifier',
constraints: {
MaxLength: 64
},
type: {
name: 'String'
}
},
partition_key_start: {
client_side_validation: true,
required: false,
serialized_name: 'startPk',
type: {
name: 'String'
}
},
partition_key_end: {
client_side_validation: true,
required: false,
serialized_name: 'endPk',
type: {
name: 'String'
}
},
row_key_start: {
client_side_validation: true,
required: false,
serialized_name: 'startRk',
type: {
name: 'String'
}
},
row_key_end: {
client_side_validation: true,
required: false,
serialized_name: 'endRk',
type: {
name: 'String'
}
},
key_to_sign: {
client_side_validation: true,
required: false,
serialized_name: 'keyToSign',
type: {
name: 'String'
}
},
cache_control: {
client_side_validation: true,
required: false,
serialized_name: 'rscc',
type: {
name: 'String'
}
},
content_disposition: {
client_side_validation: true,
required: false,
serialized_name: 'rscd',
type: {
name: 'String'
}
},
content_encoding: {
client_side_validation: true,
required: false,
serialized_name: 'rsce',
type: {
name: 'String'
}
},
content_language: {
client_side_validation: true,
required: false,
serialized_name: 'rscl',
type: {
name: 'String'
}
},
content_type: {
client_side_validation: true,
required: false,
serialized_name: 'rsct',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,56 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# One property of operation, include metric specifications.
#
class ServiceSpecification
include MsRestAzure
# @return [Array<MetricSpecification>] Metric specifications of
# operation.
attr_accessor :metric_specifications
#
# Mapper for ServiceSpecification class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ServiceSpecification',
type: {
name: 'Composite',
class_name: 'ServiceSpecification',
model_properties: {
metric_specifications: {
client_side_validation: true,
required: false,
serialized_name: 'metricSpecifications',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'MetricSpecificationElementType',
type: {
name: 'Composite',
class_name: 'MetricSpecification'
}
}
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -0,0 +1,18 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for Services
#
module Services
B = "b"
Q = "q"
T = "t"
F = "f"
end
end
end

Просмотреть файл

@ -0,0 +1,18 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for SignedResource
#
module SignedResource
B = "b"
C = "c"
F = "f"
S = "s"
end
end
end

Просмотреть файл

@ -0,0 +1,17 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::Storage::Mgmt::V2018_03_01_preview
module Models
#
# Defines values for SignedResourceTypes
#
module SignedResourceTypes
S = "s"
C = "c"
O = "o"
end
end
end

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше