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

Merge pull request #2814 from kairu-ms/release-2020-11-30

Release 2020 11 30
This commit is contained in:
kai ru 2020-12-03 10:40:30 +08:00 коммит произвёл GitHub
Родитель 3abbccf056 6ebafdbc2e
Коммит a854ca5e50
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
894 изменённых файлов: 111424 добавлений и 7988 удалений

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

@ -1,3 +1,17 @@
## 2020.11.30 - Azure Ruby SDK Release
* Released the following SDKs
- azure_mgmt_databoxedge - v0.17.0
- azure_mgmt_policy_insights - v0.17.8
- azure_mgmt_monitor - v0.18.0
- azure_mgmt_event_hub - v0.18.2
- azure_mgmt_synapse - v0.17.3
- azure_mgmt_data_factory - v0.18.6
- azure_mgmt_container_registry - v0.18.5
- azure_mgmt_iot_hub - v0.17.5
- azure_mgmt_key_vault - v0.17.7
- azure_mgmt_resources - v0.18.1
- azure_sdk - v0.67.0
## 2020.10.28 - Azure Ruby SDK Release
* Released the following SDKs
- azure_mgmt_kusto - v0.20.0

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

@ -41,6 +41,7 @@ gem 'azure_mgmt_cosmosdb', path: 'management/azure_mgmt_cosmosd
gem 'azure_mgmt_cost_management', path: 'management/azure_mgmt_cost_management'
gem 'azure_mgmt_customer_insights', path: 'management/azure_mgmt_customer_insights'
gem 'azure_mgmt_databox', path: 'management/azure_mgmt_databox'
gem 'azure_mgmt_databoxedge', path: 'management/azure_mgmt_databoxedge'
gem 'azure_mgmt_datashare', path: 'management/azure_mgmt_datashare'
gem 'azure_mgmt_datalake_analytics', path: 'management/azure_mgmt_datalake_analytics'
gem 'azure_mgmt_datalake_store', path: 'management/azure_mgmt_datalake_store'

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

@ -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'

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

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

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

@ -10,8 +10,10 @@ module Azure::Profiles::Latest
Operations = Azure::ContainerRegistry::Mgmt::V2019_05_01::Operations
Replications = Azure::ContainerRegistry::Mgmt::V2019_05_01::Replications
Webhooks = Azure::ContainerRegistry::Mgmt::V2019_05_01::Webhooks
AgentPools = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::AgentPools
Registries = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Registries
Runs = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Runs
TaskRuns = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::TaskRuns
Tasks = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Tasks
module Models
@ -72,48 +74,59 @@ module Azure::Profiles::Latest
RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::RegistryUsageUnit
WebhookStatus = Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::WebhookStatus
WebhookAction = Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::WebhookAction
Credentials = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Credentials
BaseImageTrigger = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageTrigger
TriggerProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TriggerProperties
ImageUpdateTrigger = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ImageUpdateTrigger
SourceRegistryCredentials = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceRegistryCredentials
TimerTriggerDescriptor = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTriggerDescriptor
SecretObject = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SecretObject
AgentProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentProperties
CustomRegistryCredentials = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::CustomRegistryCredentials
SourceUploadDefinition = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceUploadDefinition
RunRequest = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunRequest
RunFilter = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunFilter
RunGetLogResult = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunGetLogResult
TaskListResult = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskListResult
IdentityProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::IdentityProperties
PlatformUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::PlatformUpdateParameters
TaskStepProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStepProperties
TaskStepUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStepUpdateParameters
AuthInfo = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AuthInfo
TimerTriggerUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTriggerUpdateParameters
SourceProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceProperties
AgentPoolListResult = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPoolListResult
SourceTrigger = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceTrigger
RunRequest = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunRequest
BaseImageTrigger = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageTrigger
ImageUpdateTrigger = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ImageUpdateTrigger
TriggerProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TriggerProperties
TimerTriggerDescriptor = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTriggerDescriptor
SourceRegistryCredentials = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceRegistryCredentials
AgentProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentProperties
SecretObject = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SecretObject
SourceUploadDefinition = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceUploadDefinition
SetValue = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SetValue
RunFilter = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunFilter
Credentials = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Credentials
RunGetLogResult = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunGetLogResult
Argument = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Argument
IdentityProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::IdentityProperties
TaskListResult = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskListResult
TaskRunUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRunUpdateParameters
PlatformUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::PlatformUpdateParameters
BaseImageDependency = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageDependency
TaskStepUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStepUpdateParameters
TimerTrigger = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTrigger
TimerTriggerUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTriggerUpdateParameters
AgentPoolQueueStatus = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPoolQueueStatus
AuthInfoUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AuthInfoUpdateParameters
SourceTriggerDescriptor = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceTriggerDescriptor
SourceUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceUpdateParameters
SetValue = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SetValue
RunListResult = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunListResult
SourceTriggerUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceTriggerUpdateParameters
UserIdentityProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::UserIdentityProperties
BaseImageTriggerUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageTriggerUpdateParameters
TimerTrigger = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTrigger
TriggerUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TriggerUpdateParameters
ImageDescriptor = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ImageDescriptor
TaskUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskUpdateParameters
RunUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunUpdateParameters
Resource = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Resource
SourceProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceProperties
ProxyResource = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ProxyResource
BaseImageDependency = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageDependency
Argument = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Argument
PlatformProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::PlatformProperties
BaseImageTriggerUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageTriggerUpdateParameters
OverrideTaskStepProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::OverrideTaskStepProperties
TriggerUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TriggerUpdateParameters
TaskStepProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStepProperties
TaskUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskUpdateParameters
ImageDescriptor = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ImageDescriptor
SystemData = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SystemData
RunListResult = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunListResult
Resource = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Resource
TaskRunListResult = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRunListResult
ProxyResource = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ProxyResource
PlatformProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::PlatformProperties
InnerErrorDescription = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::InnerErrorDescription
AgentPoolUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPoolUpdateParameters
ErrorResponseBody = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ErrorResponseBody
UserIdentityProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::UserIdentityProperties
ErrorResponse = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ErrorResponse
AgentPool = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPool
Run = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Run
TaskRun = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRun
Task = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Task
DockerBuildRequest = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::DockerBuildRequest
FileTaskRunRequest = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::FileTaskRunRequest
@ -125,12 +138,12 @@ module Azure::Profiles::Latest
DockerBuildStepUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::DockerBuildStepUpdateParameters
FileTaskStepUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::FileTaskStepUpdateParameters
EncodedTaskStepUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::EncodedTaskStepUpdateParameters
OS = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::OS
ProvisioningState = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ProvisioningState
RunStatus = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunStatus
RunType = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunType
OS = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::OS
Architecture = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Architecture
Variant = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Variant
ProvisioningState = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ProvisioningState
ResourceIdentityType = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ResourceIdentityType
TaskStatus = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStatus
BaseImageDependencyType = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageDependencyType
@ -142,10 +155,12 @@ module Azure::Profiles::Latest
UpdateTriggerPayloadType = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::UpdateTriggerPayloadType
SourceRegistryLoginMode = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceRegistryLoginMode
SecretObjectType = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SecretObjectType
CreatedByType = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::CreatedByType
LastModifiedByType = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::LastModifiedByType
end
class ContainerRegistryManagementClass
attr_reader :operations, :replications, :webhooks, :registries, :runs, :tasks, :configurable, :base_url, :options, :model_classes
attr_reader :operations, :replications, :webhooks, :agent_pools, :registries, :runs, :task_runs, :tasks, :configurable, :base_url, :options, :model_classes
def initialize(configurable, base_url=nil, options=nil)
@configurable, @base_url, @options = configurable, base_url, options
@ -164,8 +179,10 @@ module Azure::Profiles::Latest
@client_1.subscription_id = configurable.subscription_id
end
add_telemetry(@client_1)
@agent_pools = @client_1.agent_pools
@registries = @client_1.registries
@runs = @client_1.runs
@task_runs = @client_1.task_runs
@tasks = @client_1.tasks
@model_classes = ModelClasses.new
@ -358,69 +375,90 @@ module Azure::Profiles::Latest
def webhook_action
Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::WebhookAction
end
def credentials
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Credentials
end
def base_image_trigger
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageTrigger
end
def trigger_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TriggerProperties
end
def image_update_trigger
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ImageUpdateTrigger
end
def source_registry_credentials
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceRegistryCredentials
end
def timer_trigger_descriptor
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTriggerDescriptor
end
def secret_object
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SecretObject
end
def agent_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentProperties
end
def custom_registry_credentials
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::CustomRegistryCredentials
end
def source_upload_definition
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceUploadDefinition
end
def run_request
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunRequest
end
def run_filter
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunFilter
end
def run_get_log_result
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunGetLogResult
end
def task_list_result
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskListResult
end
def identity_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::IdentityProperties
end
def platform_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::PlatformUpdateParameters
end
def task_step_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStepProperties
end
def task_step_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStepUpdateParameters
end
def auth_info
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AuthInfo
end
def timer_trigger_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTriggerUpdateParameters
def source_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceProperties
end
def agent_pool_list_result
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPoolListResult
end
def source_trigger
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceTrigger
end
def run_request
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunRequest
end
def base_image_trigger
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageTrigger
end
def image_update_trigger
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ImageUpdateTrigger
end
def trigger_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TriggerProperties
end
def timer_trigger_descriptor
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTriggerDescriptor
end
def source_registry_credentials
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceRegistryCredentials
end
def agent_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentProperties
end
def secret_object
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SecretObject
end
def source_upload_definition
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceUploadDefinition
end
def set_value
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SetValue
end
def run_filter
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunFilter
end
def credentials
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Credentials
end
def run_get_log_result
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunGetLogResult
end
def argument
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Argument
end
def identity_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::IdentityProperties
end
def task_list_result
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskListResult
end
def task_run_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRunUpdateParameters
end
def platform_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::PlatformUpdateParameters
end
def base_image_dependency
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageDependency
end
def task_step_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStepUpdateParameters
end
def timer_trigger
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTrigger
end
def timer_trigger_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTriggerUpdateParameters
end
def agent_pool_queue_status
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPoolQueueStatus
end
def auth_info_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AuthInfoUpdateParameters
end
@ -430,60 +468,72 @@ module Azure::Profiles::Latest
def source_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceUpdateParameters
end
def set_value
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SetValue
end
def run_list_result
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunListResult
end
def source_trigger_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceTriggerUpdateParameters
end
def user_identity_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::UserIdentityProperties
end
def base_image_trigger_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageTriggerUpdateParameters
end
def timer_trigger
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTrigger
end
def trigger_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TriggerUpdateParameters
end
def image_descriptor
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ImageDescriptor
end
def task_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskUpdateParameters
end
def run_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunUpdateParameters
end
def resource
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Resource
end
def source_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceProperties
end
def proxy_resource
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ProxyResource
end
def base_image_dependency
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageDependency
end
def argument
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Argument
end
def platform_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::PlatformProperties
def base_image_trigger_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageTriggerUpdateParameters
end
def override_task_step_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::OverrideTaskStepProperties
end
def trigger_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TriggerUpdateParameters
end
def task_step_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStepProperties
end
def task_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskUpdateParameters
end
def image_descriptor
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ImageDescriptor
end
def system_data
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SystemData
end
def run_list_result
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunListResult
end
def resource
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Resource
end
def task_run_list_result
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRunListResult
end
def proxy_resource
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ProxyResource
end
def platform_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::PlatformProperties
end
def inner_error_description
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::InnerErrorDescription
end
def agent_pool_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPoolUpdateParameters
end
def error_response_body
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ErrorResponseBody
end
def user_identity_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::UserIdentityProperties
end
def error_response
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ErrorResponse
end
def agent_pool
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPool
end
def run
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Run
end
def task_run
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRun
end
def task
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Task
end
@ -517,24 +567,24 @@ module Azure::Profiles::Latest
def encoded_task_step_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::EncodedTaskStepUpdateParameters
end
def os
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::OS
end
def provisioning_state
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ProvisioningState
end
def run_status
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunStatus
end
def run_type
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunType
end
def os
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::OS
end
def architecture
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Architecture
end
def variant
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Variant
end
def provisioning_state
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ProvisioningState
end
def resource_identity_type
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ResourceIdentityType
end
@ -568,6 +618,12 @@ module Azure::Profiles::Latest
def secret_object_type
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SecretObjectType
end
def created_by_type
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::CreatedByType
end
def last_modified_by_type
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::LastModifiedByType
end
end
end
end

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

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

@ -7,64 +7,71 @@ require 'azure_mgmt_event_hub'
module Azure::Profiles::Latest
module EventHub
module Mgmt
Operations = Azure::EventHub::Mgmt::V2018_01_01_preview::Operations
Clusters = Azure::EventHub::Mgmt::V2018_01_01_preview::Clusters
Configuration = Azure::EventHub::Mgmt::V2018_01_01_preview::Configuration
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
Sku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku
OperationDisplay = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay
Identity = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Identity
OperationListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult
Encryption = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Encryption
KeyVaultProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeyVaultProperties
Operation = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Operation
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
ErrorResponse = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse
Encryption = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Encryption
Resource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource
NWRuleSetVirtualNetworkRules = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetVirtualNetworkRules
EHNamespaceIdListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdListResult
EHNamespaceListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceListResult
ClusterQuotaConfigurationProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties
NWRuleSetIpRules = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetIpRules
EHNamespaceIdContainer = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdContainer
IpFilterRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRuleListResult
VirtualNetworkRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult
AvailableClustersList = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableClustersList
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
EHNamespace = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace
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
IPAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction
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 :operations, :clusters, :configuration, :namespaces, :configurable, :base_url, :options, :model_classes
attr_reader :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::V2018_01_01_preview::EventHub2018PreviewManagementClient.new(configurable.credentials, base_url, options)
@client_0 = Azure::EventHub::Mgmt::V2018_01_01_preview::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)
@operations = @client_0.operations
@clusters = @client_0.clusters
@configuration = @client_0.configuration
@namespaces = @client_0.namespaces
@private_endpoint_connections = @client_0.private_endpoint_connections
@private_link_resources = @client_0.private_link_resources
@configuration = @client_0.configuration
@model_classes = ModelClasses.new
end
@ -83,23 +90,14 @@ module Azure::Profiles::Latest
end
class ModelClasses
def sku
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku
end
def operation_display
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay
end
def identity
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Identity
end
def operation_list_result
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult
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 operation
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Operation
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
@ -110,44 +108,59 @@ module Azure::Profiles::Latest
def cluster_list_result
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterListResult
end
def error_response
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse
end
def encryption
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Encryption
end
def resource
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource
end
def nwrule_set_virtual_network_rules
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetVirtualNetworkRules
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 ehnamespace_list_result
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceListResult
def private_endpoint
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::PrivateEndpoint
end
def cluster_quota_configuration_properties
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties
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 available_clusters_list
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableClustersList
end
def subnet
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Subnet
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
@ -155,11 +168,14 @@ module Azure::Profiles::Latest
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 ip_filter_rule
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule
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
@ -167,6 +183,9 @@ module Azure::Profiles::Latest
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
@ -179,8 +198,11 @@ module Azure::Profiles::Latest
def key_source
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeySource
end
def ipaction
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction
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

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

