regenerate azure_sdk:V2020_09_01_Hybrid
This commit is contained in:
Родитель
ed3947cf76
Коммит
94a8be1196
|
@ -3,6 +3,7 @@
|
|||
# Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
|
||||
require 'azure_sdk/version'
|
||||
require 'v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client'
|
||||
require 'latest/latest_profile_client'
|
||||
require 'v2017_03_09/v2017_03_09_profile_client'
|
||||
require 'v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client'
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# 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.
|
||||
|
||||
module Azure end
|
||||
module Azure::Profiles end
|
||||
module Azure::Profiles::V2020_09_01_Hybrid end
|
|
@ -0,0 +1,133 @@
|
|||
# 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_authorization'
|
||||
|
||||
module Azure::Profiles::V2020_09_01_Hybrid
|
||||
module Authorization
|
||||
module Mgmt
|
||||
Permissions = Azure::Authorization::Mgmt::V2015_07_01::Permissions
|
||||
ProviderOperationsMetadataOperations = Azure::Authorization::Mgmt::V2015_07_01::ProviderOperationsMetadataOperations
|
||||
RoleAssignments = Azure::Authorization::Mgmt::V2015_07_01::RoleAssignments
|
||||
RoleDefinitions = Azure::Authorization::Mgmt::V2015_07_01::RoleDefinitions
|
||||
ClassicAdministrators = Azure::Authorization::Mgmt::V2015_07_01::ClassicAdministrators
|
||||
|
||||
module Models
|
||||
RoleAssignment = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignment
|
||||
RoleAssignmentListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentListResult
|
||||
RoleDefinitionFilter = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionFilter
|
||||
RoleAssignmentProperties = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentProperties
|
||||
PermissionGetResult = Azure::Authorization::Mgmt::V2015_07_01::Models::PermissionGetResult
|
||||
RoleAssignmentCreateParameters = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentCreateParameters
|
||||
ResourceType = Azure::Authorization::Mgmt::V2015_07_01::Models::ResourceType
|
||||
RoleDefinitionProperties = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionProperties
|
||||
ProviderOperationsMetadataListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadataListResult
|
||||
RoleDefinition = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinition
|
||||
RoleAssignmentFilter = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentFilter
|
||||
RoleDefinitionListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionListResult
|
||||
ProviderOperation = Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperation
|
||||
ClassicAdministratorProperties = Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorProperties
|
||||
RoleAssignmentPropertiesWithScope = Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentPropertiesWithScope
|
||||
ClassicAdministrator = Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministrator
|
||||
ProviderOperationsMetadata = Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadata
|
||||
ClassicAdministratorListResult = Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorListResult
|
||||
Permission = Azure::Authorization::Mgmt::V2015_07_01::Models::Permission
|
||||
end
|
||||
|
||||
class AuthorizationManagementClass
|
||||
attr_reader :permissions, :provider_operations_metadata_operations, :role_assignments, :role_definitions, :classic_administrators, :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::Authorization::Mgmt::V2015_07_01::AuthorizationManagementClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_0.respond_to?(:subscription_id))
|
||||
@client_0.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_0)
|
||||
@permissions = @client_0.permissions
|
||||
@provider_operations_metadata_operations = @client_0.provider_operations_metadata_operations
|
||||
@role_assignments = @client_0.role_assignments
|
||||
@role_definitions = @client_0.role_definitions
|
||||
@classic_administrators = @client_0.classic_administrators
|
||||
|
||||
@model_classes = ModelClasses.new
|
||||
end
|
||||
|
||||
def add_telemetry(client)
|
||||
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2020_09_01_Hybrid/Authorization/Mgmt"
|
||||
client.add_user_agent_information(profile_information)
|
||||
end
|
||||
|
||||
def method_missing(method, *args)
|
||||
if @client_0.respond_to?method
|
||||
@client_0.send(method, *args)
|
||||
else
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
class ModelClasses
|
||||
def role_assignment
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignment
|
||||
end
|
||||
def role_assignment_list_result
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentListResult
|
||||
end
|
||||
def role_definition_filter
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionFilter
|
||||
end
|
||||
def role_assignment_properties
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentProperties
|
||||
end
|
||||
def permission_get_result
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::PermissionGetResult
|
||||
end
|
||||
def role_assignment_create_parameters
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentCreateParameters
|
||||
end
|
||||
def resource_type
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::ResourceType
|
||||
end
|
||||
def role_definition_properties
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionProperties
|
||||
end
|
||||
def provider_operations_metadata_list_result
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadataListResult
|
||||
end
|
||||
def role_definition
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinition
|
||||
end
|
||||
def role_assignment_filter
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentFilter
|
||||
end
|
||||
def role_definition_list_result
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleDefinitionListResult
|
||||
end
|
||||
def provider_operation
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperation
|
||||
end
|
||||
def classic_administrator_properties
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorProperties
|
||||
end
|
||||
def role_assignment_properties_with_scope
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentPropertiesWithScope
|
||||
end
|
||||
def classic_administrator
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministrator
|
||||
end
|
||||
def provider_operations_metadata
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::ProviderOperationsMetadata
|
||||
end
|
||||
def classic_administrator_list_result
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::ClassicAdministratorListResult
|
||||
end
|
||||
def permission
|
||||
Azure::Authorization::Mgmt::V2015_07_01::Models::Permission
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,99 @@
|
|||
# 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_commerce'
|
||||
|
||||
module Azure::Profiles::V2020_09_01_Hybrid
|
||||
module Commerce
|
||||
module Mgmt
|
||||
UsageAggregates = Azure::Commerce::Mgmt::V2015_06_01_preview::UsageAggregates
|
||||
RateCard = Azure::Commerce::Mgmt::V2015_06_01_preview::RateCard
|
||||
|
||||
module Models
|
||||
MeterInfo = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MeterInfo
|
||||
ResourceRateCardInfo = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ResourceRateCardInfo
|
||||
UsageAggregation = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::UsageAggregation
|
||||
InfoField = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::InfoField
|
||||
UsageAggregationListResult = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::UsageAggregationListResult
|
||||
OfferTermInfo = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::OfferTermInfo
|
||||
RateCardQueryParameters = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RateCardQueryParameters
|
||||
ErrorResponse = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse
|
||||
MonetaryCredit = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCredit
|
||||
MonetaryCommitment = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment
|
||||
RecurringCharge = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RecurringCharge
|
||||
AggregationGranularity = Azure::Commerce::Mgmt::V2015_06_01_preview::Models::AggregationGranularity
|
||||
end
|
||||
|
||||
class CommerceManagementClass
|
||||
attr_reader :usage_aggregates, :rate_card, :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::Commerce::Mgmt::V2015_06_01_preview::UsageManagementClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_0.respond_to?(:subscription_id))
|
||||
@client_0.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_0)
|
||||
@usage_aggregates = @client_0.usage_aggregates
|
||||
@rate_card = @client_0.rate_card
|
||||
|
||||
@model_classes = ModelClasses.new
|
||||
end
|
||||
|
||||
def add_telemetry(client)
|
||||
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2020_09_01_Hybrid/Commerce/Mgmt"
|
||||
client.add_user_agent_information(profile_information)
|
||||
end
|
||||
|
||||
def method_missing(method, *args)
|
||||
if @client_0.respond_to?method
|
||||
@client_0.send(method, *args)
|
||||
else
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
class ModelClasses
|
||||
def meter_info
|
||||
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MeterInfo
|
||||
end
|
||||
def resource_rate_card_info
|
||||
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ResourceRateCardInfo
|
||||
end
|
||||
def usage_aggregation
|
||||
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::UsageAggregation
|
||||
end
|
||||
def info_field
|
||||
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::InfoField
|
||||
end
|
||||
def usage_aggregation_list_result
|
||||
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::UsageAggregationListResult
|
||||
end
|
||||
def offer_term_info
|
||||
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::OfferTermInfo
|
||||
end
|
||||
def rate_card_query_parameters
|
||||
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RateCardQueryParameters
|
||||
end
|
||||
def error_response
|
||||
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::ErrorResponse
|
||||
end
|
||||
def monetary_credit
|
||||
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCredit
|
||||
end
|
||||
def monetary_commitment
|
||||
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::MonetaryCommitment
|
||||
end
|
||||
def recurring_charge
|
||||
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::RecurringCharge
|
||||
end
|
||||
def aggregation_granularity
|
||||
Azure::Commerce::Mgmt::V2015_06_01_preview::Models::AggregationGranularity
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,539 @@
|
|||
# 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_databoxedge'
|
||||
|
||||
module Azure::Profiles::V2020_09_01_Hybrid
|
||||
module DataBoxEdge
|
||||
module Mgmt
|
||||
Operations = Azure::DataBoxEdge::Mgmt::V2019_08_01::Operations
|
||||
Devices = Azure::DataBoxEdge::Mgmt::V2019_08_01::Devices
|
||||
Alerts = Azure::DataBoxEdge::Mgmt::V2019_08_01::Alerts
|
||||
BandwidthSchedules = Azure::DataBoxEdge::Mgmt::V2019_08_01::BandwidthSchedules
|
||||
Jobs = Azure::DataBoxEdge::Mgmt::V2019_08_01::Jobs
|
||||
Nodes = Azure::DataBoxEdge::Mgmt::V2019_08_01::Nodes
|
||||
OperationsStatus = Azure::DataBoxEdge::Mgmt::V2019_08_01::OperationsStatus
|
||||
Orders = Azure::DataBoxEdge::Mgmt::V2019_08_01::Orders
|
||||
Roles = Azure::DataBoxEdge::Mgmt::V2019_08_01::Roles
|
||||
Shares = Azure::DataBoxEdge::Mgmt::V2019_08_01::Shares
|
||||
StorageAccountCredentials = Azure::DataBoxEdge::Mgmt::V2019_08_01::StorageAccountCredentials
|
||||
StorageAccounts = Azure::DataBoxEdge::Mgmt::V2019_08_01::StorageAccounts
|
||||
Containers = Azure::DataBoxEdge::Mgmt::V2019_08_01::Containers
|
||||
Triggers = Azure::DataBoxEdge::Mgmt::V2019_08_01::Triggers
|
||||
Users = Azure::DataBoxEdge::Mgmt::V2019_08_01::Users
|
||||
Skus = Azure::DataBoxEdge::Mgmt::V2019_08_01::Skus
|
||||
|
||||
module Models
|
||||
NetworkAdapterPosition = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkAdapterPosition
|
||||
Address = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Address
|
||||
NetworkAdapter = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkAdapter
|
||||
Ipv6Config = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Ipv6Config
|
||||
AlertList = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AlertList
|
||||
JobErrorItem = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::JobErrorItem
|
||||
AsymmetricEncryptedSecret = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AsymmetricEncryptedSecret
|
||||
JobErrorDetails = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::JobErrorDetails
|
||||
Authentication = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Authentication
|
||||
UpdateDownloadProgress = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UpdateDownloadProgress
|
||||
UserList = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UserList
|
||||
UpdateInstallProgress = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UpdateInstallProgress
|
||||
ClientAccessRight = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ClientAccessRight
|
||||
Job = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Job
|
||||
MetricDimensionV1 = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::MetricDimensionV1
|
||||
RefreshDetails = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::RefreshDetails
|
||||
MetricSpecificationV1 = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::MetricSpecificationV1
|
||||
ContainerList = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ContainerList
|
||||
AlertErrorDetails = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AlertErrorDetails
|
||||
UploadCertificateRequest = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UploadCertificateRequest
|
||||
SkuInformationList = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuInformationList
|
||||
DataBoxEdgeDeviceList = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DataBoxEdgeDeviceList
|
||||
ShareList = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ShareList
|
||||
FileSourceInfo = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::FileSourceInfo
|
||||
ShareAccessRight = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ShareAccessRight
|
||||
StorageAccountList = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::StorageAccountList
|
||||
NodeList = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NodeList
|
||||
MountPointMap = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::MountPointMap
|
||||
OperationDisplay = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::OperationDisplay
|
||||
Ipv4Config = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Ipv4Config
|
||||
ServiceSpecification = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ServiceSpecification
|
||||
SymmetricKey = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SymmetricKey
|
||||
Operation = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Operation
|
||||
BandwidthSchedulesList = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::BandwidthSchedulesList
|
||||
OperationsList = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::OperationsList
|
||||
ContactDetails = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ContactDetails
|
||||
OrderStatus = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::OrderStatus
|
||||
Sku = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Sku
|
||||
TrackingInfo = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::TrackingInfo
|
||||
DataBoxEdgeDevicePatch = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DataBoxEdgeDevicePatch
|
||||
UserAccessRight = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UserAccessRight
|
||||
IoTDeviceInfo = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::IoTDeviceInfo
|
||||
OrderList = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::OrderList
|
||||
ARMBaseModel = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ARMBaseModel
|
||||
PeriodicTimerSourceInfo = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::PeriodicTimerSourceInfo
|
||||
RoleList = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::RoleList
|
||||
TriggerList = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::TriggerList
|
||||
SkuLocationInfo = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuLocationInfo
|
||||
StorageAccountCredentialList = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::StorageAccountCredentialList
|
||||
SkuCost = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuCost
|
||||
UploadCertificateResponse = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UploadCertificateResponse
|
||||
SkuRestrictionInfo = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuRestrictionInfo
|
||||
AzureContainerInfo = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AzureContainerInfo
|
||||
SkuRestriction = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuRestriction
|
||||
RoleSinkInfo = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::RoleSinkInfo
|
||||
ResourceTypeSku = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ResourceTypeSku
|
||||
Alert = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Alert
|
||||
BandwidthSchedule = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::BandwidthSchedule
|
||||
Container = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Container
|
||||
DataBoxEdgeDevice = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DataBoxEdgeDevice
|
||||
DataBoxEdgeDeviceExtendedInfo = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DataBoxEdgeDeviceExtendedInfo
|
||||
FileEventTrigger = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::FileEventTrigger
|
||||
NetworkSettings = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkSettings
|
||||
Node = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Node
|
||||
Order = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Order
|
||||
PeriodicTimerEventTrigger = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::PeriodicTimerEventTrigger
|
||||
Role = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Role
|
||||
IoTRole = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::IoTRole
|
||||
SecuritySettings = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SecuritySettings
|
||||
Share = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Share
|
||||
StorageAccount = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::StorageAccount
|
||||
StorageAccountCredential = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::StorageAccountCredential
|
||||
Trigger = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Trigger
|
||||
UpdateSummary = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UpdateSummary
|
||||
User = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::User
|
||||
AlertSeverity = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AlertSeverity
|
||||
EncryptionAlgorithm = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::EncryptionAlgorithm
|
||||
AzureContainerDataFormat = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AzureContainerDataFormat
|
||||
DayOfWeek = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DayOfWeek
|
||||
ClientPermissionType = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ClientPermissionType
|
||||
ContainerStatus = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ContainerStatus
|
||||
SkuName = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuName
|
||||
SkuTier = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuTier
|
||||
DataBoxEdgeDeviceStatus = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DataBoxEdgeDeviceStatus
|
||||
DeviceType = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DeviceType
|
||||
RoleTypes = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::RoleTypes
|
||||
PlatformType = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::PlatformType
|
||||
RoleStatus = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::RoleStatus
|
||||
JobStatus = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::JobStatus
|
||||
JobType = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::JobType
|
||||
UpdateOperationStage = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UpdateOperationStage
|
||||
DownloadPhase = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DownloadPhase
|
||||
MetricUnit = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::MetricUnit
|
||||
MetricAggregationType = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::MetricAggregationType
|
||||
MetricCategory = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::MetricCategory
|
||||
TimeGrain = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::TimeGrain
|
||||
NetworkGroup = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkGroup
|
||||
NetworkAdapterStatus = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkAdapterStatus
|
||||
NetworkAdapterRDMAStatus = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkAdapterRDMAStatus
|
||||
NetworkAdapterDHCPStatus = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkAdapterDHCPStatus
|
||||
NodeStatus = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NodeStatus
|
||||
OrderState = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::OrderState
|
||||
AuthenticationType = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AuthenticationType
|
||||
SkuRestrictionReasonCode = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuRestrictionReasonCode
|
||||
ShareStatus = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ShareStatus
|
||||
MonitoringStatus = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::MonitoringStatus
|
||||
ShareAccessProtocol = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ShareAccessProtocol
|
||||
ShareAccessType = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ShareAccessType
|
||||
DataPolicy = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DataPolicy
|
||||
StorageAccountStatus = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::StorageAccountStatus
|
||||
SSLStatus = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SSLStatus
|
||||
AccountType = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AccountType
|
||||
InstallRebootBehavior = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::InstallRebootBehavior
|
||||
UpdateOperation = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UpdateOperation
|
||||
UserType = Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UserType
|
||||
end
|
||||
|
||||
class DataBoxEdgeManagementClass
|
||||
attr_reader :operations, :devices, :alerts, :bandwidth_schedules, :jobs, :nodes, :operations_status, :orders, :roles, :shares, :storage_account_credentials, :storage_accounts, :containers, :triggers, :users, :skus, :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::DataBoxEdge::Mgmt::V2019_08_01::DataBoxEdgeManagementClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_0.respond_to?(:subscription_id))
|
||||
@client_0.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_0)
|
||||
@operations = @client_0.operations
|
||||
@devices = @client_0.devices
|
||||
@alerts = @client_0.alerts
|
||||
@bandwidth_schedules = @client_0.bandwidth_schedules
|
||||
@jobs = @client_0.jobs
|
||||
@nodes = @client_0.nodes
|
||||
@operations_status = @client_0.operations_status
|
||||
@orders = @client_0.orders
|
||||
@roles = @client_0.roles
|
||||
@shares = @client_0.shares
|
||||
@storage_account_credentials = @client_0.storage_account_credentials
|
||||
@storage_accounts = @client_0.storage_accounts
|
||||
@containers = @client_0.containers
|
||||
@triggers = @client_0.triggers
|
||||
@users = @client_0.users
|
||||
@skus = @client_0.skus
|
||||
|
||||
@model_classes = ModelClasses.new
|
||||
end
|
||||
|
||||
def add_telemetry(client)
|
||||
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2020_09_01_Hybrid/DataBoxEdge/Mgmt"
|
||||
client.add_user_agent_information(profile_information)
|
||||
end
|
||||
|
||||
def method_missing(method, *args)
|
||||
if @client_0.respond_to?method
|
||||
@client_0.send(method, *args)
|
||||
else
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
class ModelClasses
|
||||
def network_adapter_position
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkAdapterPosition
|
||||
end
|
||||
def address
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Address
|
||||
end
|
||||
def network_adapter
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkAdapter
|
||||
end
|
||||
def ipv6_config
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Ipv6Config
|
||||
end
|
||||
def alert_list
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AlertList
|
||||
end
|
||||
def job_error_item
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::JobErrorItem
|
||||
end
|
||||
def asymmetric_encrypted_secret
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AsymmetricEncryptedSecret
|
||||
end
|
||||
def job_error_details
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::JobErrorDetails
|
||||
end
|
||||
def authentication
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Authentication
|
||||
end
|
||||
def update_download_progress
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UpdateDownloadProgress
|
||||
end
|
||||
def user_list
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UserList
|
||||
end
|
||||
def update_install_progress
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UpdateInstallProgress
|
||||
end
|
||||
def client_access_right
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ClientAccessRight
|
||||
end
|
||||
def job
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Job
|
||||
end
|
||||
def metric_dimension_v1
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::MetricDimensionV1
|
||||
end
|
||||
def refresh_details
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::RefreshDetails
|
||||
end
|
||||
def metric_specification_v1
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::MetricSpecificationV1
|
||||
end
|
||||
def container_list
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ContainerList
|
||||
end
|
||||
def alert_error_details
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AlertErrorDetails
|
||||
end
|
||||
def upload_certificate_request
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UploadCertificateRequest
|
||||
end
|
||||
def sku_information_list
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuInformationList
|
||||
end
|
||||
def data_box_edge_device_list
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DataBoxEdgeDeviceList
|
||||
end
|
||||
def share_list
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ShareList
|
||||
end
|
||||
def file_source_info
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::FileSourceInfo
|
||||
end
|
||||
def share_access_right
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ShareAccessRight
|
||||
end
|
||||
def storage_account_list
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::StorageAccountList
|
||||
end
|
||||
def node_list
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NodeList
|
||||
end
|
||||
def mount_point_map
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::MountPointMap
|
||||
end
|
||||
def operation_display
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::OperationDisplay
|
||||
end
|
||||
def ipv4_config
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Ipv4Config
|
||||
end
|
||||
def service_specification
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ServiceSpecification
|
||||
end
|
||||
def symmetric_key
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SymmetricKey
|
||||
end
|
||||
def operation
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Operation
|
||||
end
|
||||
def bandwidth_schedules_list
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::BandwidthSchedulesList
|
||||
end
|
||||
def operations_list
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::OperationsList
|
||||
end
|
||||
def contact_details
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ContactDetails
|
||||
end
|
||||
def order_status
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::OrderStatus
|
||||
end
|
||||
def sku
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Sku
|
||||
end
|
||||
def tracking_info
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::TrackingInfo
|
||||
end
|
||||
def data_box_edge_device_patch
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DataBoxEdgeDevicePatch
|
||||
end
|
||||
def user_access_right
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UserAccessRight
|
||||
end
|
||||
def io_tdevice_info
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::IoTDeviceInfo
|
||||
end
|
||||
def order_list
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::OrderList
|
||||
end
|
||||
def armbase_model
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ARMBaseModel
|
||||
end
|
||||
def periodic_timer_source_info
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::PeriodicTimerSourceInfo
|
||||
end
|
||||
def role_list
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::RoleList
|
||||
end
|
||||
def trigger_list
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::TriggerList
|
||||
end
|
||||
def sku_location_info
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuLocationInfo
|
||||
end
|
||||
def storage_account_credential_list
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::StorageAccountCredentialList
|
||||
end
|
||||
def sku_cost
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuCost
|
||||
end
|
||||
def upload_certificate_response
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UploadCertificateResponse
|
||||
end
|
||||
def sku_restriction_info
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuRestrictionInfo
|
||||
end
|
||||
def azure_container_info
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AzureContainerInfo
|
||||
end
|
||||
def sku_restriction
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuRestriction
|
||||
end
|
||||
def role_sink_info
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::RoleSinkInfo
|
||||
end
|
||||
def resource_type_sku
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ResourceTypeSku
|
||||
end
|
||||
def alert
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Alert
|
||||
end
|
||||
def bandwidth_schedule
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::BandwidthSchedule
|
||||
end
|
||||
def container
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Container
|
||||
end
|
||||
def data_box_edge_device
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DataBoxEdgeDevice
|
||||
end
|
||||
def data_box_edge_device_extended_info
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DataBoxEdgeDeviceExtendedInfo
|
||||
end
|
||||
def file_event_trigger
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::FileEventTrigger
|
||||
end
|
||||
def network_settings
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkSettings
|
||||
end
|
||||
def node
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Node
|
||||
end
|
||||
def order
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Order
|
||||
end
|
||||
def periodic_timer_event_trigger
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::PeriodicTimerEventTrigger
|
||||
end
|
||||
def role
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Role
|
||||
end
|
||||
def io_trole
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::IoTRole
|
||||
end
|
||||
def security_settings
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SecuritySettings
|
||||
end
|
||||
def share
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Share
|
||||
end
|
||||
def storage_account
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::StorageAccount
|
||||
end
|
||||
def storage_account_credential
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::StorageAccountCredential
|
||||
end
|
||||
def trigger
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::Trigger
|
||||
end
|
||||
def update_summary
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UpdateSummary
|
||||
end
|
||||
def user
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::User
|
||||
end
|
||||
def alert_severity
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AlertSeverity
|
||||
end
|
||||
def encryption_algorithm
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::EncryptionAlgorithm
|
||||
end
|
||||
def azure_container_data_format
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AzureContainerDataFormat
|
||||
end
|
||||
def day_of_week
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DayOfWeek
|
||||
end
|
||||
def client_permission_type
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ClientPermissionType
|
||||
end
|
||||
def container_status
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ContainerStatus
|
||||
end
|
||||
def sku_name
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuName
|
||||
end
|
||||
def sku_tier
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuTier
|
||||
end
|
||||
def data_box_edge_device_status
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DataBoxEdgeDeviceStatus
|
||||
end
|
||||
def device_type
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DeviceType
|
||||
end
|
||||
def role_types
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::RoleTypes
|
||||
end
|
||||
def platform_type
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::PlatformType
|
||||
end
|
||||
def role_status
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::RoleStatus
|
||||
end
|
||||
def job_status
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::JobStatus
|
||||
end
|
||||
def job_type
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::JobType
|
||||
end
|
||||
def update_operation_stage
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UpdateOperationStage
|
||||
end
|
||||
def download_phase
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DownloadPhase
|
||||
end
|
||||
def metric_unit
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::MetricUnit
|
||||
end
|
||||
def metric_aggregation_type
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::MetricAggregationType
|
||||
end
|
||||
def metric_category
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::MetricCategory
|
||||
end
|
||||
def time_grain
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::TimeGrain
|
||||
end
|
||||
def network_group
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkGroup
|
||||
end
|
||||
def network_adapter_status
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkAdapterStatus
|
||||
end
|
||||
def network_adapter_rdmastatus
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkAdapterRDMAStatus
|
||||
end
|
||||
def network_adapter_dhcpstatus
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NetworkAdapterDHCPStatus
|
||||
end
|
||||
def node_status
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::NodeStatus
|
||||
end
|
||||
def order_state
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::OrderState
|
||||
end
|
||||
def authentication_type
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AuthenticationType
|
||||
end
|
||||
def sku_restriction_reason_code
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuRestrictionReasonCode
|
||||
end
|
||||
def share_status
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ShareStatus
|
||||
end
|
||||
def monitoring_status
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::MonitoringStatus
|
||||
end
|
||||
def share_access_protocol
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ShareAccessProtocol
|
||||
end
|
||||
def share_access_type
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::ShareAccessType
|
||||
end
|
||||
def data_policy
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::DataPolicy
|
||||
end
|
||||
def storage_account_status
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::StorageAccountStatus
|
||||
end
|
||||
def sslstatus
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SSLStatus
|
||||
end
|
||||
def account_type
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::AccountType
|
||||
end
|
||||
def install_reboot_behavior
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::InstallRebootBehavior
|
||||
end
|
||||
def update_operation
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UpdateOperation
|
||||
end
|
||||
def user_type
|
||||
Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::UserType
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,139 @@
|
|||
# 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_dns'
|
||||
|
||||
module Azure::Profiles::V2020_09_01_Hybrid
|
||||
module Dns
|
||||
module Mgmt
|
||||
RecordSets = Azure::Dns::Mgmt::V2016_04_01::RecordSets
|
||||
Zones = Azure::Dns::Mgmt::V2016_04_01::Zones
|
||||
|
||||
module Models
|
||||
RecordSetUpdateParameters = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetUpdateParameters
|
||||
RecordSetListResult = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetListResult
|
||||
AaaaRecord = Azure::Dns::Mgmt::V2016_04_01::Models::AaaaRecord
|
||||
ARecord = Azure::Dns::Mgmt::V2016_04_01::Models::ARecord
|
||||
MxRecord = Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord
|
||||
PtrRecord = Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord
|
||||
SrvRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord
|
||||
Resource = Azure::Dns::Mgmt::V2016_04_01::Models::Resource
|
||||
CnameRecord = Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord
|
||||
ZoneDeleteResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult
|
||||
RecordSet = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSet
|
||||
ZoneListResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult
|
||||
TxtRecord = Azure::Dns::Mgmt::V2016_04_01::Models::TxtRecord
|
||||
NsRecord = Azure::Dns::Mgmt::V2016_04_01::Models::NsRecord
|
||||
SoaRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SoaRecord
|
||||
TrackedResource = Azure::Dns::Mgmt::V2016_04_01::Models::TrackedResource
|
||||
Zone = Azure::Dns::Mgmt::V2016_04_01::Models::Zone
|
||||
ProxyResource = Azure::Dns::Mgmt::V2016_04_01::Models::ProxyResource
|
||||
AzureEntityResource = Azure::Dns::Mgmt::V2016_04_01::Models::AzureEntityResource
|
||||
OperationStatus = Azure::Dns::Mgmt::V2016_04_01::Models::OperationStatus
|
||||
HttpStatusCode = Azure::Dns::Mgmt::V2016_04_01::Models::HttpStatusCode
|
||||
RecordType = Azure::Dns::Mgmt::V2016_04_01::Models::RecordType
|
||||
end
|
||||
|
||||
class DnsManagementClass
|
||||
attr_reader :record_sets, :zones, :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::Dns::Mgmt::V2016_04_01::DnsManagementClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_0.respond_to?(:subscription_id))
|
||||
@client_0.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_0)
|
||||
@record_sets = @client_0.record_sets
|
||||
@zones = @client_0.zones
|
||||
|
||||
@model_classes = ModelClasses.new
|
||||
end
|
||||
|
||||
def add_telemetry(client)
|
||||
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2020_09_01_Hybrid/Dns/Mgmt"
|
||||
client.add_user_agent_information(profile_information)
|
||||
end
|
||||
|
||||
def method_missing(method, *args)
|
||||
if @client_0.respond_to?method
|
||||
@client_0.send(method, *args)
|
||||
else
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
class ModelClasses
|
||||
def record_set_update_parameters
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetUpdateParameters
|
||||
end
|
||||
def record_set_list_result
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetListResult
|
||||
end
|
||||
def aaaa_record
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::AaaaRecord
|
||||
end
|
||||
def arecord
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::ARecord
|
||||
end
|
||||
def mx_record
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord
|
||||
end
|
||||
def ptr_record
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord
|
||||
end
|
||||
def srv_record
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord
|
||||
end
|
||||
def resource
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::Resource
|
||||
end
|
||||
def cname_record
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord
|
||||
end
|
||||
def zone_delete_result
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult
|
||||
end
|
||||
def record_set
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::RecordSet
|
||||
end
|
||||
def zone_list_result
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult
|
||||
end
|
||||
def txt_record
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::TxtRecord
|
||||
end
|
||||
def ns_record
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::NsRecord
|
||||
end
|
||||
def soa_record
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::SoaRecord
|
||||
end
|
||||
def tracked_resource
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::TrackedResource
|
||||
end
|
||||
def zone
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::Zone
|
||||
end
|
||||
def proxy_resource
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::ProxyResource
|
||||
end
|
||||
def azure_entity_resource
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::AzureEntityResource
|
||||
end
|
||||
def operation_status
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::OperationStatus
|
||||
end
|
||||
def http_status_code
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::HttpStatusCode
|
||||
end
|
||||
def record_type
|
||||
Azure::Dns::Mgmt::V2016_04_01::Models::RecordType
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,411 @@
|
|||
# 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_event_hub'
|
||||
|
||||
module Azure::Profiles::V2020_09_01_Hybrid
|
||||
module EventHub
|
||||
module Mgmt
|
||||
DisasterRecoveryConfigs = Azure::EventHub::Mgmt::V2017_04_01::DisasterRecoveryConfigs
|
||||
EventHubs = Azure::EventHub::Mgmt::V2017_04_01::EventHubs
|
||||
ConsumerGroups = Azure::EventHub::Mgmt::V2017_04_01::ConsumerGroups
|
||||
Operations = Azure::EventHub::Mgmt::V2017_04_01::Operations
|
||||
Regions = Azure::EventHub::Mgmt::V2017_04_01::Regions
|
||||
Clusters = Azure::EventHub::Mgmt::V2018_01_01_preview::Clusters
|
||||
Namespaces = Azure::EventHub::Mgmt::V2018_01_01_preview::Namespaces
|
||||
PrivateEndpointConnections = Azure::EventHub::Mgmt::V2018_01_01_preview::PrivateEndpointConnections
|
||||
PrivateLinkResources = Azure::EventHub::Mgmt::V2018_01_01_preview::PrivateLinkResources
|
||||
Configuration = Azure::EventHub::Mgmt::V2018_01_01_preview::Configuration
|
||||
|
||||
module Models
|
||||
SharedAccessAuthorizationRuleListResult = Azure::EventHub::Mgmt::V2015_08_01::Models::SharedAccessAuthorizationRuleListResult
|
||||
ResourceListKeys = Azure::EventHub::Mgmt::V2015_08_01::Models::ResourceListKeys
|
||||
RegenerateKeysParameters = Azure::EventHub::Mgmt::V2015_08_01::Models::RegenerateKeysParameters
|
||||
NamespaceCreateOrUpdateParameters = Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceCreateOrUpdateParameters
|
||||
NamespaceListResult = Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceListResult
|
||||
EventHubCreateOrUpdateParameters = Azure::EventHub::Mgmt::V2015_08_01::Models::EventHubCreateOrUpdateParameters
|
||||
NamespaceUpdateParameter = Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceUpdateParameter
|
||||
ConsumerGroupCreateOrUpdateParameters = Azure::EventHub::Mgmt::V2015_08_01::Models::ConsumerGroupCreateOrUpdateParameters
|
||||
SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::EventHub::Mgmt::V2015_08_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters
|
||||
NamespaceResource = Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceResource
|
||||
SharedAccessAuthorizationRuleResource = Azure::EventHub::Mgmt::V2015_08_01::Models::SharedAccessAuthorizationRuleResource
|
||||
EventHubResource = Azure::EventHub::Mgmt::V2015_08_01::Models::EventHubResource
|
||||
ConsumerGroupResource = Azure::EventHub::Mgmt::V2015_08_01::Models::ConsumerGroupResource
|
||||
NamespaceState = Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceState
|
||||
Policykey = Azure::EventHub::Mgmt::V2015_08_01::Models::Policykey
|
||||
ConsumerGroupListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroupListResult
|
||||
EventHubListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::EventHubListResult
|
||||
AuthorizationRuleListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult
|
||||
MessagingRegionsListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegionsListResult
|
||||
RegenerateAccessKeyParameters = Azure::EventHub::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters
|
||||
ArmDisasterRecoveryListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult
|
||||
CheckNameAvailabilityParameter = Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityParameter
|
||||
OperationDisplay = Azure::EventHub::Mgmt::V2017_04_01::Models::OperationDisplay
|
||||
AccessKeys = Azure::EventHub::Mgmt::V2017_04_01::Models::AccessKeys
|
||||
Operation = Azure::EventHub::Mgmt::V2017_04_01::Models::Operation
|
||||
OperationListResult = Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult
|
||||
MessagingRegionsProperties = Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegionsProperties
|
||||
Destination = Azure::EventHub::Mgmt::V2017_04_01::Models::Destination
|
||||
CheckNameAvailabilityResult = Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult
|
||||
CaptureDescription = Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription
|
||||
AuthorizationRule = Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRule
|
||||
ConsumerGroup = Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroup
|
||||
ArmDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery
|
||||
Eventhub = Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub
|
||||
MessagingRegions = Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegions
|
||||
AccessRights = Azure::EventHub::Mgmt::V2017_04_01::Models::AccessRights
|
||||
KeyType = Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType
|
||||
UnavailableReason = Azure::EventHub::Mgmt::V2017_04_01::Models::UnavailableReason
|
||||
ProvisioningStateDR = Azure::EventHub::Mgmt::V2017_04_01::Models::ProvisioningStateDR
|
||||
RoleDisasterRecovery = Azure::EventHub::Mgmt::V2017_04_01::Models::RoleDisasterRecovery
|
||||
EncodingCaptureDescription = Azure::EventHub::Mgmt::V2017_04_01::Models::EncodingCaptureDescription
|
||||
EntityStatus = Azure::EventHub::Mgmt::V2017_04_01::Models::EntityStatus
|
||||
Encryption = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Encryption
|
||||
KeyVaultProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeyVaultProperties
|
||||
AvailableClustersList = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableClustersList
|
||||
AvailableCluster = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableCluster
|
||||
ClusterSku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterSku
|
||||
ClusterListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterListResult
|
||||
EHNamespaceListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceListResult
|
||||
EHNamespaceIdListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdListResult
|
||||
PrivateEndpoint = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpoint
|
||||
Resource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource
|
||||
Subnet = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Subnet
|
||||
NWRuleSetIpRules = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetIpRules
|
||||
Sku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku
|
||||
ConnectionState = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ConnectionState
|
||||
ErrorResponse = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse
|
||||
NWRuleSetVirtualNetworkRules = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetVirtualNetworkRules
|
||||
EHNamespaceIdContainer = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdContainer
|
||||
PrivateEndpointConnectionListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpointConnectionListResult
|
||||
Identity = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Identity
|
||||
PrivateLinkResource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkResource
|
||||
IpFilterRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRuleListResult
|
||||
PrivateLinkResourcesListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkResourcesListResult
|
||||
VirtualNetworkRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult
|
||||
ClusterQuotaConfigurationProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties
|
||||
TrackedResource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::TrackedResource
|
||||
Cluster = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Cluster
|
||||
IpFilterRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule
|
||||
EHNamespace = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace
|
||||
PrivateEndpointConnection = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpointConnection
|
||||
VirtualNetworkRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule
|
||||
NetworkRuleSet = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleSet
|
||||
IPAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction
|
||||
SkuName = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName
|
||||
SkuTier = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier
|
||||
IdentityType = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IdentityType
|
||||
KeySource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeySource
|
||||
PrivateLinkConnectionStatus = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkConnectionStatus
|
||||
EndPointProvisioningState = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EndPointProvisioningState
|
||||
NetworkRuleIPAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleIPAction
|
||||
DefaultAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::DefaultAction
|
||||
end
|
||||
|
||||
class EventHubManagementClass
|
||||
attr_reader :disaster_recovery_configs, :event_hubs, :consumer_groups, :operations, :regions, :clusters, :namespaces, :private_endpoint_connections, :private_link_resources, :configuration, :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::EventHub::Mgmt::V2015_08_01::EventHubManagementClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_0.respond_to?(:subscription_id))
|
||||
@client_0.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_0)
|
||||
|
||||
@client_1 = Azure::EventHub::Mgmt::V2017_04_01::EventHubManagementClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_1.respond_to?(:subscription_id))
|
||||
@client_1.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_1)
|
||||
@disaster_recovery_configs = @client_1.disaster_recovery_configs
|
||||
@event_hubs = @client_1.event_hubs
|
||||
@consumer_groups = @client_1.consumer_groups
|
||||
@operations = @client_1.operations
|
||||
@regions = @client_1.regions
|
||||
|
||||
@client_2 = Azure::EventHub::Mgmt::V2018_01_01_preview::EventHubManagementClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_2.respond_to?(:subscription_id))
|
||||
@client_2.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_2)
|
||||
@clusters = @client_2.clusters
|
||||
@namespaces = @client_2.namespaces
|
||||
@private_endpoint_connections = @client_2.private_endpoint_connections
|
||||
@private_link_resources = @client_2.private_link_resources
|
||||
@configuration = @client_2.configuration
|
||||
|
||||
@model_classes = ModelClasses.new
|
||||
end
|
||||
|
||||
def add_telemetry(client)
|
||||
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2020_09_01_Hybrid/EventHub/Mgmt"
|
||||
client.add_user_agent_information(profile_information)
|
||||
end
|
||||
|
||||
def method_missing(method, *args)
|
||||
if @client_2.respond_to?method
|
||||
@client_2.send(method, *args)
|
||||
elsif @client_1.respond_to?method
|
||||
@client_1.send(method, *args)
|
||||
elsif @client_0.respond_to?method
|
||||
@client_0.send(method, *args)
|
||||
else
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
class ModelClasses
|
||||
def shared_access_authorization_rule_list_result
|
||||
Azure::EventHub::Mgmt::V2015_08_01::Models::SharedAccessAuthorizationRuleListResult
|
||||
end
|
||||
def resource_list_keys
|
||||
Azure::EventHub::Mgmt::V2015_08_01::Models::ResourceListKeys
|
||||
end
|
||||
def regenerate_keys_parameters
|
||||
Azure::EventHub::Mgmt::V2015_08_01::Models::RegenerateKeysParameters
|
||||
end
|
||||
def namespace_create_or_update_parameters
|
||||
Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceCreateOrUpdateParameters
|
||||
end
|
||||
def namespace_list_result
|
||||
Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceListResult
|
||||
end
|
||||
def event_hub_create_or_update_parameters
|
||||
Azure::EventHub::Mgmt::V2015_08_01::Models::EventHubCreateOrUpdateParameters
|
||||
end
|
||||
def namespace_update_parameter
|
||||
Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceUpdateParameter
|
||||
end
|
||||
def consumer_group_create_or_update_parameters
|
||||
Azure::EventHub::Mgmt::V2015_08_01::Models::ConsumerGroupCreateOrUpdateParameters
|
||||
end
|
||||
def shared_access_authorization_rule_create_or_update_parameters
|
||||
Azure::EventHub::Mgmt::V2015_08_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters
|
||||
end
|
||||
def namespace_resource
|
||||
Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceResource
|
||||
end
|
||||
def shared_access_authorization_rule_resource
|
||||
Azure::EventHub::Mgmt::V2015_08_01::Models::SharedAccessAuthorizationRuleResource
|
||||
end
|
||||
def event_hub_resource
|
||||
Azure::EventHub::Mgmt::V2015_08_01::Models::EventHubResource
|
||||
end
|
||||
def consumer_group_resource
|
||||
Azure::EventHub::Mgmt::V2015_08_01::Models::ConsumerGroupResource
|
||||
end
|
||||
def namespace_state
|
||||
Azure::EventHub::Mgmt::V2015_08_01::Models::NamespaceState
|
||||
end
|
||||
def policykey
|
||||
Azure::EventHub::Mgmt::V2015_08_01::Models::Policykey
|
||||
end
|
||||
def consumer_group_list_result
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroupListResult
|
||||
end
|
||||
def event_hub_list_result
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::EventHubListResult
|
||||
end
|
||||
def authorization_rule_list_result
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRuleListResult
|
||||
end
|
||||
def messaging_regions_list_result
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegionsListResult
|
||||
end
|
||||
def regenerate_access_key_parameters
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::RegenerateAccessKeyParameters
|
||||
end
|
||||
def arm_disaster_recovery_list_result
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecoveryListResult
|
||||
end
|
||||
def check_name_availability_parameter
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityParameter
|
||||
end
|
||||
def operation_display
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::OperationDisplay
|
||||
end
|
||||
def access_keys
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::AccessKeys
|
||||
end
|
||||
def operation
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::Operation
|
||||
end
|
||||
def operation_list_result
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::OperationListResult
|
||||
end
|
||||
def messaging_regions_properties
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegionsProperties
|
||||
end
|
||||
def destination
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::Destination
|
||||
end
|
||||
def check_name_availability_result
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::CheckNameAvailabilityResult
|
||||
end
|
||||
def capture_description
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::CaptureDescription
|
||||
end
|
||||
def authorization_rule
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::AuthorizationRule
|
||||
end
|
||||
def consumer_group
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::ConsumerGroup
|
||||
end
|
||||
def arm_disaster_recovery
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::ArmDisasterRecovery
|
||||
end
|
||||
def eventhub
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::Eventhub
|
||||
end
|
||||
def messaging_regions
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::MessagingRegions
|
||||
end
|
||||
def access_rights
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::AccessRights
|
||||
end
|
||||
def key_type
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::KeyType
|
||||
end
|
||||
def unavailable_reason
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::UnavailableReason
|
||||
end
|
||||
def provisioning_state_dr
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::ProvisioningStateDR
|
||||
end
|
||||
def role_disaster_recovery
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::RoleDisasterRecovery
|
||||
end
|
||||
def encoding_capture_description
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::EncodingCaptureDescription
|
||||
end
|
||||
def entity_status
|
||||
Azure::EventHub::Mgmt::V2017_04_01::Models::EntityStatus
|
||||
end
|
||||
def encryption
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Encryption
|
||||
end
|
||||
def key_vault_properties
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeyVaultProperties
|
||||
end
|
||||
def available_clusters_list
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableClustersList
|
||||
end
|
||||
def available_cluster
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableCluster
|
||||
end
|
||||
def cluster_sku
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterSku
|
||||
end
|
||||
def cluster_list_result
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterListResult
|
||||
end
|
||||
def ehnamespace_list_result
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceListResult
|
||||
end
|
||||
def ehnamespace_id_list_result
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdListResult
|
||||
end
|
||||
def private_endpoint
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpoint
|
||||
end
|
||||
def resource
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource
|
||||
end
|
||||
def subnet
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Subnet
|
||||
end
|
||||
def nwrule_set_ip_rules
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetIpRules
|
||||
end
|
||||
def sku
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku
|
||||
end
|
||||
def connection_state
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ConnectionState
|
||||
end
|
||||
def error_response
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse
|
||||
end
|
||||
def nwrule_set_virtual_network_rules
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetVirtualNetworkRules
|
||||
end
|
||||
def ehnamespace_id_container
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdContainer
|
||||
end
|
||||
def private_endpoint_connection_list_result
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpointConnectionListResult
|
||||
end
|
||||
def identity
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Identity
|
||||
end
|
||||
def private_link_resource
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkResource
|
||||
end
|
||||
def ip_filter_rule_list_result
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRuleListResult
|
||||
end
|
||||
def private_link_resources_list_result
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkResourcesListResult
|
||||
end
|
||||
def virtual_network_rule_list_result
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult
|
||||
end
|
||||
def cluster_quota_configuration_properties
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties
|
||||
end
|
||||
def tracked_resource
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::TrackedResource
|
||||
end
|
||||
def cluster
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Cluster
|
||||
end
|
||||
def ip_filter_rule
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule
|
||||
end
|
||||
def ehnamespace
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace
|
||||
end
|
||||
def private_endpoint_connection
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpointConnection
|
||||
end
|
||||
def virtual_network_rule
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule
|
||||
end
|
||||
def network_rule_set
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleSet
|
||||
end
|
||||
def ipaction
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction
|
||||
end
|
||||
def sku_name
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName
|
||||
end
|
||||
def sku_tier
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier
|
||||
end
|
||||
def identity_type
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IdentityType
|
||||
end
|
||||
def key_source
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeySource
|
||||
end
|
||||
def private_link_connection_status
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateLinkConnectionStatus
|
||||
end
|
||||
def end_point_provisioning_state
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EndPointProvisioningState
|
||||
end
|
||||
def network_rule_ipaction
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleIPAction
|
||||
end
|
||||
def default_action
|
||||
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::DefaultAction
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,385 @@
|
|||
# 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_iot_hub'
|
||||
|
||||
module Azure::Profiles::V2020_09_01_Hybrid
|
||||
module IotHub
|
||||
module Mgmt
|
||||
Operations = Azure::IotHub::Mgmt::V2019_07_01_preview::Operations
|
||||
IotHubResource = Azure::IotHub::Mgmt::V2019_07_01_preview::IotHubResource
|
||||
ResourceProviderCommon = Azure::IotHub::Mgmt::V2019_07_01_preview::ResourceProviderCommon
|
||||
Certificates = Azure::IotHub::Mgmt::V2019_07_01_preview::Certificates
|
||||
IotHub = Azure::IotHub::Mgmt::V2019_07_01_preview::IotHub
|
||||
|
||||
module Models
|
||||
IotHubQuotaMetricInfo = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubQuotaMetricInfo
|
||||
CertificateVerificationDescription = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CertificateVerificationDescription
|
||||
IotHubQuotaMetricInfoListResult = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubQuotaMetricInfoListResult
|
||||
CertificateDescription = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CertificateDescription
|
||||
EndpointHealthData = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::EndpointHealthData
|
||||
CertificateBodyDescription = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CertificateBodyDescription
|
||||
EndpointHealthDataListResult = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::EndpointHealthDataListResult
|
||||
CertificateWithNonceDescription = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CertificateWithNonceDescription
|
||||
RegistryStatistics = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RegistryStatistics
|
||||
IpFilterRule = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IpFilterRule
|
||||
JobResponse = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::JobResponse
|
||||
RoutingServiceBusQueueEndpointProperties = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingServiceBusQueueEndpointProperties
|
||||
JobResponseListResult = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::JobResponseListResult
|
||||
RoutingEventHubProperties = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingEventHubProperties
|
||||
IotHubCapacity = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubCapacity
|
||||
RoutingEndpoints = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingEndpoints
|
||||
IotHubSkuDescription = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubSkuDescription
|
||||
FallbackRouteProperties = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::FallbackRouteProperties
|
||||
TagsResource = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::TagsResource
|
||||
RoutingProperties = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingProperties
|
||||
EventHubConsumerGroupInfo = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::EventHubConsumerGroupInfo
|
||||
MessagingEndpointProperties = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::MessagingEndpointProperties
|
||||
EventHubConsumerGroupsListResult = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::EventHubConsumerGroupsListResult
|
||||
CloudToDeviceProperties = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CloudToDeviceProperties
|
||||
IotHubSkuDescriptionListResult = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubSkuDescriptionListResult
|
||||
IotHubLocationDescription = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubLocationDescription
|
||||
IotHubDescriptionListResult = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubDescriptionListResult
|
||||
IotHubSkuInfo = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubSkuInfo
|
||||
OperationInputs = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::OperationInputs
|
||||
Resource = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::Resource
|
||||
IotHubNameAvailabilityInfo = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubNameAvailabilityInfo
|
||||
OperationDisplay = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::OperationDisplay
|
||||
Name = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::Name
|
||||
OperationListResult = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::OperationListResult
|
||||
UserSubscriptionQuota = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::UserSubscriptionQuota
|
||||
CertificateProperties = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CertificateProperties
|
||||
UserSubscriptionQuotaListResult = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::UserSubscriptionQuotaListResult
|
||||
CertificatePropertiesWithNonce = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CertificatePropertiesWithNonce
|
||||
RoutingMessage = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingMessage
|
||||
EventHubProperties = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::EventHubProperties
|
||||
RoutingTwinProperties = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingTwinProperties
|
||||
RoutingStorageContainerProperties = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingStorageContainerProperties
|
||||
RoutingTwin = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingTwin
|
||||
EnrichmentProperties = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::EnrichmentProperties
|
||||
TestAllRoutesInput = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::TestAllRoutesInput
|
||||
FeedbackProperties = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::FeedbackProperties
|
||||
MatchedRoute = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::MatchedRoute
|
||||
IotHubProperties = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubProperties
|
||||
TestAllRoutesResult = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::TestAllRoutesResult
|
||||
SharedAccessSignatureAuthorizationRuleListResult = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::SharedAccessSignatureAuthorizationRuleListResult
|
||||
TestRouteInput = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::TestRouteInput
|
||||
ErrorDetails = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::ErrorDetails
|
||||
RouteErrorPosition = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RouteErrorPosition
|
||||
SharedAccessSignatureAuthorizationRule = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::SharedAccessSignatureAuthorizationRule
|
||||
RouteErrorRange = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RouteErrorRange
|
||||
RouteProperties = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RouteProperties
|
||||
RouteCompilationError = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RouteCompilationError
|
||||
IotHubPropertiesDeviceStreams = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubPropertiesDeviceStreams
|
||||
TestRouteResultDetails = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::TestRouteResultDetails
|
||||
Operation = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::Operation
|
||||
TestRouteResult = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::TestRouteResult
|
||||
RoutingServiceBusTopicEndpointProperties = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingServiceBusTopicEndpointProperties
|
||||
ExportDevicesRequest = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::ExportDevicesRequest
|
||||
CertificateListDescription = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CertificateListDescription
|
||||
ImportDevicesRequest = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::ImportDevicesRequest
|
||||
StorageEndpointProperties = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::StorageEndpointProperties
|
||||
FailoverInput = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::FailoverInput
|
||||
IotHubDescription = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubDescription
|
||||
AccessRights = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::AccessRights
|
||||
IpFilterActionType = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IpFilterActionType
|
||||
RoutingSource = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingSource
|
||||
Capabilities = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::Capabilities
|
||||
IotHubReplicaRoleType = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubReplicaRoleType
|
||||
IotHubSku = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubSku
|
||||
IotHubSkuTier = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubSkuTier
|
||||
EndpointHealthStatus = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::EndpointHealthStatus
|
||||
JobType = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::JobType
|
||||
JobStatus = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::JobStatus
|
||||
IotHubScaleType = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubScaleType
|
||||
IotHubNameUnavailabilityReason = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubNameUnavailabilityReason
|
||||
TestResultStatus = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::TestResultStatus
|
||||
RouteErrorSeverity = Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RouteErrorSeverity
|
||||
end
|
||||
|
||||
class IotHubManagementClass
|
||||
attr_reader :operations, :iot_hub_resource, :resource_provider_common, :certificates, :iot_hub, :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::IotHub::Mgmt::V2019_07_01_preview::IotHubClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_0.respond_to?(:subscription_id))
|
||||
@client_0.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_0)
|
||||
@operations = @client_0.operations
|
||||
@iot_hub_resource = @client_0.iot_hub_resource
|
||||
@resource_provider_common = @client_0.resource_provider_common
|
||||
@certificates = @client_0.certificates
|
||||
@iot_hub = @client_0.iot_hub
|
||||
|
||||
@model_classes = ModelClasses.new
|
||||
end
|
||||
|
||||
def add_telemetry(client)
|
||||
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2020_09_01_Hybrid/IotHub/Mgmt"
|
||||
client.add_user_agent_information(profile_information)
|
||||
end
|
||||
|
||||
def method_missing(method, *args)
|
||||
if @client_0.respond_to?method
|
||||
@client_0.send(method, *args)
|
||||
else
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
class ModelClasses
|
||||
def iot_hub_quota_metric_info
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubQuotaMetricInfo
|
||||
end
|
||||
def certificate_verification_description
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CertificateVerificationDescription
|
||||
end
|
||||
def iot_hub_quota_metric_info_list_result
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubQuotaMetricInfoListResult
|
||||
end
|
||||
def certificate_description
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CertificateDescription
|
||||
end
|
||||
def endpoint_health_data
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::EndpointHealthData
|
||||
end
|
||||
def certificate_body_description
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CertificateBodyDescription
|
||||
end
|
||||
def endpoint_health_data_list_result
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::EndpointHealthDataListResult
|
||||
end
|
||||
def certificate_with_nonce_description
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CertificateWithNonceDescription
|
||||
end
|
||||
def registry_statistics
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RegistryStatistics
|
||||
end
|
||||
def ip_filter_rule
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IpFilterRule
|
||||
end
|
||||
def job_response
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::JobResponse
|
||||
end
|
||||
def routing_service_bus_queue_endpoint_properties
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingServiceBusQueueEndpointProperties
|
||||
end
|
||||
def job_response_list_result
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::JobResponseListResult
|
||||
end
|
||||
def routing_event_hub_properties
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingEventHubProperties
|
||||
end
|
||||
def iot_hub_capacity
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubCapacity
|
||||
end
|
||||
def routing_endpoints
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingEndpoints
|
||||
end
|
||||
def iot_hub_sku_description
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubSkuDescription
|
||||
end
|
||||
def fallback_route_properties
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::FallbackRouteProperties
|
||||
end
|
||||
def tags_resource
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::TagsResource
|
||||
end
|
||||
def routing_properties
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingProperties
|
||||
end
|
||||
def event_hub_consumer_group_info
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::EventHubConsumerGroupInfo
|
||||
end
|
||||
def messaging_endpoint_properties
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::MessagingEndpointProperties
|
||||
end
|
||||
def event_hub_consumer_groups_list_result
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::EventHubConsumerGroupsListResult
|
||||
end
|
||||
def cloud_to_device_properties
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CloudToDeviceProperties
|
||||
end
|
||||
def iot_hub_sku_description_list_result
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubSkuDescriptionListResult
|
||||
end
|
||||
def iot_hub_location_description
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubLocationDescription
|
||||
end
|
||||
def iot_hub_description_list_result
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubDescriptionListResult
|
||||
end
|
||||
def iot_hub_sku_info
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubSkuInfo
|
||||
end
|
||||
def operation_inputs
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::OperationInputs
|
||||
end
|
||||
def resource
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::Resource
|
||||
end
|
||||
def iot_hub_name_availability_info
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubNameAvailabilityInfo
|
||||
end
|
||||
def operation_display
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::OperationDisplay
|
||||
end
|
||||
def name
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::Name
|
||||
end
|
||||
def operation_list_result
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::OperationListResult
|
||||
end
|
||||
def user_subscription_quota
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::UserSubscriptionQuota
|
||||
end
|
||||
def certificate_properties
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CertificateProperties
|
||||
end
|
||||
def user_subscription_quota_list_result
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::UserSubscriptionQuotaListResult
|
||||
end
|
||||
def certificate_properties_with_nonce
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CertificatePropertiesWithNonce
|
||||
end
|
||||
def routing_message
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingMessage
|
||||
end
|
||||
def event_hub_properties
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::EventHubProperties
|
||||
end
|
||||
def routing_twin_properties
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingTwinProperties
|
||||
end
|
||||
def routing_storage_container_properties
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingStorageContainerProperties
|
||||
end
|
||||
def routing_twin
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingTwin
|
||||
end
|
||||
def enrichment_properties
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::EnrichmentProperties
|
||||
end
|
||||
def test_all_routes_input
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::TestAllRoutesInput
|
||||
end
|
||||
def feedback_properties
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::FeedbackProperties
|
||||
end
|
||||
def matched_route
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::MatchedRoute
|
||||
end
|
||||
def iot_hub_properties
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubProperties
|
||||
end
|
||||
def test_all_routes_result
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::TestAllRoutesResult
|
||||
end
|
||||
def shared_access_signature_authorization_rule_list_result
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::SharedAccessSignatureAuthorizationRuleListResult
|
||||
end
|
||||
def test_route_input
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::TestRouteInput
|
||||
end
|
||||
def error_details
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::ErrorDetails
|
||||
end
|
||||
def route_error_position
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RouteErrorPosition
|
||||
end
|
||||
def shared_access_signature_authorization_rule
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::SharedAccessSignatureAuthorizationRule
|
||||
end
|
||||
def route_error_range
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RouteErrorRange
|
||||
end
|
||||
def route_properties
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RouteProperties
|
||||
end
|
||||
def route_compilation_error
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RouteCompilationError
|
||||
end
|
||||
def iot_hub_properties_device_streams
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubPropertiesDeviceStreams
|
||||
end
|
||||
def test_route_result_details
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::TestRouteResultDetails
|
||||
end
|
||||
def operation
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::Operation
|
||||
end
|
||||
def test_route_result
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::TestRouteResult
|
||||
end
|
||||
def routing_service_bus_topic_endpoint_properties
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingServiceBusTopicEndpointProperties
|
||||
end
|
||||
def export_devices_request
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::ExportDevicesRequest
|
||||
end
|
||||
def certificate_list_description
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::CertificateListDescription
|
||||
end
|
||||
def import_devices_request
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::ImportDevicesRequest
|
||||
end
|
||||
def storage_endpoint_properties
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::StorageEndpointProperties
|
||||
end
|
||||
def failover_input
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::FailoverInput
|
||||
end
|
||||
def iot_hub_description
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubDescription
|
||||
end
|
||||
def access_rights
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::AccessRights
|
||||
end
|
||||
def ip_filter_action_type
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IpFilterActionType
|
||||
end
|
||||
def routing_source
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RoutingSource
|
||||
end
|
||||
def capabilities
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::Capabilities
|
||||
end
|
||||
def iot_hub_replica_role_type
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubReplicaRoleType
|
||||
end
|
||||
def iot_hub_sku
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubSku
|
||||
end
|
||||
def iot_hub_sku_tier
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubSkuTier
|
||||
end
|
||||
def endpoint_health_status
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::EndpointHealthStatus
|
||||
end
|
||||
def job_type
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::JobType
|
||||
end
|
||||
def job_status
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::JobStatus
|
||||
end
|
||||
def iot_hub_scale_type
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubScaleType
|
||||
end
|
||||
def iot_hub_name_unavailability_reason
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::IotHubNameUnavailabilityReason
|
||||
end
|
||||
def test_result_status
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::TestResultStatus
|
||||
end
|
||||
def route_error_severity
|
||||
Azure::IotHub::Mgmt::V2019_07_01_preview::Models::RouteErrorSeverity
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,657 @@
|
|||
# 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'
|
||||
require 'azure_key_vault'
|
||||
|
||||
module Azure::Profiles::V2020_09_01_Hybrid
|
||||
module KeyVault
|
||||
|
||||
module Models
|
||||
KeyOperationsParameters = Azure::KeyVault::V2016_10_01::Models::KeyOperationsParameters
|
||||
KeySignParameters = Azure::KeyVault::V2016_10_01::Models::KeySignParameters
|
||||
JsonWebKey = Azure::KeyVault::V2016_10_01::Models::JsonWebKey
|
||||
KeyVerifyParameters = Azure::KeyVault::V2016_10_01::Models::KeyVerifyParameters
|
||||
KeyBundle = Azure::KeyVault::V2016_10_01::Models::KeyBundle
|
||||
KeyUpdateParameters = Azure::KeyVault::V2016_10_01::Models::KeyUpdateParameters
|
||||
KeyImportParameters = Azure::KeyVault::V2016_10_01::Models::KeyImportParameters
|
||||
Attributes = Azure::KeyVault::V2016_10_01::Models::Attributes
|
||||
KeyVaultError = Azure::KeyVault::V2016_10_01::Models::KeyVaultError
|
||||
SecretBundle = Azure::KeyVault::V2016_10_01::Models::SecretBundle
|
||||
StorageListResult = Azure::KeyVault::V2016_10_01::Models::StorageListResult
|
||||
SasDefinitionUpdateParameters = Azure::KeyVault::V2016_10_01::Models::SasDefinitionUpdateParameters
|
||||
KeyItem = Azure::KeyVault::V2016_10_01::Models::KeyItem
|
||||
SecretRestoreParameters = Azure::KeyVault::V2016_10_01::Models::SecretRestoreParameters
|
||||
SasDefinitionAttributes = Azure::KeyVault::V2016_10_01::Models::SasDefinitionAttributes
|
||||
CertificateItem = Azure::KeyVault::V2016_10_01::Models::CertificateItem
|
||||
KeyRestoreParameters = Azure::KeyVault::V2016_10_01::Models::KeyRestoreParameters
|
||||
KeyProperties = Azure::KeyVault::V2016_10_01::Models::KeyProperties
|
||||
SecretSetParameters = Azure::KeyVault::V2016_10_01::Models::SecretSetParameters
|
||||
SubjectAlternativeNames = Azure::KeyVault::V2016_10_01::Models::SubjectAlternativeNames
|
||||
SecretUpdateParameters = Azure::KeyVault::V2016_10_01::Models::SecretUpdateParameters
|
||||
Trigger = Azure::KeyVault::V2016_10_01::Models::Trigger
|
||||
CertificateCreateParameters = Azure::KeyVault::V2016_10_01::Models::CertificateCreateParameters
|
||||
LifetimeAction = Azure::KeyVault::V2016_10_01::Models::LifetimeAction
|
||||
CertificateImportParameters = Azure::KeyVault::V2016_10_01::Models::CertificateImportParameters
|
||||
CertificatePolicy = Azure::KeyVault::V2016_10_01::Models::CertificatePolicy
|
||||
CertificateUpdateParameters = Azure::KeyVault::V2016_10_01::Models::CertificateUpdateParameters
|
||||
SasDefinitionItem = Azure::KeyVault::V2016_10_01::Models::SasDefinitionItem
|
||||
CertificateMergeParameters = Azure::KeyVault::V2016_10_01::Models::CertificateMergeParameters
|
||||
Error = Azure::KeyVault::V2016_10_01::Models::Error
|
||||
CertificateIssuerSetParameters = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerSetParameters
|
||||
IssuerCredentials = Azure::KeyVault::V2016_10_01::Models::IssuerCredentials
|
||||
CertificateIssuerUpdateParameters = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerUpdateParameters
|
||||
OrganizationDetails = Azure::KeyVault::V2016_10_01::Models::OrganizationDetails
|
||||
CertificateOperationUpdateParameter = Azure::KeyVault::V2016_10_01::Models::CertificateOperationUpdateParameter
|
||||
IssuerBundle = Azure::KeyVault::V2016_10_01::Models::IssuerBundle
|
||||
KeyOperationResult = Azure::KeyVault::V2016_10_01::Models::KeyOperationResult
|
||||
Contacts = Azure::KeyVault::V2016_10_01::Models::Contacts
|
||||
KeyVerifyResult = Azure::KeyVault::V2016_10_01::Models::KeyVerifyResult
|
||||
KeyListResult = Azure::KeyVault::V2016_10_01::Models::KeyListResult
|
||||
SasDefinitionCreateParameters = Azure::KeyVault::V2016_10_01::Models::SasDefinitionCreateParameters
|
||||
DeletedKeyListResult = Azure::KeyVault::V2016_10_01::Models::DeletedKeyListResult
|
||||
CertificateIssuerItem = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerItem
|
||||
SecretListResult = Azure::KeyVault::V2016_10_01::Models::SecretListResult
|
||||
X509CertificateProperties = Azure::KeyVault::V2016_10_01::Models::X509CertificateProperties
|
||||
DeletedSecretListResult = Azure::KeyVault::V2016_10_01::Models::DeletedSecretListResult
|
||||
IssuerParameters = Azure::KeyVault::V2016_10_01::Models::IssuerParameters
|
||||
CertificateListResult = Azure::KeyVault::V2016_10_01::Models::CertificateListResult
|
||||
SasDefinitionBundle = Azure::KeyVault::V2016_10_01::Models::SasDefinitionBundle
|
||||
DeletedCertificateListResult = Azure::KeyVault::V2016_10_01::Models::DeletedCertificateListResult
|
||||
AdministratorDetails = Azure::KeyVault::V2016_10_01::Models::AdministratorDetails
|
||||
CertificateIssuerListResult = Azure::KeyVault::V2016_10_01::Models::CertificateIssuerListResult
|
||||
Contact = Azure::KeyVault::V2016_10_01::Models::Contact
|
||||
BackupKeyResult = Azure::KeyVault::V2016_10_01::Models::BackupKeyResult
|
||||
SecretItem = Azure::KeyVault::V2016_10_01::Models::SecretItem
|
||||
BackupSecretResult = Azure::KeyVault::V2016_10_01::Models::BackupSecretResult
|
||||
SecretProperties = Azure::KeyVault::V2016_10_01::Models::SecretProperties
|
||||
PendingCertificateSigningRequestResult = Azure::KeyVault::V2016_10_01::Models::PendingCertificateSigningRequestResult
|
||||
CertificateBundle = Azure::KeyVault::V2016_10_01::Models::CertificateBundle
|
||||
StorageAccountAttributes = Azure::KeyVault::V2016_10_01::Models::StorageAccountAttributes
|
||||
IssuerAttributes = Azure::KeyVault::V2016_10_01::Models::IssuerAttributes
|
||||
StorageBundle = Azure::KeyVault::V2016_10_01::Models::StorageBundle
|
||||
SasDefinitionListResult = Azure::KeyVault::V2016_10_01::Models::SasDefinitionListResult
|
||||
StorageAccountCreateParameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountCreateParameters
|
||||
CertificateOperation = Azure::KeyVault::V2016_10_01::Models::CertificateOperation
|
||||
StorageAccountUpdateParameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountUpdateParameters
|
||||
Action = Azure::KeyVault::V2016_10_01::Models::Action
|
||||
StorageAccountRegenerteKeyParameters = Azure::KeyVault::V2016_10_01::Models::StorageAccountRegenerteKeyParameters
|
||||
KeyCreateParameters = Azure::KeyVault::V2016_10_01::Models::KeyCreateParameters
|
||||
StorageAccountItem = Azure::KeyVault::V2016_10_01::Models::StorageAccountItem
|
||||
KeyAttributes = Azure::KeyVault::V2016_10_01::Models::KeyAttributes
|
||||
DeletedKeyBundle = Azure::KeyVault::V2016_10_01::Models::DeletedKeyBundle
|
||||
DeletedKeyItem = Azure::KeyVault::V2016_10_01::Models::DeletedKeyItem
|
||||
SecretAttributes = Azure::KeyVault::V2016_10_01::Models::SecretAttributes
|
||||
DeletedSecretBundle = Azure::KeyVault::V2016_10_01::Models::DeletedSecretBundle
|
||||
DeletedSecretItem = Azure::KeyVault::V2016_10_01::Models::DeletedSecretItem
|
||||
CertificateAttributes = Azure::KeyVault::V2016_10_01::Models::CertificateAttributes
|
||||
DeletedCertificateBundle = Azure::KeyVault::V2016_10_01::Models::DeletedCertificateBundle
|
||||
DeletedCertificateItem = Azure::KeyVault::V2016_10_01::Models::DeletedCertificateItem
|
||||
JsonWebKeyType = Azure::KeyVault::V2016_10_01::Models::JsonWebKeyType
|
||||
JsonWebKeyCurveName = Azure::KeyVault::V2016_10_01::Models::JsonWebKeyCurveName
|
||||
DeletionRecoveryLevel = Azure::KeyVault::V2016_10_01::Models::DeletionRecoveryLevel
|
||||
KeyUsageType = Azure::KeyVault::V2016_10_01::Models::KeyUsageType
|
||||
ActionType = Azure::KeyVault::V2016_10_01::Models::ActionType
|
||||
JsonWebKeyOperation = Azure::KeyVault::V2016_10_01::Models::JsonWebKeyOperation
|
||||
JsonWebKeyEncryptionAlgorithm = Azure::KeyVault::V2016_10_01::Models::JsonWebKeyEncryptionAlgorithm
|
||||
JsonWebKeySignatureAlgorithm = Azure::KeyVault::V2016_10_01::Models::JsonWebKeySignatureAlgorithm
|
||||
end
|
||||
|
||||
class KeyVaultDataClass
|
||||
attr_reader :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::KeyVault::V2016_10_01::KeyVaultClient.new(configurable.credentials, options)
|
||||
if(@client_0.respond_to?(:subscription_id))
|
||||
@client_0.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_0)
|
||||
|
||||
@model_classes = ModelClasses.new
|
||||
end
|
||||
|
||||
def add_telemetry(client)
|
||||
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2020_09_01_Hybrid/KeyVault"
|
||||
client.add_user_agent_information(profile_information)
|
||||
end
|
||||
|
||||
def method_missing(method, *args)
|
||||
if @client_0.respond_to?method
|
||||
@client_0.send(method, *args)
|
||||
else
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
class ModelClasses
|
||||
def key_operations_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::KeyOperationsParameters
|
||||
end
|
||||
def key_sign_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::KeySignParameters
|
||||
end
|
||||
def json_web_key
|
||||
Azure::KeyVault::V2016_10_01::Models::JsonWebKey
|
||||
end
|
||||
def key_verify_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::KeyVerifyParameters
|
||||
end
|
||||
def key_bundle
|
||||
Azure::KeyVault::V2016_10_01::Models::KeyBundle
|
||||
end
|
||||
def key_update_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::KeyUpdateParameters
|
||||
end
|
||||
def key_import_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::KeyImportParameters
|
||||
end
|
||||
def attributes
|
||||
Azure::KeyVault::V2016_10_01::Models::Attributes
|
||||
end
|
||||
def key_vault_error
|
||||
Azure::KeyVault::V2016_10_01::Models::KeyVaultError
|
||||
end
|
||||
def secret_bundle
|
||||
Azure::KeyVault::V2016_10_01::Models::SecretBundle
|
||||
end
|
||||
def storage_list_result
|
||||
Azure::KeyVault::V2016_10_01::Models::StorageListResult
|
||||
end
|
||||
def sas_definition_update_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::SasDefinitionUpdateParameters
|
||||
end
|
||||
def key_item
|
||||
Azure::KeyVault::V2016_10_01::Models::KeyItem
|
||||
end
|
||||
def secret_restore_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::SecretRestoreParameters
|
||||
end
|
||||
def sas_definition_attributes
|
||||
Azure::KeyVault::V2016_10_01::Models::SasDefinitionAttributes
|
||||
end
|
||||
def certificate_item
|
||||
Azure::KeyVault::V2016_10_01::Models::CertificateItem
|
||||
end
|
||||
def key_restore_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::KeyRestoreParameters
|
||||
end
|
||||
def key_properties
|
||||
Azure::KeyVault::V2016_10_01::Models::KeyProperties
|
||||
end
|
||||
def secret_set_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::SecretSetParameters
|
||||
end
|
||||
def subject_alternative_names
|
||||
Azure::KeyVault::V2016_10_01::Models::SubjectAlternativeNames
|
||||
end
|
||||
def secret_update_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::SecretUpdateParameters
|
||||
end
|
||||
def trigger
|
||||
Azure::KeyVault::V2016_10_01::Models::Trigger
|
||||
end
|
||||
def certificate_create_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::CertificateCreateParameters
|
||||
end
|
||||
def lifetime_action
|
||||
Azure::KeyVault::V2016_10_01::Models::LifetimeAction
|
||||
end
|
||||
def certificate_import_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::CertificateImportParameters
|
||||
end
|
||||
def certificate_policy
|
||||
Azure::KeyVault::V2016_10_01::Models::CertificatePolicy
|
||||
end
|
||||
def certificate_update_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::CertificateUpdateParameters
|
||||
end
|
||||
def sas_definition_item
|
||||
Azure::KeyVault::V2016_10_01::Models::SasDefinitionItem
|
||||
end
|
||||
def certificate_merge_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::CertificateMergeParameters
|
||||
end
|
||||
def error
|
||||
Azure::KeyVault::V2016_10_01::Models::Error
|
||||
end
|
||||
def certificate_issuer_set_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::CertificateIssuerSetParameters
|
||||
end
|
||||
def issuer_credentials
|
||||
Azure::KeyVault::V2016_10_01::Models::IssuerCredentials
|
||||
end
|
||||
def certificate_issuer_update_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::CertificateIssuerUpdateParameters
|
||||
end
|
||||
def organization_details
|
||||
Azure::KeyVault::V2016_10_01::Models::OrganizationDetails
|
||||
end
|
||||
def certificate_operation_update_parameter
|
||||
Azure::KeyVault::V2016_10_01::Models::CertificateOperationUpdateParameter
|
||||
end
|
||||
def issuer_bundle
|
||||
Azure::KeyVault::V2016_10_01::Models::IssuerBundle
|
||||
end
|
||||
def key_operation_result
|
||||
Azure::KeyVault::V2016_10_01::Models::KeyOperationResult
|
||||
end
|
||||
def contacts
|
||||
Azure::KeyVault::V2016_10_01::Models::Contacts
|
||||
end
|
||||
def key_verify_result
|
||||
Azure::KeyVault::V2016_10_01::Models::KeyVerifyResult
|
||||
end
|
||||
def key_list_result
|
||||
Azure::KeyVault::V2016_10_01::Models::KeyListResult
|
||||
end
|
||||
def sas_definition_create_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::SasDefinitionCreateParameters
|
||||
end
|
||||
def deleted_key_list_result
|
||||
Azure::KeyVault::V2016_10_01::Models::DeletedKeyListResult
|
||||
end
|
||||
def certificate_issuer_item
|
||||
Azure::KeyVault::V2016_10_01::Models::CertificateIssuerItem
|
||||
end
|
||||
def secret_list_result
|
||||
Azure::KeyVault::V2016_10_01::Models::SecretListResult
|
||||
end
|
||||
def x509_certificate_properties
|
||||
Azure::KeyVault::V2016_10_01::Models::X509CertificateProperties
|
||||
end
|
||||
def deleted_secret_list_result
|
||||
Azure::KeyVault::V2016_10_01::Models::DeletedSecretListResult
|
||||
end
|
||||
def issuer_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::IssuerParameters
|
||||
end
|
||||
def certificate_list_result
|
||||
Azure::KeyVault::V2016_10_01::Models::CertificateListResult
|
||||
end
|
||||
def sas_definition_bundle
|
||||
Azure::KeyVault::V2016_10_01::Models::SasDefinitionBundle
|
||||
end
|
||||
def deleted_certificate_list_result
|
||||
Azure::KeyVault::V2016_10_01::Models::DeletedCertificateListResult
|
||||
end
|
||||
def administrator_details
|
||||
Azure::KeyVault::V2016_10_01::Models::AdministratorDetails
|
||||
end
|
||||
def certificate_issuer_list_result
|
||||
Azure::KeyVault::V2016_10_01::Models::CertificateIssuerListResult
|
||||
end
|
||||
def contact
|
||||
Azure::KeyVault::V2016_10_01::Models::Contact
|
||||
end
|
||||
def backup_key_result
|
||||
Azure::KeyVault::V2016_10_01::Models::BackupKeyResult
|
||||
end
|
||||
def secret_item
|
||||
Azure::KeyVault::V2016_10_01::Models::SecretItem
|
||||
end
|
||||
def backup_secret_result
|
||||
Azure::KeyVault::V2016_10_01::Models::BackupSecretResult
|
||||
end
|
||||
def secret_properties
|
||||
Azure::KeyVault::V2016_10_01::Models::SecretProperties
|
||||
end
|
||||
def pending_certificate_signing_request_result
|
||||
Azure::KeyVault::V2016_10_01::Models::PendingCertificateSigningRequestResult
|
||||
end
|
||||
def certificate_bundle
|
||||
Azure::KeyVault::V2016_10_01::Models::CertificateBundle
|
||||
end
|
||||
def storage_account_attributes
|
||||
Azure::KeyVault::V2016_10_01::Models::StorageAccountAttributes
|
||||
end
|
||||
def issuer_attributes
|
||||
Azure::KeyVault::V2016_10_01::Models::IssuerAttributes
|
||||
end
|
||||
def storage_bundle
|
||||
Azure::KeyVault::V2016_10_01::Models::StorageBundle
|
||||
end
|
||||
def sas_definition_list_result
|
||||
Azure::KeyVault::V2016_10_01::Models::SasDefinitionListResult
|
||||
end
|
||||
def storage_account_create_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::StorageAccountCreateParameters
|
||||
end
|
||||
def certificate_operation
|
||||
Azure::KeyVault::V2016_10_01::Models::CertificateOperation
|
||||
end
|
||||
def storage_account_update_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::StorageAccountUpdateParameters
|
||||
end
|
||||
def action
|
||||
Azure::KeyVault::V2016_10_01::Models::Action
|
||||
end
|
||||
def storage_account_regenerte_key_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::StorageAccountRegenerteKeyParameters
|
||||
end
|
||||
def key_create_parameters
|
||||
Azure::KeyVault::V2016_10_01::Models::KeyCreateParameters
|
||||
end
|
||||
def storage_account_item
|
||||
Azure::KeyVault::V2016_10_01::Models::StorageAccountItem
|
||||
end
|
||||
def key_attributes
|
||||
Azure::KeyVault::V2016_10_01::Models::KeyAttributes
|
||||
end
|
||||
def deleted_key_bundle
|
||||
Azure::KeyVault::V2016_10_01::Models::DeletedKeyBundle
|
||||
end
|
||||
def deleted_key_item
|
||||
Azure::KeyVault::V2016_10_01::Models::DeletedKeyItem
|
||||
end
|
||||
def secret_attributes
|
||||
Azure::KeyVault::V2016_10_01::Models::SecretAttributes
|
||||
end
|
||||
def deleted_secret_bundle
|
||||
Azure::KeyVault::V2016_10_01::Models::DeletedSecretBundle
|
||||
end
|
||||
def deleted_secret_item
|
||||
Azure::KeyVault::V2016_10_01::Models::DeletedSecretItem
|
||||
end
|
||||
def certificate_attributes
|
||||
Azure::KeyVault::V2016_10_01::Models::CertificateAttributes
|
||||
end
|
||||
def deleted_certificate_bundle
|
||||
Azure::KeyVault::V2016_10_01::Models::DeletedCertificateBundle
|
||||
end
|
||||
def deleted_certificate_item
|
||||
Azure::KeyVault::V2016_10_01::Models::DeletedCertificateItem
|
||||
end
|
||||
def json_web_key_type
|
||||
Azure::KeyVault::V2016_10_01::Models::JsonWebKeyType
|
||||
end
|
||||
def json_web_key_curve_name
|
||||
Azure::KeyVault::V2016_10_01::Models::JsonWebKeyCurveName
|
||||
end
|
||||
def deletion_recovery_level
|
||||
Azure::KeyVault::V2016_10_01::Models::DeletionRecoveryLevel
|
||||
end
|
||||
def key_usage_type
|
||||
Azure::KeyVault::V2016_10_01::Models::KeyUsageType
|
||||
end
|
||||
def action_type
|
||||
Azure::KeyVault::V2016_10_01::Models::ActionType
|
||||
end
|
||||
def json_web_key_operation
|
||||
Azure::KeyVault::V2016_10_01::Models::JsonWebKeyOperation
|
||||
end
|
||||
def json_web_key_encryption_algorithm
|
||||
Azure::KeyVault::V2016_10_01::Models::JsonWebKeyEncryptionAlgorithm
|
||||
end
|
||||
def json_web_key_signature_algorithm
|
||||
Azure::KeyVault::V2016_10_01::Models::JsonWebKeySignatureAlgorithm
|
||||
end
|
||||
end
|
||||
end
|
||||
module Mgmt
|
||||
Vaults = Azure::KeyVault::Mgmt::V2019_09_01::Vaults
|
||||
PrivateEndpointConnections = Azure::KeyVault::Mgmt::V2019_09_01::PrivateEndpointConnections
|
||||
PrivateLinkResources = Azure::KeyVault::Mgmt::V2019_09_01::PrivateLinkResources
|
||||
Operations = Azure::KeyVault::Mgmt::V2019_09_01::Operations
|
||||
Keys = Azure::KeyVault::Mgmt::V2019_09_01::Keys
|
||||
|
||||
module Models
|
||||
DeletedVault = Azure::KeyVault::Mgmt::V2019_09_01::Models::DeletedVault
|
||||
VaultListResult = Azure::KeyVault::Mgmt::V2019_09_01::Models::VaultListResult
|
||||
DeletedVaultListResult = Azure::KeyVault::Mgmt::V2019_09_01::Models::DeletedVaultListResult
|
||||
Permissions = Azure::KeyVault::Mgmt::V2019_09_01::Models::Permissions
|
||||
Resource = Azure::KeyVault::Mgmt::V2019_09_01::Models::Resource
|
||||
IPRule = Azure::KeyVault::Mgmt::V2019_09_01::Models::IPRule
|
||||
ResourceListResult = Azure::KeyVault::Mgmt::V2019_09_01::Models::ResourceListResult
|
||||
NetworkRuleSet = Azure::KeyVault::Mgmt::V2019_09_01::Models::NetworkRuleSet
|
||||
VaultCheckNameAvailabilityParameters = Azure::KeyVault::Mgmt::V2019_09_01::Models::VaultCheckNameAvailabilityParameters
|
||||
PrivateLinkServiceConnectionState = Azure::KeyVault::Mgmt::V2019_09_01::Models::PrivateLinkServiceConnectionState
|
||||
CheckNameAvailabilityResult = Azure::KeyVault::Mgmt::V2019_09_01::Models::CheckNameAvailabilityResult
|
||||
VaultProperties = Azure::KeyVault::Mgmt::V2019_09_01::Models::VaultProperties
|
||||
PrivateEndpointConnectionItem = Azure::KeyVault::Mgmt::V2019_09_01::Models::PrivateEndpointConnectionItem
|
||||
VaultAccessPolicyProperties = Azure::KeyVault::Mgmt::V2019_09_01::Models::VaultAccessPolicyProperties
|
||||
VaultPatchProperties = Azure::KeyVault::Mgmt::V2019_09_01::Models::VaultPatchProperties
|
||||
VaultCreateOrUpdateParameters = Azure::KeyVault::Mgmt::V2019_09_01::Models::VaultCreateOrUpdateParameters
|
||||
KeyListResult = Azure::KeyVault::Mgmt::V2019_09_01::Models::KeyListResult
|
||||
VaultAccessPolicyParameters = Azure::KeyVault::Mgmt::V2019_09_01::Models::VaultAccessPolicyParameters
|
||||
KeyCreateParameters = Azure::KeyVault::Mgmt::V2019_09_01::Models::KeyCreateParameters
|
||||
PrivateLinkResourceListResult = Azure::KeyVault::Mgmt::V2019_09_01::Models::PrivateLinkResourceListResult
|
||||
AccessPolicyEntry = Azure::KeyVault::Mgmt::V2019_09_01::Models::AccessPolicyEntry
|
||||
OperationDisplay = Azure::KeyVault::Mgmt::V2019_09_01::Models::OperationDisplay
|
||||
PrivateEndpoint = Azure::KeyVault::Mgmt::V2019_09_01::Models::PrivateEndpoint
|
||||
LogSpecification = Azure::KeyVault::Mgmt::V2019_09_01::Models::LogSpecification
|
||||
VaultPatchParameters = Azure::KeyVault::Mgmt::V2019_09_01::Models::VaultPatchParameters
|
||||
ServiceSpecification = Azure::KeyVault::Mgmt::V2019_09_01::Models::ServiceSpecification
|
||||
Sku = Azure::KeyVault::Mgmt::V2019_09_01::Models::Sku
|
||||
Operation = Azure::KeyVault::Mgmt::V2019_09_01::Models::Operation
|
||||
DeletedVaultProperties = Azure::KeyVault::Mgmt::V2019_09_01::Models::DeletedVaultProperties
|
||||
OperationListResult = Azure::KeyVault::Mgmt::V2019_09_01::Models::OperationListResult
|
||||
VirtualNetworkRule = Azure::KeyVault::Mgmt::V2019_09_01::Models::VirtualNetworkRule
|
||||
Attributes = Azure::KeyVault::Mgmt::V2019_09_01::Models::Attributes
|
||||
Vault = Azure::KeyVault::Mgmt::V2019_09_01::Models::Vault
|
||||
KeyProperties = Azure::KeyVault::Mgmt::V2019_09_01::Models::KeyProperties
|
||||
PrivateEndpointConnection = Azure::KeyVault::Mgmt::V2019_09_01::Models::PrivateEndpointConnection
|
||||
PrivateLinkResource = Azure::KeyVault::Mgmt::V2019_09_01::Models::PrivateLinkResource
|
||||
KeyAttributes = Azure::KeyVault::Mgmt::V2019_09_01::Models::KeyAttributes
|
||||
Key = Azure::KeyVault::Mgmt::V2019_09_01::Models::Key
|
||||
SkuName = Azure::KeyVault::Mgmt::V2019_09_01::Models::SkuName
|
||||
KeyPermissions = Azure::KeyVault::Mgmt::V2019_09_01::Models::KeyPermissions
|
||||
SecretPermissions = Azure::KeyVault::Mgmt::V2019_09_01::Models::SecretPermissions
|
||||
CertificatePermissions = Azure::KeyVault::Mgmt::V2019_09_01::Models::CertificatePermissions
|
||||
StoragePermissions = Azure::KeyVault::Mgmt::V2019_09_01::Models::StoragePermissions
|
||||
CreateMode = Azure::KeyVault::Mgmt::V2019_09_01::Models::CreateMode
|
||||
NetworkRuleBypassOptions = Azure::KeyVault::Mgmt::V2019_09_01::Models::NetworkRuleBypassOptions
|
||||
NetworkRuleAction = Azure::KeyVault::Mgmt::V2019_09_01::Models::NetworkRuleAction
|
||||
PrivateEndpointServiceConnectionStatus = Azure::KeyVault::Mgmt::V2019_09_01::Models::PrivateEndpointServiceConnectionStatus
|
||||
PrivateEndpointConnectionProvisioningState = Azure::KeyVault::Mgmt::V2019_09_01::Models::PrivateEndpointConnectionProvisioningState
|
||||
Reason = Azure::KeyVault::Mgmt::V2019_09_01::Models::Reason
|
||||
DeletionRecoveryLevel = Azure::KeyVault::Mgmt::V2019_09_01::Models::DeletionRecoveryLevel
|
||||
JsonWebKeyType = Azure::KeyVault::Mgmt::V2019_09_01::Models::JsonWebKeyType
|
||||
JsonWebKeyOperation = Azure::KeyVault::Mgmt::V2019_09_01::Models::JsonWebKeyOperation
|
||||
JsonWebKeyCurveName = Azure::KeyVault::Mgmt::V2019_09_01::Models::JsonWebKeyCurveName
|
||||
AccessPolicyUpdateKind = Azure::KeyVault::Mgmt::V2019_09_01::Models::AccessPolicyUpdateKind
|
||||
end
|
||||
|
||||
class KeyVaultManagementClass
|
||||
attr_reader :vaults, :private_endpoint_connections, :private_link_resources, :operations, :keys, :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::KeyVault::Mgmt::V2019_09_01::KeyVaultManagementClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_0.respond_to?(:subscription_id))
|
||||
@client_0.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_0)
|
||||
@vaults = @client_0.vaults
|
||||
@private_endpoint_connections = @client_0.private_endpoint_connections
|
||||
@private_link_resources = @client_0.private_link_resources
|
||||
@operations = @client_0.operations
|
||||
@keys = @client_0.keys
|
||||
|
||||
@model_classes = ModelClasses.new
|
||||
end
|
||||
|
||||
def add_telemetry(client)
|
||||
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2020_09_01_Hybrid/KeyVault/Mgmt"
|
||||
client.add_user_agent_information(profile_information)
|
||||
end
|
||||
|
||||
def method_missing(method, *args)
|
||||
if @client_0.respond_to?method
|
||||
@client_0.send(method, *args)
|
||||
else
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
class ModelClasses
|
||||
def deleted_vault
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::DeletedVault
|
||||
end
|
||||
def vault_list_result
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::VaultListResult
|
||||
end
|
||||
def deleted_vault_list_result
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::DeletedVaultListResult
|
||||
end
|
||||
def permissions
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::Permissions
|
||||
end
|
||||
def resource
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::Resource
|
||||
end
|
||||
def iprule
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::IPRule
|
||||
end
|
||||
def resource_list_result
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::ResourceListResult
|
||||
end
|
||||
def network_rule_set
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::NetworkRuleSet
|
||||
end
|
||||
def vault_check_name_availability_parameters
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::VaultCheckNameAvailabilityParameters
|
||||
end
|
||||
def private_link_service_connection_state
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::PrivateLinkServiceConnectionState
|
||||
end
|
||||
def check_name_availability_result
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::CheckNameAvailabilityResult
|
||||
end
|
||||
def vault_properties
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::VaultProperties
|
||||
end
|
||||
def private_endpoint_connection_item
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::PrivateEndpointConnectionItem
|
||||
end
|
||||
def vault_access_policy_properties
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::VaultAccessPolicyProperties
|
||||
end
|
||||
def vault_patch_properties
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::VaultPatchProperties
|
||||
end
|
||||
def vault_create_or_update_parameters
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::VaultCreateOrUpdateParameters
|
||||
end
|
||||
def key_list_result
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::KeyListResult
|
||||
end
|
||||
def vault_access_policy_parameters
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::VaultAccessPolicyParameters
|
||||
end
|
||||
def key_create_parameters
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::KeyCreateParameters
|
||||
end
|
||||
def private_link_resource_list_result
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::PrivateLinkResourceListResult
|
||||
end
|
||||
def access_policy_entry
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::AccessPolicyEntry
|
||||
end
|
||||
def operation_display
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::OperationDisplay
|
||||
end
|
||||
def private_endpoint
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::PrivateEndpoint
|
||||
end
|
||||
def log_specification
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::LogSpecification
|
||||
end
|
||||
def vault_patch_parameters
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::VaultPatchParameters
|
||||
end
|
||||
def service_specification
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::ServiceSpecification
|
||||
end
|
||||
def sku
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::Sku
|
||||
end
|
||||
def operation
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::Operation
|
||||
end
|
||||
def deleted_vault_properties
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::DeletedVaultProperties
|
||||
end
|
||||
def operation_list_result
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::OperationListResult
|
||||
end
|
||||
def virtual_network_rule
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::VirtualNetworkRule
|
||||
end
|
||||
def attributes
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::Attributes
|
||||
end
|
||||
def vault
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::Vault
|
||||
end
|
||||
def key_properties
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::KeyProperties
|
||||
end
|
||||
def private_endpoint_connection
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::PrivateEndpointConnection
|
||||
end
|
||||
def private_link_resource
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::PrivateLinkResource
|
||||
end
|
||||
def key_attributes
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::KeyAttributes
|
||||
end
|
||||
def key
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::Key
|
||||
end
|
||||
def sku_name
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::SkuName
|
||||
end
|
||||
def key_permissions
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::KeyPermissions
|
||||
end
|
||||
def secret_permissions
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::SecretPermissions
|
||||
end
|
||||
def certificate_permissions
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::CertificatePermissions
|
||||
end
|
||||
def storage_permissions
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::StoragePermissions
|
||||
end
|
||||
def create_mode
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::CreateMode
|
||||
end
|
||||
def network_rule_bypass_options
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::NetworkRuleBypassOptions
|
||||
end
|
||||
def network_rule_action
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::NetworkRuleAction
|
||||
end
|
||||
def private_endpoint_service_connection_status
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::PrivateEndpointServiceConnectionStatus
|
||||
end
|
||||
def private_endpoint_connection_provisioning_state
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::PrivateEndpointConnectionProvisioningState
|
||||
end
|
||||
def reason
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::Reason
|
||||
end
|
||||
def deletion_recovery_level
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::DeletionRecoveryLevel
|
||||
end
|
||||
def json_web_key_type
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::JsonWebKeyType
|
||||
end
|
||||
def json_web_key_operation
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::JsonWebKeyOperation
|
||||
end
|
||||
def json_web_key_curve_name
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::JsonWebKeyCurveName
|
||||
end
|
||||
def access_policy_update_kind
|
||||
Azure::KeyVault::Mgmt::V2019_09_01::Models::AccessPolicyUpdateKind
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,79 @@
|
|||
# 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_locks'
|
||||
|
||||
module Azure::Profiles::V2020_09_01_Hybrid
|
||||
module Locks
|
||||
module Mgmt
|
||||
AuthorizationOperations = Azure::Locks::Mgmt::V2016_09_01::AuthorizationOperations
|
||||
ManagementLocks = Azure::Locks::Mgmt::V2016_09_01::ManagementLocks
|
||||
|
||||
module Models
|
||||
OperationDisplay = Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay
|
||||
ManagementLockOwner = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner
|
||||
Operation = Azure::Locks::Mgmt::V2016_09_01::Models::Operation
|
||||
ManagementLockListResult = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult
|
||||
OperationListResult = Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult
|
||||
ManagementLockObject = Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject
|
||||
LockLevel = Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel
|
||||
end
|
||||
|
||||
class LocksManagementClass
|
||||
attr_reader :authorization_operations, :management_locks, :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::Locks::Mgmt::V2016_09_01::ManagementLockClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_0.respond_to?(:subscription_id))
|
||||
@client_0.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_0)
|
||||
@authorization_operations = @client_0.authorization_operations
|
||||
@management_locks = @client_0.management_locks
|
||||
|
||||
@model_classes = ModelClasses.new
|
||||
end
|
||||
|
||||
def add_telemetry(client)
|
||||
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2020_09_01_Hybrid/Locks/Mgmt"
|
||||
client.add_user_agent_information(profile_information)
|
||||
end
|
||||
|
||||
def method_missing(method, *args)
|
||||
if @client_0.respond_to?method
|
||||
@client_0.send(method, *args)
|
||||
else
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
class ModelClasses
|
||||
def operation_display
|
||||
Azure::Locks::Mgmt::V2016_09_01::Models::OperationDisplay
|
||||
end
|
||||
def management_lock_owner
|
||||
Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockOwner
|
||||
end
|
||||
def operation
|
||||
Azure::Locks::Mgmt::V2016_09_01::Models::Operation
|
||||
end
|
||||
def management_lock_list_result
|
||||
Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockListResult
|
||||
end
|
||||
def operation_list_result
|
||||
Azure::Locks::Mgmt::V2016_09_01::Models::OperationListResult
|
||||
end
|
||||
def management_lock_object
|
||||
Azure::Locks::Mgmt::V2016_09_01::Models::ManagementLockObject
|
||||
end
|
||||
def lock_level
|
||||
Azure::Locks::Mgmt::V2016_09_01::Models::LockLevel
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,315 @@
|
|||
# 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_monitor'
|
||||
|
||||
module Azure::Profiles::V2020_09_01_Hybrid
|
||||
module Monitor
|
||||
module Mgmt
|
||||
ActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::ActivityLogs
|
||||
AutoscaleSettings = Azure::Monitor::Mgmt::V2015_04_01::AutoscaleSettings
|
||||
EventCategories = Azure::Monitor::Mgmt::V2015_04_01::EventCategories
|
||||
Operations = Azure::Monitor::Mgmt::V2015_04_01::Operations
|
||||
TenantActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::TenantActivityLogs
|
||||
DiagnosticSettingsCategoryOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsCategoryOperations
|
||||
DiagnosticSettingsOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsOperations
|
||||
SubscriptionDiagnosticSettingsOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::SubscriptionDiagnosticSettingsOperations
|
||||
MetricDefinitions = Azure::Monitor::Mgmt::V2018_01_01::MetricDefinitions
|
||||
Metrics = Azure::Monitor::Mgmt::V2018_01_01::Metrics
|
||||
|
||||
module Models
|
||||
RecurrentSchedule = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule
|
||||
Recurrence = Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence
|
||||
HttpRequestInfo = Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
|
||||
AutoscaleProfile = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile
|
||||
EventDataCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
|
||||
EmailNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification
|
||||
Resource = Azure::Monitor::Mgmt::V2015_04_01::Models::Resource
|
||||
WebhookNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification
|
||||
ScaleRuleMetricDimension = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRuleMetricDimension
|
||||
AutoscaleNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification
|
||||
ScaleAction = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleAction
|
||||
ScaleRule = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRule
|
||||
SenderAuthorization = Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization
|
||||
AutoscaleSettingResourcePatch = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourcePatch
|
||||
AutoscaleSettingResourceCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection
|
||||
MetricTrigger = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger
|
||||
EventCategoryCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventCategoryCollection
|
||||
EventData = Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
|
||||
OperationDisplay = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay
|
||||
TimeWindow = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow
|
||||
Operation = Azure::Monitor::Mgmt::V2015_04_01::Models::Operation
|
||||
ScaleCapacity = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
|
||||
OperationListResult = Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult
|
||||
AutoscaleSettingResource = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource
|
||||
EventLevel = Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel
|
||||
MetricStatisticType = Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType
|
||||
TimeAggregationType = Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType
|
||||
ComparisonOperationType = Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType
|
||||
ScaleRuleMetricDimensionOperationType = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRuleMetricDimensionOperationType
|
||||
ScaleDirection = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection
|
||||
ScaleType = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType
|
||||
RecurrenceFrequency = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrenceFrequency
|
||||
ProxyOnlyResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource
|
||||
DiagnosticSettingsCategoryResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection
|
||||
RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
|
||||
LogSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
|
||||
DiagnosticSettingsResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection
|
||||
SubscriptionProxyOnlyResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::SubscriptionProxyOnlyResource
|
||||
MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
|
||||
SubscriptionDiagnosticSettingsResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::SubscriptionDiagnosticSettingsResourceCollection
|
||||
SubscriptionLogSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::SubscriptionLogSettings
|
||||
DiagnosticSettingsCategoryResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource
|
||||
DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource
|
||||
SubscriptionDiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::SubscriptionDiagnosticSettingsResource
|
||||
CategoryType = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType
|
||||
MetricValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue
|
||||
LocalizableString = Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString
|
||||
MetadataValue = Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue
|
||||
MetricDefinition = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition
|
||||
TimeSeriesElement = Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement
|
||||
ErrorResponse = Azure::Monitor::Mgmt::V2018_01_01::Models::ErrorResponse
|
||||
Metric = Azure::Monitor::Mgmt::V2018_01_01::Models::Metric
|
||||
MetricDefinitionCollection = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection
|
||||
Response = Azure::Monitor::Mgmt::V2018_01_01::Models::Response
|
||||
MetricAvailability = Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability
|
||||
Unit = Azure::Monitor::Mgmt::V2018_01_01::Models::Unit
|
||||
AggregationType = Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType
|
||||
ResultType = Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType
|
||||
end
|
||||
|
||||
class MonitorManagementClass
|
||||
attr_reader :activity_logs, :autoscale_settings, :event_categories, :operations, :tenant_activity_logs, :diagnostic_settings_category_operations, :diagnostic_settings_operations, :subscription_diagnostic_settings_operations, :metric_definitions, :metrics, :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::Monitor::Mgmt::V2015_04_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_0.respond_to?(:subscription_id))
|
||||
@client_0.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_0)
|
||||
@activity_logs = @client_0.activity_logs
|
||||
@autoscale_settings = @client_0.autoscale_settings
|
||||
@event_categories = @client_0.event_categories
|
||||
@operations = @client_0.operations
|
||||
@tenant_activity_logs = @client_0.tenant_activity_logs
|
||||
|
||||
@client_1 = Azure::Monitor::Mgmt::V2017_05_01_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_1.respond_to?(:subscription_id))
|
||||
@client_1.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_1)
|
||||
@diagnostic_settings_category_operations = @client_1.diagnostic_settings_category_operations
|
||||
@diagnostic_settings_operations = @client_1.diagnostic_settings_operations
|
||||
@subscription_diagnostic_settings_operations = @client_1.subscription_diagnostic_settings_operations
|
||||
|
||||
@client_2 = Azure::Monitor::Mgmt::V2018_01_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_2.respond_to?(:subscription_id))
|
||||
@client_2.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_2)
|
||||
@metric_definitions = @client_2.metric_definitions
|
||||
@metrics = @client_2.metrics
|
||||
|
||||
@model_classes = ModelClasses.new
|
||||
end
|
||||
|
||||
def add_telemetry(client)
|
||||
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2020_09_01_Hybrid/Monitor/Mgmt"
|
||||
client.add_user_agent_information(profile_information)
|
||||
end
|
||||
|
||||
def method_missing(method, *args)
|
||||
if @client_2.respond_to?method
|
||||
@client_2.send(method, *args)
|
||||
elsif @client_1.respond_to?method
|
||||
@client_1.send(method, *args)
|
||||
elsif @client_0.respond_to?method
|
||||
@client_0.send(method, *args)
|
||||
else
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
class ModelClasses
|
||||
def recurrent_schedule
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule
|
||||
end
|
||||
def recurrence
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence
|
||||
end
|
||||
def http_request_info
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
|
||||
end
|
||||
def autoscale_profile
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile
|
||||
end
|
||||
def event_data_collection
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
|
||||
end
|
||||
def email_notification
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification
|
||||
end
|
||||
def resource
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::Resource
|
||||
end
|
||||
def webhook_notification
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification
|
||||
end
|
||||
def scale_rule_metric_dimension
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRuleMetricDimension
|
||||
end
|
||||
def autoscale_notification
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleNotification
|
||||
end
|
||||
def scale_action
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleAction
|
||||
end
|
||||
def scale_rule
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRule
|
||||
end
|
||||
def sender_authorization
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization
|
||||
end
|
||||
def autoscale_setting_resource_patch
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourcePatch
|
||||
end
|
||||
def autoscale_setting_resource_collection
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection
|
||||
end
|
||||
def metric_trigger
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::MetricTrigger
|
||||
end
|
||||
def event_category_collection
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::EventCategoryCollection
|
||||
end
|
||||
def event_data
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
|
||||
end
|
||||
def operation_display
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay
|
||||
end
|
||||
def time_window
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::TimeWindow
|
||||
end
|
||||
def operation
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::Operation
|
||||
end
|
||||
def scale_capacity
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
|
||||
end
|
||||
def operation_list_result
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult
|
||||
end
|
||||
def autoscale_setting_resource
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResource
|
||||
end
|
||||
def event_level
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::EventLevel
|
||||
end
|
||||
def metric_statistic_type
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::MetricStatisticType
|
||||
end
|
||||
def time_aggregation_type
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::TimeAggregationType
|
||||
end
|
||||
def comparison_operation_type
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::ComparisonOperationType
|
||||
end
|
||||
def scale_rule_metric_dimension_operation_type
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleRuleMetricDimensionOperationType
|
||||
end
|
||||
def scale_direction
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleDirection
|
||||
end
|
||||
def scale_type
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleType
|
||||
end
|
||||
def recurrence_frequency
|
||||
Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrenceFrequency
|
||||
end
|
||||
def proxy_only_resource
|
||||
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource
|
||||
end
|
||||
def diagnostic_settings_category_resource_collection
|
||||
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection
|
||||
end
|
||||
def retention_policy
|
||||
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
|
||||
end
|
||||
def log_settings
|
||||
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
|
||||
end
|
||||
def diagnostic_settings_resource_collection
|
||||
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection
|
||||
end
|
||||
def subscription_proxy_only_resource
|
||||
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::SubscriptionProxyOnlyResource
|
||||
end
|
||||
def metric_settings
|
||||
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
|
||||
end
|
||||
def subscription_diagnostic_settings_resource_collection
|
||||
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::SubscriptionDiagnosticSettingsResourceCollection
|
||||
end
|
||||
def subscription_log_settings
|
||||
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::SubscriptionLogSettings
|
||||
end
|
||||
def diagnostic_settings_category_resource
|
||||
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource
|
||||
end
|
||||
def diagnostic_settings_resource
|
||||
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource
|
||||
end
|
||||
def subscription_diagnostic_settings_resource
|
||||
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::SubscriptionDiagnosticSettingsResource
|
||||
end
|
||||
def category_type
|
||||
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::CategoryType
|
||||
end
|
||||
def metric_value
|
||||
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricValue
|
||||
end
|
||||
def localizable_string
|
||||
Azure::Monitor::Mgmt::V2018_01_01::Models::LocalizableString
|
||||
end
|
||||
def metadata_value
|
||||
Azure::Monitor::Mgmt::V2018_01_01::Models::MetadataValue
|
||||
end
|
||||
def metric_definition
|
||||
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinition
|
||||
end
|
||||
def time_series_element
|
||||
Azure::Monitor::Mgmt::V2018_01_01::Models::TimeSeriesElement
|
||||
end
|
||||
def error_response
|
||||
Azure::Monitor::Mgmt::V2018_01_01::Models::ErrorResponse
|
||||
end
|
||||
def metric
|
||||
Azure::Monitor::Mgmt::V2018_01_01::Models::Metric
|
||||
end
|
||||
def metric_definition_collection
|
||||
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricDefinitionCollection
|
||||
end
|
||||
def response
|
||||
Azure::Monitor::Mgmt::V2018_01_01::Models::Response
|
||||
end
|
||||
def metric_availability
|
||||
Azure::Monitor::Mgmt::V2018_01_01::Models::MetricAvailability
|
||||
end
|
||||
def unit
|
||||
Azure::Monitor::Mgmt::V2018_01_01::Models::Unit
|
||||
end
|
||||
def aggregation_type
|
||||
Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType
|
||||
end
|
||||
def result_type
|
||||
Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,75 @@
|
|||
# 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_policy'
|
||||
|
||||
module Azure::Profiles::V2020_09_01_Hybrid
|
||||
module Policy
|
||||
module Mgmt
|
||||
PolicyDefinitions = Azure::Policy::Mgmt::V2016_12_01::PolicyDefinitions
|
||||
PolicyAssignments = Azure::Policy::Mgmt::V2016_12_01::PolicyAssignments
|
||||
|
||||
module Models
|
||||
PolicyAssignment = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignment
|
||||
PolicyDefinition = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition
|
||||
PolicyAssignmentListResult = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignmentListResult
|
||||
PolicyDefinitionListResult = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinitionListResult
|
||||
PolicyType = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyType
|
||||
PolicyMode = Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode
|
||||
end
|
||||
|
||||
class PolicyManagementClass
|
||||
attr_reader :policy_definitions, :policy_assignments, :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::Policy::Mgmt::V2016_12_01::PolicyClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_0.respond_to?(:subscription_id))
|
||||
@client_0.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_0)
|
||||
@policy_definitions = @client_0.policy_definitions
|
||||
@policy_assignments = @client_0.policy_assignments
|
||||
|
||||
@model_classes = ModelClasses.new
|
||||
end
|
||||
|
||||
def add_telemetry(client)
|
||||
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2020_09_01_Hybrid/Policy/Mgmt"
|
||||
client.add_user_agent_information(profile_information)
|
||||
end
|
||||
|
||||
def method_missing(method, *args)
|
||||
if @client_0.respond_to?method
|
||||
@client_0.send(method, *args)
|
||||
else
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
class ModelClasses
|
||||
def policy_assignment
|
||||
Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignment
|
||||
end
|
||||
def policy_definition
|
||||
Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinition
|
||||
end
|
||||
def policy_assignment_list_result
|
||||
Azure::Policy::Mgmt::V2016_12_01::Models::PolicyAssignmentListResult
|
||||
end
|
||||
def policy_definition_list_result
|
||||
Azure::Policy::Mgmt::V2016_12_01::Models::PolicyDefinitionListResult
|
||||
end
|
||||
def policy_type
|
||||
Azure::Policy::Mgmt::V2016_12_01::Models::PolicyType
|
||||
end
|
||||
def policy_mode
|
||||
Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,387 @@
|
|||
# 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_resources'
|
||||
|
||||
module Azure::Profiles::V2020_09_01_Hybrid
|
||||
module Resources
|
||||
module Mgmt
|
||||
Tags = Azure::Resources::Mgmt::V2018_05_01::Tags
|
||||
Operations = Azure::Resources::Mgmt::V2019_10_01::Operations
|
||||
Deployments = Azure::Resources::Mgmt::V2019_10_01::Deployments
|
||||
Providers = Azure::Resources::Mgmt::V2019_10_01::Providers
|
||||
Resources = Azure::Resources::Mgmt::V2019_10_01::Resources
|
||||
ResourceGroups = Azure::Resources::Mgmt::V2019_10_01::ResourceGroups
|
||||
TagsOperations = Azure::Resources::Mgmt::V2019_10_01::TagsOperations
|
||||
DeploymentOperations = Azure::Resources::Mgmt::V2019_10_01::DeploymentOperations
|
||||
|
||||
module Models
|
||||
ResourceManagementErrorWithDetails = Azure::Resources::Mgmt::V2018_05_01::Models::ResourceManagementErrorWithDetails
|
||||
AliasPathType = Azure::Resources::Mgmt::V2018_05_01::Models::AliasPathType
|
||||
Sku = Azure::Resources::Mgmt::V2019_10_01::Models::Sku
|
||||
IdentityUserAssignedIdentitiesValue = Azure::Resources::Mgmt::V2019_10_01::Models::IdentityUserAssignedIdentitiesValue
|
||||
GenericResourceFilter = Azure::Resources::Mgmt::V2019_10_01::Models::GenericResourceFilter
|
||||
Identity = Azure::Resources::Mgmt::V2019_10_01::Models::Identity
|
||||
TemplateLink = Azure::Resources::Mgmt::V2019_10_01::Models::TemplateLink
|
||||
ParametersLink = Azure::Resources::Mgmt::V2019_10_01::Models::ParametersLink
|
||||
DebugSetting = Azure::Resources::Mgmt::V2019_10_01::Models::DebugSetting
|
||||
TagsResource = Azure::Resources::Mgmt::V2019_10_01::Models::TagsResource
|
||||
DeploymentProperties = Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentProperties
|
||||
TagsPatchResource = Azure::Resources::Mgmt::V2019_10_01::Models::TagsPatchResource
|
||||
ScopedDeployment = Azure::Resources::Mgmt::V2019_10_01::Models::ScopedDeployment
|
||||
ResourceListResult = Azure::Resources::Mgmt::V2019_10_01::Models::ResourceListResult
|
||||
DeploymentWhatIfSettings = Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentWhatIfSettings
|
||||
ResourceGroupProperties = Azure::Resources::Mgmt::V2019_10_01::Models::ResourceGroupProperties
|
||||
DeploymentWhatIf = Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentWhatIf
|
||||
ResourceGroup = Azure::Resources::Mgmt::V2019_10_01::Models::ResourceGroup
|
||||
ErrorAdditionalInfo = Azure::Resources::Mgmt::V2019_10_01::Models::ErrorAdditionalInfo
|
||||
ResourceGroupPatchable = Azure::Resources::Mgmt::V2019_10_01::Models::ResourceGroupPatchable
|
||||
ResourceGroupListResult = Azure::Resources::Mgmt::V2019_10_01::Models::ResourceGroupListResult
|
||||
AliasPath = Azure::Resources::Mgmt::V2019_10_01::Models::AliasPath
|
||||
ResourcesMoveInfo = Azure::Resources::Mgmt::V2019_10_01::Models::ResourcesMoveInfo
|
||||
ProviderResourceType = Azure::Resources::Mgmt::V2019_10_01::Models::ProviderResourceType
|
||||
ExportTemplateRequest = Azure::Resources::Mgmt::V2019_10_01::Models::ExportTemplateRequest
|
||||
BasicDependency = Azure::Resources::Mgmt::V2019_10_01::Models::BasicDependency
|
||||
TagCount = Azure::Resources::Mgmt::V2019_10_01::Models::TagCount
|
||||
OnErrorDeploymentExtended = Azure::Resources::Mgmt::V2019_10_01::Models::OnErrorDeploymentExtended
|
||||
TagValue = Azure::Resources::Mgmt::V2019_10_01::Models::TagValue
|
||||
DeploymentPropertiesExtended = Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentPropertiesExtended
|
||||
TagDetails = Azure::Resources::Mgmt::V2019_10_01::Models::TagDetails
|
||||
DeploymentExtended = Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentExtended
|
||||
TagsListResult = Azure::Resources::Mgmt::V2019_10_01::Models::TagsListResult
|
||||
ProviderListResult = Azure::Resources::Mgmt::V2019_10_01::Models::ProviderListResult
|
||||
TargetResource = Azure::Resources::Mgmt::V2019_10_01::Models::TargetResource
|
||||
DeploymentExtendedFilter = Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentExtendedFilter
|
||||
HttpMessage = Azure::Resources::Mgmt::V2019_10_01::Models::HttpMessage
|
||||
OnErrorDeployment = Azure::Resources::Mgmt::V2019_10_01::Models::OnErrorDeployment
|
||||
DeploymentOperationProperties = Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentOperationProperties
|
||||
DeploymentExportResult = Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentExportResult
|
||||
DeploymentOperation = Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentOperation
|
||||
ScopedDeploymentWhatIf = Azure::Resources::Mgmt::V2019_10_01::Models::ScopedDeploymentWhatIf
|
||||
DeploymentOperationsListResult = Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentOperationsListResult
|
||||
AliasPattern = Azure::Resources::Mgmt::V2019_10_01::Models::AliasPattern
|
||||
ResourceProviderOperationDisplayProperties = Azure::Resources::Mgmt::V2019_10_01::Models::ResourceProviderOperationDisplayProperties
|
||||
Provider = Azure::Resources::Mgmt::V2019_10_01::Models::Provider
|
||||
Resource = Azure::Resources::Mgmt::V2019_10_01::Models::Resource
|
||||
ResourceReference = Azure::Resources::Mgmt::V2019_10_01::Models::ResourceReference
|
||||
SubResource = Azure::Resources::Mgmt::V2019_10_01::Models::SubResource
|
||||
DeploymentListResult = Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentListResult
|
||||
ResourceGroupExportResult = Azure::Resources::Mgmt::V2019_10_01::Models::ResourceGroupExportResult
|
||||
ResourceGroupFilter = Azure::Resources::Mgmt::V2019_10_01::Models::ResourceGroupFilter
|
||||
OperationDisplay = Azure::Resources::Mgmt::V2019_10_01::Models::OperationDisplay
|
||||
Tags = Azure::Resources::Mgmt::V2019_10_01::Models::Tags
|
||||
ErrorResponse = Azure::Resources::Mgmt::V2019_10_01::Models::ErrorResponse
|
||||
Operation = Azure::Resources::Mgmt::V2019_10_01::Models::Operation
|
||||
Dependency = Azure::Resources::Mgmt::V2019_10_01::Models::Dependency
|
||||
OperationListResult = Azure::Resources::Mgmt::V2019_10_01::Models::OperationListResult
|
||||
Plan = Azure::Resources::Mgmt::V2019_10_01::Models::Plan
|
||||
TemplateHashResult = Azure::Resources::Mgmt::V2019_10_01::Models::TemplateHashResult
|
||||
AliasModel = Azure::Resources::Mgmt::V2019_10_01::Models::AliasModel
|
||||
WhatIfPropertyChange = Azure::Resources::Mgmt::V2019_10_01::Models::WhatIfPropertyChange
|
||||
Deployment = Azure::Resources::Mgmt::V2019_10_01::Models::Deployment
|
||||
WhatIfChange = Azure::Resources::Mgmt::V2019_10_01::Models::WhatIfChange
|
||||
DeploymentValidateResult = Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentValidateResult
|
||||
WhatIfOperationResult = Azure::Resources::Mgmt::V2019_10_01::Models::WhatIfOperationResult
|
||||
DeploymentWhatIfProperties = Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentWhatIfProperties
|
||||
GenericResource = Azure::Resources::Mgmt::V2019_10_01::Models::GenericResource
|
||||
GenericResourceExpanded = Azure::Resources::Mgmt::V2019_10_01::Models::GenericResourceExpanded
|
||||
DeploymentMode = Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentMode
|
||||
OnErrorDeploymentType = Azure::Resources::Mgmt::V2019_10_01::Models::OnErrorDeploymentType
|
||||
WhatIfResultFormat = Azure::Resources::Mgmt::V2019_10_01::Models::WhatIfResultFormat
|
||||
AliasPatternType = Azure::Resources::Mgmt::V2019_10_01::Models::AliasPatternType
|
||||
AliasType = Azure::Resources::Mgmt::V2019_10_01::Models::AliasType
|
||||
ResourceIdentityType = Azure::Resources::Mgmt::V2019_10_01::Models::ResourceIdentityType
|
||||
ProvisioningOperation = Azure::Resources::Mgmt::V2019_10_01::Models::ProvisioningOperation
|
||||
PropertyChangeType = Azure::Resources::Mgmt::V2019_10_01::Models::PropertyChangeType
|
||||
ChangeType = Azure::Resources::Mgmt::V2019_10_01::Models::ChangeType
|
||||
TagsPatchOperation = Azure::Resources::Mgmt::V2019_10_01::Models::TagsPatchOperation
|
||||
end
|
||||
|
||||
class ResourcesManagementClass
|
||||
attr_reader :tags, :operations, :deployments, :providers, :resources, :resource_groups, :tags_operations, :deployment_operations, :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::Resources::Mgmt::V2018_05_01::ResourceManagementClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_0.respond_to?(:subscription_id))
|
||||
@client_0.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_0)
|
||||
@tags = @client_0.tags
|
||||
|
||||
@client_1 = Azure::Resources::Mgmt::V2019_10_01::ResourceManagementClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_1.respond_to?(:subscription_id))
|
||||
@client_1.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_1)
|
||||
@operations = @client_1.operations
|
||||
@deployments = @client_1.deployments
|
||||
@providers = @client_1.providers
|
||||
@resources = @client_1.resources
|
||||
@resource_groups = @client_1.resource_groups
|
||||
@tags_operations = @client_1.tags_operations
|
||||
@deployment_operations = @client_1.deployment_operations
|
||||
|
||||
@model_classes = ModelClasses.new
|
||||
end
|
||||
|
||||
def add_telemetry(client)
|
||||
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2020_09_01_Hybrid/Resources/Mgmt"
|
||||
client.add_user_agent_information(profile_information)
|
||||
end
|
||||
|
||||
def method_missing(method, *args)
|
||||
if @client_1.respond_to?method
|
||||
@client_1.send(method, *args)
|
||||
elsif @client_0.respond_to?method
|
||||
@client_0.send(method, *args)
|
||||
else
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
class ModelClasses
|
||||
def resource_management_error_with_details
|
||||
Azure::Resources::Mgmt::V2018_05_01::Models::ResourceManagementErrorWithDetails
|
||||
end
|
||||
def alias_path_type
|
||||
Azure::Resources::Mgmt::V2018_05_01::Models::AliasPathType
|
||||
end
|
||||
def sku
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::Sku
|
||||
end
|
||||
def identity_user_assigned_identities_value
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::IdentityUserAssignedIdentitiesValue
|
||||
end
|
||||
def generic_resource_filter
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::GenericResourceFilter
|
||||
end
|
||||
def identity
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::Identity
|
||||
end
|
||||
def template_link
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::TemplateLink
|
||||
end
|
||||
def parameters_link
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ParametersLink
|
||||
end
|
||||
def debug_setting
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::DebugSetting
|
||||
end
|
||||
def tags_resource
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::TagsResource
|
||||
end
|
||||
def deployment_properties
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentProperties
|
||||
end
|
||||
def tags_patch_resource
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::TagsPatchResource
|
||||
end
|
||||
def scoped_deployment
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ScopedDeployment
|
||||
end
|
||||
def resource_list_result
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ResourceListResult
|
||||
end
|
||||
def deployment_what_if_settings
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentWhatIfSettings
|
||||
end
|
||||
def resource_group_properties
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ResourceGroupProperties
|
||||
end
|
||||
def deployment_what_if
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentWhatIf
|
||||
end
|
||||
def resource_group
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ResourceGroup
|
||||
end
|
||||
def error_additional_info
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ErrorAdditionalInfo
|
||||
end
|
||||
def resource_group_patchable
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ResourceGroupPatchable
|
||||
end
|
||||
def resource_group_list_result
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ResourceGroupListResult
|
||||
end
|
||||
def alias_path
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::AliasPath
|
||||
end
|
||||
def resources_move_info
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ResourcesMoveInfo
|
||||
end
|
||||
def provider_resource_type
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ProviderResourceType
|
||||
end
|
||||
def export_template_request
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ExportTemplateRequest
|
||||
end
|
||||
def basic_dependency
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::BasicDependency
|
||||
end
|
||||
def tag_count
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::TagCount
|
||||
end
|
||||
def on_error_deployment_extended
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::OnErrorDeploymentExtended
|
||||
end
|
||||
def tag_value
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::TagValue
|
||||
end
|
||||
def deployment_properties_extended
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentPropertiesExtended
|
||||
end
|
||||
def tag_details
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::TagDetails
|
||||
end
|
||||
def deployment_extended
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentExtended
|
||||
end
|
||||
def tags_list_result
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::TagsListResult
|
||||
end
|
||||
def provider_list_result
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ProviderListResult
|
||||
end
|
||||
def target_resource
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::TargetResource
|
||||
end
|
||||
def deployment_extended_filter
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentExtendedFilter
|
||||
end
|
||||
def http_message
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::HttpMessage
|
||||
end
|
||||
def on_error_deployment
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::OnErrorDeployment
|
||||
end
|
||||
def deployment_operation_properties
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentOperationProperties
|
||||
end
|
||||
def deployment_export_result
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentExportResult
|
||||
end
|
||||
def deployment_operation
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentOperation
|
||||
end
|
||||
def scoped_deployment_what_if
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ScopedDeploymentWhatIf
|
||||
end
|
||||
def deployment_operations_list_result
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentOperationsListResult
|
||||
end
|
||||
def alias_pattern
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::AliasPattern
|
||||
end
|
||||
def resource_provider_operation_display_properties
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ResourceProviderOperationDisplayProperties
|
||||
end
|
||||
def provider
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::Provider
|
||||
end
|
||||
def resource
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::Resource
|
||||
end
|
||||
def resource_reference
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ResourceReference
|
||||
end
|
||||
def sub_resource
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::SubResource
|
||||
end
|
||||
def deployment_list_result
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentListResult
|
||||
end
|
||||
def resource_group_export_result
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ResourceGroupExportResult
|
||||
end
|
||||
def resource_group_filter
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ResourceGroupFilter
|
||||
end
|
||||
def operation_display
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::OperationDisplay
|
||||
end
|
||||
def tags
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::Tags
|
||||
end
|
||||
def error_response
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ErrorResponse
|
||||
end
|
||||
def operation
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::Operation
|
||||
end
|
||||
def dependency
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::Dependency
|
||||
end
|
||||
def operation_list_result
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::OperationListResult
|
||||
end
|
||||
def plan
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::Plan
|
||||
end
|
||||
def template_hash_result
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::TemplateHashResult
|
||||
end
|
||||
def alias_model
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::AliasModel
|
||||
end
|
||||
def what_if_property_change
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::WhatIfPropertyChange
|
||||
end
|
||||
def deployment
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::Deployment
|
||||
end
|
||||
def what_if_change
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::WhatIfChange
|
||||
end
|
||||
def deployment_validate_result
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentValidateResult
|
||||
end
|
||||
def what_if_operation_result
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::WhatIfOperationResult
|
||||
end
|
||||
def deployment_what_if_properties
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentWhatIfProperties
|
||||
end
|
||||
def generic_resource
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::GenericResource
|
||||
end
|
||||
def generic_resource_expanded
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::GenericResourceExpanded
|
||||
end
|
||||
def deployment_mode
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::DeploymentMode
|
||||
end
|
||||
def on_error_deployment_type
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::OnErrorDeploymentType
|
||||
end
|
||||
def what_if_result_format
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::WhatIfResultFormat
|
||||
end
|
||||
def alias_pattern_type
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::AliasPatternType
|
||||
end
|
||||
def alias_type
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::AliasType
|
||||
end
|
||||
def resource_identity_type
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ResourceIdentityType
|
||||
end
|
||||
def provisioning_operation
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ProvisioningOperation
|
||||
end
|
||||
def property_change_type
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::PropertyChangeType
|
||||
end
|
||||
def change_type
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::ChangeType
|
||||
end
|
||||
def tags_patch_operation
|
||||
Azure::Resources::Mgmt::V2019_10_01::Models::TagsPatchOperation
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,693 @@
|
|||
# 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_storage'
|
||||
|
||||
module Azure::Profiles::V2020_09_01_Hybrid
|
||||
module Storage
|
||||
module Mgmt
|
||||
Operations = Azure::Storage::Mgmt::V2019_06_01::Operations
|
||||
Skus = Azure::Storage::Mgmt::V2019_06_01::Skus
|
||||
StorageAccounts = Azure::Storage::Mgmt::V2019_06_01::StorageAccounts
|
||||
Usages = Azure::Storage::Mgmt::V2019_06_01::Usages
|
||||
ManagementPolicies = Azure::Storage::Mgmt::V2019_06_01::ManagementPolicies
|
||||
PrivateEndpointConnections = Azure::Storage::Mgmt::V2019_06_01::PrivateEndpointConnections
|
||||
PrivateLinkResources = Azure::Storage::Mgmt::V2019_06_01::PrivateLinkResources
|
||||
ObjectReplicationPoliciesOperations = Azure::Storage::Mgmt::V2019_06_01::ObjectReplicationPoliciesOperations
|
||||
EncryptionScopes = Azure::Storage::Mgmt::V2019_06_01::EncryptionScopes
|
||||
BlobServices = Azure::Storage::Mgmt::V2019_06_01::BlobServices
|
||||
BlobContainers = Azure::Storage::Mgmt::V2019_06_01::BlobContainers
|
||||
FileServices = Azure::Storage::Mgmt::V2019_06_01::FileServices
|
||||
FileShares = Azure::Storage::Mgmt::V2019_06_01::FileShares
|
||||
QueueServices = Azure::Storage::Mgmt::V2019_06_01::QueueServices
|
||||
Queue = Azure::Storage::Mgmt::V2019_06_01::Queue
|
||||
TableServices = Azure::Storage::Mgmt::V2019_06_01::TableServices
|
||||
TableOperations = Azure::Storage::Mgmt::V2019_06_01::TableOperations
|
||||
|
||||
module Models
|
||||
TagFilter = Azure::Storage::Mgmt::V2019_06_01::Models::TagFilter
|
||||
ManagementPolicyFilter = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyFilter
|
||||
Dimension = Azure::Storage::Mgmt::V2019_06_01::Models::Dimension
|
||||
ManagementPolicyDefinition = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyDefinition
|
||||
ServiceSpecification = Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSpecification
|
||||
ManagementPolicyRule = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyRule
|
||||
OperationListResult = Azure::Storage::Mgmt::V2019_06_01::Models::OperationListResult
|
||||
ManagementPolicySchema = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySchema
|
||||
SKUCapability = Azure::Storage::Mgmt::V2019_06_01::Models::SKUCapability
|
||||
DateAfterModification = Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterModification
|
||||
ManagementPolicyBaseBlob = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyBaseBlob
|
||||
StorageSkuListResult = Azure::Storage::Mgmt::V2019_06_01::Models::StorageSkuListResult
|
||||
DateAfterCreation = Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterCreation
|
||||
CustomDomain = Azure::Storage::Mgmt::V2019_06_01::Models::CustomDomain
|
||||
ManagementPolicySnapShot = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySnapShot
|
||||
EncryptionServices = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionServices
|
||||
ManagementPolicyAction = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyAction
|
||||
Encryption = Azure::Storage::Mgmt::V2019_06_01::Models::Encryption
|
||||
OperationDisplay = Azure::Storage::Mgmt::V2019_06_01::Models::OperationDisplay
|
||||
IPRule = Azure::Storage::Mgmt::V2019_06_01::Models::IPRule
|
||||
MetricSpecification = Azure::Storage::Mgmt::V2019_06_01::Models::MetricSpecification
|
||||
ActiveDirectoryProperties = Azure::Storage::Mgmt::V2019_06_01::Models::ActiveDirectoryProperties
|
||||
Operation = Azure::Storage::Mgmt::V2019_06_01::Models::Operation
|
||||
RoutingPreference = Azure::Storage::Mgmt::V2019_06_01::Models::RoutingPreference
|
||||
StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCheckNameAvailabilityParameters
|
||||
Sku = Azure::Storage::Mgmt::V2019_06_01::Models::Sku
|
||||
Restriction = Azure::Storage::Mgmt::V2019_06_01::Models::Restriction
|
||||
StorageAccountMicrosoftEndpoints = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountMicrosoftEndpoints
|
||||
ListTableResource = Azure::Storage::Mgmt::V2019_06_01::Models::ListTableResource
|
||||
Endpoints = Azure::Storage::Mgmt::V2019_06_01::Models::Endpoints
|
||||
EncryptionScopeKeyVaultProperties = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScopeKeyVaultProperties
|
||||
BlobRestoreRange = Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreRange
|
||||
ListTableServices = Azure::Storage::Mgmt::V2019_06_01::Models::ListTableServices
|
||||
BlobRestoreStatus = Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreStatus
|
||||
EncryptionScopeListResult = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScopeListResult
|
||||
PrivateLinkServiceConnectionState = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkServiceConnectionState
|
||||
ObjectReplicationPolicyFilter = Azure::Storage::Mgmt::V2019_06_01::Models::ObjectReplicationPolicyFilter
|
||||
BlobServiceItems = Azure::Storage::Mgmt::V2019_06_01::Models::BlobServiceItems
|
||||
StorageAccountKey = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountKey
|
||||
ObjectReplicationPolicyRule = Azure::Storage::Mgmt::V2019_06_01::Models::ObjectReplicationPolicyRule
|
||||
StorageAccountListKeysResult = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListKeysResult
|
||||
ListQueueResource = Azure::Storage::Mgmt::V2019_06_01::Models::ListQueueResource
|
||||
StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountUpdateParameters
|
||||
ObjectReplicationPolicies = Azure::Storage::Mgmt::V2019_06_01::Models::ObjectReplicationPolicies
|
||||
Usage = Azure::Storage::Mgmt::V2019_06_01::Models::Usage
|
||||
ErrorResponse = Azure::Storage::Mgmt::V2019_06_01::Models::ErrorResponse
|
||||
AccountSasParameters = Azure::Storage::Mgmt::V2019_06_01::Models::AccountSasParameters
|
||||
ListQueueServices = Azure::Storage::Mgmt::V2019_06_01::Models::ListQueueServices
|
||||
ServiceSasParameters = Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSasParameters
|
||||
SkuInformation = Azure::Storage::Mgmt::V2019_06_01::Models::SkuInformation
|
||||
EncryptionService = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionService
|
||||
Resource = Azure::Storage::Mgmt::V2019_06_01::Models::Resource
|
||||
VirtualNetworkRule = Azure::Storage::Mgmt::V2019_06_01::Models::VirtualNetworkRule
|
||||
FileShareItems = Azure::Storage::Mgmt::V2019_06_01::Models::FileShareItems
|
||||
AzureFilesIdentityBasedAuthentication = Azure::Storage::Mgmt::V2019_06_01::Models::AzureFilesIdentityBasedAuthentication
|
||||
PrivateLinkResourceListResult = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResourceListResult
|
||||
StorageAccountCreateParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCreateParameters
|
||||
PrivateEndpointConnectionListResult = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointConnectionListResult
|
||||
GeoReplicationStats = Azure::Storage::Mgmt::V2019_06_01::Models::GeoReplicationStats
|
||||
UpdateHistoryProperty = Azure::Storage::Mgmt::V2019_06_01::Models::UpdateHistoryProperty
|
||||
PrivateEndpoint = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpoint
|
||||
ImmutabilityPolicyProperties = Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicyProperties
|
||||
StorageAccountListResult = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListResult
|
||||
TagProperty = Azure::Storage::Mgmt::V2019_06_01::Models::TagProperty
|
||||
UsageName = Azure::Storage::Mgmt::V2019_06_01::Models::UsageName
|
||||
LegalHoldProperties = Azure::Storage::Mgmt::V2019_06_01::Models::LegalHoldProperties
|
||||
ListAccountSasResponse = Azure::Storage::Mgmt::V2019_06_01::Models::ListAccountSasResponse
|
||||
DeletedShare = Azure::Storage::Mgmt::V2019_06_01::Models::DeletedShare
|
||||
CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2019_06_01::Models::CheckNameAvailabilityResult
|
||||
FileServiceItems = Azure::Storage::Mgmt::V2019_06_01::Models::FileServiceItems
|
||||
NetworkRuleSet = Azure::Storage::Mgmt::V2019_06_01::Models::NetworkRuleSet
|
||||
LegalHold = Azure::Storage::Mgmt::V2019_06_01::Models::LegalHold
|
||||
StorageAccountInternetEndpoints = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountInternetEndpoints
|
||||
LeaseContainerResponse = Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerResponse
|
||||
LeaseContainerRequest = Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerRequest
|
||||
StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountRegenerateKeyParameters
|
||||
ListContainerItems = Azure::Storage::Mgmt::V2019_06_01::Models::ListContainerItems
|
||||
ListServiceSasResponse = Azure::Storage::Mgmt::V2019_06_01::Models::ListServiceSasResponse
|
||||
CorsRule = Azure::Storage::Mgmt::V2019_06_01::Models::CorsRule
|
||||
Identity = Azure::Storage::Mgmt::V2019_06_01::Models::Identity
|
||||
CorsRules = Azure::Storage::Mgmt::V2019_06_01::Models::CorsRules
|
||||
UsageListResult = Azure::Storage::Mgmt::V2019_06_01::Models::UsageListResult
|
||||
DeleteRetentionPolicy = Azure::Storage::Mgmt::V2019_06_01::Models::DeleteRetentionPolicy
|
||||
BlobRestoreParameters = Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreParameters
|
||||
ChangeFeed = Azure::Storage::Mgmt::V2019_06_01::Models::ChangeFeed
|
||||
KeyVaultProperties = Azure::Storage::Mgmt::V2019_06_01::Models::KeyVaultProperties
|
||||
RestorePolicyProperties = Azure::Storage::Mgmt::V2019_06_01::Models::RestorePolicyProperties
|
||||
PrivateEndpointConnection = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointConnection
|
||||
StorageAccount = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccount
|
||||
ManagementPolicy = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicy
|
||||
EncryptionScope = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScope
|
||||
ObjectReplicationPolicy = Azure::Storage::Mgmt::V2019_06_01::Models::ObjectReplicationPolicy
|
||||
ProxyResource = Azure::Storage::Mgmt::V2019_06_01::Models::ProxyResource
|
||||
TrackedResource = Azure::Storage::Mgmt::V2019_06_01::Models::TrackedResource
|
||||
AzureEntityResource = Azure::Storage::Mgmt::V2019_06_01::Models::AzureEntityResource
|
||||
PrivateLinkResource = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResource
|
||||
BlobContainer = Azure::Storage::Mgmt::V2019_06_01::Models::BlobContainer
|
||||
ImmutabilityPolicy = Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicy
|
||||
ListContainerItem = Azure::Storage::Mgmt::V2019_06_01::Models::ListContainerItem
|
||||
BlobServiceProperties = Azure::Storage::Mgmt::V2019_06_01::Models::BlobServiceProperties
|
||||
FileServiceProperties = Azure::Storage::Mgmt::V2019_06_01::Models::FileServiceProperties
|
||||
FileShare = Azure::Storage::Mgmt::V2019_06_01::Models::FileShare
|
||||
FileShareItem = Azure::Storage::Mgmt::V2019_06_01::Models::FileShareItem
|
||||
QueueServiceProperties = Azure::Storage::Mgmt::V2019_06_01::Models::QueueServiceProperties
|
||||
StorageQueue = Azure::Storage::Mgmt::V2019_06_01::Models::StorageQueue
|
||||
ListQueue = Azure::Storage::Mgmt::V2019_06_01::Models::ListQueue
|
||||
TableServiceProperties = Azure::Storage::Mgmt::V2019_06_01::Models::TableServiceProperties
|
||||
Table = Azure::Storage::Mgmt::V2019_06_01::Models::Table
|
||||
ReasonCode = Azure::Storage::Mgmt::V2019_06_01::Models::ReasonCode
|
||||
SkuName = Azure::Storage::Mgmt::V2019_06_01::Models::SkuName
|
||||
SkuTier = Azure::Storage::Mgmt::V2019_06_01::Models::SkuTier
|
||||
Kind = Azure::Storage::Mgmt::V2019_06_01::Models::Kind
|
||||
Reason = Azure::Storage::Mgmt::V2019_06_01::Models::Reason
|
||||
KeyType = Azure::Storage::Mgmt::V2019_06_01::Models::KeyType
|
||||
KeySource = Azure::Storage::Mgmt::V2019_06_01::Models::KeySource
|
||||
Action = Azure::Storage::Mgmt::V2019_06_01::Models::Action
|
||||
State = Azure::Storage::Mgmt::V2019_06_01::Models::State
|
||||
Bypass = Azure::Storage::Mgmt::V2019_06_01::Models::Bypass
|
||||
DefaultAction = Azure::Storage::Mgmt::V2019_06_01::Models::DefaultAction
|
||||
DirectoryServiceOptions = Azure::Storage::Mgmt::V2019_06_01::Models::DirectoryServiceOptions
|
||||
AccessTier = Azure::Storage::Mgmt::V2019_06_01::Models::AccessTier
|
||||
LargeFileSharesState = Azure::Storage::Mgmt::V2019_06_01::Models::LargeFileSharesState
|
||||
RoutingChoice = Azure::Storage::Mgmt::V2019_06_01::Models::RoutingChoice
|
||||
MinimumTlsVersion = Azure::Storage::Mgmt::V2019_06_01::Models::MinimumTlsVersion
|
||||
GeoReplicationStatus = Azure::Storage::Mgmt::V2019_06_01::Models::GeoReplicationStatus
|
||||
BlobRestoreProgressStatus = Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreProgressStatus
|
||||
ProvisioningState = Azure::Storage::Mgmt::V2019_06_01::Models::ProvisioningState
|
||||
AccountStatus = Azure::Storage::Mgmt::V2019_06_01::Models::AccountStatus
|
||||
PrivateEndpointServiceConnectionStatus = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointServiceConnectionStatus
|
||||
PrivateEndpointConnectionProvisioningState = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointConnectionProvisioningState
|
||||
KeyPermission = Azure::Storage::Mgmt::V2019_06_01::Models::KeyPermission
|
||||
UsageUnit = Azure::Storage::Mgmt::V2019_06_01::Models::UsageUnit
|
||||
Services = Azure::Storage::Mgmt::V2019_06_01::Models::Services
|
||||
SignedResourceTypes = Azure::Storage::Mgmt::V2019_06_01::Models::SignedResourceTypes
|
||||
Permissions = Azure::Storage::Mgmt::V2019_06_01::Models::Permissions
|
||||
HttpProtocol = Azure::Storage::Mgmt::V2019_06_01::Models::HttpProtocol
|
||||
SignedResource = Azure::Storage::Mgmt::V2019_06_01::Models::SignedResource
|
||||
EncryptionScopeSource = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScopeSource
|
||||
EncryptionScopeState = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScopeState
|
||||
PublicAccess = Azure::Storage::Mgmt::V2019_06_01::Models::PublicAccess
|
||||
LeaseStatus = Azure::Storage::Mgmt::V2019_06_01::Models::LeaseStatus
|
||||
LeaseState = Azure::Storage::Mgmt::V2019_06_01::Models::LeaseState
|
||||
LeaseDuration = Azure::Storage::Mgmt::V2019_06_01::Models::LeaseDuration
|
||||
ImmutabilityPolicyState = Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicyState
|
||||
ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicyUpdateType
|
||||
EnabledProtocols = Azure::Storage::Mgmt::V2019_06_01::Models::EnabledProtocols
|
||||
RootSquashType = Azure::Storage::Mgmt::V2019_06_01::Models::RootSquashType
|
||||
ShareAccessTier = Azure::Storage::Mgmt::V2019_06_01::Models::ShareAccessTier
|
||||
StorageAccountExpand = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountExpand
|
||||
ListKeyExpand = Azure::Storage::Mgmt::V2019_06_01::Models::ListKeyExpand
|
||||
ListContainersInclude = Azure::Storage::Mgmt::V2019_06_01::Models::ListContainersInclude
|
||||
ListSharesExpand = Azure::Storage::Mgmt::V2019_06_01::Models::ListSharesExpand
|
||||
GetShareExpand = Azure::Storage::Mgmt::V2019_06_01::Models::GetShareExpand
|
||||
end
|
||||
|
||||
class StorageManagementClass
|
||||
attr_reader :operations, :skus, :storage_accounts, :usages, :management_policies, :private_endpoint_connections, :private_link_resources, :object_replication_policies_operations, :encryption_scopes, :blob_services, :blob_containers, :file_services, :file_shares, :queue_services, :queue, :table_services, :table_operations, :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::V2019_06_01::StorageManagementClient.new(configurable.credentials, base_url, options)
|
||||
if(@client_0.respond_to?(:subscription_id))
|
||||
@client_0.subscription_id = configurable.subscription_id
|
||||
end
|
||||
add_telemetry(@client_0)
|
||||
@operations = @client_0.operations
|
||||
@skus = @client_0.skus
|
||||
@storage_accounts = @client_0.storage_accounts
|
||||
@usages = @client_0.usages
|
||||
@management_policies = @client_0.management_policies
|
||||
@private_endpoint_connections = @client_0.private_endpoint_connections
|
||||
@private_link_resources = @client_0.private_link_resources
|
||||
@object_replication_policies_operations = @client_0.object_replication_policies_operations
|
||||
@encryption_scopes = @client_0.encryption_scopes
|
||||
@blob_services = @client_0.blob_services
|
||||
@blob_containers = @client_0.blob_containers
|
||||
@file_services = @client_0.file_services
|
||||
@file_shares = @client_0.file_shares
|
||||
@queue_services = @client_0.queue_services
|
||||
@queue = @client_0.queue
|
||||
@table_services = @client_0.table_services
|
||||
@table_operations = @client_0.table_operations
|
||||
|
||||
@model_classes = ModelClasses.new
|
||||
end
|
||||
|
||||
def add_telemetry(client)
|
||||
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/V2020_09_01_Hybrid/Storage/Mgmt"
|
||||
client.add_user_agent_information(profile_information)
|
||||
end
|
||||
|
||||
def method_missing(method, *args)
|
||||
if @client_0.respond_to?method
|
||||
@client_0.send(method, *args)
|
||||
else
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
class ModelClasses
|
||||
def tag_filter
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::TagFilter
|
||||
end
|
||||
def management_policy_filter
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyFilter
|
||||
end
|
||||
def dimension
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::Dimension
|
||||
end
|
||||
def management_policy_definition
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyDefinition
|
||||
end
|
||||
def service_specification
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSpecification
|
||||
end
|
||||
def management_policy_rule
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyRule
|
||||
end
|
||||
def operation_list_result
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::OperationListResult
|
||||
end
|
||||
def management_policy_schema
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySchema
|
||||
end
|
||||
def skucapability
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::SKUCapability
|
||||
end
|
||||
def date_after_modification
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterModification
|
||||
end
|
||||
def management_policy_base_blob
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyBaseBlob
|
||||
end
|
||||
def storage_sku_list_result
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::StorageSkuListResult
|
||||
end
|
||||
def date_after_creation
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterCreation
|
||||
end
|
||||
def custom_domain
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::CustomDomain
|
||||
end
|
||||
def management_policy_snap_shot
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySnapShot
|
||||
end
|
||||
def encryption_services
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionServices
|
||||
end
|
||||
def management_policy_action
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyAction
|
||||
end
|
||||
def encryption
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::Encryption
|
||||
end
|
||||
def operation_display
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::OperationDisplay
|
||||
end
|
||||
def iprule
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::IPRule
|
||||
end
|
||||
def metric_specification
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::MetricSpecification
|
||||
end
|
||||
def active_directory_properties
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ActiveDirectoryProperties
|
||||
end
|
||||
def operation
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::Operation
|
||||
end
|
||||
def routing_preference
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::RoutingPreference
|
||||
end
|
||||
def storage_account_check_name_availability_parameters
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCheckNameAvailabilityParameters
|
||||
end
|
||||
def sku
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::Sku
|
||||
end
|
||||
def restriction
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::Restriction
|
||||
end
|
||||
def storage_account_microsoft_endpoints
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountMicrosoftEndpoints
|
||||
end
|
||||
def list_table_resource
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ListTableResource
|
||||
end
|
||||
def endpoints
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::Endpoints
|
||||
end
|
||||
def encryption_scope_key_vault_properties
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScopeKeyVaultProperties
|
||||
end
|
||||
def blob_restore_range
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreRange
|
||||
end
|
||||
def list_table_services
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ListTableServices
|
||||
end
|
||||
def blob_restore_status
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreStatus
|
||||
end
|
||||
def encryption_scope_list_result
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScopeListResult
|
||||
end
|
||||
def private_link_service_connection_state
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkServiceConnectionState
|
||||
end
|
||||
def object_replication_policy_filter
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ObjectReplicationPolicyFilter
|
||||
end
|
||||
def blob_service_items
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::BlobServiceItems
|
||||
end
|
||||
def storage_account_key
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountKey
|
||||
end
|
||||
def object_replication_policy_rule
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ObjectReplicationPolicyRule
|
||||
end
|
||||
def storage_account_list_keys_result
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListKeysResult
|
||||
end
|
||||
def list_queue_resource
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ListQueueResource
|
||||
end
|
||||
def storage_account_update_parameters
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountUpdateParameters
|
||||
end
|
||||
def object_replication_policies
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ObjectReplicationPolicies
|
||||
end
|
||||
def usage
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::Usage
|
||||
end
|
||||
def error_response
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ErrorResponse
|
||||
end
|
||||
def account_sas_parameters
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::AccountSasParameters
|
||||
end
|
||||
def list_queue_services
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ListQueueServices
|
||||
end
|
||||
def service_sas_parameters
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSasParameters
|
||||
end
|
||||
def sku_information
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::SkuInformation
|
||||
end
|
||||
def encryption_service
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionService
|
||||
end
|
||||
def resource
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::Resource
|
||||
end
|
||||
def virtual_network_rule
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::VirtualNetworkRule
|
||||
end
|
||||
def file_share_items
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::FileShareItems
|
||||
end
|
||||
def azure_files_identity_based_authentication
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::AzureFilesIdentityBasedAuthentication
|
||||
end
|
||||
def private_link_resource_list_result
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResourceListResult
|
||||
end
|
||||
def storage_account_create_parameters
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCreateParameters
|
||||
end
|
||||
def private_endpoint_connection_list_result
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointConnectionListResult
|
||||
end
|
||||
def geo_replication_stats
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::GeoReplicationStats
|
||||
end
|
||||
def update_history_property
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::UpdateHistoryProperty
|
||||
end
|
||||
def private_endpoint
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpoint
|
||||
end
|
||||
def immutability_policy_properties
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicyProperties
|
||||
end
|
||||
def storage_account_list_result
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListResult
|
||||
end
|
||||
def tag_property
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::TagProperty
|
||||
end
|
||||
def usage_name
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::UsageName
|
||||
end
|
||||
def legal_hold_properties
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::LegalHoldProperties
|
||||
end
|
||||
def list_account_sas_response
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ListAccountSasResponse
|
||||
end
|
||||
def deleted_share
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::DeletedShare
|
||||
end
|
||||
def check_name_availability_result
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::CheckNameAvailabilityResult
|
||||
end
|
||||
def file_service_items
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::FileServiceItems
|
||||
end
|
||||
def network_rule_set
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::NetworkRuleSet
|
||||
end
|
||||
def legal_hold
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::LegalHold
|
||||
end
|
||||
def storage_account_internet_endpoints
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountInternetEndpoints
|
||||
end
|
||||
def lease_container_response
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerResponse
|
||||
end
|
||||
def lease_container_request
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerRequest
|
||||
end
|
||||
def storage_account_regenerate_key_parameters
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountRegenerateKeyParameters
|
||||
end
|
||||
def list_container_items
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ListContainerItems
|
||||
end
|
||||
def list_service_sas_response
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ListServiceSasResponse
|
||||
end
|
||||
def cors_rule
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::CorsRule
|
||||
end
|
||||
def identity
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::Identity
|
||||
end
|
||||
def cors_rules
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::CorsRules
|
||||
end
|
||||
def usage_list_result
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::UsageListResult
|
||||
end
|
||||
def delete_retention_policy
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::DeleteRetentionPolicy
|
||||
end
|
||||
def blob_restore_parameters
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreParameters
|
||||
end
|
||||
def change_feed
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ChangeFeed
|
||||
end
|
||||
def key_vault_properties
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::KeyVaultProperties
|
||||
end
|
||||
def restore_policy_properties
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::RestorePolicyProperties
|
||||
end
|
||||
def private_endpoint_connection
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointConnection
|
||||
end
|
||||
def storage_account
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccount
|
||||
end
|
||||
def management_policy
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicy
|
||||
end
|
||||
def encryption_scope
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScope
|
||||
end
|
||||
def object_replication_policy
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ObjectReplicationPolicy
|
||||
end
|
||||
def proxy_resource
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ProxyResource
|
||||
end
|
||||
def tracked_resource
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::TrackedResource
|
||||
end
|
||||
def azure_entity_resource
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::AzureEntityResource
|
||||
end
|
||||
def private_link_resource
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResource
|
||||
end
|
||||
def blob_container
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::BlobContainer
|
||||
end
|
||||
def immutability_policy
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicy
|
||||
end
|
||||
def list_container_item
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ListContainerItem
|
||||
end
|
||||
def blob_service_properties
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::BlobServiceProperties
|
||||
end
|
||||
def file_service_properties
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::FileServiceProperties
|
||||
end
|
||||
def file_share
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::FileShare
|
||||
end
|
||||
def file_share_item
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::FileShareItem
|
||||
end
|
||||
def queue_service_properties
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::QueueServiceProperties
|
||||
end
|
||||
def storage_queue
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::StorageQueue
|
||||
end
|
||||
def list_queue
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ListQueue
|
||||
end
|
||||
def table_service_properties
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::TableServiceProperties
|
||||
end
|
||||
def table
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::Table
|
||||
end
|
||||
def reason_code
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ReasonCode
|
||||
end
|
||||
def sku_name
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::SkuName
|
||||
end
|
||||
def sku_tier
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::SkuTier
|
||||
end
|
||||
def kind
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::Kind
|
||||
end
|
||||
def reason
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::Reason
|
||||
end
|
||||
def key_type
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::KeyType
|
||||
end
|
||||
def key_source
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::KeySource
|
||||
end
|
||||
def action
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::Action
|
||||
end
|
||||
def state
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::State
|
||||
end
|
||||
def bypass
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::Bypass
|
||||
end
|
||||
def default_action
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::DefaultAction
|
||||
end
|
||||
def directory_service_options
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::DirectoryServiceOptions
|
||||
end
|
||||
def access_tier
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::AccessTier
|
||||
end
|
||||
def large_file_shares_state
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::LargeFileSharesState
|
||||
end
|
||||
def routing_choice
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::RoutingChoice
|
||||
end
|
||||
def minimum_tls_version
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::MinimumTlsVersion
|
||||
end
|
||||
def geo_replication_status
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::GeoReplicationStatus
|
||||
end
|
||||
def blob_restore_progress_status
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreProgressStatus
|
||||
end
|
||||
def provisioning_state
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ProvisioningState
|
||||
end
|
||||
def account_status
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::AccountStatus
|
||||
end
|
||||
def private_endpoint_service_connection_status
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointServiceConnectionStatus
|
||||
end
|
||||
def private_endpoint_connection_provisioning_state
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointConnectionProvisioningState
|
||||
end
|
||||
def key_permission
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::KeyPermission
|
||||
end
|
||||
def usage_unit
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::UsageUnit
|
||||
end
|
||||
def services
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::Services
|
||||
end
|
||||
def signed_resource_types
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::SignedResourceTypes
|
||||
end
|
||||
def permissions
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::Permissions
|
||||
end
|
||||
def http_protocol
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::HttpProtocol
|
||||
end
|
||||
def signed_resource
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::SignedResource
|
||||
end
|
||||
def encryption_scope_source
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScopeSource
|
||||
end
|
||||
def encryption_scope_state
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScopeState
|
||||
end
|
||||
def public_access
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::PublicAccess
|
||||
end
|
||||
def lease_status
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::LeaseStatus
|
||||
end
|
||||
def lease_state
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::LeaseState
|
||||
end
|
||||
def lease_duration
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::LeaseDuration
|
||||
end
|
||||
def immutability_policy_state
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicyState
|
||||
end
|
||||
def immutability_policy_update_type
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicyUpdateType
|
||||
end
|
||||
def enabled_protocols
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::EnabledProtocols
|
||||
end
|
||||
def root_squash_type
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::RootSquashType
|
||||
end
|
||||
def share_access_tier
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ShareAccessTier
|
||||
end
|
||||
def storage_account_expand
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountExpand
|
||||
end
|
||||
def list_key_expand
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ListKeyExpand
|
||||
end
|
||||
def list_containers_include
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ListContainersInclude
|
||||
end
|
||||
def list_shares_expand
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::ListSharesExpand
|
||||
end
|
||||
def get_share_expand
|
||||
Azure::Storage::Mgmt::V2019_06_01::Models::GetShareExpand
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,200 @@
|
|||
# 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 'v2020_09_01_hybrid/module_definition'
|
||||
require 'v2020_09_01_hybrid/modules/authorization_profile_module'
|
||||
require 'v2020_09_01_hybrid/modules/locks_profile_module'
|
||||
require 'v2020_09_01_hybrid/modules/policy_profile_module'
|
||||
require 'v2020_09_01_hybrid/modules/commerce_profile_module'
|
||||
require 'v2020_09_01_hybrid/modules/compute_profile_module'
|
||||
require 'v2020_09_01_hybrid/modules/databoxedge_profile_module'
|
||||
require 'v2020_09_01_hybrid/modules/iothub_profile_module'
|
||||
require 'v2020_09_01_hybrid/modules/eventhub_profile_module'
|
||||
require 'v2020_09_01_hybrid/modules/monitor_profile_module'
|
||||
require 'v2020_09_01_hybrid/modules/keyvault_profile_module'
|
||||
require 'v2020_09_01_hybrid/modules/network_profile_module'
|
||||
require 'v2020_09_01_hybrid/modules/dns_profile_module'
|
||||
require 'v2020_09_01_hybrid/modules/resources_profile_module'
|
||||
require 'v2020_09_01_hybrid/modules/storage_profile_module'
|
||||
require 'v2020_09_01_hybrid/modules/web_profile_module'
|
||||
|
||||
module Azure::Profiles::V2020_09_01_Hybrid
|
||||
#
|
||||
# Client class for the V2020_09_01_Hybrid profile SDK.
|
||||
#
|
||||
class Client
|
||||
include MsRestAzure::Common::Configurable
|
||||
|
||||
attr_reader :authorization, :locks, :policy, :commerce, :compute, :data_box_edge, :iot_hub, :event_hub, :monitor, :key_vault, :network, :dns, :resources, :storage, :web
|
||||
|
||||
#
|
||||
# Initializes a new instance of the Client class.
|
||||
# @param options [Hash] hash of client options.
|
||||
# options = {
|
||||
# tenant_id: 'YOUR TENANT ID',
|
||||
# client_id: 'YOUR CLIENT ID',
|
||||
# client_secret: 'YOUR CLIENT SECRET',
|
||||
# subscription_id: 'YOUR SUBSCRIPTION ID',
|
||||
# credentials: credentials,
|
||||
# active_directory_settings: active_directory_settings,
|
||||
# base_url: 'YOUR BASE URL',
|
||||
# options: options
|
||||
# }
|
||||
# 'credentials' are optional and if not passed in the hash, will be obtained
|
||||
# from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
|
||||
#
|
||||
# Also, base_url, active_directory_settings & options are optional.
|
||||
#
|
||||
def initialize(options = {})
|
||||
if options.is_a?(Hash) && options.length == 0
|
||||
@options = setup_default_options
|
||||
else
|
||||
@options = options
|
||||
end
|
||||
|
||||
reset!(options)
|
||||
|
||||
base_url = options[:base_url].nil? ? nil:options[:base_url]
|
||||
sdk_options = options[:options].nil? ? nil:options[:options]
|
||||
|
||||
@authorization = AuthorizationAdapter.new(self, base_url, sdk_options)
|
||||
@locks = LocksAdapter.new(self, base_url, sdk_options)
|
||||
@policy = PolicyAdapter.new(self, base_url, sdk_options)
|
||||
@commerce = CommerceAdapter.new(self, base_url, sdk_options)
|
||||
@compute = ComputeAdapter.new(self, base_url, sdk_options)
|
||||
@data_box_edge = DataBoxEdgeAdapter.new(self, base_url, sdk_options)
|
||||
@iot_hub = IotHubAdapter.new(self, base_url, sdk_options)
|
||||
@event_hub = EventHubAdapter.new(self, base_url, sdk_options)
|
||||
@monitor = MonitorAdapter.new(self, base_url, sdk_options)
|
||||
@key_vault = KeyVaultAdapter.new(self, base_url, sdk_options)
|
||||
@network = NetworkAdapter.new(self, base_url, sdk_options)
|
||||
@dns = DnsAdapter.new(self, base_url, sdk_options)
|
||||
@resources = ResourcesAdapter.new(self, base_url, sdk_options)
|
||||
@storage = StorageAdapter.new(self, base_url, sdk_options)
|
||||
@web = WebAdapter.new(self, base_url, sdk_options)
|
||||
end
|
||||
|
||||
class AuthorizationAdapter
|
||||
attr_accessor :mgmt
|
||||
|
||||
def initialize(context, base_url, options)
|
||||
@mgmt = Azure::Profiles::V2020_09_01_Hybrid::Authorization::Mgmt::AuthorizationManagementClass.new(context, base_url, options)
|
||||
end
|
||||
end
|
||||
|
||||
class LocksAdapter
|
||||
attr_accessor :mgmt
|
||||
|
||||
def initialize(context, base_url, options)
|
||||
@mgmt = Azure::Profiles::V2020_09_01_Hybrid::Locks::Mgmt::LocksManagementClass.new(context, base_url, options)
|
||||
end
|
||||
end
|
||||
|
||||
class PolicyAdapter
|
||||
attr_accessor :mgmt
|
||||
|
||||
def initialize(context, base_url, options)
|
||||
@mgmt = Azure::Profiles::V2020_09_01_Hybrid::Policy::Mgmt::PolicyManagementClass.new(context, base_url, options)
|
||||
end
|
||||
end
|
||||
|
||||
class CommerceAdapter
|
||||
attr_accessor :mgmt
|
||||
|
||||
def initialize(context, base_url, options)
|
||||
@mgmt = Azure::Profiles::V2020_09_01_Hybrid::Commerce::Mgmt::CommerceManagementClass.new(context, base_url, options)
|
||||
end
|
||||
end
|
||||
|
||||
class ComputeAdapter
|
||||
attr_accessor :mgmt
|
||||
|
||||
def initialize(context, base_url, options)
|
||||
@mgmt = Azure::Profiles::V2020_09_01_Hybrid::Compute::Mgmt::ComputeManagementClass.new(context, base_url, options)
|
||||
end
|
||||
end
|
||||
|
||||
class DataBoxEdgeAdapter
|
||||
attr_accessor :mgmt
|
||||
|
||||
def initialize(context, base_url, options)
|
||||
@mgmt = Azure::Profiles::V2020_09_01_Hybrid::DataBoxEdge::Mgmt::DataBoxEdgeManagementClass.new(context, base_url, options)
|
||||
end
|
||||
end
|
||||
|
||||
class IotHubAdapter
|
||||
attr_accessor :mgmt
|
||||
|
||||
def initialize(context, base_url, options)
|
||||
@mgmt = Azure::Profiles::V2020_09_01_Hybrid::IotHub::Mgmt::IotHubManagementClass.new(context, base_url, options)
|
||||
end
|
||||
end
|
||||
|
||||
class EventHubAdapter
|
||||
attr_accessor :mgmt
|
||||
|
||||
def initialize(context, base_url, options)
|
||||
@mgmt = Azure::Profiles::V2020_09_01_Hybrid::EventHub::Mgmt::EventHubManagementClass.new(context, base_url, options)
|
||||
end
|
||||
end
|
||||
|
||||
class MonitorAdapter
|
||||
attr_accessor :mgmt
|
||||
|
||||
def initialize(context, base_url, options)
|
||||
@mgmt = Azure::Profiles::V2020_09_01_Hybrid::Monitor::Mgmt::MonitorManagementClass.new(context, base_url, options)
|
||||
end
|
||||
end
|
||||
|
||||
class KeyVaultAdapter < Azure::Profiles::V2020_09_01_Hybrid::KeyVault::KeyVaultDataClass
|
||||
attr_accessor :mgmt
|
||||
|
||||
def initialize(context, base_url, options)
|
||||
super(context)
|
||||
@mgmt = Azure::Profiles::V2020_09_01_Hybrid::KeyVault::Mgmt::KeyVaultManagementClass.new(context, base_url, options)
|
||||
end
|
||||
end
|
||||
|
||||
class NetworkAdapter
|
||||
attr_accessor :mgmt
|
||||
|
||||
def initialize(context, base_url, options)
|
||||
@mgmt = Azure::Profiles::V2020_09_01_Hybrid::Network::Mgmt::NetworkManagementClass.new(context, base_url, options)
|
||||
end
|
||||
end
|
||||
|
||||
class DnsAdapter
|
||||
attr_accessor :mgmt
|
||||
|
||||
def initialize(context, base_url, options)
|
||||
@mgmt = Azure::Profiles::V2020_09_01_Hybrid::Dns::Mgmt::DnsManagementClass.new(context, base_url, options)
|
||||
end
|
||||
end
|
||||
|
||||
class ResourcesAdapter
|
||||
attr_accessor :mgmt
|
||||
|
||||
def initialize(context, base_url, options)
|
||||
@mgmt = Azure::Profiles::V2020_09_01_Hybrid::Resources::Mgmt::ResourcesManagementClass.new(context, base_url, options)
|
||||
end
|
||||
end
|
||||
|
||||
class StorageAdapter
|
||||
attr_accessor :mgmt
|
||||
|
||||
def initialize(context, base_url, options)
|
||||
@mgmt = Azure::Profiles::V2020_09_01_Hybrid::Storage::Mgmt::StorageManagementClass.new(context, base_url, options)
|
||||
end
|
||||
end
|
||||
|
||||
class WebAdapter
|
||||
attr_accessor :mgmt
|
||||
|
||||
def initialize(context, base_url, options)
|
||||
@mgmt = Azure::Profiles::V2020_09_01_Hybrid::Web::Mgmt::WebManagementClass.new(context, base_url, options)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
Загрузка…
Ссылка в новой задаче