# encoding: utf-8 # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. require 'azure_mgmt_key_vault' module Azure::KeyVault::Profiles::Latest::Mgmt Vaults = Azure::KeyVault::Mgmt::V2016_10_01::Vaults module Models VaultCreateOrUpdateParameters = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters Permissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions DeletedVault = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault VaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties VaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult Sku = Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku DeletedVaultListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult DeletedVaultProperties = Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties Resource = Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource AccessPolicyEntry = Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry ResourceListResult = Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult Vault = Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault SkuName = Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName KeyPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions SecretPermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions CertificatePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions StoragePermissions = Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions CreateMode = Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode end # # KeyVault # class KeyVaultClass attr_reader :vaults, :configurable, :base_url, :options, :model_classes def initialize(options = {}) if options.is_a?(Hash) && options.length == 0 @options = setup_options else @options = options end reset!(options) @configurable, @base_url, @options = self, nil, nil client_0 = Azure::KeyVault::Mgmt::V2016_10_01::KeyVaultManagementClient.new(configurable.credentials, base_url, options) if(client_0.respond_to?(:subscription_id)) client_0.subscription_id = configurable.subscription_id end @vaults = client_0.vaults @model_classes = ModelClasses.new end class ModelClasses def vault_create_or_update_parameters Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultCreateOrUpdateParameters end def permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::Permissions end def deleted_vault Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVault end def vault_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultProperties end def vault_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::VaultListResult end def sku Azure::KeyVault::Mgmt::V2016_10_01::Models::Sku end def deleted_vault_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultListResult end def deleted_vault_properties Azure::KeyVault::Mgmt::V2016_10_01::Models::DeletedVaultProperties end def resource Azure::KeyVault::Mgmt::V2016_10_01::Models::Resource end def access_policy_entry Azure::KeyVault::Mgmt::V2016_10_01::Models::AccessPolicyEntry end def resource_list_result Azure::KeyVault::Mgmt::V2016_10_01::Models::ResourceListResult end def vault Azure::KeyVault::Mgmt::V2016_10_01::Models::Vault end def sku_name Azure::KeyVault::Mgmt::V2016_10_01::Models::SkuName end def key_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::KeyPermissions end def secret_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::SecretPermissions end def certificate_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::CertificatePermissions end def storage_permissions Azure::KeyVault::Mgmt::V2016_10_01::Models::StoragePermissions end def create_mode Azure::KeyVault::Mgmt::V2016_10_01::Models::CreateMode end end end end