@ -12,12 +12,13 @@ module Azure::Profiles::Latest
EventCategories = Azure::Monitor::Mgmt::V2015_04_01::EventCategories
Operations = Azure::Monitor::Mgmt::V2015_04_01::Operations
TenantActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::TenantActivityLogs
AlertRules = Azure::Monitor::Mgmt::V2016_03_01::AlertRules
AlertRuleIncidents = Azure::Monitor::Mgmt::V2016_03_01::AlertRuleIncidents
AlertRules = Azure::Monitor::Mgmt::V2016_03_01::AlertRules
LogProfiles = Azure::Monitor::Mgmt::V2016_03_01::LogProfiles
ActivityLogAlerts = Azure::Monitor::Mgmt::V2017_04_01::ActivityLogAlerts
DiagnosticSettingsOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsOperations
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
MetricBaseline = Azure::Monitor::Mgmt::V2017_11_01_preview::MetricBaseline
MetricNamespaces = Azure::Monitor::Mgmt::V2017_12_01_preview::MetricNamespaces
MetricDefinitions = Azure::Monitor::Mgmt::V2018_01_01::MetricDefinitions
@ -27,47 +28,51 @@ module Azure::Profiles::Latest
ScheduledQueryRules = Azure::Monitor::Mgmt::V2018_04_16::ScheduledQueryRules
VMInsights = Azure::Monitor::Mgmt::V2018_11_27_preview::VMInsights
ActionGroups = Azure::Monitor::Mgmt::V2019_03_01::ActionGroups
Baselines = Azure::Monitor::Mgmt::V2019_03_01::Baselines
module Models
RecurrentSchedule = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrentSchedule
Recurrence = Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence
SenderAuthorization = Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization
HttpRequestInfo = Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
AutoscaleProfile = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile
EventData = Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
EventDataCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
EmailNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification
WebhookNotification = Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification
ScaleCapacity = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
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
EventDataCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
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
HttpRequestInfo = Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
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
RuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition
AlertRuleResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch
RuleManagementEventClaimsDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource
AlertRuleResourceCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection
RuleDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource
LogProfileResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch
ManagementEventAggregationCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventAggregationCondition
LogProfileCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileCollection
RecurrenceFrequency = Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrenceFrequency
Incident = Azure::Monitor::Mgmt::V2016_03_01::Models::Incident
RuleAction = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleAction
RuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition
RuleManagementEventClaimsDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource
LogProfileCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileCollection
LogProfileResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch
IncidentListResult = Azure::Monitor::Mgmt::V2016_03_01::Models::IncidentListResult
ManagementEventAggregationCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventAggregationCondition
AlertRuleResourcePatch = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch
RuleDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource
AlertRuleResourceCollection = Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection
RuleMetricDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleMetricDataSource
RuleManagementEventDataSource = Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventDataSource
ThresholdRuleCondition = Azure::Monitor::Mgmt::V2016_03_01::Models::ThresholdRuleCondition
@ -87,13 +92,17 @@ module Azure::Profiles::Latest
ActivityLogAlertList = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertList
ActivityLogAlertResource = Azure::Monitor::Mgmt::V2017_04_01::Models::ActivityLogAlertResource
ProxyOnlyResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource
MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
LogSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
DiagnosticSettingsCategoryResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection
DiagnosticSettingsResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection
RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource
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
Baseline = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::Baseline
BaselineResponse = Azure::Monitor::Mgmt::V2017_11_01_preview::Models::BaselineResponse
@ -115,28 +124,38 @@ module Azure::Profiles::Latest
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
MetricAlertAction = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertAction
MetricAlertCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertCriteria
MetricAlertResourcePatch = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourcePatch
MetricAlertStatusProperties = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusProperties
MetricAlertStatusCollection = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusCollection
MetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricCriteria
MetricAlertAction = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertAction
MetricAlertResourceCollection = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourceCollection
MetricDimension = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension
MetricAlertStatusProperties = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusProperties
MetricAlertStatus = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatus
MetricDimension = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension
MetricAlertStatusCollection = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusCollection
DynamicThresholdFailingPeriods = Azure::Monitor::Mgmt::V2018_03_01::Models::DynamicThresholdFailingPeriods
MultiMetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MultiMetricCriteria
MetricAlertResource = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResource
MetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricCriteria
MetricAlertSingleResourceMultipleMetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertSingleResourceMultipleMetricCriteria
LogSearchRuleResourceCollection = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection
WebtestLocationAvailabilityCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::WebtestLocationAvailabilityCriteria
MetricAlertMultipleResourceMultipleMetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertMultipleResourceMultipleMetricCriteria
DynamicMetricCriteria = Azure::Monitor::Mgmt::V2018_03_01::Models::DynamicMetricCriteria
Operator = Azure::Monitor::Mgmt::V2018_03_01::Models::Operator
DynamicThresholdOperator = Azure::Monitor::Mgmt::V2018_03_01::Models::DynamicThresholdOperator
DynamicThresholdSensitivity = Azure::Monitor::Mgmt::V2018_03_01::Models::DynamicThresholdSensitivity
LogMetricTrigger = Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger
Schedule = Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule
TriggerCondition = Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition
Action = Azure::Monitor::Mgmt::V2018_04_16::Models::Action
Source = Azure::Monitor::Mgmt::V2018_04_16::Models::Source
AzNsActionGroup = Azure::Monitor::Mgmt::V2018_04_16::Models::AzNsActionGroup
Action = Azure::Monitor::Mgmt::V2018_04_16::Models::Action
Schedule = Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule
LogSearchRuleResourceCollection = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection
LogSearchRuleResourcePatch = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourcePatch
Dimension = Azure::Monitor::Mgmt::V2018_04_16::Models::Dimension
Criteria = Azure::Monitor::Mgmt::V2018_04_16::Models::Criteria
LogSearchRuleResource = Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResource
AlertingAction = Azure::Monitor::Mgmt::V2018_04_16::Models::AlertingAction
LogToMetricAction = Azure::Monitor::Mgmt::V2018_04_16::Models::LogToMetricAction
Enabled = Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled
ProvisioningState = Azure::Monitor::Mgmt::V2018_04_16::Models::ProvisioningState
QueryType = Azure::Monitor::Mgmt::V2018_04_16::Models::QueryType
@ -151,27 +170,35 @@ module Azure::Profiles::Latest
VMInsightsOnboardingStatus = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::VMInsightsOnboardingStatus
OnboardingStatus = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::OnboardingStatus
DataStatus = Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataStatus
LogicAppReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::LogicAppReceiver
Resource = Azure::Monitor::Mgmt::V2019_03_01::Models::Resource
AzureFunctionReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AzureFunctionReceiver
SmsReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::SmsReceiver
ArmRoleReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::ArmRoleReceiver
ItsmReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::ItsmReceiver
AzureAppPushReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AzureAppPushReceiver
VoiceReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::VoiceReceiver
EmailReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::EmailReceiver
ActionGroupList = Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupList
WebhookReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::WebhookReceiver
EnableRequest = Azure::Monitor::Mgmt::V2019_03_01::Models::EnableRequest
EmailReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::EmailReceiver
AzureAppPushReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AzureAppPushReceiver
ErrorResponse = Azure::Monitor::Mgmt::V2019_03_01::Models::ErrorResponse
AutomationRunbookReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AutomationRunbookReceiver
VoiceReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::VoiceReceiver
ActionGroupPatchBody = Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupPatchBody
AzureFunctionReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AzureFunctionReceiver
MetricSingleDimension = Azure::Monitor::Mgmt::V2019_03_01::Models::MetricSingleDimension
SmsReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::SmsReceiver
SingleBaseline = Azure::Monitor::Mgmt::V2019_03_01::Models::SingleBaseline
AutomationRunbookReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::AutomationRunbookReceiver
BaselineMetadata = Azure::Monitor::Mgmt::V2019_03_01::Models::BaselineMetadata
Resource = Azure::Monitor::Mgmt::V2019_03_01::Models::Resource
TimeSeriesBaseline = Azure::Monitor::Mgmt::V2019_03_01::Models::TimeSeriesBaseline
LogicAppReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::LogicAppReceiver
SingleMetricBaseline = Azure::Monitor::Mgmt::V2019_03_01::Models::SingleMetricBaseline
ItsmReceiver = Azure::Monitor::Mgmt::V2019_03_01::Models::ItsmReceiver
MetricBaselinesResponse = Azure::Monitor::Mgmt::V2019_03_01::Models::MetricBaselinesResponse
ActionGroupResource = Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupResource
ReceiverStatus = Azure::Monitor::Mgmt::V2019_03_01::Models::ReceiverStatus
BaselineSensitivity = Azure::Monitor::Mgmt::V2019_03_01::Models::BaselineSensitivity
ResultType = Azure::Monitor::Mgmt::V2019_03_01::Models::ResultType
end
class MonitorManagementClass
attr_reader :activity_logs, :autoscale_settings, :event_categories, :operations, :tenant_activity_logs, :alert_rules, :alert_rule_incidents, :log_profiles, :activity_log_alerts, :diagnostic_settings_operations, :diagnostic_settings_category_operations, :metric_baseline, :metric_namespaces, :metric_definitions, :metrics, :metric_alerts, :metric_alerts_status, :scheduled_query_rules, :vminsights, :action_groups, :configurable, :base_url, :options, :model_classes
attr_reader :activity_logs, :autoscale_settings, :event_categories, :operations, :tenant_activity_logs, :alert_rule_incidents, :alert_rules, :log_profiles, :activity_log_alerts, :diagnostic_settings_category_operations, :diagnostic_settings_operations, :subscription_diagnostic_settings_operations, :metric_baseline, :metric_namespaces, :metric_definitions, :metrics, :metric_alerts, :metric_alerts_status, :scheduled_query_rules, :vminsights, :action_groups, :baselines, :configurable, :base_url, :options, :model_classes
def initialize(configurable, base_url=nil, options=nil)
@configurable, @base_url, @options = configurable, base_url, options
@ -192,8 +219,8 @@ module Azure::Profiles::Latest
@client_1.subscription_id = configurable.subscription_id
end
add_telemetry(@client_1)
@alert_rules = @client_1.alert_rules
@alert_rule_incidents = @client_1.alert_rule_incidents
@alert_rules = @client_1.alert_rules
@log_profiles = @client_1.log_profiles
@client_2 = Azure::Monitor::Mgmt::V2017_04_01::MonitorManagementClient.new(configurable.credentials, base_url, options)
@ -208,8 +235,9 @@ module Azure::Profiles::Latest
@client_3.subscription_id = configurable.subscription_id
end
add_telemetry(@client_3)
@diagnostic_settings_operations = @client_3.diagnostic_settings_operations
@diagnostic_settings_category_operations = @client_3.diagnostic_settings_category_operations
@diagnostic_settings_operations = @client_3.diagnostic_settings_operations
@subscription_diagnostic_settings_operations = @client_3.subscription_diagnostic_settings_operations
@client_4 = Azure::Monitor::Mgmt::V2017_11_01_preview::MonitorManagementClient.new(configurable.credentials, base_url, options)
if(@client_4.respond_to?(:subscription_id))
@ -261,6 +289,7 @@ module Azure::Profiles::Latest
end
add_telemetry(@client_10)
@action_groups = @client_10.action_groups
@baselines = @client_10.baselines
@model_classes = ModelClasses.new
end
@ -305,14 +334,14 @@ module Azure::Profiles::Latest
def recurrence
Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence
end
def sender_authorization
Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization
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
Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
def event_data_collection
Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
end
def email_notification
Azure::Monitor::Mgmt::V2015_04_01::Models::EmailNotification
@ -320,8 +349,8 @@ module Azure::Profiles::Latest
def webhook_notification
Azure::Monitor::Mgmt::V2015_04_01::Models::WebhookNotification
end
def scale_capacity
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
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
@ -332,12 +361,12 @@ module Azure::Profiles::Latest
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 event_data_collection
Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
end
def autoscale_setting_resource_collection
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection
end
@ -347,8 +376,8 @@ module Azure::Profiles::Latest
def event_category_collection
Azure::Monitor::Mgmt::V2015_04_01::Models::EventCategoryCollection
end
def http_request_info
Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
def event_data
Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
end
def operation_display
Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay
@ -359,6 +388,9 @@ module Azure::Profiles::Latest
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
@ -377,35 +409,17 @@ module Azure::Profiles::Latest
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 rule_condition
Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition
end
def alert_rule_resource_patch
Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch
end
def rule_management_event_claims_data_source
Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource
end
def alert_rule_resource_collection
Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection
end
def rule_data_source
Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource
end
def log_profile_resource_patch
Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch
end
def management_event_aggregation_condition
Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventAggregationCondition
end
def log_profile_collection
Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileCollection
def recurrence_frequency
Azure::Monitor::Mgmt::V2015_04_01::Models::RecurrenceFrequency
end
def incident
Azure::Monitor::Mgmt::V2016_03_01::Models::Incident
@ -413,9 +427,33 @@ module Azure::Profiles::Latest
def rule_action
Azure::Monitor::Mgmt::V2016_03_01::Models::RuleAction
end
def rule_condition
Azure::Monitor::Mgmt::V2016_03_01::Models::RuleCondition
end
def rule_management_event_claims_data_source
Azure::Monitor::Mgmt::V2016_03_01::Models::RuleManagementEventClaimsDataSource
end
def log_profile_collection
Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileCollection
end
def log_profile_resource_patch
Azure::Monitor::Mgmt::V2016_03_01::Models::LogProfileResourcePatch
end
def incident_list_result
Azure::Monitor::Mgmt::V2016_03_01::Models::IncidentListResult
end
def management_event_aggregation_condition
Azure::Monitor::Mgmt::V2016_03_01::Models::ManagementEventAggregationCondition
end
def alert_rule_resource_patch
Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourcePatch
end
def rule_data_source
Azure::Monitor::Mgmt::V2016_03_01::Models::RuleDataSource
end
def alert_rule_resource_collection
Azure::Monitor::Mgmt::V2016_03_01::Models::AlertRuleResourceCollection
end
def rule_metric_data_source
Azure::Monitor::Mgmt::V2016_03_01::Models::RuleMetricDataSource
end
@ -473,27 +511,39 @@ module Azure::Profiles::Latest
def proxy_only_resource
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::ProxyOnlyResource
end
def metric_settings
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
end
def log_settings
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
end
def diagnostic_settings_category_resource_collection
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection
end
def diagnostic_settings_resource_collection
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection
end
def retention_policy
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
end
def diagnostic_settings_resource
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource
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
@ -557,8 +607,8 @@ module Azure::Profiles::Latest
def aggregation_type
Azure::Monitor::Mgmt::V2018_01_01::Models::AggregationType
end
def result_type
Azure::Monitor::Mgmt::V2018_01_01::Models::ResultType
def metric_alert_action
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertAction
end
def metric_alert_criteria
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertCriteria
@ -566,63 +616,93 @@ module Azure::Profiles::Latest
def metric_alert_resource_patch
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourcePatch
end
def metric_alert_status_properties
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusProperties
end
def metric_alert_status_collection
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusCollection
end
def metric_criteria
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricCriteria
end
def metric_alert_action
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertAction
end
def metric_alert_resource_collection
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResourceCollection
end
def metric_dimension
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension
def metric_alert_status_properties
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusProperties
end
def metric_alert_status
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatus
end
def metric_dimension
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricDimension
end
def metric_alert_status_collection
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertStatusCollection
end
def dynamic_threshold_failing_periods
Azure::Monitor::Mgmt::V2018_03_01::Models::DynamicThresholdFailingPeriods
end
def multi_metric_criteria
Azure::Monitor::Mgmt::V2018_03_01::Models::MultiMetricCriteria
end
def metric_alert_resource
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertResource
end
def metric_criteria
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricCriteria
end
def metric_alert_single_resource_multiple_metric_criteria
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertSingleResourceMultipleMetricCriteria
end
def log_search_rule_resource_collection
Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection
def webtest_location_availability_criteria
Azure::Monitor::Mgmt::V2018_03_01::Models::WebtestLocationAvailabilityCriteria
end
def metric_alert_multiple_resource_multiple_metric_criteria
Azure::Monitor::Mgmt::V2018_03_01::Models::MetricAlertMultipleResourceMultipleMetricCriteria
end
def dynamic_metric_criteria
Azure::Monitor::Mgmt::V2018_03_01::Models::DynamicMetricCriteria
end
def operator
Azure::Monitor::Mgmt::V2018_03_01::Models::Operator
end
def dynamic_threshold_operator
Azure::Monitor::Mgmt::V2018_03_01::Models::DynamicThresholdOperator
end
def dynamic_threshold_sensitivity
Azure::Monitor::Mgmt::V2018_03_01::Models::DynamicThresholdSensitivity
end
def log_metric_trigger
Azure::Monitor::Mgmt::V2018_04_16::Models::LogMetricTrigger
end
def schedule
Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule
end
def trigger_condition
Azure::Monitor::Mgmt::V2018_04_16::Models::TriggerCondition
end
def action
Azure::Monitor::Mgmt::V2018_04_16::Models::Action
end
def source
Azure::Monitor::Mgmt::V2018_04_16::Models::Source
end
def az_ns_action_group
Azure::Monitor::Mgmt::V2018_04_16::Models::AzNsActionGroup
end
def action
Azure::Monitor::Mgmt::V2018_04_16::Models::Action
end
def schedule
Azure::Monitor::Mgmt::V2018_04_16::Models::Schedule
end
def log_search_rule_resource_collection
Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourceCollection
end
def log_search_rule_resource_patch
Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResourcePatch
end
def dimension
Azure::Monitor::Mgmt::V2018_04_16::Models::Dimension
end
def criteria
Azure::Monitor::Mgmt::V2018_04_16::Models::Criteria
end
def log_search_rule_resource
Azure::Monitor::Mgmt::V2018_04_16::Models::LogSearchRuleResource
end
def alerting_action
Azure::Monitor::Mgmt::V2018_04_16::Models::AlertingAction
end
def log_to_metric_action
Azure::Monitor::Mgmt::V2018_04_16::Models::LogToMetricAction
end
def enabled
Azure::Monitor::Mgmt::V2018_04_16::Models::Enabled
end
@ -665,29 +745,11 @@ module Azure::Profiles::Latest
def data_status
Azure::Monitor::Mgmt::V2018_11_27_preview::Models::DataStatus
end
def logic_app_receiver
Azure::Monitor::Mgmt::V2019_03_01::Models::LogicAppReceiver
end
def resource
Azure::Monitor::Mgmt::V2019_03_01::Models::Resource
end
def azure_function_receiver
Azure::Monitor::Mgmt::V2019_03_01::Models::AzureFunctionReceiver
end
def sms_receiver
Azure::Monitor::Mgmt::V2019_03_01::Models::SmsReceiver
end
def arm_role_receiver
Azure::Monitor::Mgmt::V2019_03_01::Models::ArmRoleReceiver
end
def itsm_receiver
Azure::Monitor::Mgmt::V2019_03_01::Models::ItsmReceiver
end
def azure_app_push_receiver
Azure::Monitor::Mgmt::V2019_03_01::Models::AzureAppPushReceiver
end
def voice_receiver
Azure::Monitor::Mgmt::V2019_03_01::Models::VoiceReceiver
def email_receiver
Azure::Monitor::Mgmt::V2019_03_01::Models::EmailReceiver
end
def action_group_list
Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupList
@ -698,24 +760,66 @@ module Azure::Profiles::Latest
def enable_request
Azure::Monitor::Mgmt::V2019_03_01::Models::EnableRequest
end
def email_receiver
Azure::Monitor::Mgmt::V2019_03_01::Models::EmailReceiver
def azure_app_push_receiver
Azure::Monitor::Mgmt::V2019_03_01::Models::AzureAppPushReceiver
end
def error_response
Azure::Monitor::Mgmt::V2019_03_01::Models::ErrorResponse
end
def automation_runbook_receiver
Azure::Monitor::Mgmt::V2019_03_01::Models::AutomationRunbookReceiver
def voice_receiver
Azure::Monitor::Mgmt::V2019_03_01::Models::VoiceReceiver
end
def action_group_patch_body
Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupPatchBody
end
def azure_function_receiver
Azure::Monitor::Mgmt::V2019_03_01::Models::AzureFunctionReceiver
end
def metric_single_dimension
Azure::Monitor::Mgmt::V2019_03_01::Models::MetricSingleDimension
end
def sms_receiver
Azure::Monitor::Mgmt::V2019_03_01::Models::SmsReceiver
end
def single_baseline
Azure::Monitor::Mgmt::V2019_03_01::Models::SingleBaseline
end
def automation_runbook_receiver
Azure::Monitor::Mgmt::V2019_03_01::Models::AutomationRunbookReceiver
end
def baseline_metadata
Azure::Monitor::Mgmt::V2019_03_01::Models::BaselineMetadata
end
def resource
Azure::Monitor::Mgmt::V2019_03_01::Models::Resource
end
def time_series_baseline
Azure::Monitor::Mgmt::V2019_03_01::Models::TimeSeriesBaseline
end
def logic_app_receiver
Azure::Monitor::Mgmt::V2019_03_01::Models::LogicAppReceiver
end
def single_metric_baseline
Azure::Monitor::Mgmt::V2019_03_01::Models::SingleMetricBaseline
end
def itsm_receiver
Azure::Monitor::Mgmt::V2019_03_01::Models::ItsmReceiver
end
def metric_baselines_response
Azure::Monitor::Mgmt::V2019_03_01::Models::MetricBaselinesResponse
end
def action_group_resource
Azure::Monitor::Mgmt::V2019_03_01::Models::ActionGroupResource
end
def receiver_status
Azure::Monitor::Mgmt::V2019_03_01::Models::ReceiverStatus
end
def baseline_sensitivity
Azure::Monitor::Mgmt::V2019_03_01::Models::BaselineSensitivity
end
def result_type
Azure::Monitor::Mgmt::V2019_03_01::Models::ResultType
end
end
end
end

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

@ -16,6 +16,8 @@ module Azure::Profiles::Latest
module Models
PolicyGroupSummary = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyGroupSummary
ComponentEventDetails = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComponentEventDetails
ComponentStateDetails = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComponentStateDetails
PolicyMetadata = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyMetadata
SlimPolicyMetadata = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::SlimPolicyMetadata
PolicyMetadataCollection = Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyMetadataCollection
@ -108,6 +110,12 @@ module Azure::Profiles::Latest
def policy_group_summary
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyGroupSummary
end
def component_event_details
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComponentEventDetails
end
def component_state_details
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::ComponentStateDetails
end
def policy_metadata
Azure::PolicyInsights::Mgmt::V2019_10_01::Models::PolicyMetadata
end

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

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

@ -12,49 +12,57 @@ module Azure::Profiles::V2019_03_01_Hybrid
EventCategories = Azure::Monitor::Mgmt::V2015_04_01::EventCategories
Operations = Azure::Monitor::Mgmt::V2015_04_01::Operations
TenantActivityLogs = Azure::Monitor::Mgmt::V2015_04_01::TenantActivityLogs
DiagnosticSettingsOperations = Azure::Monitor::Mgmt::V2017_05_01_preview::DiagnosticSettingsOperations
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
SenderAuthorization = Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization
HttpRequestInfo = Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
AutoscaleProfile = Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleProfile
EventData = Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
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
ScaleCapacity = Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
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
EventDataCollection = Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
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
HttpRequestInfo = Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
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
Resource = Azure::Monitor::Mgmt::V2015_04_01::Models::Resource
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
MetricSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
LogSettings = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
DiagnosticSettingsCategoryResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResourceCollection
DiagnosticSettingsResourceCollection = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResourceCollection
RetentionPolicy = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
DiagnosticSettingsResource = Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsResource
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
@ -72,7 +80,7 @@ module Azure::Profiles::V2019_03_01_Hybrid
end
class MonitorManagementClass
attr_reader :activity_logs, :autoscale_settings, :event_categories, :operations, :tenant_activity_logs, :diagnostic_settings_operations, :diagnostic_settings_category_operations, :metric_definitions, :metrics, :configurable, :base_url, :options, :model_classes
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
@ -93,8 +101,9 @@ module Azure::Profiles::V2019_03_01_Hybrid
@client_1.subscription_id = configurable.subscription_id
end
add_telemetry(@client_1)
@diagnostic_settings_operations = @client_1.diagnostic_settings_operations
@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))
@ -131,23 +140,26 @@ module Azure::Profiles::V2019_03_01_Hybrid
def recurrence
Azure::Monitor::Mgmt::V2015_04_01::Models::Recurrence
end
def sender_authorization
Azure::Monitor::Mgmt::V2015_04_01::Models::SenderAuthorization
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
Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
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_capacity
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
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
@ -158,12 +170,12 @@ module Azure::Profiles::V2019_03_01_Hybrid
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 event_data_collection
Azure::Monitor::Mgmt::V2015_04_01::Models::EventDataCollection
end
def autoscale_setting_resource_collection
Azure::Monitor::Mgmt::V2015_04_01::Models::AutoscaleSettingResourceCollection
end
@ -173,8 +185,8 @@ module Azure::Profiles::V2019_03_01_Hybrid
def event_category_collection
Azure::Monitor::Mgmt::V2015_04_01::Models::EventCategoryCollection
end
def http_request_info
Azure::Monitor::Mgmt::V2015_04_01::Models::HttpRequestInfo
def event_data
Azure::Monitor::Mgmt::V2015_04_01::Models::EventData
end
def operation_display
Azure::Monitor::Mgmt::V2015_04_01::Models::OperationDisplay
@ -185,8 +197,8 @@ module Azure::Profiles::V2019_03_01_Hybrid
def operation
Azure::Monitor::Mgmt::V2015_04_01::Models::Operation
end
def resource
Azure::Monitor::Mgmt::V2015_04_01::Models::Resource
def scale_capacity
Azure::Monitor::Mgmt::V2015_04_01::Models::ScaleCapacity
end
def operation_list_result
Azure::Monitor::Mgmt::V2015_04_01::Models::OperationListResult
@ -206,35 +218,53 @@ module Azure::Profiles::V2019_03_01_Hybrid
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 metric_settings
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::MetricSettings
end
def log_settings
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::LogSettings
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 retention_policy
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::RetentionPolicy
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 diagnostic_settings_category_resource
Azure::Monitor::Mgmt::V2017_05_01_preview::Models::DiagnosticSettingsCategoryResource
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

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

@ -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

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

@ -1,17 +1,15 @@
{
"management": [
"azure_mgmt_kusto",
"azure_mgmt_cognitive_services",
"azure_mgmt_digitaltwins",
"azure_mgmt_media_services",
"azure_mgmt_hdinsight",
"azure_mgmt_operational_insights",
"azure_mgmt_container_service",
"azure_mgmt_netapp",
"azure_mgmt_cdn",
"azure_mgmt_security",
"azure_mgmt_security_insights",
"azure_mgmt_healthcare_apis"
"azure_mgmt_databoxedge",
"azure_mgmt_policy_insights",
"azure_mgmt_monitor",
"azure_mgmt_event_hub",
"azure_mgmt_synapse",
"azure_mgmt_data_factory",
"azure_mgmt_container_registry",
"azure_mgmt_iot_hub",
"azure_mgmt_key_vault",
"azure_mgmt_resources"
],
"rollup": [
"azure_sdk"

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

@ -1,6 +1,6 @@
{
"rollup": {
"azure_sdk": "0.66.0"
"azure_sdk": "0.67.0"
},
"data": {
"azure_cognitiveservices_anomalydetector": "0.17.1",
@ -55,17 +55,18 @@
"azure_mgmt_compute": "0.20.0",
"azure_mgmt_consumption": "0.18.1",
"azure_mgmt_container_instance": "0.17.6",
"azure_mgmt_container_registry": "0.18.4",
"azure_mgmt_container_registry": "0.18.5",
"azure_mgmt_container_service": "0.21.0",
"azure_mgmt_cosmosdb": "0.22.0",
"azure_mgmt_cost_management": "0.17.1",
"azure_mgmt_customer_insights": "0.17.3",
"azure_mgmt_databox": "0.17.1",
"azure_mgmt_databoxedge": "0.17.0",
"azure_mgmt_datashare": "0.17.2",
"azure_mgmt_datalake_analytics": "0.17.3",
"azure_mgmt_datalake_store": "0.17.3",
"azure_mgmt_data_migration": "0.18.1",
"azure_mgmt_data_factory": "0.18.5",
"azure_mgmt_data_factory": "0.18.6",
"azure_mgmt_deployment_manager": "0.17.1",
"azure_mgmt_dev_spaces": "0.17.3",
"azure_mgmt_devtestlabs": "0.18.1",
@ -73,7 +74,7 @@
"azure_mgmt_dns": "0.17.5",
"azure_mgmt_edgegateway": "0.18.1",
"azure_mgmt_event_grid": "0.20.2",
"azure_mgmt_event_hub": "0.18.1",
"azure_mgmt_event_hub": "0.18.2",
"azure_mgmt_features": "0.17.4",
"azure_mgmt_hanaonazure": "0.18.1",
"azure_mgmt_hdinsight": "0.18.3",
@ -81,8 +82,8 @@
"azure_mgmt_hybrid_compute": "0.17.0",
"azure_mgmt_import_export": "0.17.1",
"azure_mgmt_iot_central": "0.19.2",
"azure_mgmt_iot_hub": "0.17.4",
"azure_mgmt_key_vault": "0.17.6",
"azure_mgmt_iot_hub": "0.17.5",
"azure_mgmt_key_vault": "0.17.7",
"azure_mgmt_kubernetes_configuration": "0.17.1",
"azure_mgmt_kusto": "0.20.0",
"azure_mgmt_labservices": "0.17.2",
@ -98,7 +99,7 @@
"azure_mgmt_media_services": "0.21.0",
"azure_mgmt_migrate": "0.17.1",
"azure_mgmt_mixedreality": "0.17.3",
"azure_mgmt_monitor": "0.17.6",
"azure_mgmt_monitor": "0.18.0",
"azure_mgmt_msi": "0.17.2",
"azure_mgmt_mysql": "0.17.2",
"azure_mgmt_netapp": "0.21.0",
@ -108,7 +109,7 @@
"azure_mgmt_operations_management": "0.17.1",
"azure_mgmt_peering": "0.17.1",
"azure_mgmt_policy": "0.17.9",
"azure_mgmt_policy_insights": "0.17.7",
"azure_mgmt_policy_insights": "0.17.8",
"azure_mgmt_portal": "0.17.1",
"azure_mgmt_postgresql": "0.17.2",
"azure_mgmt_powerbi_embedded": "0.17.2",
@ -122,7 +123,7 @@
"azure_mgmt_reservations": "0.20.0",
"azure_mgmt_resource_health": "0.17.1",
"azure_mgmt_resourcegraph": "0.17.2",
"azure_mgmt_resources": "0.18.0",
"azure_mgmt_resources": "0.18.1",
"azure_mgmt_resources_management": "0.17.2",
"azure_mgmt_scheduler": "0.17.2",
"azure_mgmt_search": "0.17.3",
@ -141,7 +142,7 @@
"azure_mgmt_stream_analytics": "0.17.3",
"azure_mgmt_subscriptions": "0.18.5",
"azure_mgmt_support": "0.17.1",
"azure_mgmt_synapse": "0.17.2",
"azure_mgmt_synapse": "0.17.3",
"azure_mgmt_time_series_insights": "0.17.1",
"azure_mgmt_traffic_manager": "0.17.4",
"azure_mgmt_vmware_cloudsimple": "0.17.1",

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

@ -557,21 +557,21 @@
"azure_mgmt_container_registry": {
"azure_mgmt_container_registry_2019_06_01_preview": {
"input-file": [
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/e5f94c0fcc34e2db553f78122fa54d1e47ea03b6/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json"
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json"
],
"namespace": "Azure::ContainerRegistry::Mgmt::V2019_06_01_preview",
"title": "ContainerRegistryManagementClient"
},
"azure_mgmt_container_registry_2019_05_01_preview": {
"input-file": [
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/e5f94c0fcc34e2db553f78122fa54d1e47ea03b6/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json"
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json"
],
"namespace": "Azure::ContainerRegistry::Mgmt::V2019_05_01_preview",
"title": "ContainerRegistryManagementClient"
},
"azure_mgmt_container_registry_2019_05_01": {
"input-file": [
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/e5f94c0fcc34e2db553f78122fa54d1e47ea03b6/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/containerregistry.json"
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2019-05-01/containerregistry.json"
],
"namespace": "Azure::ContainerRegistry::Mgmt::V2019_05_01",
"title": "ContainerRegistryManagementClient"
@ -842,6 +842,13 @@
"tag": "package-2018-01"
}
},
"azure_mgmt_databoxedge": {
"azure_mgmt_databoxedge_2019_08_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/databoxedge/resource-manager/readme.md",
"namespace": "Azure::DataBoxEdge::Mgmt::V2019_08_01",
"tag": "package-2019-08"
}
},
"azure_mgmt_datashare": {
"azure_mgmt_datashare_2019_11_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/40e12023460046fc431382c86e0a99e85e30bfe6/specification/datashare/resource-manager/readme.md",
@ -912,7 +919,7 @@
"tag": "package-2017-09-preview"
},
"azure_mgmt_data_factory_2018_06_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/f19ed0186981aa6fe7d0f8570e160b5db603772b/specification/datafactory/resource-manager/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/datafactory/resource-manager/readme.md",
"namespace": "Azure::DataFactory::Mgmt::V2018_06_01",
"tag": "package-2018-06"
}
@ -1043,12 +1050,29 @@
},
"azure_mgmt_event_hub": {
"azure_mgmt_event_hub_2018_01_01_preview": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/cd4354e21b0dd77cf3800823065a7cfa4de2da95/specification/eventhub/resource-manager/readme.md",
"input-file": [
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/AvailableClusterRegions-preview.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/Clusters-preview.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/ipfilterrules-preview.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/namespaces-preview.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/quotaConfiguration-preview.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/virtualnetworkrules-preview.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/networkrulessets-preview.json"
],
"namespace": "Azure::EventHub::Mgmt::V2018_01_01_preview",
"tag": "package-2018-01-preview"
},
"azure_mgmt_event_hub_2017_04_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/cd4354e21b0dd77cf3800823065a7cfa4de2da95/specification/eventhub/resource-manager/readme.md",
"input-file": [
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/AuthorizationRules.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/CheckNameAvailability.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/consumergroups.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/disasterRecoveryConfigs.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/operations.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/eventhubs.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/sku.json"
],
"namespace": "Azure::EventHub::Mgmt::V2017_04_01",
"tag": "package-2017-04"
},
@ -1136,6 +1160,11 @@
}
},
"azure_mgmt_iot_hub": {
"azure_mgmt_iot_hub_2019_07_01_preview": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/iothub/resource-manager/readme.md",
"namespace": "Azure::IotHub::Mgmt::V2019_07_01_preview",
"tag": "package-preview-2019-07"
},
"azure_mgmt_iot_hub_2019_03_22_preview": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/24b69e7457d12e3048f20e54211322d09c04960c/specification/iothub/resource-manager/readme.md",
"namespace": "Azure::IotHub::Mgmt::V2019_03_22_preview",
@ -1173,6 +1202,11 @@
}
},
"azure_mgmt_key_vault": {
"azure_mgmt_key_vault_2019_09_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/keyvault/resource-manager/readme.md",
"namespace": "Azure::KeyVault::Mgmt::V2019_09_01",
"tag": "package-2019-09"
},
"azure_mgmt_key_vault_2018_02_14_preview": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/cd4354e21b0dd77cf3800823065a7cfa4de2da95/specification/keyvault/resource-manager/readme.md",
"namespace": "Azure::KeyVault::Mgmt::V2018_02_14_preview",
@ -1444,12 +1478,24 @@
"namespace": "Azure::Monitor::Mgmt::V2018_06_17_preview",
"tag": "package-2018-06-17-preview"
},
"azure_mgmt_monitor_2019_10_17_preview": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/monitor/resource-manager/readme.md",
"namespace": "Azure::Monitor::Mgmt::V2019_10_17_preview",
"title": "MonitorClient",
"tag": "package-2019-10-17-preview-only"
},
"azure_mgmt_monitor_2019_06_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/monitor/resource-manager/readme.md",
"namespace": "Azure::Monitor::Mgmt::V2019_06_01",
"title": "MonitorClient",
"tag": "package-2019-06-01-only"
},
"azure_mgmt_monitor_2019_03_01": {
"input-file": [
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/5a3fb7cc7cb3adb16f9da603e91c1c55048129d1/specification/monitor/resource-manager/Microsoft.Insights/stable/2019-03-01/actionGroups_API.json"
],
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/monitor/resource-manager/readme.md",
"namespace": "Azure::Monitor::Mgmt::V2019_03_01",
"title": "MonitorClient"
"title": "MonitorClient",
"tag": "package-2019-03-01-only"
},
"azure_mgmt_monitor_2018_09_01": {
"input-file": [
@ -1461,11 +1507,10 @@
"title": "MonitorClient"
},
"azure_mgmt_monitor_2018_11_27_preview": {
"input-file": [
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/5a3fb7cc7cb3adb16f9da603e91c1c55048129d1/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json"
],
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/monitor/resource-manager/readme.md",
"namespace": "Azure::Monitor::Mgmt::V2018_11_27_preview",
"title": "MonitorClient"
"title": "MonitorClient",
"tag": "package-2018-11-27-preview-only"
},
"azure_mgmt_monitor_2018_06_01_preview": {
"input-file": [
@ -1476,44 +1521,43 @@
"title": "MonitorClient"
},
"azure_mgmt_monitor_2018_04_16": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0840eaa81abaf0a42c88d8e2705dff1c89c4f149/specification/monitor/resource-manager/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/monitor/resource-manager/readme.md",
"namespace": "Azure::Monitor::Mgmt::V2018_04_16",
"title": "MonitorClient",
"tag": "package-2018-04-16-only"
},
"azure_mgmt_monitor_2018_03_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0840eaa81abaf0a42c88d8e2705dff1c89c4f149/specification/monitor/resource-manager/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/monitor/resource-manager/readme.md",
"namespace": "Azure::Monitor::Mgmt::V2018_03_01",
"title": "MonitorClient",
"tag": "package-2018-03-01-only"
},
"azure_mgmt_monitor_2018_01_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0840eaa81abaf0a42c88d8e2705dff1c89c4f149/specification/monitor/resource-manager/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/monitor/resource-manager/readme.md",
"namespace": "Azure::Monitor::Mgmt::V2018_01_01",
"title": "MonitorClient",
"tag": "package-2018-01-01-only"
},
"azure_mgmt_monitor_2017_12_01_preview": {
"input-file": [
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/5a3fb7cc7cb3adb16f9da603e91c1c55048129d1/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json"
],
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/monitor/resource-manager/readme.md",
"namespace": "Azure::Monitor::Mgmt::V2017_12_01_preview",
"title": "MonitorClient"
"title": "MonitorClient",
"tag": "package-2017-12-01-preview-only"
},
"azure_mgmt_monitor_2017_11_01_preview": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0840eaa81abaf0a42c88d8e2705dff1c89c4f149/specification/monitor/resource-manager/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/monitor/resource-manager/readme.md",
"namespace": "Azure::Monitor::Mgmt::V2017_11_01_preview",
"title": "MonitorClient",
"tag": "package-2017-11-01-preview-only"
},
"azure_mgmt_monitor_2017_05_01_preview": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0840eaa81abaf0a42c88d8e2705dff1c89c4f149/specification/monitor/resource-manager/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/monitor/resource-manager/readme.md",
"namespace": "Azure::Monitor::Mgmt::V2017_05_01_preview",
"title": "MonitorClient",
"tag": "package-2017-05-01-preview-only"
},
"azure_mgmt_monitor_2017_04_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0840eaa81abaf0a42c88d8e2705dff1c89c4f149/specification/monitor/resource-manager/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/monitor/resource-manager/readme.md",
"namespace": "Azure::Monitor::Mgmt::V2017_04_01",
"title": "MonitorClient",
"tag": "package-2017-04-01-only"
@ -1525,13 +1569,13 @@
"tag": "package-2016-09-01-only"
},
"azure_mgmt_monitor_2016_03_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0840eaa81abaf0a42c88d8e2705dff1c89c4f149/specification/monitor/resource-manager/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/monitor/resource-manager/readme.md",
"namespace": "Azure::Monitor::Mgmt::V2016_03_01",
"title": "MonitorClient",
"tag": "package-2016-03-01-only"
},
"azure_mgmt_monitor_2015_04_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0840eaa81abaf0a42c88d8e2705dff1c89c4f149/specification/monitor/resource-manager/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/monitor/resource-manager/readme.md",
"namespace": "Azure::Monitor::Mgmt::V2015_04_01",
"title": "MonitorClient",
"tag": "package-2015-04-01-only"
@ -2620,12 +2664,29 @@
"azure_mgmt_policy_insights": {
"azure_mgmt_policy_insights_2019_10_01": {
"input-file": [
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/b01b2ea007c4524e4fcb6af74aac96f53ecb45e1/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyStates.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/b01b2ea007c4524e4fcb6af74aac96f53ecb45e1/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyMetadata.json"
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyEvents.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyStates.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-10-01/policyMetadata.json"
],
"namespace": "Azure::PolicyInsights::Mgmt::V2019_10_01",
"title": "PolicyInsightsClient"
},
"azure_mgmt_policy_insights_2019_07_01": {
"input-file": [
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/stable/2019-07-01/remediations.json"
],
"namespace": "Azure::PolicyInsights::Mgmt::V2019_07_01",
"title": "PolicyInsightsClient"
},
"azure_mgmt_policy_insights_2018_07_01_preview": {
"input-file": [
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/remediations.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json"
],
"namespace": "Azure::PolicyInsights::Mgmt::V2018_07_01_preview",
"title": "PolicyInsightsClient"
},
"azure_mgmt_policy_insights_2017_08_09_preview": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/abb5935da5effcc67b823d5de36bd353cc315e0e/specification/policyinsights/resource-manager/readme.md",
"namespace": "Azure::PolicyInsights::Mgmt::V2017_08_09_preview",
@ -2645,15 +2706,6 @@
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/abb5935da5effcc67b823d5de36bd353cc315e0e/specification/policyinsights/resource-manager/readme.md",
"namespace": "Azure::PolicyInsights::Mgmt::V2018_04_04",
"tag": "package-2018-04"
},
"azure_mgmt_policy_insights_2018_07_01_preview": {
"input-file": [
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/abb5935da5effcc67b823d5de36bd353cc315e0e/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyTrackedResources.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/abb5935da5effcc67b823d5de36bd353cc315e0e/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/remediations.json",
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/abb5935da5effcc67b823d5de36bd353cc315e0e/specification/policyinsights/resource-manager/Microsoft.PolicyInsights/preview/2018-07-01-preview/policyStates.json"
],
"namespace": "Azure::PolicyInsights::Mgmt::V2018_07_01_preview",
"title": "PolicyInsightsClient"
}
},
"azure_mgmt_portal": {
@ -2894,6 +2946,11 @@
"namespace": "Azure::Resources::Mgmt::V2020_06_01",
"tag": "package-resources-2020-06"
},
"azure_mgmt_resources_2019_10_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/resources/resource-manager/readme.md",
"namespace": "Azure::Resources::Mgmt::V2019_10_01",
"tag": "package-resources-2019-10"
},
"azure_mgmt_resources_2019_07_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/ca2289cac0d7604ce1602a6e3a3b318e18800a62/specification/resources/resource-manager/readme.md",
"title": "ResourceManagementClient",
@ -3372,7 +3429,7 @@
},
"azure_mgmt_synapse": {
"azure_mgmt_synapse_2019_06_01_preview": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/25e560ebadae221d60e3c301da937720b888affb/specification/synapse/resource-manager/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/da3b82807225e51e7432bb642e9cd79281851dec/specification/synapse/resource-manager/readme.md",
"namespace": "Azure::Synapse::Mgmt::V2019_06_01_preview",
"tag": "package-2019-06-01-preview"
}

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

@ -195,6 +195,13 @@
"module_require": "azure_mgmt_databox"
}
},
"Microsoft.DataBoxEdge": {
"management": {
"path": "management/azure_mgmt_databoxedge",
"namespace": "Azure::DataBoxEdge::Mgmt",
"module_require": "azure_mgmt_databoxedge"
}
},
"Microsoft.DataShare": {
"management": {
"path": "management/azure_mgmt_datashare",

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

@ -1,6 +1,98 @@
{
"rollup": {
"azure_sdk": [
{
"name": "V2020_09_01_Hybrid",
"resourceTypes": {
"Microsoft.Authorization": {
"management": {
"2015-07-01": ["*"]
}
},
"Microsoft.Locks" : {
"management": {
"2016-09-01": ["*"]
}
},
"Microsoft.Policy" : {
"management": {
"2016-12-01": ["*"]
}
},
"Microsoft.Commerce": {
"management": {
"2015-06-01-preview": ["*"]
}
},
"Microsoft.Compute" : {
"management": {
"2019-07-01": ["*"],
"2020-06-01": ["*"]
}
},
"Microsoft.DataBoxEdge": {
"management": {
"2019-08-01": ["*"]
}
},
"Microsoft.IotHub" : {
"management": {
"2019-07-01-preview": ["*"]
}
},
"Microsoft.EventHub": {
"management": {
"2015-08-01": ["*"],
"2017-04-01": ["*"],
"2018-01-01-preview": ["*"]
}
},
"Microsoft.Monitor" : {
"management": {
"2015-04-01": ["*"],
"2017-05-01-preview": ["*"],
"2018-01-01": ["*"]
}
},
"Microsoft.KeyVault" : {
"management": {
"2019-09-01": ["*"]
},
"data": {
"2016-10-01": ["*"]
}
},
"Microsoft.Network" : {
"management": {
"2018-11-01": ["*"]
}
},
"Microsoft.Dns": {
"management": {
"2016-04-01": ["*"]
}
},
"Microsoft.Resources" : {
"management": {
"2018-05-01": ["*"],
"2019-10-01": ["*"]
}
},
"Microsoft.Storage" : {
"management": {
"2019-06-01": ["*"]
}
},
"Microsoft.Web": {
"management": {
"2016-03-01": ["*"],
"2016-09-01": ["*"],
"2018-02-01": ["*"]
}
}
},
"output_dir": "azure_sdk/lib"
},
{
"name": "V2019_03_01_Hybrid",
"resourceTypes": {
@ -1361,6 +1453,7 @@
"resourceTypes": {
"Microsoft.ContainerRegistry" : {
"management": {
"2019-05-01-preview": ["*"],
"2019-05-01": ["*"],
"2019-06-01-preview": ["*"]
}
@ -1444,6 +1537,20 @@
"individual_gem_profile": true
}
],
"azure_mgmt_databoxedge": [
{
"name": "Latest",
"resourceTypes": {
"Microsoft.DataBoxEdge" : {
"management": {
"2019-08-01": ["*"]
}
}
},
"output_dir": "management/azure_mgmt_databoxedge/lib/profiles",
"individual_gem_profile": true
}
],
"azure_mgmt_datashare": [
{
"name": "Latest",
@ -1654,7 +1761,8 @@
"resourceTypes": {
"Microsoft.EventHub" : {
"management": {
"2018-01-01-preview": ["*"]
"2018-01-01-preview": ["*"],
"2017-04-01": ["*"]
}
}
},
@ -2127,7 +2235,9 @@
"2018-03-01": ["*"],
"2018-04-16": ["*"],
"2018-11-27-preview": ["*"],
"2019-03-01": ["*"]
"2019-03-01": ["*"],
"2019-06-01": ["*"],
"2019-10-17-preview": ["*"]
}
}
},
@ -2346,7 +2456,7 @@
"Microsoft.PolicyInsights": {
"management": {
"2019-10-01": ["*"],
"2018-04-04": ["*"],
"2019-07-01": ["*"],
"2018-07-01-preview": ["*"]
}
}

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

@ -124,7 +124,7 @@ module Azure::ContainerRegistry::Mgmt::V2016_06_27_preview
#
def add_telemetry
sdk_information = 'azure_mgmt_container_registry'
sdk_information = "#{sdk_information}/0.18.4"
sdk_information = "#{sdk_information}/0.18.5"
add_user_agent_information(sdk_information)
end
end

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

@ -128,7 +128,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_03_01
#
def add_telemetry
sdk_information = 'azure_mgmt_container_registry'
sdk_information = "#{sdk_information}/0.18.4"
sdk_information = "#{sdk_information}/0.18.5"
add_user_agent_information(sdk_information)
end
end

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

@ -136,7 +136,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_06_01_preview
#
def add_telemetry
sdk_information = 'azure_mgmt_container_registry'
sdk_information = "#{sdk_information}/0.18.4"
sdk_information = "#{sdk_information}/0.18.5"
add_user_agent_information(sdk_information)
end
end

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

@ -136,7 +136,7 @@ module Azure::ContainerRegistry::Mgmt::V2017_10_01
#
def add_telemetry
sdk_information = 'azure_mgmt_container_registry'
sdk_information = "#{sdk_information}/0.18.4"
sdk_information = "#{sdk_information}/0.18.5"
add_user_agent_information(sdk_information)
end
end

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

@ -136,7 +136,7 @@ module Azure::ContainerRegistry::Mgmt::V2018_02_01_preview
#
def add_telemetry
sdk_information = 'azure_mgmt_container_registry'
sdk_information = "#{sdk_information}/0.18.4"
sdk_information = "#{sdk_information}/0.18.5"
add_user_agent_information(sdk_information)
end
end

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

@ -132,7 +132,7 @@ module Azure::ContainerRegistry::Mgmt::V2018_09_01
#
def add_telemetry
sdk_information = 'azure_mgmt_container_registry'
sdk_information = "#{sdk_information}/0.18.4"
sdk_information = "#{sdk_information}/0.18.5"
add_user_agent_information(sdk_information)
end
end

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

@ -132,7 +132,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_04_01
#
def add_telemetry
sdk_information = 'azure_mgmt_container_registry'
sdk_information = "#{sdk_information}/0.18.4"
sdk_information = "#{sdk_information}/0.18.5"
add_user_agent_information(sdk_information)
end
end

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

@ -26,21 +26,25 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
autoload :ContainerRegistryManagementClient, '2019-05-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb'
module Models
autoload :TokenCredentialsProperties, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_credentials_properties.rb'
autoload :ScopeMapUpdateParameters, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map_update_parameters.rb'
autoload :TokenUpdateParameters, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_update_parameters.rb'
autoload :TokenCertificate, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_certificate.rb'
autoload :TokenListResult, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_list_result.rb'
autoload :ProxyResource, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/proxy_resource.rb'
autoload :ScopeMapListResult, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map_list_result.rb'
autoload :GenerateCredentialsParameters, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/generate_credentials_parameters.rb'
autoload :TokenPassword, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_password.rb'
autoload :TokenCertificate, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_certificate.rb'
autoload :ProxyResource, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/proxy_resource.rb'
autoload :TokenCredentialsProperties, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_credentials_properties.rb'
autoload :ScopeMapListResult, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map_list_result.rb'
autoload :GenerateCredentialsResult, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/generate_credentials_result.rb'
autoload :SystemData, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/system_data.rb'
autoload :TokenUpdateParameters, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_update_parameters.rb'
autoload :ActiveDirectoryObject, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/active_directory_object.rb'
autoload :TokenListResult, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_list_result.rb'
autoload :ScopeMapUpdateParameters, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map_update_parameters.rb'
autoload :GenerateCredentialsParameters, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/generate_credentials_parameters.rb'
autoload :ScopeMap, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/scope_map.rb'
autoload :Token, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token.rb'
autoload :ProvisioningState, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/provisioning_state.rb'
autoload :CreatedByType, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/created_by_type.rb'
autoload :LastModifiedByType, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/last_modified_by_type.rb'
autoload :TokenCertificateName, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_certificate_name.rb'
autoload :TokenPasswordName, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_password_name.rb'
autoload :Status, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/status.rb'
autoload :TokenStatus, '2019-05-01-preview/generated/azure_mgmt_container_registry/models/token_status.rb'
end
end

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

@ -132,7 +132,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
#
def add_telemetry
sdk_information = 'azure_mgmt_container_registry'
sdk_information = "#{sdk_information}/0.18.4"
sdk_information = "#{sdk_information}/0.18.5"
add_user_agent_information(sdk_information)
end
end

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

@ -0,0 +1,62 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
module Models
#
# The Active Directory Object that will be used for authenticating the
# token of a container registry.
#
class ActiveDirectoryObject
include MsRestAzure
# @return [String] The user/group/application object ID for Active
# Directory Object that will be used for authenticating the token of a
# container registry.
attr_accessor :object_id
# @return [String] The tenant ID of user/group/application object Active
# Directory Object that will be used for authenticating the token of a
# container registry.
attr_accessor :tenant_id
#
# Mapper for ActiveDirectoryObject class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ActiveDirectoryObject',
type: {
name: 'Composite',
class_name: 'ActiveDirectoryObject',
model_properties: {
object_id: {
client_side_validation: true,
required: false,
serialized_name: 'objectId',
type: {
name: 'String'
}
},
tenant_id: {
client_side_validation: true,
required: false,
serialized_name: 'tenantId',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,18 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
module Models
#
# Defines values for CreatedByType
#
module CreatedByType
User = "User"
Application = "Application"
ManagedIdentity = "ManagedIdentity"
Key = "Key"
end
end
end

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

@ -18,12 +18,11 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
attr_accessor :token_id
# @return [DateTime] The expiry date of the generated credentials after
# which the credentials become invalid. Default value:
# Date.parse('9999-12-31T15:59:59.9999999-08:00') .
# which the credentials become invalid.
attr_accessor :expiry
# @return [TokenPasswordName] Specifies name of the password which should
# be regenerated if any -- password or password2. Possible values
# be regenerated if any -- password1 or password2. Possible values
# include: 'password1', 'password2'
attr_accessor :name
@ -53,7 +52,6 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
client_side_validation: true,
required: false,
serialized_name: 'expiry',
default_value: Date.parse('9999-12-31T15:59:59.9999999-08:00'),
type: {
name: 'DateTime'
}

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

@ -0,0 +1,18 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
module Models
#
# Defines values for LastModifiedByType
#
module LastModifiedByType
User = "User"
Application = "Application"
ManagedIdentity = "ManagedIdentity"
Key = "Key"
end
end
end

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

@ -22,6 +22,10 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
# @return [String] The type of the resource.
attr_accessor :type
# @return [SystemData] Metadata pertaining to creation and last
# modification of the resource.
attr_accessor :system_data
#
# Mapper for ProxyResource class as Ruby Hash.
@ -62,6 +66,16 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
type: {
name: 'String'
}
},
system_data: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'systemData',
type: {
name: 'Composite',
class_name: 'SystemData'
}
}
}
}

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

@ -28,8 +28,8 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
# @return [Array<String>] The list of scoped permissions for registry
# artifacts.
# E.g. repositories/repository-name/pull,
# repositories/repository-name/delete
# E.g. repositories/repository-name/content/read,
# repositories/repository-name/metadata/write
attr_accessor :actions
@ -73,6 +73,16 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
name: 'String'
}
},
system_data: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'systemData',
type: {
name: 'Composite',
class_name: 'SystemData'
}
},
description: {
client_side_validation: true,
required: false,

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

@ -0,0 +1,105 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
module Models
#
# Metadata pertaining to creation and last modification of the resource.
#
class SystemData
include MsRestAzure
# @return [String] The identity that created the resource.
attr_accessor :created_by
# @return [CreatedByType] The type of identity that created the resource.
# Possible values include: 'User', 'Application', 'ManagedIdentity',
# 'Key'
attr_accessor :created_by_type
# @return [DateTime] The timestamp of resource creation (UTC).
attr_accessor :created_at
# @return [String] The identity that last modified the resource.
attr_accessor :last_modified_by
# @return [LastModifiedByType] The type of identity that last modified
# the resource. Possible values include: 'User', 'Application',
# 'ManagedIdentity', 'Key'
attr_accessor :last_modified_by_type
# @return [DateTime] The timestamp of resource modification (UTC).
attr_accessor :last_modified_at
#
# Mapper for SystemData class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'SystemData',
type: {
name: 'Composite',
class_name: 'SystemData',
model_properties: {
created_by: {
client_side_validation: true,
required: false,
serialized_name: 'createdBy',
type: {
name: 'String'
}
},
created_by_type: {
client_side_validation: true,
required: false,
serialized_name: 'createdByType',
type: {
name: 'String'
}
},
created_at: {
client_side_validation: true,
required: false,
serialized_name: 'createdAt',
type: {
name: 'DateTime'
}
},
last_modified_by: {
client_side_validation: true,
required: false,
serialized_name: 'lastModifiedBy',
type: {
name: 'String'
}
},
last_modified_by_type: {
client_side_validation: true,
required: false,
serialized_name: 'lastModifiedByType',
type: {
name: 'String'
}
},
last_modified_at: {
client_side_validation: true,
required: false,
serialized_name: 'lastModifiedAt',
type: {
name: 'DateTime'
}
}
}
}
}
end
end
end
end

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

@ -24,16 +24,12 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
# will be associated with.
attr_accessor :scope_map_id
# @return [String] The user/group/application object ID for which the
# token has to be created.
attr_accessor :object_id
# @return [TokenCredentialsProperties] The credentials that can be used
# for authenticating the token.
attr_accessor :credentials
# @return [Status] The status of the token example enabled or disabled.
# Possible values include: 'enabled', 'disabled'
# @return [TokenStatus] The status of the token example enabled or
# disabled. Possible values include: 'enabled', 'disabled'
attr_accessor :status
@ -77,6 +73,16 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
name: 'String'
}
},
system_data: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'systemData',
type: {
name: 'Composite',
class_name: 'SystemData'
}
},
creation_date: {
client_side_validation: true,
required: false,
@ -103,14 +109,6 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
name: 'String'
}
},
object_id: {
client_side_validation: true,
required: false,
serialized_name: 'properties.objectId',
type: {
name: 'String'
}
},
credentials: {
client_side_validation: true,
required: false,

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

@ -13,6 +13,9 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
include MsRestAzure
# @return [ActiveDirectoryObject]
attr_accessor :active_directory_object
# @return [Array<TokenCertificate>]
attr_accessor :certificates
@ -33,6 +36,15 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
name: 'Composite',
class_name: 'TokenCredentialsProperties',
model_properties: {
active_directory_object: {
client_side_validation: true,
required: false,
serialized_name: 'activeDirectoryObject',
type: {
name: 'Composite',
class_name: 'ActiveDirectoryObject'
}
},
certificates: {
client_side_validation: true,
required: false,

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

@ -13,13 +13,13 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
include MsRestAzure
# @return [DateTime] The password created datetime of the password.
# @return [DateTime] The creation datetime of the password.
attr_accessor :creation_time
# @return [DateTime] The expiry datetime of the password.
attr_accessor :expiry
# @return [TokenPasswordName] The password name "password" or
# @return [TokenPasswordName] The password name "password1" or
# "password2". Possible values include: 'password1', 'password2'
attr_accessor :name

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

@ -6,9 +6,9 @@
module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
module Models
#
# Defines values for Status
# Defines values for TokenStatus
#
module Status
module TokenStatus
Enabled = "enabled"
Disabled = "disabled"
end

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

@ -16,8 +16,8 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
# will be associated with.
attr_accessor :scope_map_id
# @return [Status] The status of the token example enabled or disabled.
# Possible values include: 'enabled', 'disabled'
# @return [TokenStatus] The status of the token example enabled or
# disabled. Possible values include: 'enabled', 'disabled'
attr_accessor :status
# @return [TokenCredentialsProperties] The credentials that can be used

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

@ -78,7 +78,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
fail ArgumentError, 'scope_map_name is nil' if scope_map_name.nil?
fail ArgumentError, "'scope_map_name' should satisfy the constraint - 'MaxLength': '50'" if !scope_map_name.nil? && scope_map_name.length > 50
fail ArgumentError, "'scope_map_name' should satisfy the constraint - 'MinLength': '5'" if !scope_map_name.nil? && scope_map_name.length < 5
fail ArgumentError, "'scope_map_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-]*$'" if !scope_map_name.nil? && scope_map_name.match(Regexp.new('^^[a-zA-Z0-9-]*$$')).nil?
fail ArgumentError, "'scope_map_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-_]*$'" if !scope_map_name.nil? && scope_map_name.match(Regexp.new('^^[a-zA-Z0-9-_]*$$')).nil?
request_headers = {}
@ -435,7 +435,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
fail ArgumentError, 'scope_map_name is nil' if scope_map_name.nil?
fail ArgumentError, "'scope_map_name' should satisfy the constraint - 'MaxLength': '50'" if !scope_map_name.nil? && scope_map_name.length > 50
fail ArgumentError, "'scope_map_name' should satisfy the constraint - 'MinLength': '5'" if !scope_map_name.nil? && scope_map_name.length < 5
fail ArgumentError, "'scope_map_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-]*$'" if !scope_map_name.nil? && scope_map_name.match(Regexp.new('^^[a-zA-Z0-9-]*$$')).nil?
fail ArgumentError, "'scope_map_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-_]*$'" if !scope_map_name.nil? && scope_map_name.match(Regexp.new('^^[a-zA-Z0-9-_]*$$')).nil?
fail ArgumentError, 'scope_map_create_parameters is nil' if scope_map_create_parameters.nil?
@ -560,7 +560,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
fail ArgumentError, 'scope_map_name is nil' if scope_map_name.nil?
fail ArgumentError, "'scope_map_name' should satisfy the constraint - 'MaxLength': '50'" if !scope_map_name.nil? && scope_map_name.length > 50
fail ArgumentError, "'scope_map_name' should satisfy the constraint - 'MinLength': '5'" if !scope_map_name.nil? && scope_map_name.length < 5
fail ArgumentError, "'scope_map_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-]*$'" if !scope_map_name.nil? && scope_map_name.match(Regexp.new('^^[a-zA-Z0-9-]*$$')).nil?
fail ArgumentError, "'scope_map_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-_]*$'" if !scope_map_name.nil? && scope_map_name.match(Regexp.new('^^[a-zA-Z0-9-_]*$$')).nil?
request_headers = {}
@ -664,7 +664,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01_preview
fail ArgumentError, 'scope_map_name is nil' if scope_map_name.nil?
fail ArgumentError, "'scope_map_name' should satisfy the constraint - 'MaxLength': '50'" if !scope_map_name.nil? && scope_map_name.length > 50
fail ArgumentError, "'scope_map_name' should satisfy the constraint - 'MinLength': '5'" if !scope_map_name.nil? && scope_map_name.length < 5
fail ArgumentError, "'scope_map_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-]*$'" if !scope_map_name.nil? && scope_map_name.match(Regexp.new('^^[a-zA-Z0-9-]*$$')).nil?
fail ArgumentError, "'scope_map_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-_]*$'" if !scope_map_name.nil? && scope_map_name.match(Regexp.new('^^[a-zA-Z0-9-_]*$$')).nil?
fail ArgumentError, 'scope_map_update_parameters is nil' if scope_map_update_parameters.nil?

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

@ -136,7 +136,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01
#
def add_telemetry
sdk_information = 'azure_mgmt_container_registry'
sdk_information = "#{sdk_information}/0.18.4"
sdk_information = "#{sdk_information}/0.18.5"
add_user_agent_information(sdk_information)
end
end

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

@ -6,7 +6,7 @@
module Azure::ContainerRegistry::Mgmt::V2019_05_01
module Models
#
# The definition of Azure Monitoring metrics list.
# The definition of Azure Monitoring list.
#
class OperationServiceSpecificationDefinition

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

@ -13,7 +13,8 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01
include MsRestAzure
# @return [PolicyStatus] The value that indicates whether the policy is
# enabled or not. Possible values include: 'enabled', 'disabled'
# enabled or not. Possible values include: 'enabled', 'disabled'. Default
# value: 'disabled' .
attr_accessor :status
@ -34,6 +35,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01
client_side_validation: true,
required: false,
serialized_name: 'status',
default_value: 'disabled',
type: {
name: 'String'
}

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

@ -12,15 +12,16 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01
include MsRestAzure
# @return [Integer] The number of days to retain manifest before it
# expires.
# @return [Integer] The number of days to retain an untagged manifest
# after which it gets purged. Default value: 7 .
attr_accessor :days
# @return [DateTime] The timestamp when the policy was last updated.
attr_accessor :last_updated_time
# @return [PolicyStatus] The value that indicates whether the policy is
# enabled or not. Possible values include: 'enabled', 'disabled'
# enabled or not. Possible values include: 'enabled', 'disabled'. Default
# value: 'disabled' .
attr_accessor :status
@ -41,6 +42,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01
client_side_validation: true,
required: false,
serialized_name: 'days',
default_value: 7,
type: {
name: 'Number'
}
@ -58,6 +60,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01
client_side_validation: true,
required: false,
serialized_name: 'status',
default_value: 'disabled',
type: {
name: 'String'
}

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

@ -13,11 +13,12 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01
include MsRestAzure
# @return [TrustPolicyType] The type of trust policy. Possible values
# include: 'Notary'
# include: 'Notary'. Default value: 'Notary' .
attr_accessor :type
# @return [PolicyStatus] The value that indicates whether the policy is
# enabled or not. Possible values include: 'enabled', 'disabled'
# enabled or not. Possible values include: 'enabled', 'disabled'. Default
# value: 'disabled' .
attr_accessor :status
@ -38,6 +39,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01
client_side_validation: true,
required: false,
serialized_name: 'type',
default_value: 'Notary',
type: {
name: 'String'
}
@ -46,6 +48,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_05_01
client_side_validation: true,
required: false,
serialized_name: 'status',
default_value: 'disabled',
type: {
name: 'String'
}

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

@ -20,54 +20,67 @@ require '2019-06-01-preview/generated/azure_mgmt_container_registry/module_defin
require 'ms_rest_azure'
module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
autoload :AgentPools, '2019-06-01-preview/generated/azure_mgmt_container_registry/agent_pools.rb'
autoload :Registries, '2019-06-01-preview/generated/azure_mgmt_container_registry/registries.rb'
autoload :Runs, '2019-06-01-preview/generated/azure_mgmt_container_registry/runs.rb'
autoload :TaskRuns, '2019-06-01-preview/generated/azure_mgmt_container_registry/task_runs.rb'
autoload :Tasks, '2019-06-01-preview/generated/azure_mgmt_container_registry/tasks.rb'
autoload :ContainerRegistryManagementClient, '2019-06-01-preview/generated/azure_mgmt_container_registry/container_registry_management_client.rb'
module Models
autoload :Credentials, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/credentials.rb'
autoload :BaseImageTrigger, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_trigger.rb'
autoload :TriggerProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/trigger_properties.rb'
autoload :ImageUpdateTrigger, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/image_update_trigger.rb'
autoload :SourceRegistryCredentials, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_registry_credentials.rb'
autoload :TimerTriggerDescriptor, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/timer_trigger_descriptor.rb'
autoload :SecretObject, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/secret_object.rb'
autoload :AgentProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/agent_properties.rb'
autoload :CustomRegistryCredentials, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/custom_registry_credentials.rb'
autoload :SourceUploadDefinition, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_upload_definition.rb'
autoload :RunRequest, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_request.rb'
autoload :RunFilter, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_filter.rb'
autoload :RunGetLogResult, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_get_log_result.rb'
autoload :TaskListResult, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_list_result.rb'
autoload :IdentityProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/identity_properties.rb'
autoload :PlatformUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/platform_update_parameters.rb'
autoload :TaskStepProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_step_properties.rb'
autoload :TaskStepUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_step_update_parameters.rb'
autoload :AuthInfo, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/auth_info.rb'
autoload :TimerTriggerUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/timer_trigger_update_parameters.rb'
autoload :SourceProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_properties.rb'
autoload :AgentPoolListResult, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/agent_pool_list_result.rb'
autoload :SourceTrigger, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_trigger.rb'
autoload :RunRequest, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_request.rb'
autoload :BaseImageTrigger, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_trigger.rb'
autoload :ImageUpdateTrigger, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/image_update_trigger.rb'
autoload :TriggerProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/trigger_properties.rb'
autoload :TimerTriggerDescriptor, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/timer_trigger_descriptor.rb'
autoload :SourceRegistryCredentials, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_registry_credentials.rb'
autoload :AgentProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/agent_properties.rb'
autoload :SecretObject, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/secret_object.rb'
autoload :SourceUploadDefinition, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_upload_definition.rb'
autoload :SetValue, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/set_value.rb'
autoload :RunFilter, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_filter.rb'
autoload :Credentials, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/credentials.rb'
autoload :RunGetLogResult, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_get_log_result.rb'
autoload :Argument, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/argument.rb'
autoload :IdentityProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/identity_properties.rb'
autoload :TaskListResult, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_list_result.rb'
autoload :TaskRunUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_run_update_parameters.rb'
autoload :PlatformUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/platform_update_parameters.rb'
autoload :BaseImageDependency, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_dependency.rb'
autoload :TaskStepUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_step_update_parameters.rb'
autoload :TimerTrigger, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/timer_trigger.rb'
autoload :TimerTriggerUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/timer_trigger_update_parameters.rb'
autoload :AgentPoolQueueStatus, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/agent_pool_queue_status.rb'
autoload :AuthInfoUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/auth_info_update_parameters.rb'
autoload :SourceTriggerDescriptor, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_trigger_descriptor.rb'
autoload :SourceUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_update_parameters.rb'
autoload :SetValue, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/set_value.rb'
autoload :RunListResult, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_list_result.rb'
autoload :SourceTriggerUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_trigger_update_parameters.rb'
autoload :UserIdentityProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/user_identity_properties.rb'
autoload :BaseImageTriggerUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_trigger_update_parameters.rb'
autoload :TimerTrigger, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/timer_trigger.rb'
autoload :TriggerUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/trigger_update_parameters.rb'
autoload :ImageDescriptor, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/image_descriptor.rb'
autoload :TaskUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_update_parameters.rb'
autoload :RunUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_update_parameters.rb'
autoload :Resource, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/resource.rb'
autoload :SourceProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_properties.rb'
autoload :ProxyResource, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/proxy_resource.rb'
autoload :BaseImageDependency, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_dependency.rb'
autoload :Argument, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/argument.rb'
autoload :PlatformProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/platform_properties.rb'
autoload :BaseImageTriggerUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_trigger_update_parameters.rb'
autoload :OverrideTaskStepProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/override_task_step_properties.rb'
autoload :TriggerUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/trigger_update_parameters.rb'
autoload :TaskStepProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_step_properties.rb'
autoload :TaskUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_update_parameters.rb'
autoload :ImageDescriptor, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/image_descriptor.rb'
autoload :SystemData, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/system_data.rb'
autoload :RunListResult, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_list_result.rb'
autoload :Resource, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/resource.rb'
autoload :TaskRunListResult, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_run_list_result.rb'
autoload :ProxyResource, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/proxy_resource.rb'
autoload :PlatformProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/platform_properties.rb'
autoload :InnerErrorDescription, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/inner_error_description.rb'
autoload :AgentPoolUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/agent_pool_update_parameters.rb'
autoload :ErrorResponseBody, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/error_response_body.rb'
autoload :UserIdentityProperties, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/user_identity_properties.rb'
autoload :ErrorResponse, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/error_response.rb'
autoload :AgentPool, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/agent_pool.rb'
autoload :Run, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run.rb'
autoload :TaskRun, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_run.rb'
autoload :Task, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task.rb'
autoload :DockerBuildRequest, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_request.rb'
autoload :FileTaskRunRequest, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/file_task_run_request.rb'
@ -79,12 +92,12 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
autoload :DockerBuildStepUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/docker_build_step_update_parameters.rb'
autoload :FileTaskStepUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/file_task_step_update_parameters.rb'
autoload :EncodedTaskStepUpdateParameters, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/encoded_task_step_update_parameters.rb'
autoload :OS, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/os.rb'
autoload :ProvisioningState, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/provisioning_state.rb'
autoload :RunStatus, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_status.rb'
autoload :RunType, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/run_type.rb'
autoload :OS, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/os.rb'
autoload :Architecture, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/architecture.rb'
autoload :Variant, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/variant.rb'
autoload :ProvisioningState, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/provisioning_state.rb'
autoload :ResourceIdentityType, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/resource_identity_type.rb'
autoload :TaskStatus, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/task_status.rb'
autoload :BaseImageDependencyType, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/base_image_dependency_type.rb'
@ -96,5 +109,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
autoload :UpdateTriggerPayloadType, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/update_trigger_payload_type.rb'
autoload :SourceRegistryLoginMode, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/source_registry_login_mode.rb'
autoload :SecretObjectType, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/secret_object_type.rb'
autoload :CreatedByType, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/created_by_type.rb'
autoload :LastModifiedByType, '2019-06-01-preview/generated/azure_mgmt_container_registry/models/last_modified_by_type.rb'
end
end

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

@ -0,0 +1,958 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
#
# AgentPools
#
class AgentPools
include MsRestAzure
#
# Creates and initializes a new instance of the AgentPools class.
# @param client service class for accessing basic functionality.
#
def initialize(client)
@client = client
end
# @return [ContainerRegistryManagementClient] reference to the ContainerRegistryManagementClient
attr_reader :client
#
# Gets the detailed information for a given agent pool.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [AgentPool] operation results.
#
def get(resource_group_name, registry_name, agent_pool_name, custom_headers:nil)
response = get_async(resource_group_name, registry_name, agent_pool_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Gets the detailed information for a given agent pool.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def get_with_http_info(resource_group_name, registry_name, agent_pool_name, custom_headers:nil)
get_async(resource_group_name, registry_name, agent_pool_name, custom_headers:custom_headers).value!
end
#
# Gets the detailed information for a given agent pool.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def get_async(resource_group_name, registry_name, agent_pool_name, custom_headers:nil)
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, 'agent_pool_name is nil' if agent_pool_name.nil?
fail ArgumentError, "'agent_pool_name' should satisfy the constraint - 'MaxLength': '20'" if !agent_pool_name.nil? && agent_pool_name.length > 20
fail ArgumentError, "'agent_pool_name' should satisfy the constraint - 'MinLength': '3'" if !agent_pool_name.nil? && agent_pool_name.length < 3
fail ArgumentError, "'agent_pool_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-]*$'" if !agent_pool_name.nil? && agent_pool_name.match(Regexp.new('^^[a-zA-Z0-9-]*$$')).nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'registryName' => registry_name,'agentPoolName' => agent_pool_name},
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:get, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
# Deserialize Response
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPool.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
result
end
promise.execute
end
#
# Creates an agent pool for a container registry with the specified parameters.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param agent_pool [AgentPool] The parameters of an agent pool that needs to
# scheduled.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [AgentPool] operation results.
#
def create(resource_group_name, registry_name, agent_pool_name, agent_pool, custom_headers:nil)
response = create_async(resource_group_name, registry_name, agent_pool_name, agent_pool, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param agent_pool [AgentPool] The parameters of an agent pool that needs to
# scheduled.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [Concurrent::Promise] promise which provides async access to http
# response.
#
def create_async(resource_group_name, registry_name, agent_pool_name, agent_pool, custom_headers:nil)
# Send request
promise = begin_create_async(resource_group_name, registry_name, agent_pool_name, agent_pool, custom_headers:custom_headers)
promise = promise.then do |response|
# Defining deserialization method.
deserialize_method = lambda do |parsed_response|
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPool.mapper()
parsed_response = @client.deserialize(result_mapper, parsed_response)
end
# Waiting for response.
@client.get_long_running_operation_result(response, deserialize_method)
end
promise
end
#
# Deletes a specified agent pool resource.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
def delete(resource_group_name, registry_name, agent_pool_name, custom_headers:nil)
response = delete_async(resource_group_name, registry_name, agent_pool_name, custom_headers:custom_headers).value!
nil
end
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [Concurrent::Promise] promise which provides async access to http
# response.
#
def delete_async(resource_group_name, registry_name, agent_pool_name, custom_headers:nil)
# Send request
promise = begin_delete_async(resource_group_name, registry_name, agent_pool_name, custom_headers:custom_headers)
promise = promise.then do |response|
# Defining deserialization method.
deserialize_method = lambda do |parsed_response|
end
# Waiting for response.
@client.get_long_running_operation_result(response, deserialize_method)
end
promise
end
#
# Updates an agent pool with the specified parameters.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param update_parameters [AgentPoolUpdateParameters] The parameters for
# updating an agent pool.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [AgentPool] operation results.
#
def update(resource_group_name, registry_name, agent_pool_name, update_parameters, custom_headers:nil)
response = update_async(resource_group_name, registry_name, agent_pool_name, update_parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param update_parameters [AgentPoolUpdateParameters] The parameters for
# updating an agent pool.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [Concurrent::Promise] promise which provides async access to http
# response.
#
def update_async(resource_group_name, registry_name, agent_pool_name, update_parameters, custom_headers:nil)
# Send request
promise = begin_update_async(resource_group_name, registry_name, agent_pool_name, update_parameters, custom_headers:custom_headers)
promise = promise.then do |response|
# Defining deserialization method.
deserialize_method = lambda do |parsed_response|
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPool.mapper()
parsed_response = @client.deserialize(result_mapper, parsed_response)
end
# Waiting for response.
@client.get_long_running_operation_result(response, deserialize_method)
end
promise
end
#
# Lists all the agent pools for a specified container registry.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [Array<AgentPool>] operation results.
#
def list(resource_group_name, registry_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, registry_name, custom_headers:custom_headers)
first_page.get_all_items
end
#
# Lists all the agent pools for a specified container registry.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def list_with_http_info(resource_group_name, registry_name, custom_headers:nil)
list_async(resource_group_name, registry_name, custom_headers:custom_headers).value!
end
#
# Lists all the agent pools for a specified container registry.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def list_async(resource_group_name, registry_name, custom_headers:nil)
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'registryName' => registry_name},
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:get, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
# Deserialize Response
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPoolListResult.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
result
end
promise.execute
end
#
# Gets the count of queued runs for a given agent pool.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [AgentPoolQueueStatus] operation results.
#
def get_queue_status(resource_group_name, registry_name, agent_pool_name, custom_headers:nil)
response = get_queue_status_async(resource_group_name, registry_name, agent_pool_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Gets the count of queued runs for a given agent pool.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def get_queue_status_with_http_info(resource_group_name, registry_name, agent_pool_name, custom_headers:nil)
get_queue_status_async(resource_group_name, registry_name, agent_pool_name, custom_headers:custom_headers).value!
end
#
# Gets the count of queued runs for a given agent pool.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def get_queue_status_async(resource_group_name, registry_name, agent_pool_name, custom_headers:nil)
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, 'agent_pool_name is nil' if agent_pool_name.nil?
fail ArgumentError, "'agent_pool_name' should satisfy the constraint - 'MaxLength': '20'" if !agent_pool_name.nil? && agent_pool_name.length > 20
fail ArgumentError, "'agent_pool_name' should satisfy the constraint - 'MinLength': '3'" if !agent_pool_name.nil? && agent_pool_name.length < 3
fail ArgumentError, "'agent_pool_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-]*$'" if !agent_pool_name.nil? && agent_pool_name.match(Regexp.new('^^[a-zA-Z0-9-]*$$')).nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}/listQueueStatus'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'registryName' => registry_name,'agentPoolName' => agent_pool_name},
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:post, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
# Deserialize Response
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPoolQueueStatus.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
result
end
promise.execute
end
#
# Creates an agent pool for a container registry with the specified parameters.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param agent_pool [AgentPool] The parameters of an agent pool that needs to
# scheduled.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [AgentPool] operation results.
#
def begin_create(resource_group_name, registry_name, agent_pool_name, agent_pool, custom_headers:nil)
response = begin_create_async(resource_group_name, registry_name, agent_pool_name, agent_pool, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Creates an agent pool for a container registry with the specified parameters.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param agent_pool [AgentPool] The parameters of an agent pool that needs to
# scheduled.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def begin_create_with_http_info(resource_group_name, registry_name, agent_pool_name, agent_pool, custom_headers:nil)
begin_create_async(resource_group_name, registry_name, agent_pool_name, agent_pool, custom_headers:custom_headers).value!
end
#
# Creates an agent pool for a container registry with the specified parameters.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param agent_pool [AgentPool] The parameters of an agent pool that needs to
# scheduled.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def begin_create_async(resource_group_name, registry_name, agent_pool_name, agent_pool, custom_headers:nil)
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, 'agent_pool_name is nil' if agent_pool_name.nil?
fail ArgumentError, "'agent_pool_name' should satisfy the constraint - 'MaxLength': '20'" if !agent_pool_name.nil? && agent_pool_name.length > 20
fail ArgumentError, "'agent_pool_name' should satisfy the constraint - 'MinLength': '3'" if !agent_pool_name.nil? && agent_pool_name.length < 3
fail ArgumentError, "'agent_pool_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-]*$'" if !agent_pool_name.nil? && agent_pool_name.match(Regexp.new('^^[a-zA-Z0-9-]*$$')).nil?
fail ArgumentError, 'agent_pool is nil' if agent_pool.nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
# Serialize Request
request_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPool.mapper()
request_content = @client.serialize(request_mapper, agent_pool)
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'registryName' => registry_name,'agentPoolName' => agent_pool_name},
query_params: {'api-version' => @client.api_version},
body: request_content,
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:put, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 200 || status_code == 201
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
# Deserialize Response
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPool.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
# Deserialize Response
if status_code == 201
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPool.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
result
end
promise.execute
end
#
# Deletes a specified agent pool resource.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
#
def begin_delete(resource_group_name, registry_name, agent_pool_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, registry_name, agent_pool_name, custom_headers:custom_headers).value!
nil
end
#
# Deletes a specified agent pool resource.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def begin_delete_with_http_info(resource_group_name, registry_name, agent_pool_name, custom_headers:nil)
begin_delete_async(resource_group_name, registry_name, agent_pool_name, custom_headers:custom_headers).value!
end
#
# Deletes a specified agent pool resource.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def begin_delete_async(resource_group_name, registry_name, agent_pool_name, custom_headers:nil)
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, 'agent_pool_name is nil' if agent_pool_name.nil?
fail ArgumentError, "'agent_pool_name' should satisfy the constraint - 'MaxLength': '20'" if !agent_pool_name.nil? && agent_pool_name.length > 20
fail ArgumentError, "'agent_pool_name' should satisfy the constraint - 'MinLength': '3'" if !agent_pool_name.nil? && agent_pool_name.length < 3
fail ArgumentError, "'agent_pool_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-]*$'" if !agent_pool_name.nil? && agent_pool_name.match(Regexp.new('^^[a-zA-Z0-9-]*$$')).nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'registryName' => registry_name,'agentPoolName' => agent_pool_name},
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:delete, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 200 || status_code == 202 || status_code == 204
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
result
end
promise.execute
end
#
# Updates an agent pool with the specified parameters.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param update_parameters [AgentPoolUpdateParameters] The parameters for
# updating an agent pool.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [AgentPool] operation results.
#
def begin_update(resource_group_name, registry_name, agent_pool_name, update_parameters, custom_headers:nil)
response = begin_update_async(resource_group_name, registry_name, agent_pool_name, update_parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Updates an agent pool with the specified parameters.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param update_parameters [AgentPoolUpdateParameters] The parameters for
# updating an agent pool.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def begin_update_with_http_info(resource_group_name, registry_name, agent_pool_name, update_parameters, custom_headers:nil)
begin_update_async(resource_group_name, registry_name, agent_pool_name, update_parameters, custom_headers:custom_headers).value!
end
#
# Updates an agent pool with the specified parameters.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param agent_pool_name [String] The name of the agent pool.
# @param update_parameters [AgentPoolUpdateParameters] The parameters for
# updating an agent pool.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def begin_update_async(resource_group_name, registry_name, agent_pool_name, update_parameters, custom_headers:nil)
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, 'agent_pool_name is nil' if agent_pool_name.nil?
fail ArgumentError, "'agent_pool_name' should satisfy the constraint - 'MaxLength': '20'" if !agent_pool_name.nil? && agent_pool_name.length > 20
fail ArgumentError, "'agent_pool_name' should satisfy the constraint - 'MinLength': '3'" if !agent_pool_name.nil? && agent_pool_name.length < 3
fail ArgumentError, "'agent_pool_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-]*$'" if !agent_pool_name.nil? && agent_pool_name.match(Regexp.new('^^[a-zA-Z0-9-]*$$')).nil?
fail ArgumentError, 'update_parameters is nil' if update_parameters.nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
# Serialize Request
request_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPoolUpdateParameters.mapper()
request_content = @client.serialize(request_mapper, update_parameters)
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'registryName' => registry_name,'agentPoolName' => agent_pool_name},
query_params: {'api-version' => @client.api_version},
body: request_content,
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:patch, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 200 || status_code == 201
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
# Deserialize Response
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPool.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
# Deserialize Response
if status_code == 201
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPool.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
result
end
promise.execute
end
#
# Lists all the agent pools for a specified container registry.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [AgentPoolListResult] operation results.
#
def list_next(next_page_link, custom_headers:nil)
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Lists all the agent pools for a specified container registry.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def list_next_with_http_info(next_page_link, custom_headers:nil)
list_next_async(next_page_link, custom_headers:custom_headers).value!
end
#
# Lists all the agent pools for a specified container registry.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def list_next_async(next_page_link, custom_headers:nil)
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
path_template = '{nextLink}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
skip_encoding_path_params: {'nextLink' => next_page_link},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:get, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
# Deserialize Response
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPoolListResult.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
result
end
promise.execute
end
#
# Lists all the agent pools for a specified container registry.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [AgentPoolListResult] which provide lazy access to pages of the
# response.
#
def list_as_lazy(resource_group_name, registry_name, custom_headers:nil)
response = list_async(resource_group_name, registry_name, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end
end
end

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

@ -35,12 +35,18 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
# generated and included in each request. Default is true.
attr_accessor :generate_client_request_id
# @return [AgentPools] agent_pools
attr_reader :agent_pools
# @return [Registries] registries
attr_reader :registries
# @return [Runs] runs
attr_reader :runs
# @return [TaskRuns] task_runs
attr_reader :task_runs
# @return [Tasks] tasks
attr_reader :tasks
@ -57,8 +63,10 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
@credentials = credentials
@agent_pools = AgentPools.new(self)
@registries = Registries.new(self)
@runs = Runs.new(self)
@task_runs = TaskRuns.new(self)
@tasks = Tasks.new(self)
@api_version = '2019-06-01-preview'
@accept_language = 'en-US'
@ -132,7 +140,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
#
def add_telemetry
sdk_information = 'azure_mgmt_container_registry'
sdk_information = "#{sdk_information}/0.18.4"
sdk_information = "#{sdk_information}/0.18.5"
add_user_agent_information(sdk_information)
end
end

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

@ -0,0 +1,157 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
module Models
#
# The agentpool that has the ARM resource and properties.
# The agentpool will have all information to create an agent pool.
#
class AgentPool < Resource
include MsRestAzure
# @return [Integer] The count of agent machine
attr_accessor :count
# @return [String] The Tier of agent machine
attr_accessor :tier
# @return [OS] The OS of agent machine. Possible values include:
# 'Windows', 'Linux'
attr_accessor :os
# @return [String] The Virtual Network Subnet Resource Id of the agent
# machine
attr_accessor :virtual_network_subnet_resource_id
# @return [ProvisioningState] The provisioning state of this agent pool.
# Possible values include: 'Creating', 'Updating', 'Deleting',
# 'Succeeded', 'Failed', 'Canceled'
attr_accessor :provisioning_state
#
# Mapper for AgentPool class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'AgentPool',
type: {
name: 'Composite',
class_name: 'AgentPool',
model_properties: {
id: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'id',
type: {
name: 'String'
}
},
name: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'name',
type: {
name: 'String'
}
},
type: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'type',
type: {
name: 'String'
}
},
location: {
client_side_validation: true,
required: true,
serialized_name: 'location',
type: {
name: 'String'
}
},
tags: {
client_side_validation: true,
required: false,
serialized_name: 'tags',
type: {
name: 'Dictionary',
value: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
},
system_data: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'systemData',
type: {
name: 'Composite',
class_name: 'SystemData'
}
},
count: {
client_side_validation: true,
required: false,
serialized_name: 'properties.count',
type: {
name: 'Number'
}
},
tier: {
client_side_validation: true,
required: false,
serialized_name: 'properties.tier',
type: {
name: 'String'
}
},
os: {
client_side_validation: true,
required: false,
serialized_name: 'properties.os',
type: {
name: 'String'
}
},
virtual_network_subnet_resource_id: {
client_side_validation: true,
required: false,
serialized_name: 'properties.virtualNetworkSubnetResourceId',
type: {
name: 'String'
}
},
provisioning_state: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.provisioningState',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,99 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
module Models
#
# The collection of agent pools.
#
class AgentPoolListResult
include MsRestAzure
include MsRest::JSONable
# @return [Array<AgentPool>] The collection value.
attr_accessor :value
# @return [String] The URI that can be used to request the next set of
# paged results.
attr_accessor :next_link
# return [Proc] with next page method call.
attr_accessor :next_method
#
# Gets the rest of the items for the request, enabling auto-pagination.
#
# @return [Array<AgentPool>] operation results.
#
def get_all_items
items = @value
page = self
while page.next_link != nil && !page.next_link.strip.empty? do
page = page.get_next_page
items.concat(page.value)
end
items
end
#
# Gets the next page of results.
#
# @return [AgentPoolListResult] with next page content.
#
def get_next_page
response = @next_method.call(@next_link).value! unless @next_method.nil?
unless response.nil?
@next_link = response.body.next_link
@value = response.body.value
self
end
end
#
# Mapper for AgentPoolListResult class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'AgentPoolListResult',
type: {
name: 'Composite',
class_name: 'AgentPoolListResult',
model_properties: {
value: {
client_side_validation: true,
required: false,
serialized_name: 'value',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'AgentPoolElementType',
type: {
name: 'Composite',
class_name: 'AgentPool'
}
}
}
},
next_link: {
client_side_validation: true,
required: false,
serialized_name: 'nextLink',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,46 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
module Models
#
# The QueueStatus of Agent Pool
#
class AgentPoolQueueStatus
include MsRestAzure
# @return [Integer] The number of pending runs in the queue
attr_accessor :count
#
# Mapper for AgentPoolQueueStatus class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'AgentPoolQueueStatus',
type: {
name: 'Composite',
class_name: 'AgentPoolQueueStatus',
model_properties: {
count: {
client_side_validation: true,
required: false,
serialized_name: 'count',
type: {
name: 'Number'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,65 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
module Models
#
# The parameters for updating an agent pool.
#
class AgentPoolUpdateParameters
include MsRestAzure
# @return [Integer] The count of agent machine
attr_accessor :count
# @return [Hash{String => String}] The ARM resource tags.
attr_accessor :tags
#
# Mapper for AgentPoolUpdateParameters class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'AgentPoolUpdateParameters',
type: {
name: 'Composite',
class_name: 'AgentPoolUpdateParameters',
model_properties: {
count: {
client_side_validation: true,
required: false,
serialized_name: 'properties.count',
type: {
name: 'Number'
}
},
tags: {
client_side_validation: true,
required: false,
serialized_name: 'tags',
type: {
name: 'Dictionary',
value: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,18 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
module Models
#
# Defines values for CreatedByType
#
module CreatedByType
User = "User"
Application = "Application"
ManagedIdentity = "ManagedIdentity"
Key = "Key"
end
end
end

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

@ -86,6 +86,22 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
name: 'Boolean'
}
},
agent_pool_name: {
client_side_validation: true,
required: false,
serialized_name: 'agentPoolName',
type: {
name: 'String'
}
},
log_template: {
client_side_validation: true,
required: false,
serialized_name: 'logTemplate',
type: {
name: 'String'
}
},
type: {
client_side_validation: true,
required: true,

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

@ -74,6 +74,22 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
name: 'Boolean'
}
},
agent_pool_name: {
client_side_validation: true,
required: false,
serialized_name: 'agentPoolName',
type: {
name: 'String'
}
},
log_template: {
client_side_validation: true,
required: false,
serialized_name: 'logTemplate',
type: {
name: 'String'
}
},
type: {
client_side_validation: true,
required: true,

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

@ -0,0 +1,48 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
module Models
#
# An error response from the Azure Container Registry service.
#
class ErrorResponse
include MsRestAzure
# @return [ErrorResponseBody] Azure container registry build API error
# body.
attr_accessor :error
#
# Mapper for ErrorResponse class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ErrorResponse',
type: {
name: 'Composite',
class_name: 'ErrorResponse',
model_properties: {
error: {
client_side_validation: true,
required: false,
serialized_name: 'error',
type: {
name: 'Composite',
class_name: 'ErrorResponseBody'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,81 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
module Models
#
# An error response from the Azure Container Registry service.
#
class ErrorResponseBody
include MsRestAzure
# @return [String] error code.
attr_accessor :code
# @return [String] error message.
attr_accessor :message
# @return [String] target of the particular error.
attr_accessor :target
# @return [InnerErrorDescription] an array of additional nested error
# response info objects, as described by this contract.
attr_accessor :details
#
# Mapper for ErrorResponseBody class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ErrorResponseBody',
type: {
name: 'Composite',
class_name: 'ErrorResponseBody',
model_properties: {
code: {
client_side_validation: true,
required: true,
serialized_name: 'code',
type: {
name: 'String'
}
},
message: {
client_side_validation: true,
required: true,
serialized_name: 'message',
type: {
name: 'String'
}
},
target: {
client_side_validation: true,
required: false,
serialized_name: 'target',
type: {
name: 'String'
}
},
details: {
client_side_validation: true,
required: false,
serialized_name: 'details',
type: {
name: 'Composite',
class_name: 'InnerErrorDescription'
}
}
}
}
}
end
end
end
end

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

@ -74,6 +74,22 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
name: 'Boolean'
}
},
agent_pool_name: {
client_side_validation: true,
required: false,
serialized_name: 'agentPoolName',
type: {
name: 'String'
}
},
log_template: {
client_side_validation: true,
required: false,
serialized_name: 'logTemplate',
type: {
name: 'String'
}
},
type: {
client_side_validation: true,
required: true,

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

@ -0,0 +1,68 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
module Models
#
# inner error.
#
class InnerErrorDescription
include MsRestAzure
# @return [String] error code.
attr_accessor :code
# @return [String] error message.
attr_accessor :message
# @return [String] target of the particular error.
attr_accessor :target
#
# Mapper for InnerErrorDescription class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'InnerErrorDescription',
type: {
name: 'Composite',
class_name: 'InnerErrorDescription',
model_properties: {
code: {
client_side_validation: true,
required: true,
serialized_name: 'code',
type: {
name: 'String'
}
},
message: {
client_side_validation: true,
required: true,
serialized_name: 'message',
type: {
name: 'String'
}
},
target: {
client_side_validation: true,
required: false,
serialized_name: 'target',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,18 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
module Models
#
# Defines values for LastModifiedByType
#
module LastModifiedByType
User = "User"
Application = "Application"
ManagedIdentity = "ManagedIdentity"
Key = "Key"
end
end
end

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

@ -22,6 +22,10 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
# @return [String] The type of the resource.
attr_accessor :type
# @return [SystemData] Metadata pertaining to creation and last
# modification of the resource.
attr_accessor :system_data
#
# Mapper for ProxyResource class as Ruby Hash.
@ -62,6 +66,16 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
type: {
name: 'String'
}
},
system_data: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'systemData',
type: {
name: 'Composite',
class_name: 'SystemData'
}
}
}
}

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

@ -28,6 +28,10 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
# @return [Hash{String => String}] The tags of the resource.
attr_accessor :tags
# @return [SystemData] Metadata pertaining to creation and last
# modification of the resource.
attr_accessor :system_data
# @return [String] the name of the resource group of the resource.
def resource_group
@ -101,6 +105,16 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
}
}
}
},
system_data: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'systemData',
type: {
name: 'Composite',
class_name: 'SystemData'
}
}
}
}

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

@ -27,6 +27,9 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
# 'QuickBuild', 'QuickRun', 'AutoBuild', 'AutoRun'
attr_accessor :run_type
# @return [String] The dedicated agent pool for the run.
attr_accessor :agent_pool_name
# @return [DateTime] The time the run was scheduled.
attr_accessor :create_time
@ -77,6 +80,9 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
# @return [String] The update trigger token passed for the Run.
attr_accessor :update_trigger_token
# @return [ImageDescriptor] The image description for the log artifact.
attr_accessor :log_artifact
# @return [ProvisioningState] The provisioning state of a run. Possible
# values include: 'Creating', 'Updating', 'Deleting', 'Succeeded',
# 'Failed', 'Canceled'
@ -127,6 +133,16 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
name: 'String'
}
},
system_data: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'systemData',
type: {
name: 'Composite',
class_name: 'SystemData'
}
},
run_id: {
client_side_validation: true,
required: false,
@ -159,6 +175,14 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
name: 'String'
}
},
agent_pool_name: {
client_side_validation: true,
required: false,
serialized_name: 'properties.agentPoolName',
type: {
name: 'String'
}
},
create_time: {
client_side_validation: true,
required: false,
@ -294,6 +318,16 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
name: 'String'
}
},
log_artifact: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.logArtifact',
type: {
name: 'Composite',
class_name: 'ImageDescriptor'
}
},
provisioning_state: {
client_side_validation: true,
required: false,

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

@ -42,6 +42,10 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
# @return [String] The name of the task that the run corresponds to.
attr_accessor :task_name
# @return [String] The name of the agent pool that the run corresponds
# to.
attr_accessor :agent_pool_name
#
# Mapper for RunFilter class as Ruby Hash.
@ -119,6 +123,14 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
type: {
name: 'String'
}
},
agent_pool_name: {
client_side_validation: true,
required: false,
serialized_name: 'agentPoolName',
type: {
name: 'String'
}
}
}
}

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

@ -16,6 +16,10 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
# registry.
attr_accessor :log_link
# @return [String] The link to logs in registry for a run on a azure
# container registry.
attr_accessor :log_artifact_link
#
# Mapper for RunGetLogResult class as Ruby Hash.
@ -37,6 +41,14 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
type: {
name: 'String'
}
},
log_artifact_link: {
client_side_validation: true,
required: false,
serialized_name: 'logArtifactLink',
type: {
name: 'String'
}
}
}
}

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

@ -28,6 +28,13 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
# for the run or not. Default value: false .
attr_accessor :is_archive_enabled
# @return [String] The dedicated agent pool for the run.
attr_accessor :agent_pool_name
# @return [String] The template that describes the repository and tag
# information for run log artifact.
attr_accessor :log_template
#
# Mapper for RunRequest class as Ruby Hash.
@ -52,6 +59,22 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
type: {
name: 'Boolean'
}
},
agent_pool_name: {
client_side_validation: true,
required: false,
serialized_name: 'agentPoolName',
type: {
name: 'String'
}
},
log_template: {
client_side_validation: true,
required: false,
serialized_name: 'logTemplate',
type: {
name: 'String'
}
}
}
}

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

@ -0,0 +1,105 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
module Models
#
# Metadata pertaining to creation and last modification of the resource.
#
class SystemData
include MsRestAzure
# @return [String] The identity that created the resource.
attr_accessor :created_by
# @return [CreatedByType] The type of identity that created the resource.
# Possible values include: 'User', 'Application', 'ManagedIdentity',
# 'Key'
attr_accessor :created_by_type
# @return [DateTime] The timestamp of resource creation (UTC).
attr_accessor :created_at
# @return [String] The identity that last modified the resource.
attr_accessor :last_modified_by
# @return [LastModifiedByType] The type of identity that last modified
# the resource. Possible values include: 'User', 'Application',
# 'ManagedIdentity', 'Key'
attr_accessor :last_modified_by_type
# @return [DateTime] The timestamp of resource modification (UTC).
attr_accessor :last_modified_at
#
# Mapper for SystemData class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'SystemData',
type: {
name: 'Composite',
class_name: 'SystemData',
model_properties: {
created_by: {
client_side_validation: true,
required: false,
serialized_name: 'createdBy',
type: {
name: 'String'
}
},
created_by_type: {
client_side_validation: true,
required: false,
serialized_name: 'createdByType',
type: {
name: 'String'
}
},
created_at: {
client_side_validation: true,
required: false,
serialized_name: 'createdAt',
type: {
name: 'DateTime'
}
},
last_modified_by: {
client_side_validation: true,
required: false,
serialized_name: 'lastModifiedBy',
type: {
name: 'String'
}
},
last_modified_by_type: {
client_side_validation: true,
required: false,
serialized_name: 'lastModifiedByType',
type: {
name: 'String'
}
},
last_modified_at: {
client_side_validation: true,
required: false,
serialized_name: 'lastModifiedAt',
type: {
name: 'DateTime'
}
}
}
}
}
end
end
end
end

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

@ -35,6 +35,9 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
# @return [AgentProperties] The machine configuration of the run agent.
attr_accessor :agent_configuration
# @return [String] The dedicated agent pool for the task.
attr_accessor :agent_pool_name
# @return [Integer] Run timeout in seconds. Default value: 3600 .
attr_accessor :timeout
@ -49,6 +52,14 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
# credentials that will be used when this run is invoked.
attr_accessor :credentials
# @return [String] The template that describes the repository and tag
# information for run log artifact.
attr_accessor :log_template
# @return [Boolean] The value of this property indicates whether the task
# resource is system task or not. Default value: false .
attr_accessor :is_system_task
#
# Mapper for Task class as Ruby Hash.
@ -114,6 +125,16 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
}
}
},
system_data: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'systemData',
type: {
name: 'Composite',
class_name: 'SystemData'
}
},
identity: {
client_side_validation: true,
required: false,
@ -151,7 +172,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
},
platform: {
client_side_validation: true,
required: true,
required: false,
serialized_name: 'properties.platform',
type: {
name: 'Composite',
@ -167,6 +188,14 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
class_name: 'AgentProperties'
}
},
agent_pool_name: {
client_side_validation: true,
required: false,
serialized_name: 'properties.agentPoolName',
type: {
name: 'String'
}
},
timeout: {
client_side_validation: true,
required: false,
@ -182,7 +211,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
},
step: {
client_side_validation: true,
required: true,
required: false,
serialized_name: 'properties.step',
type: {
name: 'Composite',
@ -208,6 +237,23 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
name: 'Composite',
class_name: 'Credentials'
}
},
log_template: {
client_side_validation: true,
required: false,
serialized_name: 'properties.logTemplate',
type: {
name: 'String'
}
},
is_system_task: {
client_side_validation: true,
required: false,
serialized_name: 'properties.isSystemTask',
default_value: false,
type: {
name: 'Boolean'
}
}
}
}

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

@ -0,0 +1,149 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
module Models
#
# The task run that has the ARM resource and properties.
# The task run will have the information of request and result of a run.
#
class TaskRun < ProxyResource
include MsRestAzure
# @return [IdentityProperties] Identity for the resource.
attr_accessor :identity
# @return [ProvisioningState] The provisioning state of this task run.
# Possible values include: 'Creating', 'Updating', 'Deleting',
# 'Succeeded', 'Failed', 'Canceled'
attr_accessor :provisioning_state
# @return [RunRequest] The request (parameters) for the run
attr_accessor :run_request
# @return [Run] The result of this task run
attr_accessor :run_result
# @return [String] How the run should be forced to rerun even if the run
# request configuration has not changed
attr_accessor :force_update_tag
# @return [String] The location of the resource
attr_accessor :location
#
# Mapper for TaskRun class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'TaskRun',
type: {
name: 'Composite',
class_name: 'TaskRun',
model_properties: {
id: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'id',
type: {
name: 'String'
}
},
name: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'name',
type: {
name: 'String'
}
},
type: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'type',
type: {
name: 'String'
}
},
system_data: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'systemData',
type: {
name: 'Composite',
class_name: 'SystemData'
}
},
identity: {
client_side_validation: true,
required: false,
serialized_name: 'identity',
type: {
name: 'Composite',
class_name: 'IdentityProperties'
}
},
provisioning_state: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.provisioningState',
type: {
name: 'String'
}
},
run_request: {
client_side_validation: true,
required: false,
serialized_name: 'properties.runRequest',
type: {
name: 'Composite',
polymorphic_discriminator: 'type',
uber_parent: 'RunRequest',
class_name: 'RunRequest'
}
},
run_result: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.runResult',
type: {
name: 'Composite',
class_name: 'Run'
}
},
force_update_tag: {
client_side_validation: true,
required: false,
serialized_name: 'properties.forceUpdateTag',
type: {
name: 'String'
}
},
location: {
client_side_validation: true,
required: false,
serialized_name: 'location',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,99 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
module Models
#
# The collection of task runs.
#
class TaskRunListResult
include MsRestAzure
include MsRest::JSONable
# @return [Array<TaskRun>] The collection value.
attr_accessor :value
# @return [String] The URI that can be used to request the next set of
# paged results.
attr_accessor :next_link
# return [Proc] with next page method call.
attr_accessor :next_method
#
# Gets the rest of the items for the request, enabling auto-pagination.
#
# @return [Array<TaskRun>] operation results.
#
def get_all_items
items = @value
page = self
while page.next_link != nil && !page.next_link.strip.empty? do
page = page.get_next_page
items.concat(page.value)
end
items
end
#
# Gets the next page of results.
#
# @return [TaskRunListResult] with next page content.
#
def get_next_page
response = @next_method.call(@next_link).value! unless @next_method.nil?
unless response.nil?
@next_link = response.body.next_link
@value = response.body.value
self
end
end
#
# Mapper for TaskRunListResult class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'TaskRunListResult',
type: {
name: 'Composite',
class_name: 'TaskRunListResult',
model_properties: {
value: {
client_side_validation: true,
required: false,
serialized_name: 'value',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'TaskRunElementType',
type: {
name: 'Composite',
class_name: 'TaskRun'
}
}
}
},
next_link: {
client_side_validation: true,
required: false,
serialized_name: 'nextLink',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -50,6 +50,22 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
name: 'Boolean'
}
},
agent_pool_name: {
client_side_validation: true,
required: false,
serialized_name: 'agentPoolName',
type: {
name: 'String'
}
},
log_template: {
client_side_validation: true,
required: false,
serialized_name: 'logTemplate',
type: {
name: 'String'
}
},
type: {
client_side_validation: true,
required: true,

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

@ -0,0 +1,103 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
module Models
#
# The parameters for updating a task run.
#
class TaskRunUpdateParameters
include MsRestAzure
# @return [IdentityProperties] Identity for the resource.
attr_accessor :identity
# @return [RunRequest] The request (parameters) for the new run
attr_accessor :run_request
# @return [String] How the run should be forced to rerun even if the run
# request configuration has not changed
attr_accessor :force_update_tag
# @return [String] The location of the resource
attr_accessor :location
# @return [Hash{String => String}] The ARM resource tags.
attr_accessor :tags
#
# Mapper for TaskRunUpdateParameters class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'TaskRunUpdateParameters',
type: {
name: 'Composite',
class_name: 'TaskRunUpdateParameters',
model_properties: {
identity: {
client_side_validation: true,
required: false,
serialized_name: 'identity',
type: {
name: 'Composite',
class_name: 'IdentityProperties'
}
},
run_request: {
client_side_validation: true,
required: false,
serialized_name: 'properties.runRequest',
type: {
name: 'Composite',
polymorphic_discriminator: 'type',
uber_parent: 'RunRequest',
class_name: 'RunRequest'
}
},
force_update_tag: {
client_side_validation: true,
required: false,
serialized_name: 'properties.forceUpdateTag',
type: {
name: 'String'
}
},
location: {
client_side_validation: true,
required: false,
serialized_name: 'location',
type: {
name: 'String'
}
},
tags: {
client_side_validation: true,
required: false,
serialized_name: 'tags',
type: {
name: 'Dictionary',
value: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
}
end
end
end
end

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

@ -26,6 +26,9 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
# @return [AgentProperties] The machine configuration of the run agent.
attr_accessor :agent_configuration
# @return [String] The dedicated agent pool for the task.
attr_accessor :agent_pool_name
# @return [Integer] Run timeout in seconds.
attr_accessor :timeout
@ -41,6 +44,10 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
# credentials that will be used when this run is invoked.
attr_accessor :credentials
# @return [String] The template that describes the repository and tag
# information for run log artifact.
attr_accessor :log_template
# @return [Hash{String => String}] The ARM resource tags.
attr_accessor :tags
@ -93,6 +100,14 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
class_name: 'AgentProperties'
}
},
agent_pool_name: {
client_side_validation: true,
required: false,
serialized_name: 'properties.agentPoolName',
type: {
name: 'String'
}
},
timeout: {
client_side_validation: true,
required: false,
@ -130,6 +145,14 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
class_name: 'Credentials'
}
},
log_template: {
client_side_validation: true,
required: false,
serialized_name: 'properties.logTemplate',
type: {
name: 'String'
}
},
tags: {
client_side_validation: true,
required: false,

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

@ -148,7 +148,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@ -266,7 +266,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
response_content = http_response.body
unless status_code == 200 || status_code == 202
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?

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

@ -114,7 +114,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@ -219,7 +219,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@ -372,7 +372,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@ -530,7 +530,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
response_content = http_response.body
unless status_code == 200 || status_code == 201
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@ -644,7 +644,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
response_content = http_response.body
unless status_code == 200 || status_code == 202
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@ -724,7 +724,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?

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

@ -0,0 +1,953 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
#
# TaskRuns
#
class TaskRuns
include MsRestAzure
#
# Creates and initializes a new instance of the TaskRuns class.
# @param client service class for accessing basic functionality.
#
def initialize(client)
@client = client
end
# @return [ContainerRegistryManagementClient] reference to the ContainerRegistryManagementClient
attr_reader :client
#
# Gets the detailed information for a given task run.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [TaskRun] operation results.
#
def get(resource_group_name, registry_name, task_run_name, custom_headers:nil)
response = get_async(resource_group_name, registry_name, task_run_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Gets the detailed information for a given task run.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def get_with_http_info(resource_group_name, registry_name, task_run_name, custom_headers:nil)
get_async(resource_group_name, registry_name, task_run_name, custom_headers:custom_headers).value!
end
#
# Gets the detailed information for a given task run.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def get_async(resource_group_name, registry_name, task_run_name, custom_headers:nil)
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, 'task_run_name is nil' if task_run_name.nil?
fail ArgumentError, "'task_run_name' should satisfy the constraint - 'MaxLength': '50'" if !task_run_name.nil? && task_run_name.length > 50
fail ArgumentError, "'task_run_name' should satisfy the constraint - 'MinLength': '5'" if !task_run_name.nil? && task_run_name.length < 5
fail ArgumentError, "'task_run_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-]*$'" if !task_run_name.nil? && task_run_name.match(Regexp.new('^^[a-zA-Z0-9-]*$$')).nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'registryName' => registry_name,'taskRunName' => task_run_name},
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:get, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
# Deserialize Response
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRun.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
result
end
promise.execute
end
#
# Creates a task run for a container registry with the specified parameters.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param task_run [TaskRun] The parameters of a run that needs to scheduled.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [TaskRun] operation results.
#
def create(resource_group_name, registry_name, task_run_name, task_run, custom_headers:nil)
response = create_async(resource_group_name, registry_name, task_run_name, task_run, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param task_run [TaskRun] The parameters of a run that needs to scheduled.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [Concurrent::Promise] promise which provides async access to http
# response.
#
def create_async(resource_group_name, registry_name, task_run_name, task_run, custom_headers:nil)
# Send request
promise = begin_create_async(resource_group_name, registry_name, task_run_name, task_run, custom_headers:custom_headers)
promise = promise.then do |response|
# Defining deserialization method.
deserialize_method = lambda do |parsed_response|
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRun.mapper()
parsed_response = @client.deserialize(result_mapper, parsed_response)
end
# Waiting for response.
@client.get_long_running_operation_result(response, deserialize_method)
end
promise
end
#
# Deletes a specified task run resource.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
def delete(resource_group_name, registry_name, task_run_name, custom_headers:nil)
response = delete_async(resource_group_name, registry_name, task_run_name, custom_headers:custom_headers).value!
nil
end
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [Concurrent::Promise] promise which provides async access to http
# response.
#
def delete_async(resource_group_name, registry_name, task_run_name, custom_headers:nil)
# Send request
promise = begin_delete_async(resource_group_name, registry_name, task_run_name, custom_headers:custom_headers)
promise = promise.then do |response|
# Defining deserialization method.
deserialize_method = lambda do |parsed_response|
end
# Waiting for response.
@client.get_long_running_operation_result(response, deserialize_method)
end
promise
end
#
# Updates a task run with the specified parameters.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param update_parameters [TaskRunUpdateParameters] The parameters for
# updating a task run.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [TaskRun] operation results.
#
def update(resource_group_name, registry_name, task_run_name, update_parameters, custom_headers:nil)
response = update_async(resource_group_name, registry_name, task_run_name, update_parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param update_parameters [TaskRunUpdateParameters] The parameters for
# updating a task run.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [Concurrent::Promise] promise which provides async access to http
# response.
#
def update_async(resource_group_name, registry_name, task_run_name, update_parameters, custom_headers:nil)
# Send request
promise = begin_update_async(resource_group_name, registry_name, task_run_name, update_parameters, custom_headers:custom_headers)
promise = promise.then do |response|
# Defining deserialization method.
deserialize_method = lambda do |parsed_response|
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRun.mapper()
parsed_response = @client.deserialize(result_mapper, parsed_response)
end
# Waiting for response.
@client.get_long_running_operation_result(response, deserialize_method)
end
promise
end
#
# Gets the detailed information for a given task run that includes all secrets.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [TaskRun] operation results.
#
def get_details(resource_group_name, registry_name, task_run_name, custom_headers:nil)
response = get_details_async(resource_group_name, registry_name, task_run_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Gets the detailed information for a given task run that includes all secrets.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def get_details_with_http_info(resource_group_name, registry_name, task_run_name, custom_headers:nil)
get_details_async(resource_group_name, registry_name, task_run_name, custom_headers:custom_headers).value!
end
#
# Gets the detailed information for a given task run that includes all secrets.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def get_details_async(resource_group_name, registry_name, task_run_name, custom_headers:nil)
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, 'task_run_name is nil' if task_run_name.nil?
fail ArgumentError, "'task_run_name' should satisfy the constraint - 'MaxLength': '50'" if !task_run_name.nil? && task_run_name.length > 50
fail ArgumentError, "'task_run_name' should satisfy the constraint - 'MinLength': '5'" if !task_run_name.nil? && task_run_name.length < 5
fail ArgumentError, "'task_run_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-]*$'" if !task_run_name.nil? && task_run_name.match(Regexp.new('^^[a-zA-Z0-9-]*$$')).nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}/listDetails'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'registryName' => registry_name,'taskRunName' => task_run_name},
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:post, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
# Deserialize Response
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRun.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
result
end
promise.execute
end
#
# Lists all the task runs for a specified container registry.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [Array<TaskRun>] operation results.
#
def list(resource_group_name, registry_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, registry_name, custom_headers:custom_headers)
first_page.get_all_items
end
#
# Lists all the task runs for a specified container registry.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def list_with_http_info(resource_group_name, registry_name, custom_headers:nil)
list_async(resource_group_name, registry_name, custom_headers:custom_headers).value!
end
#
# Lists all the task runs for a specified container registry.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def list_async(resource_group_name, registry_name, custom_headers:nil)
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'registryName' => registry_name},
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:get, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
# Deserialize Response
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRunListResult.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
result
end
promise.execute
end
#
# Creates a task run for a container registry with the specified parameters.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param task_run [TaskRun] The parameters of a run that needs to scheduled.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [TaskRun] operation results.
#
def begin_create(resource_group_name, registry_name, task_run_name, task_run, custom_headers:nil)
response = begin_create_async(resource_group_name, registry_name, task_run_name, task_run, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Creates a task run for a container registry with the specified parameters.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param task_run [TaskRun] The parameters of a run that needs to scheduled.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def begin_create_with_http_info(resource_group_name, registry_name, task_run_name, task_run, custom_headers:nil)
begin_create_async(resource_group_name, registry_name, task_run_name, task_run, custom_headers:custom_headers).value!
end
#
# Creates a task run for a container registry with the specified parameters.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param task_run [TaskRun] The parameters of a run that needs to scheduled.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def begin_create_async(resource_group_name, registry_name, task_run_name, task_run, custom_headers:nil)
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, 'task_run_name is nil' if task_run_name.nil?
fail ArgumentError, "'task_run_name' should satisfy the constraint - 'MaxLength': '50'" if !task_run_name.nil? && task_run_name.length > 50
fail ArgumentError, "'task_run_name' should satisfy the constraint - 'MinLength': '5'" if !task_run_name.nil? && task_run_name.length < 5
fail ArgumentError, "'task_run_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-]*$'" if !task_run_name.nil? && task_run_name.match(Regexp.new('^^[a-zA-Z0-9-]*$$')).nil?
fail ArgumentError, 'task_run is nil' if task_run.nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
# Serialize Request
request_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRun.mapper()
request_content = @client.serialize(request_mapper, task_run)
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'registryName' => registry_name,'taskRunName' => task_run_name},
query_params: {'api-version' => @client.api_version},
body: request_content,
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:put, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 200 || status_code == 201
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
# Deserialize Response
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRun.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
# Deserialize Response
if status_code == 201
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRun.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
result
end
promise.execute
end
#
# Deletes a specified task run resource.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
#
def begin_delete(resource_group_name, registry_name, task_run_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, registry_name, task_run_name, custom_headers:custom_headers).value!
nil
end
#
# Deletes a specified task run resource.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def begin_delete_with_http_info(resource_group_name, registry_name, task_run_name, custom_headers:nil)
begin_delete_async(resource_group_name, registry_name, task_run_name, custom_headers:custom_headers).value!
end
#
# Deletes a specified task run resource.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def begin_delete_async(resource_group_name, registry_name, task_run_name, custom_headers:nil)
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, 'task_run_name is nil' if task_run_name.nil?
fail ArgumentError, "'task_run_name' should satisfy the constraint - 'MaxLength': '50'" if !task_run_name.nil? && task_run_name.length > 50
fail ArgumentError, "'task_run_name' should satisfy the constraint - 'MinLength': '5'" if !task_run_name.nil? && task_run_name.length < 5
fail ArgumentError, "'task_run_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-]*$'" if !task_run_name.nil? && task_run_name.match(Regexp.new('^^[a-zA-Z0-9-]*$$')).nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'registryName' => registry_name,'taskRunName' => task_run_name},
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:delete, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 200 || status_code == 202 || status_code == 204
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
result
end
promise.execute
end
#
# Updates a task run with the specified parameters.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param update_parameters [TaskRunUpdateParameters] The parameters for
# updating a task run.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [TaskRun] operation results.
#
def begin_update(resource_group_name, registry_name, task_run_name, update_parameters, custom_headers:nil)
response = begin_update_async(resource_group_name, registry_name, task_run_name, update_parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Updates a task run with the specified parameters.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param update_parameters [TaskRunUpdateParameters] The parameters for
# updating a task run.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def begin_update_with_http_info(resource_group_name, registry_name, task_run_name, update_parameters, custom_headers:nil)
begin_update_async(resource_group_name, registry_name, task_run_name, update_parameters, custom_headers:custom_headers).value!
end
#
# Updates a task run with the specified parameters.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param task_run_name [String] The name of the task run.
# @param update_parameters [TaskRunUpdateParameters] The parameters for
# updating a task run.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def begin_update_async(resource_group_name, registry_name, task_run_name, update_parameters, custom_headers:nil)
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
fail ArgumentError, 'registry_name is nil' if registry_name.nil?
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MaxLength': '50'" if !registry_name.nil? && registry_name.length > 50
fail ArgumentError, "'registry_name' should satisfy the constraint - 'MinLength': '5'" if !registry_name.nil? && registry_name.length < 5
fail ArgumentError, "'registry_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]*$'" if !registry_name.nil? && registry_name.match(Regexp.new('^^[a-zA-Z0-9]*$$')).nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, 'task_run_name is nil' if task_run_name.nil?
fail ArgumentError, "'task_run_name' should satisfy the constraint - 'MaxLength': '50'" if !task_run_name.nil? && task_run_name.length > 50
fail ArgumentError, "'task_run_name' should satisfy the constraint - 'MinLength': '5'" if !task_run_name.nil? && task_run_name.length < 5
fail ArgumentError, "'task_run_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9-]*$'" if !task_run_name.nil? && task_run_name.match(Regexp.new('^^[a-zA-Z0-9-]*$$')).nil?
fail ArgumentError, 'update_parameters is nil' if update_parameters.nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
# Serialize Request
request_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRunUpdateParameters.mapper()
request_content = @client.serialize(request_mapper, update_parameters)
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'registryName' => registry_name,'taskRunName' => task_run_name},
query_params: {'api-version' => @client.api_version},
body: request_content,
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:patch, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 200 || status_code == 201
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
# Deserialize Response
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRun.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
# Deserialize Response
if status_code == 201
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRun.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
result
end
promise.execute
end
#
# Lists all the task runs for a specified container registry.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [TaskRunListResult] operation results.
#
def list_next(next_page_link, custom_headers:nil)
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Lists all the task runs for a specified container registry.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
def list_next_with_http_info(next_page_link, custom_headers:nil)
list_next_async(next_page_link, custom_headers:custom_headers).value!
end
#
# Lists all the task runs for a specified container registry.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def list_next_async(next_page_link, custom_headers:nil)
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
request_headers = {}
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
path_template = '{nextLink}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
skip_encoding_path_params: {'nextLink' => next_page_link},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:get, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
# Deserialize Response
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
result_mapper = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRunListResult.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
end
end
result
end
promise.execute
end
#
# Lists all the task runs for a specified container registry.
#
# @param resource_group_name [String] The name of the resource group to which
# the container registry belongs.
# @param registry_name [String] The name of the container registry.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [TaskRunListResult] which provide lazy access to pages of the
# response.
#
def list_as_lazy(resource_group_name, registry_name, custom_headers:nil)
response = list_async(resource_group_name, registry_name, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end
end
end

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

@ -99,7 +99,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@ -207,7 +207,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@ -455,7 +455,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@ -574,7 +574,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
response_content = http_response.body
unless status_code == 200 || status_code == 201
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@ -691,7 +691,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
response_content = http_response.body
unless status_code == 200 || status_code == 202 || status_code == 204
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@ -803,7 +803,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
response_content = http_response.body
unless status_code == 200 || status_code == 201
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
@ -903,7 +903,7 @@ module Azure::ContainerRegistry::Mgmt::V2019_06_01_preview
response_content = http_response.body
unless status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?

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

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

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

@ -6,14 +6,33 @@ require 'azure_mgmt_container_registry'
module Azure::ContainerRegistry::Profiles::Latest
module Mgmt
ScopeMaps = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::ScopeMaps
Tokens = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Tokens
Operations = Azure::ContainerRegistry::Mgmt::V2019_05_01::Operations
Replications = Azure::ContainerRegistry::Mgmt::V2019_05_01::Replications
Webhooks = Azure::ContainerRegistry::Mgmt::V2019_05_01::Webhooks
AgentPools = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::AgentPools
Registries = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Registries
Runs = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Runs
TaskRuns = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::TaskRuns
Tasks = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Tasks
module Models
TokenPassword = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenPassword
TokenCertificate = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenCertificate
TokenCredentialsProperties = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenCredentialsProperties
ScopeMapListResult = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::ScopeMapListResult
GenerateCredentialsResult = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::GenerateCredentialsResult
TokenUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenUpdateParameters
ActiveDirectoryObject = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::ActiveDirectoryObject
TokenListResult = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenListResult
ScopeMapUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::ScopeMapUpdateParameters
GenerateCredentialsParameters = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::GenerateCredentialsParameters
ScopeMap = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::ScopeMap
Token = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::Token
TokenCertificateName = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenCertificateName
TokenPasswordName = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenPasswordName
TokenStatus = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenStatus
RegistryPassword = Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::RegistryPassword
RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::RegistryListCredentialsResult
ImportSource = Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::ImportSource
@ -71,48 +90,59 @@ module Azure::ContainerRegistry::Profiles::Latest
RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::RegistryUsageUnit
WebhookStatus = Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::WebhookStatus
WebhookAction = Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::WebhookAction
Credentials = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Credentials
BaseImageTrigger = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageTrigger
TriggerProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TriggerProperties
ImageUpdateTrigger = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ImageUpdateTrigger
SourceRegistryCredentials = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceRegistryCredentials
TimerTriggerDescriptor = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTriggerDescriptor
SecretObject = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SecretObject
AgentProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentProperties
CustomRegistryCredentials = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::CustomRegistryCredentials
SourceUploadDefinition = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceUploadDefinition
RunRequest = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunRequest
RunFilter = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunFilter
RunGetLogResult = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunGetLogResult
TaskListResult = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskListResult
IdentityProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::IdentityProperties
PlatformUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::PlatformUpdateParameters
TaskStepProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStepProperties
TaskStepUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStepUpdateParameters
AuthInfo = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AuthInfo
TimerTriggerUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTriggerUpdateParameters
SourceProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceProperties
AgentPoolListResult = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPoolListResult
SourceTrigger = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceTrigger
RunRequest = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunRequest
BaseImageTrigger = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageTrigger
ImageUpdateTrigger = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ImageUpdateTrigger
TriggerProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TriggerProperties
TimerTriggerDescriptor = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTriggerDescriptor
SourceRegistryCredentials = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceRegistryCredentials
AgentProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentProperties
SecretObject = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SecretObject
SourceUploadDefinition = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceUploadDefinition
SetValue = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SetValue
RunFilter = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunFilter
Credentials = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Credentials
RunGetLogResult = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunGetLogResult
Argument = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Argument
IdentityProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::IdentityProperties
TaskListResult = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskListResult
TaskRunUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRunUpdateParameters
PlatformUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::PlatformUpdateParameters
BaseImageDependency = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageDependency
TaskStepUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStepUpdateParameters
TimerTrigger = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTrigger
TimerTriggerUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTriggerUpdateParameters
AgentPoolQueueStatus = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPoolQueueStatus
AuthInfoUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AuthInfoUpdateParameters
SourceTriggerDescriptor = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceTriggerDescriptor
SourceUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceUpdateParameters
SetValue = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SetValue
RunListResult = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunListResult
SourceTriggerUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceTriggerUpdateParameters
UserIdentityProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::UserIdentityProperties
BaseImageTriggerUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageTriggerUpdateParameters
TimerTrigger = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTrigger
TriggerUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TriggerUpdateParameters
ImageDescriptor = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ImageDescriptor
TaskUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskUpdateParameters
RunUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunUpdateParameters
Resource = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Resource
SourceProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceProperties
ProxyResource = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ProxyResource
BaseImageDependency = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageDependency
Argument = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Argument
PlatformProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::PlatformProperties
BaseImageTriggerUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageTriggerUpdateParameters
OverrideTaskStepProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::OverrideTaskStepProperties
TriggerUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TriggerUpdateParameters
TaskStepProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStepProperties
TaskUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskUpdateParameters
ImageDescriptor = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ImageDescriptor
SystemData = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SystemData
RunListResult = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunListResult
Resource = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Resource
TaskRunListResult = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRunListResult
ProxyResource = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ProxyResource
PlatformProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::PlatformProperties
InnerErrorDescription = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::InnerErrorDescription
AgentPoolUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPoolUpdateParameters
ErrorResponseBody = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ErrorResponseBody
UserIdentityProperties = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::UserIdentityProperties
ErrorResponse = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ErrorResponse
AgentPool = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPool
Run = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Run
TaskRun = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRun
Task = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Task
DockerBuildRequest = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::DockerBuildRequest
FileTaskRunRequest = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::FileTaskRunRequest
@ -124,12 +154,12 @@ module Azure::ContainerRegistry::Profiles::Latest
DockerBuildStepUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::DockerBuildStepUpdateParameters
FileTaskStepUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::FileTaskStepUpdateParameters
EncodedTaskStepUpdateParameters = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::EncodedTaskStepUpdateParameters
OS = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::OS
ProvisioningState = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ProvisioningState
RunStatus = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunStatus
RunType = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunType
OS = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::OS
Architecture = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Architecture
Variant = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Variant
ProvisioningState = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ProvisioningState
ResourceIdentityType = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ResourceIdentityType
TaskStatus = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStatus
BaseImageDependencyType = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageDependencyType
@ -141,13 +171,15 @@ module Azure::ContainerRegistry::Profiles::Latest
UpdateTriggerPayloadType = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::UpdateTriggerPayloadType
SourceRegistryLoginMode = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceRegistryLoginMode
SecretObjectType = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SecretObjectType
CreatedByType = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::CreatedByType
LastModifiedByType = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::LastModifiedByType
end
#
# ContainerRegistryManagementClass
#
class ContainerRegistryManagementClass
attr_reader :operations, :replications, :webhooks, :registries, :runs, :tasks, :configurable, :base_url, :options, :model_classes
attr_reader :scope_maps, :tokens, :operations, :replications, :webhooks, :agent_pools, :registries, :runs, :task_runs, :tasks, :configurable, :base_url, :options, :model_classes
def initialize(options = {})
if options.is_a?(Hash) && options.length == 0
@ -162,23 +194,33 @@ module Azure::ContainerRegistry::Profiles::Latest
@base_url = options[:base_url].nil? ? nil:options[:base_url]
@options = options[:options].nil? ? nil:options[:options]
@client_0 = Azure::ContainerRegistry::Mgmt::V2019_05_01::ContainerRegistryManagementClient.new(configurable.credentials, base_url, options)
@client_0 = Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::ContainerRegistryManagementClient.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
@replications = @client_0.replications
@webhooks = @client_0.webhooks
@scope_maps = @client_0.scope_maps
@tokens = @client_0.tokens
@client_1 = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::ContainerRegistryManagementClient.new(configurable.credentials, base_url, options)
@client_1 = Azure::ContainerRegistry::Mgmt::V2019_05_01::ContainerRegistryManagementClient.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)
@registries = @client_1.registries
@runs = @client_1.runs
@tasks = @client_1.tasks
@operations = @client_1.operations
@replications = @client_1.replications
@webhooks = @client_1.webhooks
@client_2 = Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::ContainerRegistryManagementClient.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)
@agent_pools = @client_2.agent_pools
@registries = @client_2.registries
@runs = @client_2.runs
@task_runs = @client_2.task_runs
@tasks = @client_2.tasks
@model_classes = ModelClasses.new
end
@ -189,7 +231,9 @@ module Azure::ContainerRegistry::Profiles::Latest
end
def method_missing(method, *args)
if @client_1.respond_to?method
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)
@ -201,6 +245,51 @@ module Azure::ContainerRegistry::Profiles::Latest
end
class ModelClasses
def token_password
Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenPassword
end
def token_certificate
Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenCertificate
end
def token_credentials_properties
Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenCredentialsProperties
end
def scope_map_list_result
Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::ScopeMapListResult
end
def generate_credentials_result
Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::GenerateCredentialsResult
end
def token_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenUpdateParameters
end
def active_directory_object
Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::ActiveDirectoryObject
end
def token_list_result
Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenListResult
end
def scope_map_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::ScopeMapUpdateParameters
end
def generate_credentials_parameters
Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::GenerateCredentialsParameters
end
def scope_map
Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::ScopeMap
end
def token
Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::Token
end
def token_certificate_name
Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenCertificateName
end
def token_password_name
Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenPasswordName
end
def token_status
Azure::ContainerRegistry::Mgmt::V2019_05_01_preview::Models::TokenStatus
end
def registry_password
Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::RegistryPassword
end
@ -372,69 +461,90 @@ module Azure::ContainerRegistry::Profiles::Latest
def webhook_action
Azure::ContainerRegistry::Mgmt::V2019_05_01::Models::WebhookAction
end
def credentials
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Credentials
end
def base_image_trigger
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageTrigger
end
def trigger_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TriggerProperties
end
def image_update_trigger
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ImageUpdateTrigger
end
def source_registry_credentials
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceRegistryCredentials
end
def timer_trigger_descriptor
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTriggerDescriptor
end
def secret_object
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SecretObject
end
def agent_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentProperties
end
def custom_registry_credentials
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::CustomRegistryCredentials
end
def source_upload_definition
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceUploadDefinition
end
def run_request
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunRequest
end
def run_filter
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunFilter
end
def run_get_log_result
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunGetLogResult
end
def task_list_result
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskListResult
end
def identity_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::IdentityProperties
end
def platform_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::PlatformUpdateParameters
end
def task_step_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStepProperties
end
def task_step_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStepUpdateParameters
end
def auth_info
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AuthInfo
end
def timer_trigger_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTriggerUpdateParameters
def source_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceProperties
end
def agent_pool_list_result
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPoolListResult
end
def source_trigger
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceTrigger
end
def run_request
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunRequest
end
def base_image_trigger
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageTrigger
end
def image_update_trigger
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ImageUpdateTrigger
end
def trigger_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TriggerProperties
end
def timer_trigger_descriptor
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTriggerDescriptor
end
def source_registry_credentials
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceRegistryCredentials
end
def agent_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentProperties
end
def secret_object
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SecretObject
end
def source_upload_definition
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceUploadDefinition
end
def set_value
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SetValue
end
def run_filter
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunFilter
end
def credentials
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Credentials
end
def run_get_log_result
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunGetLogResult
end
def argument
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Argument
end
def identity_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::IdentityProperties
end
def task_list_result
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskListResult
end
def task_run_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRunUpdateParameters
end
def platform_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::PlatformUpdateParameters
end
def base_image_dependency
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageDependency
end
def task_step_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStepUpdateParameters
end
def timer_trigger
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTrigger
end
def timer_trigger_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTriggerUpdateParameters
end
def agent_pool_queue_status
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPoolQueueStatus
end
def auth_info_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AuthInfoUpdateParameters
end
@ -444,60 +554,72 @@ module Azure::ContainerRegistry::Profiles::Latest
def source_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceUpdateParameters
end
def set_value
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SetValue
end
def run_list_result
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunListResult
end
def source_trigger_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceTriggerUpdateParameters
end
def user_identity_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::UserIdentityProperties
end
def base_image_trigger_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageTriggerUpdateParameters
end
def timer_trigger
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TimerTrigger
end
def trigger_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TriggerUpdateParameters
end
def image_descriptor
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ImageDescriptor
end
def task_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskUpdateParameters
end
def run_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunUpdateParameters
end
def resource
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Resource
end
def source_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SourceProperties
end
def proxy_resource
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ProxyResource
end
def base_image_dependency
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageDependency
end
def argument
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Argument
end
def platform_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::PlatformProperties
def base_image_trigger_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::BaseImageTriggerUpdateParameters
end
def override_task_step_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::OverrideTaskStepProperties
end
def trigger_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TriggerUpdateParameters
end
def task_step_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskStepProperties
end
def task_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskUpdateParameters
end
def image_descriptor
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ImageDescriptor
end
def system_data
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SystemData
end
def run_list_result
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunListResult
end
def resource
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Resource
end
def task_run_list_result
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRunListResult
end
def proxy_resource
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ProxyResource
end
def platform_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::PlatformProperties
end
def inner_error_description
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::InnerErrorDescription
end
def agent_pool_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPoolUpdateParameters
end
def error_response_body
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ErrorResponseBody
end
def user_identity_properties
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::UserIdentityProperties
end
def error_response
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ErrorResponse
end
def agent_pool
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::AgentPool
end
def run
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Run
end
def task_run
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::TaskRun
end
def task
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Task
end
@ -531,24 +653,24 @@ module Azure::ContainerRegistry::Profiles::Latest
def encoded_task_step_update_parameters
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::EncodedTaskStepUpdateParameters
end
def os
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::OS
end
def provisioning_state
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ProvisioningState
end
def run_status
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunStatus
end
def run_type
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::RunType
end
def os
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::OS
end
def architecture
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Architecture
end
def variant
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::Variant
end
def provisioning_state
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ProvisioningState
end
def resource_identity_type
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::ResourceIdentityType
end
@ -582,6 +704,12 @@ module Azure::ContainerRegistry::Profiles::Latest
def secret_object_type
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::SecretObjectType
end
def created_by_type
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::CreatedByType
end
def last_modified_by_type
Azure::ContainerRegistry::Mgmt::V2019_06_01_preview::Models::LastModifiedByType
end
end
end
end

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

@ -3,5 +3,5 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
module Azure::ContainerRegistry::Mgmt
VERSION = '0.18.4'
VERSION = '0.18.5'
end

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

@ -160,7 +160,7 @@ module Azure::DataFactory::Mgmt::V2017_09_01_preview
#
def add_telemetry
sdk_information = 'azure_mgmt_data_factory'
sdk_information = "#{sdk_information}/0.18.5"
sdk_information = "#{sdk_information}/0.18.6"
add_user_agent_information(sdk_information)
end
end

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

@ -40,179 +40,186 @@ module Azure::DataFactory::Mgmt::V2018_06_01
autoload :DataFactoryManagementClient, '2018-06-01/generated/azure_mgmt_data_factory/data_factory_management_client.rb'
module Models
autoload :DataFlowReference, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_reference.rb'
autoload :ConnectionStateProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/connection_state_properties.rb'
autoload :SubResource, '2018-06-01/generated/azure_mgmt_data_factory/models/sub_resource.rb'
autoload :ManagedPrivateEndpoint, '2018-06-01/generated/azure_mgmt_data_factory/models/managed_private_endpoint.rb'
autoload :Expression, '2018-06-01/generated/azure_mgmt_data_factory/models/expression.rb'
autoload :AddDataFlowToDebugSessionResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/add_data_flow_to_debug_session_response.rb'
autoload :DeleteDataFlowDebugSessionRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/delete_data_flow_debug_session_request.rb'
autoload :CreateDataFlowDebugSessionResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/create_data_flow_debug_session_response.rb'
autoload :DataFlowSourceSetting, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_source_setting.rb'
autoload :FactoryIdentity, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_identity.rb'
autoload :DataFlowStagingInfo, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_staging_info.rb'
autoload :GlobalParameterSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/global_parameter_specification.rb'
autoload :DWCopyCommandSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/dwcopy_command_settings.rb'
autoload :FactoryListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_list_response.rb'
autoload :DataFlowDebugPackageDebugSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_package_debug_settings.rb'
autoload :SSISExecutionParameter, '2018-06-01/generated/azure_mgmt_data_factory/models/ssisexecution_parameter.rb'
autoload :DataFlowDebugPackage, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_package.rb'
autoload :IntegrationRuntimeReference, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_reference.rb'
autoload :LinkedServiceReference, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_service_reference.rb'
autoload :IntegrationRuntimeStatus, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_status.rb'
autoload :ExecuteDataFlowActivityTypePropertiesCompute, '2018-06-01/generated/azure_mgmt_data_factory/models/execute_data_flow_activity_type_properties_compute.rb'
autoload :IntegrationRuntimeStatusListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_status_list_response.rb'
autoload :DataFlowDebugCommandPayload, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_command_payload.rb'
autoload :UpdateIntegrationRuntimeNodeRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/update_integration_runtime_node_request.rb'
autoload :DataFlowDebugCommandRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_command_request.rb'
autoload :CreateLinkedIntegrationRuntimeRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/create_linked_integration_runtime_request.rb'
autoload :SubResource, '2018-06-01/generated/azure_mgmt_data_factory/models/sub_resource.rb'
autoload :DataFlowDebugCommandResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_command_response.rb'
autoload :LinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_service.rb'
autoload :Expression, '2018-06-01/generated/azure_mgmt_data_factory/models/expression.rb'
autoload :DataFlowDebugSessionInfo, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_session_info.rb'
autoload :LinkedServiceListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_service_list_response.rb'
autoload :LinkedServiceReference, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_service_reference.rb'
autoload :QueryDataFlowDebugSessionsResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/query_data_flow_debug_sessions_response.rb'
autoload :Dataset, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset.rb'
autoload :GetDataFactoryOperationStatusResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/get_data_factory_operation_status_response.rb'
autoload :DatasetListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_list_response.rb'
autoload :Resource, '2018-06-01/generated/azure_mgmt_data_factory/models/resource.rb'
autoload :UserProperty, '2018-06-01/generated/azure_mgmt_data_factory/models/user_property.rb'
autoload :SubResourceDebugResource, '2018-06-01/generated/azure_mgmt_data_factory/models/sub_resource_debug_resource.rb'
autoload :VariableSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/variable_specification.rb'
autoload :PipelineFolder, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_folder.rb'
autoload :ActivityPolicy, '2018-06-01/generated/azure_mgmt_data_factory/models/activity_policy.rb'
autoload :PipelineListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_list_response.rb'
autoload :SSISAccessCredential, '2018-06-01/generated/azure_mgmt_data_factory/models/ssisaccess_credential.rb'
autoload :SSISPackageLocation, '2018-06-01/generated/azure_mgmt_data_factory/models/ssispackage_location.rb'
autoload :ManagedPrivateEndpointListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/managed_private_endpoint_list_response.rb'
autoload :TriggerListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_list_response.rb'
autoload :ManagedVirtualNetwork, '2018-06-01/generated/azure_mgmt_data_factory/models/managed_virtual_network.rb'
autoload :CustomActivityReferenceObject, '2018-06-01/generated/azure_mgmt_data_factory/models/custom_activity_reference_object.rb'
autoload :SkipErrorFile, '2018-06-01/generated/azure_mgmt_data_factory/models/skip_error_file.rb'
autoload :ManagedVirtualNetworkListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/managed_virtual_network_list_response.rb'
autoload :FactoryRepoUpdate, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_repo_update.rb'
autoload :LogStorageSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/log_storage_settings.rb'
autoload :GitHubAccessTokenResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/git_hub_access_token_response.rb'
autoload :CopySource, '2018-06-01/generated/azure_mgmt_data_factory/models/copy_source.rb'
autoload :AccessPolicyResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/access_policy_response.rb'
autoload :Transformation, '2018-06-01/generated/azure_mgmt_data_factory/models/transformation.rb'
autoload :TriggerPipelineReference, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_pipeline_reference.rb'
autoload :FormatReadSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/format_read_settings.rb'
autoload :DatasetReference, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_reference.rb'
autoload :DistcpSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/distcp_settings.rb'
autoload :ImportSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/import_settings.rb'
autoload :SapHanaPartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_partition_settings.rb'
autoload :RunQueryFilter, '2018-06-01/generated/azure_mgmt_data_factory/models/run_query_filter.rb'
autoload :SapTablePartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/sap_table_partition_settings.rb'
autoload :RunFilterParameters, '2018-06-01/generated/azure_mgmt_data_factory/models/run_filter_parameters.rb'
autoload :StoredProcedureParameter, '2018-06-01/generated/azure_mgmt_data_factory/models/stored_procedure_parameter.rb'
autoload :PipelineRun, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_run.rb'
autoload :SqlPartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/sql_partition_settings.rb'
autoload :ActivityRun, '2018-06-01/generated/azure_mgmt_data_factory/models/activity_run.rb'
autoload :TeradataPartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/teradata_partition_settings.rb'
autoload :TriggerRun, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_run.rb'
autoload :NetezzaPartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/netezza_partition_settings.rb'
autoload :OperationDisplay, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_display.rb'
autoload :RedshiftUnloadSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/redshift_unload_settings.rb'
autoload :OperationMetricAvailability, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_metric_availability.rb'
autoload :OraclePartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/oracle_partition_settings.rb'
autoload :OperationMetricSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_metric_specification.rb'
autoload :MongoDbCursorMethodsProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_cursor_methods_properties.rb'
autoload :Operation, '2018-06-01/generated/azure_mgmt_data_factory/models/operation.rb'
autoload :AdditionalColumns, '2018-06-01/generated/azure_mgmt_data_factory/models/additional_columns.rb'
autoload :GetSsisObjectMetadataRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/get_ssis_object_metadata_request.rb'
autoload :ScriptAction, '2018-06-01/generated/azure_mgmt_data_factory/models/script_action.rb'
autoload :ExposureControlRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/exposure_control_request.rb'
autoload :ExportSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/export_settings.rb'
autoload :ExposureControlResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/exposure_control_response.rb'
autoload :StoreReadSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/store_read_settings.rb'
autoload :DataFlowFolder, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_folder.rb'
autoload :WebActivityAuthentication, '2018-06-01/generated/azure_mgmt_data_factory/models/web_activity_authentication.rb'
autoload :DWCopyCommandDefaultValue, '2018-06-01/generated/azure_mgmt_data_factory/models/dwcopy_command_default_value.rb'
autoload :CompressionReadSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/compression_read_settings.rb'
autoload :CreateDataFlowDebugSessionRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/create_data_flow_debug_session_request.rb'
autoload :SSISLogLocation, '2018-06-01/generated/azure_mgmt_data_factory/models/ssislog_location.rb'
autoload :FactoryRepoConfiguration, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_repo_configuration.rb'
autoload :DatasetStorageFormat, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_storage_format.rb'
autoload :IntegrationRuntime, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime.rb'
autoload :IntegrationRuntimeConnectionInfo, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_connection_info.rb'
autoload :SSISExecutionCredential, '2018-06-01/generated/azure_mgmt_data_factory/models/ssisexecution_credential.rb'
autoload :IntegrationRuntimeRegenerateKeyParameters, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_regenerate_key_parameters.rb'
autoload :UpdateIntegrationRuntimeRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/update_integration_runtime_request.rb'
autoload :IntegrationRuntimeAuthKeys, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_auth_keys.rb'
autoload :ParameterSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/parameter_specification.rb'
autoload :IntegrationRuntimeMonitoringData, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_monitoring_data.rb'
autoload :DatasetFolder, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_folder.rb'
autoload :IntegrationRuntimeNodeMonitoringData, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_node_monitoring_data.rb'
autoload :ActivityDependency, '2018-06-01/generated/azure_mgmt_data_factory/models/activity_dependency.rb'
autoload :DatasetCompression, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_compression.rb'
autoload :SSISChildPackage, '2018-06-01/generated/azure_mgmt_data_factory/models/ssischild_package.rb'
autoload :SsisObjectMetadataListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_object_metadata_list_response.rb'
autoload :TriggerQueryResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_query_response.rb'
autoload :SsisObjectMetadata, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_object_metadata.rb'
autoload :TriggerSubscriptionOperationStatus, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_subscription_operation_status.rb'
autoload :SsisEnvironmentReference, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_environment_reference.rb'
autoload :GitHubAccessTokenRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/git_hub_access_token_request.rb'
autoload :SsisParameter, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_parameter.rb'
autoload :PipelineReference, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_reference.rb'
autoload :SsisVariable, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_variable.rb'
autoload :StagingSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/staging_settings.rb'
autoload :IntegrationRuntimeNodeIpAddress, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_node_ip_address.rb'
autoload :RunQueryOrderBy, '2018-06-01/generated/azure_mgmt_data_factory/models/run_query_order_by.rb'
autoload :IntegrationRuntimeComputeProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_compute_properties.rb'
autoload :PipelineRunsQueryResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_runs_query_response.rb'
autoload :IntegrationRuntimeDataFlowProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_data_flow_properties.rb'
autoload :TriggerRunsQueryResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_runs_query_response.rb'
autoload :DatasetLocation, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_location.rb'
autoload :OperationMetricDimension, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_metric_dimension.rb'
autoload :IntegrationRuntimeVNetProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_vnet_properties.rb'
autoload :OperationListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_list_response.rb'
autoload :IntegrationRuntimeSsisProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_ssis_properties.rb'
autoload :ExposureControlBatchRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/exposure_control_batch_request.rb'
autoload :IntegrationRuntimeSsisCatalogInfo, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_ssis_catalog_info.rb'
autoload :DataFlow, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow.rb'
autoload :IntegrationRuntimeCustomSetupScriptProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_custom_setup_script_properties.rb'
autoload :SecretBase, '2018-06-01/generated/azure_mgmt_data_factory/models/secret_base.rb'
autoload :IntegrationRuntimeDataProxyProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_data_proxy_properties.rb'
autoload :IntegrationRuntimeListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_list_response.rb'
autoload :CustomSetupBase, '2018-06-01/generated/azure_mgmt_data_factory/models/custom_setup_base.rb'
autoload :LinkedIntegrationRuntimeRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_integration_runtime_request.rb'
autoload :PackageStore, '2018-06-01/generated/azure_mgmt_data_factory/models/package_store.rb'
autoload :WebLinkedServiceTypeProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/web_linked_service_type_properties.rb'
autoload :EntityReference, '2018-06-01/generated/azure_mgmt_data_factory/models/entity_reference.rb'
autoload :Trigger, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger.rb'
autoload :LinkedIntegrationRuntimeType, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_integration_runtime_type.rb'
autoload :RedirectIncompatibleRowSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/redirect_incompatible_row_settings.rb'
autoload :ManagedIntegrationRuntimeNode, '2018-06-01/generated/azure_mgmt_data_factory/models/managed_integration_runtime_node.rb'
autoload :FactoryUpdateParameters, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_update_parameters.rb'
autoload :ManagedIntegrationRuntimeError, '2018-06-01/generated/azure_mgmt_data_factory/models/managed_integration_runtime_error.rb'
autoload :PipelineRunInvokedBy, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_run_invoked_by.rb'
autoload :ManagedIntegrationRuntimeOperationResult, '2018-06-01/generated/azure_mgmt_data_factory/models/managed_integration_runtime_operation_result.rb'
autoload :OperationLogSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_log_specification.rb'
autoload :TriggerReference, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_reference.rb'
autoload :SsisObjectMetadataStatusResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_object_metadata_status_response.rb'
autoload :SelfHostedIntegrationRuntimeNode, '2018-06-01/generated/azure_mgmt_data_factory/models/self_hosted_integration_runtime_node.rb'
autoload :DataFlowListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_list_response.rb'
autoload :GetDataFactoryOperationStatusResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/get_data_factory_operation_status_response.rb'
autoload :FactoryRepoConfiguration, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_repo_configuration.rb'
autoload :DataFlowReference, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_reference.rb'
autoload :DeleteDataFlowDebugSessionRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/delete_data_flow_debug_session_request.rb'
autoload :FactoryListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_list_response.rb'
autoload :Resource, '2018-06-01/generated/azure_mgmt_data_factory/models/resource.rb'
autoload :FormatReadSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/format_read_settings.rb'
autoload :SubResourceDebugResource, '2018-06-01/generated/azure_mgmt_data_factory/models/sub_resource_debug_resource.rb'
autoload :IntegrationRuntimeReference, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_reference.rb'
autoload :LogSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/log_settings.rb'
autoload :IntegrationRuntimeStatus, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_status.rb'
autoload :LinkedIntegrationRuntime, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_integration_runtime.rb'
autoload :IntegrationRuntimeStatusResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_status_response.rb'
autoload :DependencyReference, '2018-06-01/generated/azure_mgmt_data_factory/models/dependency_reference.rb'
autoload :Activity, '2018-06-01/generated/azure_mgmt_data_factory/models/activity.rb'
autoload :RetryPolicy, '2018-06-01/generated/azure_mgmt_data_factory/models/retry_policy.rb'
autoload :UserAccessPolicy, '2018-06-01/generated/azure_mgmt_data_factory/models/user_access_policy.rb'
autoload :SwitchCase, '2018-06-01/generated/azure_mgmt_data_factory/models/switch_case.rb'
autoload :ActivityRunsQueryResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/activity_runs_query_response.rb'
autoload :CopySink, '2018-06-01/generated/azure_mgmt_data_factory/models/copy_sink.rb'
autoload :ExposureControlBatchResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/exposure_control_batch_response.rb'
autoload :IntegrationRuntimeStatusListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_status_list_response.rb'
autoload :SelfHostedIntegrationRuntimeNode, '2018-06-01/generated/azure_mgmt_data_factory/models/self_hosted_integration_runtime_node.rb'
autoload :UpdateIntegrationRuntimeNodeRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/update_integration_runtime_node_request.rb'
autoload :FactoryIdentity, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_identity.rb'
autoload :CreateLinkedIntegrationRuntimeRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/create_linked_integration_runtime_request.rb'
autoload :GlobalParameterSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/global_parameter_specification.rb'
autoload :LinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_service.rb'
autoload :FormatWriteSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/format_write_settings.rb'
autoload :AzureMLWebServiceFile, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlweb_service_file.rb'
autoload :RecurrenceScheduleOccurrence, '2018-06-01/generated/azure_mgmt_data_factory/models/recurrence_schedule_occurrence.rb'
autoload :TriggerFilterParameters, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_filter_parameters.rb'
autoload :RecurrenceSchedule, '2018-06-01/generated/azure_mgmt_data_factory/models/recurrence_schedule.rb'
autoload :SSISPropertyOverride, '2018-06-01/generated/azure_mgmt_data_factory/models/ssisproperty_override.rb'
autoload :ScheduleTriggerRecurrence, '2018-06-01/generated/azure_mgmt_data_factory/models/schedule_trigger_recurrence.rb'
autoload :OperationServiceSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_service_specification.rb'
autoload :StoreWriteSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/store_write_settings.rb'
autoload :LinkedServiceListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_service_list_response.rb'
autoload :ConnectionStateProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/connection_state_properties.rb'
autoload :Dataset, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset.rb'
autoload :ManagedPrivateEndpoint, '2018-06-01/generated/azure_mgmt_data_factory/models/managed_private_endpoint.rb'
autoload :DatasetListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_list_response.rb'
autoload :CopySink, '2018-06-01/generated/azure_mgmt_data_factory/models/copy_sink.rb'
autoload :UserProperty, '2018-06-01/generated/azure_mgmt_data_factory/models/user_property.rb'
autoload :ManagedPrivateEndpointListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/managed_private_endpoint_list_response.rb'
autoload :VariableSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/variable_specification.rb'
autoload :ManagedVirtualNetwork, '2018-06-01/generated/azure_mgmt_data_factory/models/managed_virtual_network.rb'
autoload :ImportSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/import_settings.rb'
autoload :SwitchCase, '2018-06-01/generated/azure_mgmt_data_factory/models/switch_case.rb'
autoload :Trigger, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger.rb'
autoload :ManagedVirtualNetworkListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/managed_virtual_network_list_response.rb'
autoload :TriggerQueryResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_query_response.rb'
autoload :LogLocationSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/log_location_settings.rb'
autoload :CreateRunResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/create_run_response.rb'
autoload :SkipErrorFile, '2018-06-01/generated/azure_mgmt_data_factory/models/skip_error_file.rb'
autoload :TriggerSubscriptionOperationStatus, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_subscription_operation_status.rb'
autoload :Transformation, '2018-06-01/generated/azure_mgmt_data_factory/models/transformation.rb'
autoload :DWCopyCommandSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/dwcopy_command_settings.rb'
autoload :SSISPackageLocation, '2018-06-01/generated/azure_mgmt_data_factory/models/ssispackage_location.rb'
autoload :GitHubAccessTokenRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/git_hub_access_token_request.rb'
autoload :SSISChildPackage, '2018-06-01/generated/azure_mgmt_data_factory/models/ssischild_package.rb'
autoload :UserAccessPolicy, '2018-06-01/generated/azure_mgmt_data_factory/models/user_access_policy.rb'
autoload :SSISExecutionCredential, '2018-06-01/generated/azure_mgmt_data_factory/models/ssisexecution_credential.rb'
autoload :PipelineReference, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_reference.rb'
autoload :SSISExecutionParameter, '2018-06-01/generated/azure_mgmt_data_factory/models/ssisexecution_parameter.rb'
autoload :FactoryUpdateParameters, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_update_parameters.rb'
autoload :SSISPropertyOverride, '2018-06-01/generated/azure_mgmt_data_factory/models/ssisproperty_override.rb'
autoload :PolybaseSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/polybase_settings.rb'
autoload :SSISLogLocation, '2018-06-01/generated/azure_mgmt_data_factory/models/ssislog_location.rb'
autoload :TriggerFilterParameters, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_filter_parameters.rb'
autoload :SSISAccessCredential, '2018-06-01/generated/azure_mgmt_data_factory/models/ssisaccess_credential.rb'
autoload :RunQueryOrderBy, '2018-06-01/generated/azure_mgmt_data_factory/models/run_query_order_by.rb'
autoload :CustomActivityReferenceObject, '2018-06-01/generated/azure_mgmt_data_factory/models/custom_activity_reference_object.rb'
autoload :PipelineRunInvokedBy, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_run_invoked_by.rb'
autoload :StoreReadSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/store_read_settings.rb'
autoload :PipelineRunsQueryResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_runs_query_response.rb'
autoload :LogStorageSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/log_storage_settings.rb'
autoload :ActivityRunsQueryResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/activity_runs_query_response.rb'
autoload :WebActivityAuthentication, '2018-06-01/generated/azure_mgmt_data_factory/models/web_activity_authentication.rb'
autoload :TriggerRunsQueryResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_runs_query_response.rb'
autoload :CopySource, '2018-06-01/generated/azure_mgmt_data_factory/models/copy_source.rb'
autoload :OperationLogSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_log_specification.rb'
autoload :SapHanaPartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_partition_settings.rb'
autoload :OperationMetricDimension, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_metric_dimension.rb'
autoload :ScriptAction, '2018-06-01/generated/azure_mgmt_data_factory/models/script_action.rb'
autoload :OperationServiceSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_service_specification.rb'
autoload :SapTablePartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/sap_table_partition_settings.rb'
autoload :OperationListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_list_response.rb'
autoload :ExportSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/export_settings.rb'
autoload :SsisObjectMetadataStatusResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_object_metadata_status_response.rb'
autoload :StoredProcedureParameter, '2018-06-01/generated/azure_mgmt_data_factory/models/stored_procedure_parameter.rb'
autoload :ExposureControlBatchRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/exposure_control_batch_request.rb'
autoload :SqlPartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/sql_partition_settings.rb'
autoload :ExposureControlBatchResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/exposure_control_batch_response.rb'
autoload :TeradataPartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/teradata_partition_settings.rb'
autoload :DataFlow, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow.rb'
autoload :NetezzaPartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/netezza_partition_settings.rb'
autoload :DataFlowListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_list_response.rb'
autoload :RedshiftUnloadSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/redshift_unload_settings.rb'
autoload :CreateDataFlowDebugSessionResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/create_data_flow_debug_session_response.rb'
autoload :OraclePartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/oracle_partition_settings.rb'
autoload :DataFlowStagingInfo, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_staging_info.rb'
autoload :MongoDbCursorMethodsProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_cursor_methods_properties.rb'
autoload :DataFlowDebugPackageDebugSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_package_debug_settings.rb'
autoload :AdditionalColumns, '2018-06-01/generated/azure_mgmt_data_factory/models/additional_columns.rb'
autoload :AddDataFlowToDebugSessionResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/add_data_flow_to_debug_session_response.rb'
autoload :CopyActivityLogSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/copy_activity_log_settings.rb'
autoload :IntegrationRuntimeListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_list_response.rb'
autoload :DistcpSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/distcp_settings.rb'
autoload :UpdateIntegrationRuntimeRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/update_integration_runtime_request.rb'
autoload :TypeConversionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/type_conversion_settings.rb'
autoload :ParameterSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/parameter_specification.rb'
autoload :CopyTranslator, '2018-06-01/generated/azure_mgmt_data_factory/models/copy_translator.rb'
autoload :DatasetFolder, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_folder.rb'
autoload :DatasetSchemaDataElement, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_schema_data_element.rb'
autoload :ActivityDependency, '2018-06-01/generated/azure_mgmt_data_factory/models/activity_dependency.rb'
autoload :DatasetDataElement, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_data_element.rb'
autoload :PipelineFolder, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_folder.rb'
autoload :IntegrationRuntimeConnectionInfo, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_connection_info.rb'
autoload :CompressionReadSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/compression_read_settings.rb'
autoload :IntegrationRuntimeRegenerateKeyParameters, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_regenerate_key_parameters.rb'
autoload :IntegrationRuntimeAuthKeys, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_auth_keys.rb'
autoload :FactoryRepoUpdate, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_repo_update.rb'
autoload :DatasetLocation, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_location.rb'
autoload :AccessPolicyResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/access_policy_response.rb'
autoload :IntegrationRuntimeMonitoringData, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_monitoring_data.rb'
autoload :DatasetReference, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_reference.rb'
autoload :IntegrationRuntimeNodeMonitoringData, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_node_monitoring_data.rb'
autoload :RunQueryFilter, '2018-06-01/generated/azure_mgmt_data_factory/models/run_query_filter.rb'
autoload :SsisObjectMetadataListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_object_metadata_list_response.rb'
autoload :PipelineRun, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_run.rb'
autoload :SsisObjectMetadata, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_object_metadata.rb'
autoload :TriggerRun, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_run.rb'
autoload :SsisEnvironmentReference, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_environment_reference.rb'
autoload :OperationMetricAvailability, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_metric_availability.rb'
autoload :DatasetStorageFormat, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_storage_format.rb'
autoload :Operation, '2018-06-01/generated/azure_mgmt_data_factory/models/operation.rb'
autoload :SsisParameter, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_parameter.rb'
autoload :ExposureControlRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/exposure_control_request.rb'
autoload :SsisVariable, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_variable.rb'
autoload :DataFlowFolder, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_folder.rb'
autoload :IntegrationRuntimeNodeIpAddress, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_node_ip_address.rb'
autoload :CreateDataFlowDebugSessionRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/create_data_flow_debug_session_request.rb'
autoload :IntegrationRuntimeComputeProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_compute_properties.rb'
autoload :WebLinkedServiceTypeProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/web_linked_service_type_properties.rb'
autoload :IntegrationRuntimeDataFlowProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_data_flow_properties.rb'
autoload :IntegrationRuntime, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime.rb'
autoload :DatasetCompression, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_compression.rb'
autoload :LinkedIntegrationRuntimeRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_integration_runtime_request.rb'
autoload :IntegrationRuntimeVNetProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_vnet_properties.rb'
autoload :StagingSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/staging_settings.rb'
autoload :IntegrationRuntimeSsisProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_ssis_properties.rb'
autoload :PipelineListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_list_response.rb'
autoload :TriggerReference, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_reference.rb'
autoload :DWCopyCommandDefaultValue, '2018-06-01/generated/azure_mgmt_data_factory/models/dwcopy_command_default_value.rb'
autoload :IntegrationRuntimeSsisCatalogInfo, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_ssis_catalog_info.rb'
autoload :TriggerPipelineReference, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_pipeline_reference.rb'
autoload :IntegrationRuntimeCustomSetupScriptProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_custom_setup_script_properties.rb'
autoload :RunFilterParameters, '2018-06-01/generated/azure_mgmt_data_factory/models/run_filter_parameters.rb'
autoload :DependencyReference, '2018-06-01/generated/azure_mgmt_data_factory/models/dependency_reference.rb'
autoload :OperationDisplay, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_display.rb'
autoload :RetryPolicy, '2018-06-01/generated/azure_mgmt_data_factory/models/retry_policy.rb'
autoload :GetSsisObjectMetadataRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/get_ssis_object_metadata_request.rb'
autoload :IntegrationRuntimeDataProxyProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_data_proxy_properties.rb'
autoload :AzureMLWebServiceFile, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlweb_service_file.rb'
autoload :CustomSetupBase, '2018-06-01/generated/azure_mgmt_data_factory/models/custom_setup_base.rb'
autoload :DataFlowDebugPackage, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_package.rb'
autoload :PackageStore, '2018-06-01/generated/azure_mgmt_data_factory/models/package_store.rb'
autoload :RedirectIncompatibleRowSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/redirect_incompatible_row_settings.rb'
autoload :RecurrenceScheduleOccurrence, '2018-06-01/generated/azure_mgmt_data_factory/models/recurrence_schedule_occurrence.rb'
autoload :TriggerListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_list_response.rb'
autoload :RecurrenceSchedule, '2018-06-01/generated/azure_mgmt_data_factory/models/recurrence_schedule.rb'
autoload :StoreWriteSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/store_write_settings.rb'
autoload :ScheduleTriggerRecurrence, '2018-06-01/generated/azure_mgmt_data_factory/models/schedule_trigger_recurrence.rb'
autoload :OperationMetricSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_metric_specification.rb'
autoload :EntityReference, '2018-06-01/generated/azure_mgmt_data_factory/models/entity_reference.rb'
autoload :DataFlowSourceSetting, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_source_setting.rb'
autoload :LinkedIntegrationRuntimeType, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_integration_runtime_type.rb'
autoload :Activity, '2018-06-01/generated/azure_mgmt_data_factory/models/activity.rb'
autoload :ActivityPolicy, '2018-06-01/generated/azure_mgmt_data_factory/models/activity_policy.rb'
autoload :ActivityRun, '2018-06-01/generated/azure_mgmt_data_factory/models/activity_run.rb'
autoload :ExecuteDataFlowActivityTypePropertiesCompute, '2018-06-01/generated/azure_mgmt_data_factory/models/execute_data_flow_activity_type_properties_compute.rb'
autoload :IntegrationRuntimeStatusResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_status_response.rb'
autoload :ManagedIntegrationRuntimeNode, '2018-06-01/generated/azure_mgmt_data_factory/models/managed_integration_runtime_node.rb'
autoload :ExposureControlResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/exposure_control_response.rb'
autoload :ManagedIntegrationRuntimeError, '2018-06-01/generated/azure_mgmt_data_factory/models/managed_integration_runtime_error.rb'
autoload :GitHubAccessTokenResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/git_hub_access_token_response.rb'
autoload :ManagedIntegrationRuntimeOperationResult, '2018-06-01/generated/azure_mgmt_data_factory/models/managed_integration_runtime_operation_result.rb'
autoload :SecureString, '2018-06-01/generated/azure_mgmt_data_factory/models/secure_string.rb'
autoload :AzureKeyVaultSecretReference, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_key_vault_secret_reference.rb'
autoload :Factory, '2018-06-01/generated/azure_mgmt_data_factory/models/factory.rb'
@ -242,6 +249,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
autoload :OracleServiceCloudLinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/oracle_service_cloud_linked_service.rb'
autoload :DynamicsAXLinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_axlinked_service.rb'
autoload :ResponsysLinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/responsys_linked_service.rb'
autoload :AzureDatabricksDeltaLakeLinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_linked_service.rb'
autoload :AzureDatabricksLinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_linked_service.rb'
autoload :AzureDataLakeAnalyticsLinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_analytics_linked_service.rb'
autoload :HDInsightOnDemandLinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/hdinsight_on_demand_linked_service.rb'
@ -295,6 +303,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
autoload :AzureDataLakeStoreLinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_store_linked_service.rb'
autoload :CosmosDbMongoDbApiLinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_mongo_db_api_linked_service.rb'
autoload :MongoDbV2LinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_v2linked_service.rb'
autoload :MongoDbAtlasLinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_atlas_linked_service.rb'
autoload :MongoDbLinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_linked_service.rb'
autoload :CassandraLinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/cassandra_linked_service.rb'
autoload :WebClientCertificateAuthentication, '2018-06-01/generated/azure_mgmt_data_factory/models/web_client_certificate_authentication.rb'
@ -332,6 +341,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
autoload :AzureTableStorageLinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_table_storage_linked_service.rb'
autoload :AzureBlobStorageLinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_storage_linked_service.rb'
autoload :AzureStorageLinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_storage_linked_service.rb'
autoload :AzureDatabricksDeltaLakeDataset, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_dataset.rb'
autoload :SharePointOnlineListResourceDataset, '2018-06-01/generated/azure_mgmt_data_factory/models/share_point_online_list_resource_dataset.rb'
autoload :SnowflakeDataset, '2018-06-01/generated/azure_mgmt_data_factory/models/snowflake_dataset.rb'
autoload :GoogleAdWordsObjectDataset, '2018-06-01/generated/azure_mgmt_data_factory/models/google_ad_words_object_dataset.rb'
@ -408,6 +418,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
autoload :ODataResourceDataset, '2018-06-01/generated/azure_mgmt_data_factory/models/odata_resource_dataset.rb'
autoload :CosmosDbMongoDbApiCollectionDataset, '2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_mongo_db_api_collection_dataset.rb'
autoload :MongoDbV2CollectionDataset, '2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_v2collection_dataset.rb'
autoload :MongoDbAtlasCollectionDataset, '2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_atlas_collection_dataset.rb'
autoload :MongoDbCollectionDataset, '2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_collection_dataset.rb'
autoload :FileShareDataset, '2018-06-01/generated/azure_mgmt_data_factory/models/file_share_dataset.rb'
autoload :Office365Dataset, '2018-06-01/generated/azure_mgmt_data_factory/models/office365dataset.rb'
@ -455,7 +466,6 @@ module Azure::DataFactory::Mgmt::V2018_06_01
autoload :BlobEventsTrigger, '2018-06-01/generated/azure_mgmt_data_factory/models/blob_events_trigger.rb'
autoload :BlobTrigger, '2018-06-01/generated/azure_mgmt_data_factory/models/blob_trigger.rb'
autoload :ScheduleTrigger, '2018-06-01/generated/azure_mgmt_data_factory/models/schedule_trigger.rb'
autoload :ExecutionActivity, '2018-06-01/generated/azure_mgmt_data_factory/models/execution_activity.rb'
autoload :ExecuteDataFlowActivity, '2018-06-01/generated/azure_mgmt_data_factory/models/execute_data_flow_activity.rb'
autoload :AzureFunctionActivity, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_function_activity.rb'
autoload :DatabricksSparkPythonActivity, '2018-06-01/generated/azure_mgmt_data_factory/models/databricks_spark_python_activity.rb'
@ -487,6 +497,8 @@ module Azure::DataFactory::Mgmt::V2018_06_01
autoload :WebActivity, '2018-06-01/generated/azure_mgmt_data_factory/models/web_activity.rb'
autoload :SharePointOnlineListSource, '2018-06-01/generated/azure_mgmt_data_factory/models/share_point_online_list_source.rb'
autoload :SnowflakeExportCopyCommand, '2018-06-01/generated/azure_mgmt_data_factory/models/snowflake_export_copy_command.rb'
autoload :AzureDatabricksDeltaLakeExportCommand, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_export_command.rb'
autoload :AzureDatabricksDeltaLakeSource, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_source.rb'
autoload :SnowflakeSource, '2018-06-01/generated/azure_mgmt_data_factory/models/snowflake_source.rb'
autoload :HttpSource, '2018-06-01/generated/azure_mgmt_data_factory/models/http_source.rb'
autoload :AzureBlobFSSource, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_fssource.rb'
@ -494,6 +506,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
autoload :Office365Source, '2018-06-01/generated/azure_mgmt_data_factory/models/office365source.rb'
autoload :CosmosDbMongoDbApiSource, '2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_mongo_db_api_source.rb'
autoload :MongoDbV2Source, '2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_v2source.rb'
autoload :MongoDbAtlasSource, '2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_atlas_source.rb'
autoload :MongoDbSource, '2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_source.rb'
autoload :WebSource, '2018-06-01/generated/azure_mgmt_data_factory/models/web_source.rb'
autoload :OracleSource, '2018-06-01/generated/azure_mgmt_data_factory/models/oracle_source.rb'
@ -602,6 +615,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
autoload :AzureBlobFSSink, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_fssink.rb'
autoload :AzureDataLakeStoreSink, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_store_sink.rb'
autoload :OracleSink, '2018-06-01/generated/azure_mgmt_data_factory/models/oracle_sink.rb'
autoload :AzureDatabricksDeltaLakeImportCommand, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_import_command.rb'
autoload :SnowflakeImportCopyCommand, '2018-06-01/generated/azure_mgmt_data_factory/models/snowflake_import_copy_command.rb'
autoload :SnowflakeSink, '2018-06-01/generated/azure_mgmt_data_factory/models/snowflake_sink.rb'
autoload :SqlDWSink, '2018-06-01/generated/azure_mgmt_data_factory/models/sql_dwsink.rb'
@ -620,20 +634,24 @@ module Azure::DataFactory::Mgmt::V2018_06_01
autoload :AzureBlobStorageWriteSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_storage_write_settings.rb'
autoload :SftpWriteSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/sftp_write_settings.rb'
autoload :BinarySink, '2018-06-01/generated/azure_mgmt_data_factory/models/binary_sink.rb'
autoload :ParquetSink, '2018-06-01/generated/azure_mgmt_data_factory/models/parquet_sink.rb'
autoload :JsonWriteSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/json_write_settings.rb'
autoload :DelimitedTextWriteSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_write_settings.rb'
autoload :OrcWriteSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/orc_write_settings.rb'
autoload :AvroWriteSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/avro_write_settings.rb'
autoload :ParquetWriteSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/parquet_write_settings.rb'
autoload :ParquetSink, '2018-06-01/generated/azure_mgmt_data_factory/models/parquet_sink.rb'
autoload :AvroSink, '2018-06-01/generated/azure_mgmt_data_factory/models/avro_sink.rb'
autoload :AzureTableSink, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_table_sink.rb'
autoload :AzureQueueSink, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_queue_sink.rb'
autoload :SapCloudForCustomerSink, '2018-06-01/generated/azure_mgmt_data_factory/models/sap_cloud_for_customer_sink.rb'
autoload :AzureDatabricksDeltaLakeSink, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_delta_lake_sink.rb'
autoload :AzureMySqlSink, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_my_sql_sink.rb'
autoload :AzurePostgreSqlSink, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_postgre_sql_sink.rb'
autoload :RestSink, '2018-06-01/generated/azure_mgmt_data_factory/models/rest_sink.rb'
autoload :OrcSink, '2018-06-01/generated/azure_mgmt_data_factory/models/orc_sink.rb'
autoload :JsonSink, '2018-06-01/generated/azure_mgmt_data_factory/models/json_sink.rb'
autoload :DelimitedTextSink, '2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_sink.rb'
autoload :ExecutionActivity, '2018-06-01/generated/azure_mgmt_data_factory/models/execution_activity.rb'
autoload :CopyActivity, '2018-06-01/generated/azure_mgmt_data_factory/models/copy_activity.rb'
autoload :ControlActivity, '2018-06-01/generated/azure_mgmt_data_factory/models/control_activity.rb'
autoload :WebHookActivity, '2018-06-01/generated/azure_mgmt_data_factory/models/web_hook_activity.rb'
@ -661,7 +679,9 @@ module Azure::DataFactory::Mgmt::V2018_06_01
autoload :SsisPackage, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_package.rb'
autoload :SsisProject, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_project.rb'
autoload :SsisFolder, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_folder.rb'
autoload :TabularTranslator, '2018-06-01/generated/azure_mgmt_data_factory/models/tabular_translator.rb'
autoload :GlobalParameterType, '2018-06-01/generated/azure_mgmt_data_factory/models/global_parameter_type.rb'
autoload :PublicNetworkAccess, '2018-06-01/generated/azure_mgmt_data_factory/models/public_network_access.rb'
autoload :IntegrationRuntimeState, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_state.rb'
autoload :IntegrationRuntimeAutoUpdate, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_auto_update.rb'
autoload :ParameterType, '2018-06-01/generated/azure_mgmt_data_factory/models/parameter_type.rb'
@ -708,21 +728,15 @@ module Azure::DataFactory::Mgmt::V2018_06_01
autoload :DayOfWeek, '2018-06-01/generated/azure_mgmt_data_factory/models/day_of_week.rb'
autoload :DaysOfWeek, '2018-06-01/generated/azure_mgmt_data_factory/models/days_of_week.rb'
autoload :RecurrenceFrequency, '2018-06-01/generated/azure_mgmt_data_factory/models/recurrence_frequency.rb'
autoload :DataFlowComputeType, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_compute_type.rb'
autoload :AzureFunctionActivityMethod, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_function_activity_method.rb'
autoload :WebActivityMethod, '2018-06-01/generated/azure_mgmt_data_factory/models/web_activity_method.rb'
autoload :OraclePartitionOption, '2018-06-01/generated/azure_mgmt_data_factory/models/oracle_partition_option.rb'
autoload :SalesforceSourceReadBehavior, '2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_source_read_behavior.rb'
autoload :NetezzaPartitionOption, '2018-06-01/generated/azure_mgmt_data_factory/models/netezza_partition_option.rb'
autoload :CassandraSourceReadConsistencyLevels, '2018-06-01/generated/azure_mgmt_data_factory/models/cassandra_source_read_consistency_levels.rb'
autoload :TeradataPartitionOption, '2018-06-01/generated/azure_mgmt_data_factory/models/teradata_partition_option.rb'
autoload :SqlPartitionOption, '2018-06-01/generated/azure_mgmt_data_factory/models/sql_partition_option.rb'
autoload :StoredProcedureParameterType, '2018-06-01/generated/azure_mgmt_data_factory/models/stored_procedure_parameter_type.rb'
autoload :SapTablePartitionOption, '2018-06-01/generated/azure_mgmt_data_factory/models/sap_table_partition_option.rb'
autoload :SapHanaPartitionOption, '2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_partition_option.rb'
autoload :SsisPackageLocationType, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_package_location_type.rb'
autoload :HDInsightActivityDebugInfoOption, '2018-06-01/generated/azure_mgmt_data_factory/models/hdinsight_activity_debug_info_option.rb'
autoload :SalesforceSinkWriteBehavior, '2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_sink_write_behavior.rb'
autoload :DynamicsSinkWriteBehavior, '2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_sink_write_behavior.rb'
autoload :AzureSearchIndexWriteBehaviorType, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_search_index_write_behavior_type.rb'
autoload :PolybaseSettingsRejectType, '2018-06-01/generated/azure_mgmt_data_factory/models/polybase_settings_reject_type.rb'
autoload :JsonWriteFilePattern, '2018-06-01/generated/azure_mgmt_data_factory/models/json_write_file_pattern.rb'
@ -737,7 +751,15 @@ module Azure::DataFactory::Mgmt::V2018_06_01
autoload :IntegrationRuntimeSsisCatalogPricingTier, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_ssis_catalog_pricing_tier.rb'
autoload :IntegrationRuntimeLicenseType, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_license_type.rb'
autoload :IntegrationRuntimeEdition, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_edition.rb'
autoload :DataFlowComputeType, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_compute_type.rb'
autoload :SsisObjectMetadataType, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_object_metadata_type.rb'
autoload :IntegrationRuntimeAuthKeyName, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_auth_key_name.rb'
autoload :CopyBehaviorType, '2018-06-01/generated/azure_mgmt_data_factory/models/copy_behavior_type.rb'
autoload :SqlPartitionOption, '2018-06-01/generated/azure_mgmt_data_factory/models/sql_partition_option.rb'
autoload :SapHanaPartitionOption, '2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_partition_option.rb'
autoload :SapTablePartitionOption, '2018-06-01/generated/azure_mgmt_data_factory/models/sap_table_partition_option.rb'
autoload :OraclePartitionOption, '2018-06-01/generated/azure_mgmt_data_factory/models/oracle_partition_option.rb'
autoload :TeradataPartitionOption, '2018-06-01/generated/azure_mgmt_data_factory/models/teradata_partition_option.rb'
autoload :NetezzaPartitionOption, '2018-06-01/generated/azure_mgmt_data_factory/models/netezza_partition_option.rb'
end
end

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

@ -189,7 +189,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
#
def add_telemetry
sdk_information = 'azure_mgmt_data_factory'
sdk_information = "#{sdk_information}/0.18.5"
sdk_information = "#{sdk_information}/0.18.6"
add_user_agent_information(sdk_information)
end
end

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

@ -19,6 +19,11 @@ module Azure::DataFactory::Mgmt::V2018_06_01
attr_accessor :type
# @return The authentication type of S3. Allowed value: AccessKey
# (default) or TemporarySecurityCredentials. Type: string (or Expression
# with resultType string).
attr_accessor :authentication_type
# @return The access key identifier of the Amazon S3 Identity and Access
# Management (IAM) user. Type: string (or Expression with resultType
# string).
@ -34,6 +39,10 @@ module Azure::DataFactory::Mgmt::V2018_06_01
# http. Type: string (or Expression with resultType string).
attr_accessor :service_url
# @return [SecretBase] The session token for the S3 temporary security
# credential.
attr_accessor :session_token
# @return The encrypted credential used for authentication. Credentials
# are encrypted using the integration runtime credential manager. Type:
# string (or Expression with resultType string).
@ -126,6 +135,14 @@ module Azure::DataFactory::Mgmt::V2018_06_01
name: 'String'
}
},
authentication_type: {
client_side_validation: true,
required: false,
serialized_name: 'typeProperties.authenticationType',
type: {
name: 'Object'
}
},
access_key_id: {
client_side_validation: true,
required: false,
@ -153,6 +170,17 @@ module Azure::DataFactory::Mgmt::V2018_06_01
name: 'Object'
}
},
session_token: {
client_side_validation: true,
required: false,
serialized_name: 'typeProperties.sessionToken',
type: {
name: 'Composite',
polymorphic_discriminator: 'type',
uber_parent: 'SecretBase',
class_name: 'SecretBase'
}
},
encrypted_credential: {
client_side_validation: true,
required: false,

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

@ -26,6 +26,17 @@ module Azure::DataFactory::Mgmt::V2018_06_01
# @return [String] Record namespace in the write result.
attr_accessor :record_namespace
# @return Limit the written file's row count to be smaller than or equal
# to the specified count. Type: integer (or Expression with resultType
# integer).
attr_accessor :max_rows_per_file
# @return Specifies the file name pattern
# <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file
# based store without partitionOptions. Type: string (or Expression with
# resultType string).
attr_accessor :file_name_prefix
#
# Mapper for AvroWriteSettings class as Ruby Hash.
@ -78,6 +89,22 @@ module Azure::DataFactory::Mgmt::V2018_06_01
type: {
name: 'String'
}
},
max_rows_per_file: {
client_side_validation: true,
required: false,
serialized_name: 'maxRowsPerFile',
type: {
name: 'Object'
}
},
file_name_prefix: {
client_side_validation: true,
required: false,
serialized_name: 'fileNamePrefix',
type: {
name: 'Object'
}
}
}
}

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